Commit Graph

291 Commits

Author SHA1 Message Date
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
104721eced bunker loot pos 2017-09-18 11:55:58 -05:00
vbawol
d0a69fa7d1 set HandleRating to 0 as we already set players to -2000 and 0 will result in no changes 2017-09-17 21:17:43 -05:00
vbawol
80c3ba0917 testing for civ males 2017-09-12 13:50:25 -05:00
vbawol
ba45f5449c remove Karma changes via HandleRating
also add HandleScore EH hook
2017-09-11 11:40:40 -05:00
DESKTOP-UH65DCE\MusTanG
4f9fa717cb Add new assets configs entries 2017-09-10 18:58:53 -05:00
vbawol
eee733d90a remove unused function 2017-09-08 12:21:49 -05:00
vbawol
58c0481b6c add GeigerCounter price and to loot table 2017-09-08 12:21:42 -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
26da7904f7 bump arma min version 2017-09-07 11:51:01 -05:00
He-Man
671b2d4030 Block BarrelBombs from FavBar + Sort/Pricing adds 2017-09-06 23:41:55 +02:00
He-Man
35f8e38923 Fixed some Crafting Previews 2017-09-05 20:39:18 +02:00
vbawol
a5fb7a0a53 add tents #829 2017-09-04 08:11:37 -05:00
vbawol
8c28ebc1a9 Merge branch 'experimental' of https://github.com/EpochModTeam/Epoch into experimental 2017-09-02 16:51:58 -05:00
vbawol
ab5ea172a4 move weather temp and toxic feaver stats to master loop 2017-09-02 16:51:54 -05:00
He-Man
15bd919dd1 Fixed some craftings 2017-09-02 18:27:59 +02:00
He-Man
c3f7dede38 Changed Icon Path to epochcore 2017-09-01 19:54:16 +02:00
vbawol
6f95e6b0d3 remove backup 2017-08-31 08:34:13 -05:00
DESKTOP-UH65DCE\MusTanG
6d9ba4b0ec Add to DynaMenu actions target
Could not see the groups menu at all if looking directly at another
player.
This adds all groups menus and invitation menus to dynamenu player
targets.
2017-08-30 20:47:36 -05:00
DESKTOP-UH65DCE\MusTanG
a53149a5d1 Link new paa's to EpochCore 2017-08-30 20:44:39 -05:00
vbawol
9028cec8df add missing plant classes thanks to @morgoth0 2017-08-30 17:27:02 -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
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
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
763bc80e49 fixes 2017-08-18 09:45:27 -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
He-Man
e9499d6b17 Missing config for upgrading Cinder Floor 2017-08-09 19:10:00 +02:00
He-Man
236da86acb Upgrade for CinderFloor 2017-08-06 19:22:49 +02:00
He-Man
497db196ad Added missing Loot / Pricing / ItemSort 2017-08-05 20:56:36 +02:00
He-Man
5388ca2210 changes for Vehicle Repair + iteminteracts 2017-08-04 21:50:26 +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
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
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
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
vbawol
4cdc67cf9d Merge pull request #804 from Ignatz-HeMan/experimental
Advanced Vehicle Repair
2017-08-01 16:47:39 -05:00
Raymix
366068fd82 Customize HUD option removed from ESC menu #800 2017-08-01 22:42:06 +01:00
He-Man
826ddcc234 New item Classnames 2017-08-01 14:44:50 +02:00