Commit Graph

265 Commits

Author SHA1 Message Date
He-Man
d5905df9ff Better Spawn Positions for Chopper 2017-10-04 20:19:16 +02:00
vbawol
3890dbcf0d limit critical part damage to 0.8
per disscussion with @Ignatz-HeMan
2017-10-04 11:18:54 -05:00
vbawol
5060394989 Simple Garden Manager v1
currently set to run 24 minutes between each "grow" cycle, so from seed
to mature should take around 1.2 hours from seed to fully mature. Option
to also have mature items spoil on the next cycle (24 minutes).
2017-10-03 10:25:59 -05:00
vbawol
5f640933d9 optimize remoteexec usage for multiple targets 2017-10-03 09:11:18 -05:00
vbawol
70b11bc5a1 can just use array as targets instead of foreach here 2017-10-03 08:04:54 -05:00
DESKTOP-UH65DCE\MusTanG
f3700efba7 vector corrections and improvements
Correct vector snap issues clientside
Correct vector placement issues server side
Correct remoteExec reveal to clients(fixes incorrect placement during
swap)
2017-10-02 17:05:53 -05:00
vbawol
2c8ace3a8d use player object for RE instead of netID 2017-09-30 22:06:47 -05:00
vbawol
0de36abd6b testing
if this is cause of duping on login
2017-09-30 15:40:42 -05:00
vbawol
84a2c7b721 debug 2 2017-09-29 22:44:17 -05:00
vbawol
4da51a45f3 add debug 2017-09-29 21:48:32 -05:00
vbawol
05cb38f4f7 force hitpoints to reset 2017-09-26 14:21:23 -05:00
vbawol
2154402d85 fixes
fix error if EPOCH_playerEnergyMax was nil
another test case for swapBuilding if still not fixed.
removed hitpoints var from heal and godmode as it is not used.
2017-09-25 17:19:53 -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
DESKTOP-UH65DCE\MusTanG
7efdfd5b4c corrections 2017-09-24 17:00:52 -05:00
DESKTOP-UH65DCE\MusTanG
480ee26dbb config controls karma levels 2017-09-24 15:28:42 -05:00
DESKTOP-UH65DCE\MusTanG
01446e50ad karma changes(deaths, suicides, pvp, revives, trades, tradersKilled) 2017-09-24 15:01:54 -05:00
He-Man
a8c4297c7d Fix teleporter pos if debug is above Water
modeltoworld returns "swimming" values above water (dependent on waves).
using modeltoworldworld fix it
2017-09-22 21:23:56 +02:00
He-Man
39ae07e488 Fix Debug Classname from Config 2017-09-19 18:53:56 +02:00
vbawol
cf2244d3b3 fix lexer warning 2017-09-17 09:53:52 -05:00
vbawol
faf82b97b2 make debug box config based
lightPos: controls the positions of light props inside the box (uses
modelToWorld offset), set to {} to disable.
debugBoxClass: Controls the class that is used for the debug box, "" to
disable debug box.
cloneClasses: What classes to use for clone vat props, set to {} to
disable
2017-09-17 09:47:48 -05:00
He-Man
a67bb3b3c5 Fix for 1st Trader not spawning 2017-09-14 17:56:40 +02: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
He-Man
1efddd17c1 Fix for Duping by remove Building 2017-09-04 23:18:54 +02:00
He-Man
6f3a68bd7f Workaround for login-issue (BlackScreen) 2017-09-03 19:18:35 +02:00
He-Man
e286914461 Fixe for exploding new spaned Vehicles
"HitHull" > 0.95 causes exploding Landvehicles
2017-09-03 16:03:41 +02:00
vbawol
52e02b954c Optimize: nearestObjects use object instead of pos 2017-09-02 17:06:27 -05:00
He-Man
2484804c7a Usage of "unitleadout" on player revive 2017-09-02 19:56:59 +02:00
DESKTOP-UH65DCE\MusTanG
71f6c3db70 fixes
Added the _allPlayers variable to complete the delete and readd to
original Perm Group.

Optimized forEach statements.
Fixed use of _groupId with _permGroup
2017-08-30 20:43:19 -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
DESKTOP-UH65DCE\MusTanG
f30582cc9f Function name change and fix be filter 2017-08-30 14:30:27 -05:00
DESKTOP-UH65DCE\MusTanG
3b82e8b0b0 clean up server side temp groups 2017-08-30 03:36:37 -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
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
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
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
b08e092cd4 Vehicle Damage On Spawn #824 2017-08-18 08:40:14 -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
DESKTOP-UH65DCE\MusTanG
c19847b156 updates
local antagonists killed by non-local entity needed to be handled.
Local and Non-Local stat changes are now sent to server first then back
to the appropriate client after pToken check is verified.
2017-08-03 18:11:10 -05: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
He-Man
5dd672cb68 Advanced Vehicle Repair 2017-07-31 18:28:18 +02:00
vbawol
29e530d62c AH updates
- change a few call compile + callExtension calls to parseSimpleArray +
callExtension as they return arrays.
- allow anti teleport check to be disabled with
antihack_antiTeleportCheck = "false" inside epochah.hpp
- optimized and made EPOCH_server_getRealTime command a normal server
function.
2017-07-28 11:56:30 -05:00