Commit Graph

1158 Commits

Author SHA1 Message Date
AirwavesMan
847d6b873f Increase upgrade distance 2020-09-23 13:36:36 +02:00
AirwavesMan
89bca2c94b Partly fix floating loot
This commit fixes partly the floating loot issue. The whole problem is not fixable. It is a problem with different components. The main point is that the position can be half water and half not. The second is the building collision and the collision of the loot object. Normally setPosATL should do its work but the object moves on the placement. Adding a special handling for buildings that are mostly over water did the best job so far.
With fixWaterPos = 1; in the building class which has those floating loot problems, the position gets converted to ASL which is better over water but not always. Some loot objects are still floating a bit but I could reach all of them. It is a way better as before.
2020-09-15 19:55:17 +02:00
AirwavesMan
d61223ac7e Update fn_selfActions.sqf 2020-09-13 17:24:12 +02:00
AirwavesMan
0b26ae1246 Fix potential kills doubling after change clothes
Fix by @seelenapparat
2020-09-13 15:18:17 +02:00
AirwavesMan
c3c67b3529 Move unsued file 2020-09-13 02:20:55 +02:00
AirwavesMan
67153096bc Update player_humanityMorph.sqf 2020-09-13 02:20:14 +02:00
AirwavesMan
a880e198ad Update private tags, remove one old file 2020-09-12 21:21:55 +02:00
AirwavesMan
6bf1ffe1eb Add bicycle handling for coins 2020-09-12 19:39:13 +02:00
AirwavesMan
27e464d47e More fnc_alertZombies updates 2020-09-12 15:18:30 +02:00
AirwavesMan
9ad86a84a3 Group sounds and zombie calls
dayz_zombieSpeak and player_alertZombies are called often together or should be. fnc_alertZombies groups them together and uses the given parameters. This streamlines and corrects the missing or incorrect calls from dayz_zombieSpeak or player_alertZombies.
2020-09-12 01:30:45 +02:00
AirwavesMan
673c705aeb Add upgradable safes and lockboxes
- Safes and lockboxes can be upgraded now.
- A winter lockbox version was added too. The current model and icon will be replaced later for the new lockbox.
- Calling Child 308 on the DB has no room for storing coins, this is why we need to update coins and gear after swaping the object. Same for upgrade vehicle
2020-09-12 01:18:57 +02:00
AirwavesMan
272a74060c Update fn_selfActions.sqf
Remove most of lazy evaluation.
Note: Lazy evaluation is not always useful and should only be used if a longer statement is checked and not only if true or false.
2020-09-09 17:38:07 +02:00
AirwavesMan
431cbc8855 Add Hero and Bandit humanity vars 2020-09-09 17:33:55 +02:00
AirwavesMan
5180223c22 Add dayz_authKey for safes and lockboxes
Safes and Lockboxes got updated and need dayz_authKey now. Also improved the logging of codes and who has used which codes in the logs for server admins.
2020-09-08 20:29:23 +02:00
AirwavesMan
bb9c592b86 Correct missing chainsaw 2020-08-24 15:09:32 +02:00
worldwidesorrow
8ff268b0c5 Rename SQF/dayz_code/compile/player_updateGuiEpoch.sqf to Server Files/Archive/dayz_code/compile/player_updateGuiEpoch.sqf
This file is merged with player_updateGui.sqf
2020-07-29 18:04:35 -05:00
worldwidesorrow
9a679e657f Rename SQF/dayz_code/compile/player_updateGuiDark.sqf to Server Files/Archive/dayz_code/compile/player_updateGuiDark.sqf
This file is merged with player_updateGui.sqf
2020-07-29 18:03:03 -05:00
worldwidesorrow
d23ced902a Update ui_selectSlot.sqf 2020-07-29 15:31:18 -05:00
worldwidesorrow
422b38f2ff Update ui_changeDisplay.sqf 2020-07-29 15:30:15 -05:00
worldwidesorrow
b0e9c39118 Update player_updateGui.sqf 2020-07-29 15:29:29 -05:00
worldwidesorrow
38e42ac742 Update player_humanityMorph.sqf 2020-07-29 15:28:21 -05:00
worldwidesorrow
f8916cf7d1 Update fn_selfActions.sqf 2020-07-29 15:27:46 -05:00
worldwidesorrow
eec3e97991 Add files via upload 2020-07-29 15:26:49 -05:00
AirwavesMan
e60d957f43 Update upgrade vehicle
- Server admins can exclude certain vehicles from a vehicle upgrade now.
- Vehicle upgrade has a tool check now and all needed materials will be displayed.

