Commit Graph

1104 Commits

Author SHA1 Message Date
A Man
5056f9c91c Update object_roadFlare.sqf 2020-04-27 18:12:42 +02:00
oiad
dddd8c758a fn_selfActions cleanup 2020-04-25 20:13:08 +12:00
worldwidesorrow
5d04b73327 Update player_updateGui.sqf
Add some lazy eval.
2020-04-21 18:01:29 -05:00
worldwidesorrow
e37d2a984d Add files via upload 2020-04-21 14:41:48 -05:00
worldwidesorrow
182240f4d2 Add files via upload
update GUI files have been consolidated.
2020-04-21 14:37:00 -05:00
worldwidesorrow
8ab9c2252a Update keyboard.sqf
Pressing the F3 increases variable DZE_UI by one each time. The variable gets reset to zero when it reaches 6.
2020-04-21 14:35:07 -05:00
A Man
2b98eb1fd5 Update loot and zombie spawn, change some count/foreach 2020-04-07 16:33:19 +02:00
A Man
b4b8860cf0 Update Painkillers and Antibiotics
- Painkillers are in different pill counts available now, same as antibiotics
- the strings of painkillers and antibiotics have the pill count displayed in the name
2020-04-06 20:03:14 +02:00
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
A Man
fe1d7fb48d Update Snap and Vector build
- pre compile all snap and vector functions, it was only pre compiled if got started from modular_build before but not if it got called from the action menu
- localize snap and vector building
- clean up the code
- remove old Cinderwall vector fix, it looks like it is not needed anymore
- Update modular_build and player_build
2020-03-08 14:08:45 +01:00
A Man
2a41d122f6 Fix parachute bug
Thx @ch0c
2020-02-20 10:23:16 +01:00
worldwidesorrow
a303089151 Update ui_changeDisplay.sqf 2020-02-12 04:57:05 -06:00
worldwidesorrow
66a04831c0 Update player_updateGuiEpoch.sqf 2020-02-12 04:53:29 -06:00
worldwidesorrow
1fa1b0715d Update player_updateGuiDark.sqf 2020-02-12 04:52:27 -06:00
A Man
9cc8b5d83d Add _allowedDistance check for tanks too 2020-01-25 12:19:14 +01:00
worldwidesorrow
d6a8ae8447 Rename Server Files/Archive/dayz_code/compile/swarm_generate.sqf to SQF/dayz_code/compile/swarm_generate.sqf 2020-01-21 15:13:11 -06:00
worldwidesorrow
a7d4f23616 Rename Server Files/Archive/dayz_code/compile/player_zombieSwarmAttack.sqf to SQF/dayz_code/compile/player_zombieSwarmAttack.sqf 2020-01-21 15:12:12 -06:00
worldwidesorrow
4597787628 Rename SQF/dayz_code/compile/swarm_generate.sqf to Server Files/Archive/dayz_code/compile/swarm_generate.sqf 2020-01-21 11:22:22 -06:00
worldwidesorrow
9136aa9f44 Rename SQF/dayz_code/compile/player_zombieSwarmAttack.sqf to Server Files/Archive/dayz_code/compile/player_zombieSwarmAttack.sqf 2020-01-21 11:20:38 -06:00
A Man
f6cc8a1143 Merge branch 'master' of https://github.com/EpochModTeam/DayZ-Epoch 2020-01-11 00:18:43 +01:00
A Man
2adc9f87b0 Remove Camera Mode/ comment out _throwable function
The Camera Mode is not used by epoch so we do not need that here.
2020-01-11 00:11:56 +01:00
worldwidesorrow
0198288194 Update player_spawnCheck.sqf
Remove my diagnostics.
2020-01-09 18:29:27 -06:00
worldwidesorrow
bbc052eaa0 Update player_spawnCheck.sqf
Add more optimizations to this file.
2020-01-09 18:27:05 -06:00
worldwidesorrow
349b67c287 Add provisions for military buildings to spawn matching loot.
If a military building is selected then matching groups of RU,US,EU, or CZ loot are selected so that weapons, ammo, and attachments spawned in the building will match. Reintroduce loot position shuffling. This was a feature in 1.0.5.1. I'm not sure if this is necessary but it changes the order in which the loot positions are selected so the loot would in theory be in different places each time.
2020-01-09 16:29:11 -06:00
worldwidesorrow
22a04e7955 Clean up code and optimize building_spawnZombies
Checking for near zombies and players in the forEach loop is inappropriate and inefficient. Because it was checking for near zombies, the internal zombies were not spawning at all. It appeared that they were because the walking zombies were using the building position plus the radius option on createAgent. fn_selectRandomLocation using the size of the object as the minimum distance prevents the zombies from potentially spawning into objects and dying. The max distance for the crash site zombies is increased a bit so they can spawn farther away from the object since they are in an open field. The position on the internal zombies should not have the z coordinate automatically set to zero. This prevents the zombies from spawning at positions on upper floors of buildings.
2020-01-09 16:20:03 -06:00
worldwidesorrow
efecce6619 Adding frequently used function to compiles. 2020-01-09 16:08:33 -06:00
worldwidesorrow
fc6f576542 Clean up and optimize file
Function _cantSee should not be recompiled every time this file runs. fnc_fieldOfView is compiled in compiles.sqf and called here. Checking zombie counts in this file is redendant. It is already being done in player_spawnCheck and building_SpawnZombies. Variables "agentObject" and "BaseLocation" are unused. The createAgent command should not be used with a radius. This causes some of the zombies to be killed after being spawned into objects. Some of the walking zombies were spawning inside the building when they should not.
2020-01-09 16:06:37 -06:00
worldwidesorrow
0f3f522e25 Replace slow array shuffle function with KK's Array Shuffle Plus
KK's code is more efficient and you can enter how many times you want to shuffle.
2020-01-09 15:55:23 -06:00
A Man
8af0f2a03a Removed old files
remove show_dialog.sqf - old configs trader
player_hiveTrading.sqf - old configs trader
object_maintenance.sqf - DayZ fences
object_disassembly.sqf - DayZ fences
2019-12-16 16:54:25 +01:00
A Man
4058f59688 Add warm clothes and shivering
Warm Clothes can be adjusted in the configvariables with DZE_WarmClothes. Shivering can be enabled or disabled with the  last value in the DZE_TempVars array. A temperature effect for snow was added too.
2019-12-16 15:41:59 +01:00
A Man
fff1196ee3 Adding snowfall
This can be adjusted in the configvariables. Snow will only be loaded if DZE_SnowFall is true. This is the case for all snow maps by default.
2019-12-16 15:19:29 +01:00
A Man
cc127c646b Update fn_isInsideBuilding.sqf
Adding private tags and an exithwith if the object is null. This happends a lot.
2019-12-16 15:12:23 +01:00
A Man
6740fb5326 Adding german medical translations, minor changes
Changing the messages for wipes. It cannot be done like it was before for the german language.
Thx @RedLink-kam for the russain translations.

