Commit Graph

518 Commits

Author SHA1 Message Date
vbawol
cce0f4aa2b toxic sapper updates
Increase range for toxic smoke from 6m to 12m.
toxic sapper.:
trigger smoke at unit spawn
readd smaller explosive charge
2017-10-01 17:15:42 -05:00
vbawol
f11f8a5a6c remove karma Item Interactions 2017-10-01 16:20:34 -05:00
vbawol
0b71db3917 fix ai spawning 2017-09-30 10:14:43 -05:00
vbawol
675348b160 fix blood pressure 2017-09-30 10:12:32 -05:00
vbawol
e11e60d209 debug 2017-09-30 09:34:16 -05:00
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
a5894bca15 debug spawn units 2017-09-28 11:30:26 -05:00
vbawol
7b37ed7c07 fix radio active site 2017-09-27 15:59:38 -05:00
vbawol
f122c2db0a fix nuisance 2017-09-27 15:46:15 -05:00
vbawol
bec28218f4 play local sound on repair 2017-09-27 14:33:38 -05:00
vbawol
2ebbfa70b8 mixed up with Nuisance 2017-09-27 11:22:28 -05:00
vbawol
74aecd3849 init playerspawnarray var
since we are using an gvar array here edits to it externally should not
require redefining local var for use in other events.
2017-09-27 11:10:20 -05:00
vbawol
7459f9d3a0 last typo 🎱 2017-09-27 11:01:33 -05:00
vbawol
8f1b71a26e player stats fixes part 6 2017-09-27 10:38:18 -05:00
vbawol
0ad1a967d8 player stats fixes part 5 2017-09-27 10:13:42 -05:00
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
69a869ed2c fix error with wrong var 2017-09-26 16:32:57 -05:00
vbawol
91f998a7ed should be string here 2017-09-26 16:11:06 -05:00
vbawol
f3774c855a debug 2 2017-09-26 15:54:30 -05:00
vbawol
8b1a4d0f3c debug 2017-09-26 15:14:51 -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
d318d99a86 setVectorDirAndUp after setpos
All uses of setVectorDirAndUp in arma code is after setpos not before.
2017-09-25 16:58:28 -05:00
vbawol
a2e9b150cc Merge pull request #873 from Ignatz-HeMan/patch-5
Fix for Vehicle Maintainance
2017-09-25 15:46:30 -05:00
He-Man
0ddc7d638d Fix for Vehicle Maintainance 2017-09-25 19:06:08 +02:00
He-Man
39f45eb855 Fix for Vehicle Maintainance 2017-09-25 19:04:24 +02: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
vbawol
c67d642ef8 suppress NotUsed stat 2017-09-24 17:51:35 -05:00
DESKTOP-UH65DCE\MusTanG
ed095efb48 update to notused var name 2017-09-24 17:47:08 -05:00
DESKTOP-UH65DCE\MusTanG
bf41fb5b7d remove from default vars and add to debug 2017-09-24 17:38:56 -05:00
DESKTOP-UH65DCE\MusTanG
2f292d889a move karma and upgrade community stats coding 2017-09-24 12:26:11 -05:00
DESKTOP-UH65DCE\MusTanG
3b11fc7f75 Inventory space checks 2017-09-24 04:46:20 -05:00
DESKTOP-UH65DCE\MusTanG
19b5a06215 Commander Reload and Remove Turret Mags 2017-09-23 22:29:45 -05:00
DESKTOP-UH65DCE\MusTanG
122cb8b96c Gunner and Driver Turrets
Reload and remove mags from gunner and driver turrets.
Will expand for more slots
2017-09-23 20:58:48 -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
He-Man
2afc23914f fix for addrating 2017-09-20 19:35:46 +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
f4a95f6ab4 Merge branch 'experimental' of https://github.com/EpochModTeam/Epoch into experimental 2017-09-15 11:07:15 -05:00
vbawol
589c05f597 handle incorrect index with param command 2017-09-15 11:07:10 -05:00
He-Man
02dbb34b8d Prevent filling inside Vehicles 2017-09-14 19:51:06 +02:00
vbawol
b9fffd4cb9 Better event driven cameraView checks
uses MissionEH PlayerViewChanged
removed fsm infinite loop checks
2017-09-12 16:29:42 -05:00
vbawol
80c3ba0917 testing for civ males 2017-09-12 13:50:25 -05:00
vbawol
a3a2de0841 Merge pull request #859 from Ignatz-HeMan/experimental
Fixes and Cleanups for VehRepair + ServicePoint
2017-09-08 11:43:30 -05:00
He-Man
3543ce892d Fixes and Cleanups for VehRepair + ServicePoint
- Added CinderWall Door to DoorCount in UpgradeBuild
- Added Option to prevent repairing full damaged HitPoints in
ServicePoint
- Added Option to disable removing Parts in Advanced Vehicle Repair
- Added CinderWallDoorwHatch_EPOCH to cfgBaseBuilding
- Fix in cfgCrafting for KitVehicleUpgradeI_200_EPOCH
- Added an "isdamageallowed" check in EPOCH_server_repairVehicle for
repairing untouched Vehicles in Bases
https://github.com/EpochModTeam/Epoch/blob/experimental/Sources/epoch_server/compile/epoch_vehicle/EPOCH_load_vehicles.sqf#L202-L203
- Some Cleanups of commented out lines
2017-09-08 18:34:56 +02:00
vbawol
f4ff04590f selectRandomWeighted is available now 2017-09-07 11:50:31 -05:00
He-Man
671b2d4030 Block BarrelBombs from FavBar + Sort/Pricing adds 2017-09-06 23:41:55 +02: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
73d5d95fc5 use apply to optimize 2017-09-06 09:39:34 -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
He-Man
3cb8db20ec Additional Check 2017-09-05 18:06:30 +02: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
ac92ca4415 Merge pull request #851 from ravmustang/Vector-Snapping-Wall2Wall
Vector Snapping Wall 2 Wall
2017-09-04 11:54:11 -05:00
DESKTOP-UH65DCE\MusTanG
53e0e45b08 Snap Wall 2 Wall
Wall 2 Wall Snapping with rotation fixes.
Move around code for use in both para and perp snapping
2017-09-04 11:19:29 -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
a5fb7a0a53 add tents #829 2017-09-04 08:11:37 -05:00
DESKTOP-UH65DCE\MusTanG
df8346af2c Snap Wall to Floor Fixes and Upgrades
[Fixed] Snapping Stud Walls to Floors tilted on their left or right(had
forward and back working)
[Added] Checks for Tilt Left / Right / Forward / Back
[Added] Checks for Snap Points N,S / E,W
[Added] Checks for Snapping Direction 0,2 / 1,3
[Fixed] Snapping Direction's failed to keep level with tilt of floor on
some snap points with specific directions requiring the above checks
2017-09-03 18:45:56 -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
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
He-Man
eb3b86dfad Corrected "Epoch_ServerVersion" variable 2017-09-02 16:56:18 +02:00
DESKTOP-UH65DCE\MusTanG
33a663f72d Revert "missing ; 's"
This reverts commit 9230db9c7a.
2017-08-31 00:42:45 -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
DESKTOP-UH65DCE\MusTanG
9230db9c7a missing ; 's 2017-08-30 23:39:08 -05:00
vbawol
a59fc4aee2 make AI spawn every 5 minutes instead of 10 2017-08-30 17:55:39 -05:00
vbawol
7ab0e2694b Merge remote-tracking branch 'origin/experimental' into experimental
# Conflicts:
#	Sources/epoch_config/Configs/CfgClientFunctions.hpp
2017-08-30 17:19:05 -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
e4903fd870 move weightedArray to Cfgfunctions for both server and client use 2017-08-30 17:00:06 -05:00
vbawol
dddeb6c866 optimize unit spawn
only one getMissionConfig is needed, 10:1 reduction 👍
2017-08-30 16:40:42 -05:00
DESKTOP-UH65DCE\MusTanG
f30582cc9f Function name change and fix be filter 2017-08-30 14:30:27 -05:00
DESKTOP-UH65DCE\MusTanG
963ab30581 No temp group invite if in main group 2017-08-30 04:02:25 -05:00
DESKTOP-UH65DCE\MusTanG
d90eb4774f epoch groups system
move "Delete Group" button check to onLoad from button click.
Remove owner from EPOCH_sendRemoteExecClient calls.
Add UI update push to leader on Delete Group.
Add UI update push to client on remove in case they clicked leave group.
2017-08-30 03:14:13 -05:00
DESKTOP-UH65DCE\MusTanG
56283e0c08 Temp Group System
Credit goes to AWOL for the original Epoch Group System.
Temp Groups do not allow outsiders access to bases, vehicles or safes.
Easily switch to Temp Group for Co-Op mission, then back to Perm Group.
Full access to Kick, Set Mod, Leave Group/Delete Group.
When leaving or deleting group, you will be put back into the actual
group of your teammates if online.
Fixed Leave/Delete Button to show Delete Group onLoad of Temp Group UI
Added refresh to Group UI's so all players are in sync after changes
2017-08-30 02:43:37 -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
DESKTOP-UH65DCE\MusTanG
69acb31fd3 move icons to core 2017-08-25 16:36:27 -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
5d044b3d9b proper use of copy operator
https://community.bistudio.com/wiki/Operators
2017-08-24 09:28:57 -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
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
129d60b0b0 private update 2017-08-18 08:36:48 -05:00