Commit Graph

277 Commits

Author SHA1 Message Date
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
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
DESKTOP-UH65DCE\MusTanG
c783e6854b update killed EH
if killer is unit exit handler
2017-08-04 13:44:03 -05:00
vbawol
6a78895879 Merge branch 'experimental' into Community-Stats-#1 2017-08-03 18:20:00 -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
vbawol
0074d505a8 Merge pull request #810 from Ignatz-HeMan/experimental
Option to prevent selling damaged veh
2017-08-03 14:55:42 -05:00
He-Man
c7f467be77 Option to prevent selling damaged veh 2017-08-03 20:43:58 +02:00
Raymix
3abac17557 trade: calc damage %, return new cost 2017-08-03 19:32:55 +01:00
He-Man
ff4b401b5f Some Fav-Bar Tweaks
- Moved configs to cfgepochclient
- Changed Keydown-Check from EPOCH_Buildmode to EPOCH_Target
- Replaced "resetonLogin" to only remove "forbidden items"
2017-08-03 18:18:18 +02:00
DESKTOP-UH65DCE\MusTanG
a2a3b7e3bd Zombie Stat
addEventHandler in 2 places for same zombie _unit, removed from unit
spawn function.
2017-08-03 10:46:46 -05:00
DESKTOP-UH65DCE\MusTanG
c49ee69265 add some tidybowl 2017-08-03 09:42:49 -05:00
DESKTOP-UH65DCE\MusTanG
4f88928bd0 Missions simplified
Category changed to TraderMissions.
Removed CompletedMissions.
2017-08-03 09:37:08 -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
Raymix
97cf50183e FavBar: build mode fix 2017-08-02 23:16:50 +01:00
Raymix
49e67d24d4 FavBar: perf optimization - new 5 sec event 2017-08-02 22:07:55 +01:00
Raymix
a0e9ddbbef FavBar: performance optimization 2017-08-02 21:48:09 +01:00
Raymix
082036236a favbar: cleanup + private declares 2017-08-02 19:33:53 +01:00
vbawol
4cdc67cf9d Merge pull request #804 from Ignatz-HeMan/experimental
Advanced Vehicle Repair
2017-08-01 16:47:39 -05:00
Raymix
80329a9b16 Favbar: dupe fix (sorry lol, needs more field testing) 2017-08-01 21:09:50 +01:00
Raymix
45b6bf1fb2 Favorites bar - full release 2017-08-01 03:00:28 +01:00
He-Man
5dd672cb68 Advanced Vehicle Repair 2017-07-31 18:28:18 +02:00
DESKTOP-UH65DCE\MusTanG
39d8f05029 add virtual obj for setDir 2017-07-27 15:16:16 -05:00
DESKTOP-UH65DCE\MusTanG
f8461d247e Fix snapping with Vector Tilt
I feel crazy after this one.
2017-07-26 21:38:33 -05: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
fd5f4cb1f9 maxBuildingHeight now var as it is used oneachframe 2017-07-12 09:53:39 -05:00
He-Man
96b4a33677 Fixed flip storages, added height check 2017-07-09 21:34:32 +02:00
He-Man
3539a43734 Fixed flip Storages, added height-check 2017-07-09 21:08:00 +02:00
He-Man
b95b845b9a Fixed flip storages above Water 2017-07-09 20:57:08 +02:00
DESKTOP-UH65DCE\MusTanG
1e77e0a22b Add reading documents
Add configs for easy editing of readable documents messages
Array for multiple messages, even a story. lol
Default messages are a hoot!
2017-07-03 19:08:04 -05:00
DESKTOP-UH65DCE\MusTanG
e906d29c9c More upgrades and new functions 2017-07-03 15:59:40 -05:00
DESKTOP-UH65DCE\MusTanG
44eb34445d Msg for missing item 2017-07-03 07:40:47 -05:00
DESKTOP-UH65DCE\MusTanG
711e7aba06 Update VUS#1
Change call to configFile to new missionConfigFile CfgVehicleUpgrades.
Add check for crypto client side before sent off to server for
completion
2017-07-03 07:35:42 -05:00
DESKTOP-UH65DCE\MusTanG
1dc4d147be VUS #1
ItemInteractions for VehDoc's set for UPGRADE
CfgVehicleUpgrade added for customizing materials needed
Server function for upgrading vehicle
CfgRemoteExec addition for server function above.
2017-07-03 07:22:20 -05:00
He-Man
394074c71d Updated missing ServiePoint Changes 2017-06-25 03:51:48 +02:00
He-Man
093e600ae2 Updated missing ServiePoint Changes 2017-06-25 03:21:31 +02:00
He-Man
94c8db8408 Updated missing ServiePoint Changes 2017-06-25 03:19:29 +02:00
vbawol
61700f5b41 fix from @Ignatz-HeMan
"otherwise he checks the aimpos of the Vehicle and this is mostly not
visible for the zombie"
2017-06-24 10:40:41 -05:00
vbawol
66f15a968f make bitePlayer function also work with vehicles 2017-06-24 10:36:48 -05:00
vbawol
3a59388163 use player instead of getPosATL for nearEntities 2017-06-23 17:38:56 -05:00
vbawol
e7092ad55d b788
- Can now mine metal scraps from Dynamic Debris vehicle wrecks using
sledgehammer.
- Can now "Search/Examine" Dynamic Debris Trash piles for loot.
- (Known issue: Dynamic Debris will respawn after server restart)
- Initial support for Malden 2035 map released with A3 1.72+.
- Fixed Admin panel corpse markers.
2017-06-11 12:28:23 -05:00
vbawol
784bb3d7f3 fixes to worldObjectType function 2017-06-06 08:13:36 -05:00
vbawol
c887028d9b comment 2017-06-04 19:23:15 -05:00
vbawol
684bff7e08 unify EPOCH_worldObjectType logic
EPOCH_worldObjectType now supports objects and object string names
2017-06-04 19:22: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
vbawol
7351081b1b Merge branch 'experimental' of https://github.com/EpochModTeam/Epoch into experimental 2017-05-21 16:24:44 -05:00
vbawol
759daa7ee5 remove unused functions 2017-05-20 22:51:28 -05:00
He-Man
220a728cd4 Added Custom KeyMap 2017-05-19 22:44:55 +02:00
vbawol
9a7bc7b455 more cleanup and privates 2017-05-02 08:28:52 -05:00