Commit Graph

77 Commits

Author SHA1 Message Date
vbawol
9e7cc6843d private arrays 2017-09-29 11:29:20 -05:00
vbawol
cb17f01b56 fix inverted logic 2017-09-28 12:00:48 -05:00
vbawol
f122c2db0a fix nuisance 2017-09-27 15:46:15 -05:00
vbawol
8f1b71a26e player stats fixes part 6 2017-09-27 10:38:18 -05:00
vbawol
a3a0e7e2d9 Changes to default var loading 2017-09-26 21:20:41 -05:00
vbawol
69a869ed2c fix error with wrong var 2017-09-26 16:32:57 -05:00
vbawol
fc3ba3b3fb customHeader test
moved debug monitor to master loop
dropped digest idea for now
removed file check on masterloop and keydown
2017-09-26 14:31:39 -05:00
vbawol
a1d4d411fc Merge remote-tracking branch 'refs/remotes/origin/experimental' into exp-digest-test
# Conflicts:
#	Sources/epoch_code/compile/setup/EPOCH_clientRevive.sqf
#	Sources/epoch_code/init/client_init.sqf
#	Sources/epoch_config/Configs/CfgEpochClient.hpp
2017-09-25 01:02:55 -05:00
vbawol
9b0b4bd4e7 changelog and headers 2017-09-25 00:52:20 -05:00
DESKTOP-UH65DCE\MusTanG
3b11fc7f75 Inventory space checks 2017-09-24 04:46:20 -05:00
vbawol
a0e9ec0153 digest concept
-use the second set of GVARs to track adding and removing attributes.
-Epoch_player* vars moved to local vars only accessible inside the
master loop.
-TODO: finish digest system with a config entry to control digest
limits. Some extra logic is needed.

Basically, when you consume some food, it will not increase your hunger
level immediately but raise over time.

Each of these should have limits on how much you can store in the digest
and how much each tick the digest var can affect the local player var in
the master loop.
2017-09-20 09:23:46 -05:00
vbawol
2cffcbc740 cleanup 2017-09-06 14:00:03 -05:00
He-Man
5fea5ba136 Fix for undefined var on environment Animals
https://github.com/EpochModTeam/Epoch/issues/850
2017-09-04 19:10:52 +02:00
vbawol
52e02b954c Optimize: nearestObjects use object instead of pos 2017-09-02 17:06:27 -05:00
vbawol
ab5ea172a4 move weather temp and toxic feaver stats to master loop 2017-09-02 16:51:54 -05:00
vbawol
c89dffa1d0 move to functions 2017-08-28 16:26:49 -05:00
vbawol
1a211407b9 updates to login system and hitpoints
- No longer track hitpoints from client side, now saved server side only
and pushed to clients on login.
https://community.bistudio.com/wiki/getAllHitPointsDamage
- Changed use set / getUnitLoadout and should still have legacy player
data support that will upgrade automatically on first save.
- Default loadout can be controlled via new variables in epochconfig.hpp
- Made data validation check dynamic using isEqualTypeParams as it does
type checking and still fails if input is shorter than the default.
https://community.bistudio.com/wiki/isEqualTypeParams
- Added back server side damage protection for the new player body. If
the new unit dies before the player switch it could cause login issues
and should not cause issues with scripted setdamage or hitpoints as
first thought. https://community.bistudio.com/wiki/allowDamage
2017-08-15 14:19:03 -05:00
vbawol
6a78895879 Merge branch 'experimental' into Community-Stats-#1 2017-08-03 18:20:00 -05:00
He-Man
c7f467be77 Option to prevent selling damaged veh 2017-08-03 20:43:58 +02:00
DESKTOP-UH65DCE\MusTanG
c49ee69265 add some tidybowl 2017-08-03 09:42:49 -05:00
DESKTOP-UH65DCE\MusTanG
43958142b8 Community Stats System #1
Fully customizable system.
Base system laid out more so as an example.
Included:
-Murders
-Deaths
-Suicides
-Revives
-AIKills
-AntagonistKills
-ZombieKills
-MissionsAttempted
-CompletedMissions

