A Man
0581f32296
Update player_death.sqf
...
Thx @BigEgg17
2020-04-05 20:53:47 +02:00
A Man
f68bbda0a3
Update Humanity System
...
This updates the humanity system. It removes the OpenTarget from Dayz Mod which is not needed for Epoch and more confusing as it helps to understand why a player gets a humanity drop or not.
The new system gives players always humanity.
Survivor killed Survivor = Negative Humanity
Survivor killed Bandit = Positive Humanity
Survivor killed Hero = Negative Humanity
Hero killed Bandit = Positive Humanity
Hero killed Hero = Negative Humanity
Hero killed Survivor = Negative Humanity
Bandit killed Bandit = Negative Humanity
Bandit killed Hero = Negative Humanity
Bandit killed Survivor = Negative Humanity
The values are strict and have no longer a complicated calculation based on a kill counter.
This change needs more testing in the beta state of this update.
2020-04-03 12:23:53 +02:00
worldwidesorrow
e913d1f77e
Remove medForceUpdate
2019-12-12 00:20:35 -06:00
A Man
ae3a4fa2c8
Adding better logging for playerDied
...
Also made some basic code changes for player_death
2019-11-08 20:32:07 +01:00
ebayShopper
6edc98adb9
Fix death cam height and rare duplicate weapon error
...
Vanilla commit:
1e01536fa7
2017-12-05 14:19:55 -05:00
ebayShopper
c671cf9661
Update player_death.sqf
...
Vanilla commit:
0e0ffa1d6e
2017-11-21 16:30:19 -05:00
ebayShopper
88f7687bec
Prevent double death issue
...
Prevents conflicts with using setDamage or setHit to kill a player as
described in:
https://epochmod.com/forum/topic/43990-when-player-dies-kill-message-appears-twice-and-spawn-in-worldspace/#comment-293696
Vanilla commit:
a7b650daa1
2017-06-11 17:57:49 -04:00
ebayShopper
d5e808e4d1
Lower group icons resource layer
...
Following 12abbfa
2017-03-31 15:12:24 -04:00
ebayShopper
b3fdd26d3b
Update fn_damageHandler.sqf
...
Continuation of 50ba58f
Also removed some unused variables
2017-03-30 17:26:25 -04:00
ebayShopper
2032094fb4
Fix undefined groupTags error
...
My mistake from 6736cd9
2017-03-01 11:24:09 -05:00
ebayShopper
6736cd92ff
Update group tags again
...
Also fixed wrong string name "STR_EPOCH_RADIO_CONTACT_LOST" thanks @oiad
2017-02-24 14:11:55 -05:00
ebayShopper
6e846847de
Only run group tags loop when in a group
2017-02-13 14:27:49 -05:00
ebaydayz
18191b0e3a
Use effectiveCommander for humanity hit
2017-02-05 16:30:32 -05:00
ebaydayz
611fd73bbd
Shorten some isKindOf checks
2017-01-28 21:04:26 -05:00
ebaydayz
1bb894b1c9
Add missing private var in player_death
2017-01-27 16:13:58 -05:00
ebaydayz
405dd7e519
Disable flies by default and add enableFlies config variable
...
Also, when enabled, flies now spawn ten minutes after the player's death
instead of two minutes after as recommended by @oiad .
2017-01-25 13:05:09 -05:00
ebaydayz
6c62b3f8e4
Rework player_death for respawnDelay=0; #1825
...
See #1825
2017-01-24 15:55:15 -05:00
icomrade
fc99604108
Better anim reset in player_death
2017-01-21 22:41:09 -05:00
ebaydayz
d8828d9df1
Fix "AI" text localization again
...
This was my mistake from 131329f . SourceName needs to be checked, not
bodyName.
2017-01-19 17:36:26 -05:00
ebaydayz
131329fd59
Fix "AI" text localized on wrong client in death message #1867
...
Fixes #1867
2017-01-10 13:38:00 -05:00
icomrade
0c4d77d2aa
Fix running corpses
2017-01-07 11:39:18 -05:00
ebaydayz
d509c15c82
Split player_death into scheduled and unscheduled #1833
...
Death message was sometimes showing incorrectly due to spawn delay.
Also the sched_corpses two minute loop was occasionally deleting bodies
right away because bodyName setVariable was delayed by the time it took
PVDZ_plr_death to send (up to a few seconds). See #1825
2016-12-28 16:16:46 -05:00
ebaydayz
4d3f707417
Stop autoRun and remove drink from hands at ponds #1827
...
Fixes #1827
2016-12-22 21:52:22 -05:00
ebaydayz
2c8f236f95
Fix death message in potential case of suicide
2016-12-08 14:37:04 -05:00
ebaydayz
808c8cf736
Hide group icons on death screen
2016-11-25 18:30:48 -05:00
ebaydayz
01307f9a42
Remove some common and duplicate translations
2016-11-07 16:14:20 -05:00
ebaydayz
1964a084ff
Avoid sending humanity hit if source is local
...
We only want to send a humanity hit if the source is a remote player.
Note it's not necessary to check isNull since (isPlayer objNull) returns
false.
Vanilla commit:
7402b240df
2016-10-17 14:52:34 -04:00
ebaydayz
7ddee142b0
Update confirmed kills system
...
Vanilla commits applied:
347105c036
e6b6814f51
1009828d8e
2016-10-15 15:08:48 -04:00
ebaydayz
d44696be3a
Delay player_death 1s if spawned from Killed EH
...
Vanilla commit:
96c9be3ecf
2016-10-14 12:40:19 -04:00
ebaydayz
7044b0095d
Get player name before death
...
Vanilla commit:
3e8c9410c5
2016-10-13 16:01:55 -04:00
ebaydayz
97796bf524
Update change log
2016-10-03 15:45:13 -04:00
ebaydayz
c4f861630d
Fix typo from 55910cc
...
Variable is not defined in this script.
2016-10-02 13:57:33 -04:00
ebaydayz
55910cc3d2
Remove humanity hit for killing player zombies
...
If you kill a player zombie you should not lose humanity. Player_death
is now synced with the humanity hit code in the damage handler.
Also the killing blow set variable was moved up because the same
conditions were already checked above.
2016-10-02 13:50:30 -04:00
ebaydayz
4509902822
Remove source object from Humanity hit network send
...
Source object is always player and not needed anymore after 8ea21a2
2016-10-02 13:26:11 -04:00
ebaydayz
0a17804e36
Change inCombat to bool instead of number
...
When a variable is only going to be 0 or 1 it makes more sense to use a
bool.
Also avoided unnecessary network broadcasts of inCombat from e446603
2016-10-01 13:07:59 -04:00
ebaydayz
88c1b83c31
Fix mine detection in death messages again
2016-09-30 20:06:18 -04:00
ebaydayz
d335ee2b1c
Fix death message mine and satchel detection
2016-09-30 19:14:11 -04:00
ebaydayz
9b13bd0e5e
Update new death messages
2016-09-27 15:08:41 -04:00
ebaydayz
134a614255
Remove FNC_getPlayerUID
...
It's been over two years since it was added. All servers should be
updated to steam ID by now.
2016-08-23 15:40:26 -04:00
ebaydayz
bfca19bf80
Remove some unused legacy code
2016-08-18 17:00:08 -04:00
icomrade
e446603ea2
Fix combat logging
...
In the initialize section of the fsm r_player_unconscious and
r_player_timeout return their default values (false and 0). Also, the
Vanilla server-side combat check doesn't appear to work, or it doesn't
work with the antihack disabled (I haven't tested with it enabled).
New variable inCombat is set more quickly than the combatTimeout
variable
2016-07-26 20:51:10 -04:00
ebaydayz
f2687345cd
Testing Confirmed Kills System.
...
Vanilla development commit:
4881e00ecf
New - Journal Kills will only update during the session on confirmed
Kills (study dead body).
2016-07-21 11:31:47 -04:00
ebaydayz
2f844060ec
Add handling of other fadeSound events in player_toggleMuteSound
...
Fixes icon staying up after fadeSound to 1 by unconscious and low blood
events.
2016-07-20 17:36:40 -04:00
ebaydayz
6ef59a0237
Add server RPT logging to Advanced Trading
2016-05-11 12:41:59 -04:00
ebaydayz
84e64be47e
Don't show debug message when paying with exact amount
2016-05-08 13:30:26 -04:00
ebaydayz
7da7b9e5dd
Correct PVDZ_plr_Save for player zombies
2016-04-20 17:00:38 -04:00
ebaydayz
58d54a8ce0
Add A and D keys to interrupt
2016-04-19 13:05:59 -04:00
ebaydayz
f38c6ff72e
Fix server FPS logging
...
No need to have a config variable for this, admin can easily change it
in server pbo.
2016-04-17 17:11:49 -04:00
ebaydayz
59a4459809
Fix spawn marker count for non-cherno maps
2016-04-17 15:32:47 -04:00
ebaydayz
5157228e67
Update all cutText to dayz_rollingMessages
2016-04-16 15:47:49 -04:00