Commit Graph

89 Commits

Author SHA1 Message Date
vbawol
5db8af19f8 push change back to gvar
debug
2017-09-27 08:58:36 -05:00
vbawol
a3a0e7e2d9 Changes to default var loading 2017-09-26 21:20:41 -05:00
vbawol
38d704468d one more?> 2017-09-26 21:02:58 -05:00
vbawol
8903145ffa fixes part 4 2017-09-26 20:52:13 -05:00
vbawol
0f9eacd28a fixes part 3 2017-09-26 17:20:04 -05:00
vbawol
e675d29752 fixes part 2 2017-09-26 17:16:13 -05:00
vbawol
c4bf9c65ee one last fix... 2017-09-26 16:51:53 -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
853d69d201 use setvar for digest 2017-09-26 09:08:22 -05:00
vbawol
532dc34e86 test fix 2017-09-25 17:59:03 -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
He-Man
90efc9258b fix for addrating 2017-09-20 20:17:41 +02:00
He-Man
e756568334 fix for addrating 2017-09-20 19:39:55 +02: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
f4ff04590f selectRandomWeighted is available now 2017-09-07 11:50:31 -05:00
vbawol
2cffcbc740 cleanup 2017-09-06 14:00:03 -05:00
vbawol
47e16a8318 use local vars for player stats 2017-09-06 09:43:15 -05:00
vbawol
3c13af5944 move AliveTime to local pt2 2017-09-05 16:28:07 -05:00
vbawol
422fdcc487 move AliveTime stat to local loop 2017-09-05 16:16:20 -05:00
vbawol
31f65f6bee comments 2017-09-04 10:54:55 -05:00
vbawol
9fc38dd537 BE fixes for 1.76 and radiation fixes 2017-09-04 10:37:29 -05:00
vbawol
4449412c2d fixed double var usage 2017-09-04 08:36:15 -05:00
vbawol
c76b2badf9 move save stats to master loop and basic radiation system 2017-09-03 17:11:52 -05:00
vbawol
fcbdd594ae Screen effect when taking radiation damage #796 2017-09-03 17:11:52 -05:00
vbawol
ab5ea172a4 move weather temp and toxic feaver stats to master loop 2017-09-02 16:51:54 -05:00
DESKTOP-UH65DCE\MusTanG
f2fc2c9d6a Add TODO reminder 2017-08-31 00:28:30 -05:00
DESKTOP-UH65DCE\MusTanG
7d136cddb3 selectRandomWeighted not ready
Switch to BIS_fnc_selectRandomWeighted
2017-08-30 23:46:13 -05:00
vbawol
a59fc4aee2 make AI spawn every 5 minutes instead of 10 2017-08-30 17:55:39 -05:00
vbawol
01c8641ff2 Conditional Loot table feature and reworking antagonist spawning
- We no longer spawn antagonists on opening loot containers or trash.
Instead we have the client spawn them from a new weighted array. Note:
Admins can control what AI are spawning by removing from array
(antagonistChances) or setting chance to 0
- moved EPOCH_spawnIndex and EPOCH_spawnLimits to master loop init
instead of both_init as it is only needed client side.
- loot table updates for extra logic condition.
2017-08-30 17:15:14 -05:00
vbawol
c89dffa1d0 move to functions 2017-08-28 16:26:49 -05:00
vbawol
30d8107d75 configClasses fixes thanks to @ravmustang 2017-08-26 07:12:50 -05:00
vbawol
23b1710d7c test out of bounds checks
added _isOnFoot var to init that refreshes with event1 every second and
is reused in any events
2017-08-24 10:22:13 -05:00
Raymix
49e67d24d4 FavBar: perf optimization - new 5 sec event 2017-08-02 22:07:55 +01:00
Raymix
45b6bf1fb2 Favorites bar - full release 2017-08-01 03:00:28 +01:00
vbawol
f2b0aab6e6 disable fuel after player is already in the server 2017-07-25 12:19:23 -05:00
vbawol
4fa13b7a91 corrected comments 2017-07-12 09:54:03 -05:00
vbawol
3a59388163 use player instead of getPosATL for nearEntities 2017-06-23 17:38:56 -05:00
vbawol
dc03dae4bb b780
- Debris Updates and MD5 unit test
- reworked to only use one single hive call.
- add debug flag to remove markers by default.
- added check to prevent spawning debris on top of each other.
2017-06-03 10:55:47 -05:00
He-Man
c7e58da56d Reworked Building Script
- Added Vecorbuilding
- Added: Building element can be detached to walk around the Element
before saving
- Added: Help-Arrow to indicate door-opening direction
- Added: Max building height now will be checked direcly by building
element placement
- Changed: Replaced 0/90/180/270° direction build mode with "Rotate 90°"
- Fixed: 90° and 270° Snap was broken
- Fixed: Sometimes rotated elements rotate back on save

Credits:
The Base Vector Building Scripts comes from DirtySanches from
"DonkeyPunch Community Gaming Development Team".
Based on his Script, we reworked and fixed some more stuff in the
building script together.
2017-05-28 00:25:42 +02:00
He-Man
220a728cd4 Added Custom KeyMap 2017-05-19 22:44:55 +02:00
He-Man
c6a1da84d0 Fix for Weaponholder disappear to fast
Empty WH disappear after 1 second.
If filling of WH takes longer than 1s, the WH disappears. This fix let
the Server create the WH, if objnull
2017-04-23 18:52:36 +02:00
He-Man
eede62bd38 Fixed / updated and added Trader Missions
Ported to run it on Events instead fsm
2017-04-21 19:03:58 +02:00
vbawol
40f2c98f0c 0.5 b684 pt1
[Added] Customizability of units spawned by UAV alert via CfgEpochClient
> uavAlertUnitSpawnTemplate. (Default: I_Soldier_EPOCH)
[Changed] Great White Sharks will now spawn if player is deep enough in
the ocean.
[Changed] Objects or Players that have been given "Crypto" variable can
be accessed via the dynamic menu (Space Bar) for a "Take Crypto" action.
changed zombieRndChance to zombieRngChance and added default entry into
CfgEpochClient
2017-02-28 10:34:24 -06:00
He-Man
9eb8557107 wrong var name 2017-01-10 19:31:05 +01:00
vbawol
2eefc2e343 typo 2017-01-02 17:28:07 -06:00
vbawol
bc314ca5f8 use isEqualto 2017-01-01 12:33:53 -06:00
vbawol
468deeb252 test making player revive work similar to load #693
on revive, use reveal against new player object.
send loadABS value from server and wait client side for a match before
using selectPlayer.
Note: may need some form of code lock to prevent duplicate calls
Todo: Look into changing revive system to A3's own.
2017-01-01 12:33:04 -06:00
vbawol
c2a09465a9 move to top OCD 💯 2016-11-26 10:54:25 -06:00
vbawol
8e1d960496 simply prevent display EH loading after revive.
Thanks to @Ignatz-HeMan for the report.
2016-11-26 10:18:06 -06:00
vbawol
ba6f19e7bb b653 pt1
- fixed a typo in takeCrypto and updated private array
- moved epoch_2DCtrlHeartbeat to is Critical logic so it only beats when
critical (todo make slower faster based on high or low status)
2016-11-11 16:43:48 -06:00