Ive re-ordered the new strings so the Namalsk compatibility is the last again. Namalsk should be always last since it is just an addon from a different mod.
2019-12-14 10:00:35 +01:00
worldwidesorrow
8c074be9a7 Add action for giving another player an antibacterial wipe. 2019-12-12 05:12:03 -06:00
worldwidesorrow
e913d1f77e Remove medForceUpdate 2019-12-12 00:20:35 -06:00
worldwidesorrow
69ab20043d Remove medForceUpdate 2019-12-12 00:18:44 -06:00
worldwidesorrow
6652efbc70 Remove medForceUpdate 2019-12-12 00:16:24 -06:00
worldwidesorrow
a4c0638a36 Updates for medical and load actions
Add unconscious array to unload action. Add the carry action. Add the rest of the bloodbags to the bloodbag array. The typed bloodbags get their own actions so the player can select which bloodbag to administer. Alter the sepsis bandage option with a new localized string. NORRN_loadWoundedAction variable is no longer necessary. Remove redundant gear checks.
2019-12-11 17:59:51 -06:00
A Man
57a1f3cfa9 Localize and clean up trade_items_wo_db 2019-12-03 23:54:04 +01:00
worldwidesorrow
bf9dc49be2 Add option for VectorUp on spawned objects.
Some of the objects used in POIs require the use of the setVectorUp command in order to maintain an upright orientation on a sloped surface. This addition adds the option for including the object's up vector in the compact arrays.
Test file: https://github.com/worldwidesorrow/Svetlojarsk
2019-11-22 11:50:11 -06:00
worldwidesorrow
76721e38d6 Add new sounds for opening vaults. 2019-11-17 19:16:14 -06:00
worldwidesorrow
61258c919a Add new sounds for closing vaults. 2019-11-17 19:13:56 -06:00
A Man
49378f62b3 Remove DB traders 2019-11-16 19:06:32 +01:00
worldwidesorrow
ea527fe991 Update several things in this file.
Move zombie and loot related operations from player_spawn_2. They should be in this file. They are used here for accurate counts before spawning zombies and loot.
Make better use of global variables for zombie and loot checks.
Add lazy eval where appropriate.
2019-11-11 20:27:16 -06:00
worldwidesorrow
7921687ef4 Remove redundancy.
Variables are passed from player_spawnCheck so there is no need to gather the information to perform an isClass check.
2019-11-11 20:02:34 -06:00
worldwidesorrow
bedc52cc76 Remove redundant operations
The isClass and config checks are done in player_spawnCheck. There is no reason to do that here. Those variables are being passed in an array during the function call.  Global variables dayz_spawnZombies and dayz_maxControlledZombies used in spawn checks are adjusted in player_spawnCheck and zombie_generate. There is no reason to save to local variables.
2019-11-11 19:45:33 -06:00
worldwidesorrow
e734b03be0 Remove redundant checks already being performed elsewhere
The checks are already being performed in player_spawnCheck and building_spawnZombies. There is no reason to perform them here.
2019-11-11 19:33:07 -06:00
A Man
e7dbc5dd4c Adding basic pve support
Around 50% of all servers are pve servers. This commit adds a basic support and prevent the player vs. player damage. Also if pve is enabled and DZE_BackpackAntiTheft too, the backpack anti theft is active for the whole server.
2019-11-11 10:00:47 +01: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