Commit Graph

1169 Commits

Author SHA1 Message Date
AirwavesMan
4af57d2357 Add blood type support for all differnt GUI versions 2021-01-17 10:26:08 +01:00
AirwavesMan
63a3535f37 Switch often called functions from private to local 2021-01-14 09:24:06 +01:00
AirwavesMan
1d826ac331 Clean up keyboard.sqf
Deleted old unused Dayz Mod code. Also switched from private to local which is much faster.
2021-01-12 20:15:40 +01:00
AirwavesMan
6d380a816b Fix zombie spawning
fn_selectRandomLocation still makes problem and zombies spawn too near
2021-01-07 11:29:25 +01:00
Merlijn
56cd3e8aed Split up save function 2020-12-31 12:11:23 +01:00
AirwavesMan
e7028cbee5 Handle undefined display for ZSC gui 2020-12-19 15:40:28 +01:00
AirwavesMan
f49cfc4824 Lower cutRSC layer to improve FPS
We had this before.

https://github.com/EpochModTeam/DayZ-Epoch/issues/1926
2020-11-21 13:15:38 +01:00
AirwavesMan
86d52c907d Hide body changes
Remove the PVCDZ_obj_HideBody eventhandler. Players next to a hided animal see the hiding process too and after 10s the body will be deleted anyways. So there is no need to send a publicVariableServer first then back to all near clients if the body gets deleted within 10s.
Also updates the normal hide body. The hided player model gets deleted by the server now.
2020-11-19 15:10:10 +01:00
AirwavesMan
1697af9714 Fix weapon on back dupe 2020-11-15 17:49:33 +01:00
AirwavesMan
5afd6fd37d Update check wallet for zombies
Check wallet on zombies will only be displayed if zombie coins are activated.
2020-10-29 14:56:52 +01:00
AirwavesMan
8dc6ef8def Update player_harvest.sqf
Fix that trees going down directly after hit by a chainsaw or hatchet. This is a long time bug because DZE_TEMP_treedmg got not resetted after the tree was cut down.

Also, this commit makes sure that every tree gives at least 16 or more wood on harvesting. Ive added that to reduce the number of cut down trees to not affect the network traffic too much as it is the case at the moment. All trees and damage get sync over the network.
2020-10-22 12:05:56 +02:00
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