Commit Graph

106 Commits

Author SHA1 Message Date
He-Man
4cf01824aa Statistics #1 (Player Stats) 2019-05-12 00:58:33 +02:00
He-Man
23c464970b Heal / Revive - Usage of HandleDamage EH 2019-04-04 21:14:56 +02:00
He-Man
804673e8bb GunSafe Scripts + Configs 2019-02-28 23:04:21 +01:00
He-Man
a6b7eb94b4 Cursortarget - More accurate check for Explosives 2019-01-11 16:09:07 +01:00
He-Man
2ef6790a8f Defuse Bomb / Itemdisplayname
Moving "Epoch_Itemdisplayname" also to server will rename it to "EPOCH_fnc_Itemdisplayname", so we now only link to the new function.
Means, that you can now use:
Client side:
"EPOCH_Itemdisplayname" or "EPOCH_fnc_Itemdisplayname"
Server side:
"EPOCH_fnc_Itemdisplayname"
So no eventually third-party scripts will take effect.
2019-01-11 15:32:00 +01:00
He-Man
b2957de2a2 ItemDisplayName available for Client and Server 2019-01-09 22:46:41 +01:00
RZSenfo
42acfb372c
fix missing param
as seen here

a9dc9f044b/Sources/epoch_server/compile/epoch_player/EPOCH_fnc_updatePlayerStats.sqf (L15)

second param is _killer (object)
2018-06-23 09:34:29 +02:00
He-Man
9915cb1939 If null, try cursorobject 2018-06-18 18:04:28 +02:00
vbawol
6c13f3d5ae small optimizations
typeName ... isEqualTo >> isEqualType
2018-04-30 22:01:37 -05:00
He-Man
d8632a89d5 Calculate Multigun distance by size of Target 2018-04-17 17:14:45 +02:00
He-Man
72fde8640a Minerocks fixed 2018-03-16 14:14:49 +01:00
He-Man
1460773de3 Power Sword Function 2018-03-05 22:49:32 +01:00
He-Man
b743a9be31 Small AutoRun fixes 2018-01-19 16:14:21 +01:00
He-Man
f59defbb5a CloseDisplay 999 on Playerdeath 2017-12-19 17:22:29 +01:00
He-Man
755bef4284 Hints for Multigun Useage 2017-12-02 21:22:43 +01:00
He-Man
a6f43e934b Make Nuisance by shooting configureable
Also reduced it, because it is very high on default
2017-11-15 21:53:14 +01:00
vbawol
d3b621b827 give attributes random data to use 2 decimal places 2017-10-27 09:17:34 -05:00
Raymix
2b0119f574 Consume uses message_stack, trader chat colored in orange now 2017-10-25 22:27:17 +01:00
vbawol
258d6c82d9 animation state
added missing var init server side
moved playMoveNow to master loop init and after display checks.
added config switch setAnimStateEnabled to test this, set
setAnimStateEnabled = true in CfgEpochClient to enable. Disabled by
default.
2017-10-23 13:43:27 -05:00
DirtySanchez
5427db38fe mapOnZoomSetMarkerSize upgrades to maintain preset size scaling
all markers now scaled based on sizing desired in the cfgMarkerSets.
Adjustment of 2.25 to the mapScale was added to achieve smaller markers sooner and maintain non cluttered map markers
2017-10-20 13:49:16 -05:00
DirtySanchez
184b2da59e remove unused code
added a compile for code sent from config entry, this need not apply anymore
2017-10-19 12:58:46 -05:00
He-Man
b28ed47141 Fix for Marker 2017-10-19 19:22:44 +02:00
He-Man
96f72fc98a Option to overwrite Marker Text
Added Option to overwrite marker text and use it for Service Points
2017-10-19 19:10:52 +02:00
DirtySanchez
83363f693b added same change below for the counter to raise 2017-10-19 10:43:35 -05:00
Grahame
d92e0f65be Update EPOCH_fnc_createLocalMarkerSet.sqf
Added EPOCH_ to the name of all local Epoch markers
2017-10-19 11:23:14 -04:00
DirtySanchez
b2cf56a7b6 global marker sets and map upgrade
New global marker sets and functions.
Replace all markers for events and locations(fully configurable in CfgMarkerSets)
New MapScale marker zoom feature.
2017-10-18 11:27:23 -05:00
He-Man
35c9902232 Remove Ammo Tweaks 2017-10-15 18:19:41 +02:00
vbawol
aaf7b215c9 make use of underwater command 2017-10-13 16:15:03 -05:00
DESKTOP-UH65DCE\MusTanG
df12dc1b61 marker sets (local)
Player Location Marker with Assigned GPS
Death Marker location saved only when assigned GPS on death

CfgEpochClient on/off toggle for hosts
DynaMenu on map toggle for players

New Marker Sets come to life!
First set of functions for Local Marker Sets as needed for the above
feature additions
2017-10-08 13:37:48 -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
f122c2db0a fix nuisance 2017-09-27 15:46:15 -05:00
vbawol
8f1b71a26e player stats fixes part 6 2017-09-27 10:38:18 -05:00
vbawol
a3a0e7e2d9 Changes to default var loading 2017-09-26 21:20:41 -05:00
vbawol
69a869ed2c fix error with wrong var 2017-09-26 16:32:57 -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
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
DESKTOP-UH65DCE\MusTanG
3b11fc7f75 Inventory space checks 2017-09-24 04:46:20 -05: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
2cffcbc740 cleanup 2017-09-06 14:00:03 -05: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
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
vbawol
c89dffa1d0 move to functions 2017-08-28 16:26:49 -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
6a78895879 Merge branch 'experimental' into Community-Stats-#1 2017-08-03 18:20:00 -05:00
He-Man
c7f467be77 Option to prevent selling damaged veh 2017-08-03 20:43:58 +02: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