ebaydayz
8ea21a2c81
Fix humanity hit for units in vehicles
...
The only change is a removal of this check and the corresponding
tabs/spacing:
if (_object == player) then {
That returns false if the player is in a vehicle. It is not needed since
PVCDZ_plr_Humanity EH only fires on the intended player now (sent with
PVC instead of PV).
2016-10-01 13:43:30 -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
d9b785750d
Fix death messages vehicle detection again
2016-09-30 20:51:34 -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
icomrade
1b91e808dd
remove unused variable
2016-09-29 15:59:52 -04:00
icomrade
e49d786e2a
Fix gear access on locked vehicles
...
This will be annoying in bases for sure, but cursorTarget just doesn't
work reliably.
2016-09-29 15:58:28 -04:00
ebaydayz
b4be955a0d
Update new runover death message
2016-09-28 18:57:09 -04:00
icomrade
869f98efd7
Fix change clothes dupe
2016-09-27 20:55:06 -04:00
ebaydayz
79c6d605a5
Add back playMoveNow in fn_unconscious.sqf
...
Partially reverting 341d45f
See comment on 341d45f
2016-09-27 16:50:59 -04:00
ebaydayz
9b13bd0e5e
Update new death messages
2016-09-27 15:08:41 -04:00
icomrade
58e90da07d
Fix transfusion in vehicle
2016-09-27 12:46:13 -04:00
icomrade
514ac67650
Better OnPause
2016-09-25 20:31:38 -04:00
icomrade
40d419e475
Re-add abort timeout
...
Timeout is no longer restarted when you click abort and the loop now
closes the gear menu so the player cannot attempt to dupe with the gear
menu and abort menu open at the same time.
2016-09-23 19:10:39 -04:00
icomrade
770378b3af
Private array
2016-09-23 17:22:57 -04:00
ebaydayz
c1763171db
Fix damage on local trader city objects
...
This fixes local trader city objects taking damage from being run over.
2016-09-23 12:08:51 -04:00
icomrade
6ae64eb622
Prevent player from dragging through walls
2016-09-22 14:03:23 -04:00
ebaydayz
33cf7611ed
Don't allow jerry fill from destroyed fuel source
...
Vanilla commit:
https://github.com/DayZMod/DayZ/commit/90251abab3fd272527fc10d5ed673ce5c230e19f
https://github.com/DayZMod/DayZ/commit/9204c15d3f3874014842deafc4d825cc11b64252
2016-09-21 16:53:29 -04:00
ebaydayz
29d9ed9211
Set unit posATL in switchModel if respawn is in water
...
Reverts:
https://github.com/EpochModTeam/DayZ-Epoch/commit/bcc16a013520dcc243c306b178d3864dc4fec456
See:
https://github.com/EpochModTeam/DayZ-Epoch/commit/e8e5d24e80f77268c8befa38680ccd9de6c03452
2016-09-17 15:41:49 -04:00
ebaydayz
bcc16a0135
Roll back to old swimming in ground fix
...
See
https://github.com/EpochModTeam/DayZ-Epoch/commit/e8e5d24e80f77268c8befa38680ccd9de6c03452#commitcomment-19053648
comments
2016-09-16 13:26:27 -04:00
ebaydayz
b2dfa058b0
Simplify double negative in fn_unconscious
...
Simpler than:
https://github.com/EpochModTeam/DayZ-Epoch/commit/b609dcf5190293d6cd6bfe741b968889749042fe
2016-09-15 12:44:47 -04:00
icomrade
b609dcf519
Update fn_unconscious.sqf
2016-09-14 18:01:18 -04:00
icomrade
625333985d
don't rearm horns
2016-09-14 16:52:51 -04:00
ebaydayz
b349150548
Don't auto disable sound mute when exiting vehicle
...
Let the player choose when to disable so there aren't any unexpected
drastic volume changes.
Vanilla commit:
https://github.com/DayZMod/DayZ/commit/60f4968f2317bdb79f8d7d158f2e787d81d6b639
2016-09-14 15:36:35 -04:00
ebaydayz
e85f6ad1b5
Consolidate transfusion scripts
...
Consolidated transfusion and transfusion_noBloodTypes to one script.
Selfbloodbag.sqf will never run if DZE_selftransfuse = false; because
the right click action is hidden.
Total blood quantity is now added in 1/4 increments during self bloodbag
as intended instead of all at once.
2016-09-13 15:02:16 -04:00
ebaydayz
c7a6c71330
Disable vanilla base building actions for now
...
Since we are not going to use vanilla base building.
2016-09-12 16:11:29 -04:00
icomrade
a09e364ec1
Don't block damage from explosives
2016-09-12 14:42:18 -04:00
ebaydayz
29c16dc59f
Consolidate duplicate sell distance variables
2016-09-12 14:14:38 -04:00
ebaydayz
2bb5c5942c
Retire cone and pole plot previews in favor of dome
...
Thanks @oiad for pointing this out.
Poles are not used for previewing anymore. Cones do not give as much
information as the dome.
The dome is visible at night and under night vision too.
2016-09-12 13:39:00 -04:00
icomrade
82c8d4d538
Merge branch 'master' of https://github.com/EpochModTeam/DayZ-Epoch
2016-09-11 16:38:30 -04:00
icomrade
203975def7
Rearm driver weapons (pook rearming)
2016-09-11 16:38:26 -04:00
ebaydayz
16e4dc7b30
Move HeliCrash and CarePackage area variables to markers
...
This allows finer grained control of crashsite, carepackage and infected
camp spawn positions and radii (further north, south, east, west, etc.).
Also removed some hardcoded checks for Chernarus, since
dayz_townGenerator should always be off on other maps for now. Someone
may add town generator coordinates for other maps later.
Related vanilla commits:
https://github.com/DayZMod/DayZ/commit/b20b402bf030769350cf662b985efba9e83ebe55
https://github.com/DayZMod/DayZ/commit/7c8b69eb82a8c741d01251b2552d009abe2687c4
https://github.com/DayZMod/DayZ/commit/7dfd3ef9cf3cf1751759fd76f8eae10c0b1740dc
2016-09-11 14:45:49 -04:00
ebaydayz
f57e303355
Update vanilla fence building
...
Vanilla commits applied:
https://github.com/DayZMod/DayZ/commit/e88a5c42bc86f91d254104b13064f83a2dd23a76
https://github.com/DayZMod/DayZ/commit/fe9564351108ae72496592b3bd741a5064b84ccd
https://github.com/DayZMod/DayZ/commit/9a82b8307c523046773b9cd3440c387c7155d70e
https://github.com/DayZMod/DayZ/commit/5a305198c70b1c3bdf7fbf055f550cf3a2d14001
https://github.com/DayZMod/DayZ/commit/be872601c96e526cb443b6ad47eb71fdf6618775
https://github.com/DayZMod/DayZ/commit/44a25b1b4a86d17ecf0780ba322513d756d1cbb1
https://github.com/DayZMod/DayZ/commit/7bfeab3c13b3835c5f134b39a15c8eae948a21b7
https://github.com/DayZMod/DayZ/commit/cc5f02a41ae7cba9d0312463caf48f46eed9cdad
2016-09-10 11:25:10 -04:00
ebaydayz
e5e212bbc2
Add comment about salvage vehicle work around
2016-09-09 12:58:41 -04:00
ebaydayz
eadbbb18bf
Fix double tap bunny hop with no weapon glitch
...
Also makes it easier to bunny hop in quick succession. Previously double
tap triggered a bunny hop immediately followed by a regular vault.
Vanilla commit:
https://github.com/DayZMod/DayZ/commit/5833c76491879677f3dc0b95b9378276e5bde205
2016-09-09 11:41:09 -04:00
oiad
51f85acb9e
Toggle for salvaging from locked vehicles ( #1757 )
...
* Toggle for salvaging from locked vehicles
This adds the ability to remove salvaging from locked vehicles which
helps avoid griefing
Fixes a spelling mistake for a localization string
Makes it possible to salvage 0% damaged items again, this was disabled
as per
https://github.com/EpochModTeam/DayZ-Epoch/commit/3292d84b857f307571af9233dcfffe9d59a0b5e9
I've had this running on my server for a year or so with no issues (not
that it doesn't affect it, i've just never seen it)
* Toggle salvagable locked vehicles changers
@ebaydayz fixed
2016-09-08 17:32:27 -04:00
ebaydayz
771284a297
Auto select main weapon after throwing
...
Also added to gear unload so player will auto select pistol if picking
one up with flares in their hands.
Vanilla commit:
https://github.com/DayZMod/DayZ/commit/08449fdfda6a3c7d5c3522e64de9b50eedb13454
2016-09-06 16:36:45 -04:00
ebaydayz
c8b3053496
Remove unused keyboard_keys function
...
I moved the compile up in compiles.sqf since vanilla is now updated with
the change:
https://github.com/DayZMod/DayZ/commit/f5780256eee23d7b6ada7acac0105737a18516c4
2016-09-05 14:16:38 -04:00
ebaydayz
70ebd6dbcb
MISSION_ROOT variable is no longer needed
...
Also @icomrade you accidentally committed the testkit code to
chernarus11 init.sqf. Removed it for you.
2016-09-03 16:33:17 -04:00
icomrade
d1d5fe54f3
Fix cheat handling
...
This adds keydown handler for chat, map, and diary displays.
Additionally, this can be used to handle malicious chat input without a
delay by modifying the associated compile
2016-09-02 19:14:21 -04:00
ebaydayz
b9dc98ac6f
Revert move Shift +- to function
...
See:
https://github.com/EpochModTeam/DayZ-Epoch/commit/51caa509cbde7c99fd8b6bfda1396d6922f1c494#commitcomment-18834096
2016-08-31 13:46:26 -04:00
ebaydayz
51caa509cb
Comment out Gcam keys and move Shift+- to function
...
Vanilla commit:
https://github.com/DayZMod/DayZ/commit/8ed8ab6b5cda0b66ce57cd86b206c5b756755854
2016-08-30 14:18:38 -04:00
icomrade
92b4c8785d
Disable shift + - input
...
shift + - is used to ented arma "chests" which allow the player to issue
endMission, and limit their fps (min 5 fps limit). This unfortunately
disables the flush cheat, but attempts to filter out input and allow
flush are not reliable.
2016-08-29 13:49:05 -04:00
ebaydayz
16f17aafee
Revert "Don't call player_forceSave when gear menu is aborted"
...
This reverts commit 91e312fdc7 .
2016-08-29 12:05:50 -04:00
ebaydayz
91e312fdc7
Don't call player_forceSave when gear menu is aborted
...
https://github.com/EpochModTeam/DayZ-Epoch/issues/1712#issuecomment-242992472
2016-08-28 16:18:53 -04:00
oiad
d6324723e9
Plot management force maintain option
...
This replaces the "refresh" menu option with a "force maintain" option.
Allows you to maintain the base even if it doesn't need it to either get
all your items in sync or if you are going away or similar.
Tested with:
dze_permanent plot true/false
z_singlecurrency true/false
Also fixes an undefined variable error in system_monitor that was
introduced
https://github.com/EpochModTeam/DayZ-Epoch/commit/8f58baf3f286454a9f398517dc4f1980bd4d5c8e
2016-08-28 20:13:25 +12:00
ebaydayz
ae329db599
Add TurnLeft and TurnRight actionkeys to interrupt
...
Fixes #1753
2016-08-25 17:42:24 -04:00
ebaydayz
c2b16f0828
Consolidate DZE_ActionInProgress and r_action_count to one variable
...
There is no point in having two variables for the same purpose.
It is also pointless to keep an action count tally like r_action_count
was doing, since it is only ever checked for being 0 or 1. Any count
higher or lower than that is irrelevant.
I will make this change in vanilla too.
2016-08-25 15:38:27 -04:00
ebaydayz
a8e2ce07b5
Optimize some createVehicleLocal
...
https://community.bistudio.com/wiki/Code_Optimisation#createVehicle.28Local.29
2016-08-24 13:34:11 -04:00
ebaydayz
8af3d001ba
Revert "Add faster array compare function"
...
This reverts commit d7cc4be585 .
2016-08-23 18:22:06 -04:00