Commit Graph

177 Commits

Author SHA1 Message Date
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
Raymix
77f3ca71ff Changed: Replaced _scaleUI with heartbeat animations for "topRight" dynamicHUD when critical 2016-11-09 23:47:14 +00:00
vbawol
a0b078a683 Epoch Survival 0.4 b650
- experiment with using dynamic UI (HOLD down Space Bar) for base
building: enable, disable, free mode, and snap alignment options. build
mode can still be disabled with "1" key only if already enabled.
- Replace the use of 1,2,3 keys for base building to free them up to be
used for Arma 3 weapon switching.
2016-11-09 17:04:15 -06:00
vbawol
c15ea5c42b Epoch Survival 0.4 b646
removed "wet" HUD icon for now.
reworked login fsm, thanks to some feedback on the forum.
removed most blocking of f1-12 keys and number keys via keyDown
function.
comment out some diag_log spam.
workaround for Arma 3 client crash when an admin uses F5 to delete a
vehicle.
Fixed Ryan Zombies mod detection issues.
Optimized and fixed wall state issues thanks to @Ignatz-HeMan for PR and
Xirtti for the feedback.
2016-11-09 15:21:15 -06:00
Raymix
4cbad753af OCD fix: centered scaling for dynamic HUD critical animation. 2016-11-07 21:02:57 +00:00
vbawol
d285fe4ad0 private array cleanup p1 2016-08-31 19:29:08 -05:00
vbawol
90f5674a74 0.4.0.0 b584
More work on Dynamic HUD and hudConfigs are now found in CfgEpochClient.
Animal spawn table now found in CfgEpochClient.
Two new functions added to handle get(In|Out)Man Event Handlers.
moved forced disabling of build mode when getting in vehicle to getInMan
EH function.
removed a few unused files.
2016-08-12 13:15:11 -05:00
vbawol
810fe5d65c bump version to 0.4
* Adds experimental test of new HUD from @raymix
* Hud elements are added and removed dynamically so that all active
icons are always right justified.
* Icons scale in size when critical levels are reached.
* added use of new A3 features to control angle and scale of hud icons.
* warning and critical levels are controlled via customVarsDefaults.

