Commit Graph

924 Commits

Author SHA1 Message Date
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
f7f839abf8 Satellite Event Starter 2017-08-30 17:06:18 -05:00
vbawol
e4903fd870 move weightedArray to Cfgfunctions for both server and client use 2017-08-30 17:00:06 -05:00
vbawol
a81088645c call compile to parseSimpleArray 2017-08-30 16:44:55 -05:00
vbawol
dddeb6c866 optimize unit spawn
only one getMissionConfig is needed, 10:1 reduction 👍
2017-08-30 16:40:42 -05:00
vbawol
ff4471552a improve earthquake event 2017-08-30 16:38:48 -05:00
vbawol
c89dffa1d0 move to functions 2017-08-28 16:26:49 -05:00
vbawol
ff5d56af46 better way to handle login fsm variables
CfgEpochClient "debug" variable to control extra debug and is currently
used in login fsm.
2017-08-26 09:57:59 -05:00
vbawol
30d8107d75 configClasses fixes thanks to @ravmustang 2017-08-26 07:12:50 -05:00
vbawol
fa3577473e Merge pull request #834 from ravmustang/Bool-spam-fix
Bool spam fix
2017-08-25 19:02:18 -05:00
DESKTOP-UH65DCE\MusTanG
b98f6e042a remove backup 2017-08-25 18:45:11 -05:00
DESKTOP-UH65DCE\MusTanG
e5fea7a53a correct configClasses usage 2017-08-25 18:44:26 -05:00
DESKTOP-UH65DCE\MusTanG
69acb31fd3 move icons to core 2017-08-25 16:36:27 -05:00
vbawol
901047eaef revert define test 2017-08-25 16:15:02 -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
vbawol
db18932055 Merge branch 'experimental' of https://github.com/EpochModTeam/Epoch into experimental 2017-08-24 09:29:01 -05:00
vbawol
5d044b3d9b proper use of copy operator
https://community.bistudio.com/wiki/Operators
2017-08-24 09:28:57 -05:00
He-Man
ecf904415b Remove forbidden Wpns / Ammo after upgrade 2017-08-22 23:40:41 +02:00
vbawol
383d67c28c Check to see if define true/false will fix bool conversion errors 2017-08-21 11:25:56 -05:00
He-Man
25e24b98e8 Fixed Ratio for DynaMenu Pics
Fix by @raymix
2017-08-21 17:05:08 +02:00
He-Man
2d0ef031c6 Moved Vehicle Upgrade to DynaMenu
- Vehicle Upgrade moved to DynaMenu
- Hitpoints now also will be given to Vehicles from other BaseClasses
(controlled by HitPointNames)
- Added a security Check that Players must have a bit distance to
upgrade
- Fixed some errors in Colorscript for upgraded Vehicles. If it is only
an upgrade, same color is used. If it is another Class, a new random
color will be taken.
- Removed Upgrade Vehicle from Inventory Click
- Changed DynaMenu to make it possible to call a script to get iconpath
(use "iconcode" instead of "icon" then)
2017-08-21 14:26:13 +02:00
vbawol
f7c3f748f7 add currentweapon to data new format 2017-08-18 15:00:30 -05:00
vbawol
94c5fee877 allow/setDamage and disableAI tweaks 2017-08-18 12:06:46 -05:00
vbawol
f0fbbe2cbb fixed spelling on Shipwreak 2017-08-18 11:12:47 -05:00
vbawol
35cd51d748 disable nite light by default 2017-08-18 11:09:14 -05:00
vbawol
065de1c165 make nitelight only work at night
https://community.bistudio.com/wiki/setLightDayLight
2017-08-18 11:07:02 -05:00
vbawol
763bc80e49 fixes 2017-08-18 09:45:27 -05:00
vbawol
b08e092cd4 Vehicle Damage On Spawn #824 2017-08-18 08:40:14 -05:00
vbawol
aea096ce68 add showHUD settings #822
Thanks to @Ghostrider-DbD-
2017-08-18 08:37:39 -05:00
vbawol
129d60b0b0 private update 2017-08-18 08:36:48 -05:00
vbawol
ab195d145b re-add hitpoints stats client side
removing it caused array index issues with other stats. Note: should be
able to repurpose the stat for something else instead of removing and
needing a workaround.
2017-08-18 08:25:07 -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
ba3041ce8d Merge pull request #823 from Ignatz-HeMan/patch-5
Fixed wrong EPOCH_InteractedItem on crates
2017-08-13 23:46:22 -05:00
He-Man
8185d0dbf5 Fixed wrong EPOCH_InteractedItem on crates
This has no effect to Epoch, but if you are working with EPOCH_InteractedItem in custom scripts, the crate items are from the wrong wh (if a crate and a groundWH is in target.
2017-08-13 20:43:33 +02:00
He-Man
e9499d6b17 Missing config for upgrading Cinder Floor 2017-08-09 19:10:00 +02:00
Raimonds Virtoss
5420ce3dc5 Merge pull request #820 from Ignatz-HeMan/patch-3
Fix "throw items" from Fav-Bar
2017-08-08 17:42:40 +01:00
vbawol
f28cc43cd5 b826 2017-08-07 18:53:00 -05:00
He-Man
c1cbb626fb Fix "throw items" from Fav-Bar 2017-08-07 23:10:21 +02:00
He-Man
aff46f13f7 Fix "throw items" from Fav-Bar 2017-08-07 22:57:59 +02:00
He-Man
236da86acb Upgrade for CinderFloor 2017-08-06 19:22:49 +02:00
He-Man
370896c150 Update CfgLootTable_MADCUP.h 2017-08-06 02:37:48 +02:00
He-Man
e0a002f808 Update CfgLootTable_MAD.h 2017-08-06 02:37:27 +02:00
He-Man
4609b4e236 Update CfgLootTable_CUP.h 2017-08-06 02:37:02 +02:00
He-Man
7028ad8011 Update CfgLootTable.h 2017-08-06 02:36:36 +02:00
He-Man
497db196ad Added missing Loot / Pricing / ItemSort 2017-08-05 20:56:36 +02:00
vbawol
163d702271 b824 2017-08-04 15:16:51 -05:00
He-Man
5388ca2210 changes for Vehicle Repair + iteminteracts 2017-08-04 21:50:26 +02:00
vbawol
6e3dcd090a b823 2017-08-04 14:39:46 -05:00
DESKTOP-UH65DCE\MusTanG
c783e6854b update killed EH
if killer is unit exit handler
2017-08-04 13:44:03 -05:00
vbawol
02c6e96f0c b822 2017-08-03 19:19:27 -05:00