The configs for the vehicle upgrades will be updated soon for the new changes.
2020-07-26 19:05:48 +02:00
AirwavesMan
5e296fc092 Adding salivals Change Code to Epoch Core 2020-07-23 22:20:58 +02:00
AirwavesMan
64216297f8 Increase the range of zombie checks
Currently zombies can spawn directly next to the player or in the line of sight.
2020-07-23 16:00:58 +02:00
AirwavesMan
972b31d4fc Update ui_selectSlot.sqf 2020-07-23 15:59:50 +02:00
worldwidesorrow
53cad69dec Update fn_damageActions.sqf
Removing cargo drop because of duping issues.
2020-07-22 21:26:36 -05:00
worldwidesorrow
4e19fb35ef Rename SQF/dayz_code/compile/fn_dzn_snowfall.sqf to SQF/dayz_code/old/fn_dzn_snowfall.sqf 2020-07-14 16:28:45 -05:00
worldwidesorrow
413ce06afc Update fn_temperatur.sqf
Utilize the dayz_inside variable that is calculated in player_checkStealth. The snow variable is initialized in variables.sqf.
2020-07-14 16:15:46 -05:00
worldwidesorrow
34e1437641 Update player_checkStealth.sqf
Several functions check if the player is inside a building including the new weather functions. The DayZ Mod devs introduced the dayz_inside variable in fn_temperatur but never finished the code to utilize it. Since player_checkStealth is called continuously in the scheduler we can set the variable here and use it in other functions.
2020-07-14 16:07:38 -05:00
worldwidesorrow
aae14af4e2 Update fn_isInsideBuilding.sqf
Optimize code and correct error when no building is sent as a parameter.
2020-07-14 16:02:34 -05:00
worldwidesorrow
7721cf5c92 Update fn_damageActions.sqf
Add self action for cargo drop.
2020-07-14 16:00:33 -05:00
worldwidesorrow
01c2c3eba2 Add files via upload
New functions.
2020-07-14 15:58:04 -05:00
AirwavesMan
8265a6f7ea Localize deathboard 2020-06-19 13:03:14 +02:00
oiad
5b150a58c7 Revert distance checks, fix pack vault
I broke pack vault :(
2020-06-19 08:01:20 +12:00
AirwavesMan
c1e21472dd Log antiwall in server.rpt 2020-06-18 20:31:14 +02:00
AirwavesMan
9bf7cd3219 Remove no longer used code from dayz fences 2020-06-18 20:26:33 +02:00
AirwavesMan
3724a1f385 Add DayZ Mod fences and gates
Epoch has its own DayZ Mod fence versions now. The old fences can still be used. The new fences have a full upgrade and snap  support. all gates work with the door management too.
2020-06-18 15:53:28 +02:00
oiad
7a19c7abef Rearrange packVault
Thanks @AirwavesMan for the headsup.
2020-06-14 12:45:42 +12:00
oiad
b06d3d4623 Sync near player checks
Checking if the player is the closest is not always the best idea, this
fixes a few dupes and syncs the distance for all player checks
2020-06-13 11:26:44 +12:00
AirwavesMan
ac79d91ca0 Move unused functions to another folder 2020-06-10 17:03:31 +02:00
A Man
a69948d546 Add new sounds for some actions
- Attach and detach weapon attachments has a sounds now.
- Take painkillers and antbiotics has a sounds.
- Apply a bandage has 2 more sounds now.
2020-05-31 15:02:53 +02:00
A Man
4040b784b5 Add option to disable the upgrade of buildables 2020-05-27 17:38:34 +02:00
A Man
ae79f4ce8c Update harvest wood
Harvest wood with a hatchet drops a wood pile or a wood log now. Also lumber planks can be crafted directly from wood logs now.
2020-05-27 14:15:37 +02:00
A Man
34b2276dd7 Update keyboard.sqf 2020-05-27 14:10:25 +02:00
A Man
19889a9ddf Add upgradable storage
Gun rack, wooden crate, wood shack, wooden shed and storage shed can be upgraded to a versiom with more gear slots now.
2020-05-27 14:09:13 +02:00
A Man
f2afd7ffaf Update keyboard.sqf and block backspace by default 2020-05-18 14:19:54 +02:00
A Man
970fa0edba Add waiting message for player_upgradeVehicle 2020-05-13 12:08:29 +02:00
A Man
359ce2df75 Add a notification that the player is packing the tent 2020-05-13 01:53:02 +02:00