* Added larger group sizes up to 64 players and increased Krypto costs.
* reworked Finsh login in login fsm to wait for display 46 not to be
Null.
2016-08-08 14:45:39 -05:00
vbawol
eaf23d4e31 0.3.9.0 b552
zombie fixes
removed armed vtol
prices for APEX vehicles
message when NVG disabed due to lack of energy
2016-06-30 17:43:28 -05:00
vbawol
6a01291440 0.3.9.0546
add server invoked looting text based feedback
2016-06-29 13:35:37 -05:00
vbawol
05bbb9a14e 0.3.9.0539
add loot class override variable epochLootClass, to allow all zed
classes to return
BE filter updates for extra zombie classes
added loot table for zombies.
added looting of Dogs for meat with negative karma.
cooking of dog meat.
loot configs for shark
interactAttributes format changed to an array ["Hunger",100,1] //
CustomVarName, value, make value randomized.
BE updates and fixes
new function EPOCH_giveAttributes
2016-06-23 20:43:22 -05:00
vbawol
fa2185a27d 0.3.9.0534
max out zombie count on spawn chance
allow variable increase to antagonist array
2016-06-18 12:57:53 -05:00
Raymix
b219235534 New Function: Epoch_message 2016-06-18 02:22:29 +01:00
vbawol
f253648423 0.3.9.0524 2016-06-14 19:58:22 -05:00
vbawol
b1efe1429a correct file path to current branch 2016-06-13 11:54:19 -05:00
vbawol
a503633b36 0.3.9.0473
Add inital support of Ryans Zombies and Demons mod
EPOCH_client_bitePlayer changes:
settings now config based via CfgObjectInteractions
2016-05-23 15:01:40 -05:00
vbawol
6f169cff93 0.3.8.0465
Epoch PBO packer 1.0
add playerNuisance variable
a few small optimizations
2016-05-18 11:48:48 -05:00
vbawol
be348bca8f 0.3.9.0447
Pt 1 move base building configs to gamemode
2016-05-05 11:06:12 -05:00
vbawol
bb8f4f1c1e suppress loot spawning at main traders
http://epochmod.com/forum/topic/41954-loot-spawning-at-traders/
2016-04-29 08:10:17 -05:00
vbawol
34732363ff build 0.3.8.0430
fixed typo in masterloop
2016-04-24 15:19:33 -05:00
vbawol
b401cbad7b use new getOutMan EH for vehicle anti wall glitch 2016-04-22 17:33:37 -05:00
vbawol
ba1bf9ceab hintsilent to Epoch_dynamicText 2016-04-22 10:46:53 -05:00
vbawol
34b777dff9 Should fix false ban on revive
http://epochmod.com/forum/index.php?/topic/41919-eh-inventoryclosed2/
2016-04-22 10:46:17 -05:00
vbawol
87c23b106f Release 0.3.8 (#502)
* first build for 0.3.8

* 0.3.8.0190

* 0.3.8.0202

* 0.3.8.0213

* 0.3.7.0214

* 0.3.8.0222

* 0.3.8.0246

* 0.3.8.0247

fixed typo

* 0.3.8.0249

more fixes for server compiler

* 0.3.8.0256

* add build number and simple batch file for packing

* match build number with internal

* add build numbers to server pbo's and mission files

also reworked build script for more options

* 0.3.8.0261

* 0.3.8.0261

* 0.3.8.0283

* 0.3.8.0284

* changelog

* 0.3.8.0307

* 0.3.8.0311

* remove old BEC plugin

* update redis-server.exe to latest build and full config

* 0.3.8.0314

* 0.3.8.0315

* inverse logic

This should correctly prevent spawning these units nearby jammer or
protection zones

* use pushbackUnique here

* optimized loot function

by using selectRandom instead of slower sqf logic

* 0.3.8.0316

* make use of new getDir functionality instead of BIS fnc

* add lower disconnect value to server.cfg

* use new getpos functionality

* 0.3.8.0317

* 0.3.8.0319

* 0.3.8.0327

* 0.3.8.0338

changelog update tba

* changelog

* 0.3.8.0341

* BE update

* 0.3.8.0353

* changelog

* removed duplicates

* 0.3.8.0355

fixed error in getIDC

* 0.3.8.0356

revert to BIS_fnc_param as params threw errors

* 0.3.8.0357

fixes for #496 #497

* 0.3.8.0359

fixed #497
fixed #496

* 0.3.8.0365

* 0.3.8.0371

* 0.3.8.0373

* 0.3.8.0379

* 0.3.8.0381

* 0.3.8.0386

* 0.3.8.0393

* 0.3.8.0395

* 0.3.8.0396

* 0.3.8.0397

* 0.3.8.0406

* 0.3.8.0409

* 0.3.8.0410

loot balance
suppress error in spawnloot
make near object check based on building size

* 0.3.8.0412

* 0.3.8.0414

removed classes with scope 0
test remove loot trash on gear for #498
fixed #501

* 0.3.8.0415

* same
2016-04-08 15:21:46 -05:00
vbawol
585d0dd996 0.3.7.032 2016-01-15 13:22:40 -06:00
vbawol
d724ec06d6 0.3.7.016 2016-01-08 17:19:18 -06:00
vbawol
bd183c7d2e same 2015-12-23 11:40:24 -06:00
vbawol
1ceb25c1f7 0.3.7.003 2015-12-23 11:38:11 -06:00
vbawol
aa70eedaf9 0.3.6.011 2015-12-14 12:09:09 -06:00
vbawol
40327bab0f 0.3.6.006 2015-12-08 11:07:43 -06:00
vbawol
f29efacc2d 0.3.6.005 2015-12-07 18:56:57 -06:00
vbawol
64f815aae4 getting started on 0.3.6 2015-12-07 10:24:52 -06:00
vbawol
9512f9dcea 0.3.5.048 2015-11-22 17:52:24 -06:00
vbawol
055b129bcc 0.3.5.029 2015-11-08 09:26:38 -06:00
vbawol
2b5f56d2a9 0.3.5 b023 2015-11-01 01:28:48 -06:00
vbawol
981170c5f0 0.3.5.016 2015-10-28 10:16:00 -05:00
vbawol
4d683e6055 locality issue with fishing 2015-10-13 10:11:52 -05:00
vbawol
4d00321000 0.3.4 part 8 2015-10-12 14:15:10 -05:00
vbawol
f9e3a36ace 0.3.4 part 2 2015-10-05 13:40:04 -05:00
vbawol
96e6713db9 push code pbo sources 2015-09-14 15:55:36 -05:00