Client side stat change with optional send to server.
Server side stat change with optional send to client.
Server is backed up with token check if sent from client.
2017-08-02 22:16:21 -05:00
vbawol
4cdc67cf9d Merge pull request #804 from Ignatz-HeMan/experimental
Advanced Vehicle Repair
2017-08-01 16:47:39 -05:00
Raymix
45b6bf1fb2 Favorites bar - full release 2017-08-01 03:00:28 +01:00
He-Man
5dd672cb68 Advanced Vehicle Repair 2017-07-31 18:28:18 +02:00
DESKTOP-UH65DCE\MusTanG
e906d29c9c More upgrades and new functions 2017-07-03 15:59:40 -05:00
vbawol
e7092ad55d b788
- Can now mine metal scraps from Dynamic Debris vehicle wrecks using
sledgehammer.
- Can now "Search/Examine" Dynamic Debris Trash piles for loot.
- (Known issue: Dynamic Debris will respawn after server restart)
- Initial support for Malden 2035 map released with A3 1.72+.
- Fixed Admin panel corpse markers.
2017-06-11 12:28:23 -05:00
vbawol
784bb3d7f3 fixes to worldObjectType function 2017-06-06 08:13:36 -05:00
vbawol
c887028d9b comment 2017-06-04 19:23:15 -05:00
vbawol
684bff7e08 unify EPOCH_worldObjectType logic
EPOCH_worldObjectType now supports objects and object string names
2017-06-04 19:22:56 -05:00
vbawol
9a7bc7b455 more cleanup and privates 2017-05-02 08:28:52 -05:00
vbawol
1386f675b7 0.5 b749 2017-04-03 11:50:28 -05:00
vbawol
1db988095e booleans in configs
- change bools in config files to string or a number.
- EPOCH_fnc_returnConfigEntry(V2) now also supports 0/1 via config when
default input is a bool.
Note: this commit may address issue with Bad conversion: bool rpt spam.

It is suggested to use the following format for storing booleans in
config:
1 = true
"true"=true
0 = false
"false"=false
2016-12-29 12:18:09 -06:00
He-Man
51a6ff3e31 Changed back Epoch EPOCH_fnc_playerDeath
Changed back Epoch EPOCH_fnc_playerDeath since setPlayerRespawnTime to prevent respawning before timer ends and display close.
2016-12-10 20:13:15 +01:00
vbawol
cbc6012eb1 Merge pull request #673 from SPKcoding/experimental
fixed player death screen
2016-12-03 10:33:29 -06:00
Sp4rkY
2830f50be7 FIXED playerDeath function 2016-12-03 16:58:21 +01:00
Sp4rkY
b88113eb96 FIXED playerDeath function 2016-12-03 16:47:18 +01:00
Sp4rkY
e1e2dde224 temp fixed player death screen 2016-12-03 03:23:43 +01:00
vbawol
7c7f8a4aa0 Item interaction support for ConfigFile fallback
Experimental EPOCH_returnConfigV2 function that allows falling back to
configFile if specific config class does not exist in missionConfig.
2016-11-26 10:21:37 -06:00
vbawol
e817f1e2e5 0.4.0.0 b597 2016-09-04 23:32:38 -05:00
vbawol
67e372196c private array cleanup pt3 2016-08-31 21:19:23 -05:00
vbawol
4c25bbd3f0 private array cleanup pt2 2016-08-31 19:40:18 -05:00
vbawol
d285fe4ad0 private array cleanup p1 2016-08-31 19:29:08 -05:00
He-Man
b791137b42 Update EPOCH_worldObjectType.sqf
Added private Variables, so external scripts calling this script can use "_return" as variable without problems

example EPOCH_lootTrash.sqf:
_return = false;
_getWorldTypes = [str(_x), _inputWorldTypes] call EPOCH_worldObjectType;
_return  <--- Is an array!!!
2016-08-24 21:20:38 +02:00
vbawol
792e2d90bf 0.3.9 b570 2016-07-12 15:17:22 -05:00
vbawol
c1a7c977e0 remove references to unneeded player var 2016-07-12 14:38:03 -05:00
vbawol
ee7f7497c0 0.3.9 b568
change gamemode from Survival to Survive
enabled Ryan Zombies support by default.
added random delay in revenge detonation.
added min alive time setting for player revenge options. Default 15
minutes (900 seconds).
2016-07-12 14:19:56 -05:00
vbawol
d3b0d80005 fixed more typos 2016-07-09 11:07:10 -05:00
vbawol
57930c84a4 add configs for revenge dialog 2016-07-09 09:01:40 -05:00
vbawol
926ad37a06 0.3.9.0543
Tanoa container positions thanks to Sparky
Tanoa Apex vehicles added
give attributes should not return anything if data is 0 even if random
is used
2016-06-27 11:51:31 -05:00
vbawol
9e548a1c04 0.3.9.0542
fixes to a few typos
2016-06-25 10:12:26 -05:00