Commit Graph

906 Commits

Author SHA1 Message Date
worldwidesorrow f9c5f70799 Add files via upload 2020-07-29 15:24:57 -05:00
worldwidesorrow 99853431f1 Update maintain_area.sqf 2020-07-29 15:24:32 -05:00
worldwidesorrow 9a03587efb Add files via upload 2020-07-29 15:23:51 -05:00
worldwidesorrow e6c036454a Update z_at_sellItems.sqf 2020-07-29 15:22:52 -05:00
worldwidesorrow fa78c3a4cc Update z_at_buyItems.sqf 2020-07-29 15:22:20 -05:00
AirwavesMan 8e556edf58 Switch humanity gain to player_humanityChange function 2020-07-26 19:00:51 +02:00
AirwavesMan edee365297 Move 2 old files 2020-07-26 18:59:25 +02:00
AirwavesMan 10ca82533f localize cursorTarget check 2020-07-26 18:57:54 +02:00
AirwavesMan 5e296fc092 Adding salivals Change Code to Epoch Core 2020-07-23 22:20:58 +02:00
worldwidesorrow 0d073a0e2d Delete veh_cargoDrop.sqf
Removing cargo drop because of duping issues.
2020-07-22 21:23:00 -05:00
AirwavesMan 2d7f593a54 Do not allow pickup actions next to other actions 2020-07-23 01:43:23 +02:00
worldwidesorrow 7fe7f3fcd8 Add files via upload
Client side cargo drop function.
2020-07-14 15:53:48 -05:00
AirwavesMan a0faa51727 Fix potential plant dupe 2020-06-29 16:12:39 +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
AirwavesMan bfa16b499e Update initDoorManagement.sqf
After upgrading or downgrading doors or gates TheDoor can be null.
2020-06-18 15:43:23 +02: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 d15b1432f0 Add DZE_Workshops array 2020-05-27 14:10:18 +02:00
oiad d875697e29 Fix copy paste error
Thanks @ArmaWizard for the heads up
2020-05-20 08:44:27 +12:00
A Man 5724d452cb Add tools as requirement for upgrade buildings
player_upgrade.sqf can upgrade storage buildings too now.
2020-05-13 01:34:25 +02:00
A Man 8315d8999b Remove DayZ Mod crafting and replace it with epoch crafting
- All dayz mod recipe were moved to epoch crafting.
- This disables the craft dialog in the diary too.
- The player_craftitem got updated and can handle all dayz mod recipes now.
- A few wooden recipes got updated with an need nails now.
- player_craftitem shows all items that are needed for crafting now, no longer only one missing part.
- Add a systemchat text for missing tools, so it can be checked later in the chat.
2020-05-11 19:55:28 +02:00
worldwidesorrow 5c297046eb Add fix for AI targeting exploit.
This fix prevents players from exploiting the change clothes function to reset AI targeting. Players must either kill all of the near AI or move 800 meters away to switch clothes. Credit to Arrakis for pointing out this exploit. Credit to @morgoth0 for suggesting the use of the getHideFrom command. Reorganized this file a bit to place the checks up top and removed unused code.
2020-05-07 19:08:34 -05:00
A Man 6ddf42b618 Update handleGear 2020-04-27 18:12:19 +02:00
A Man 1d145500a4 Compile object_pickupAction, object_BackpackAction for server too 2020-04-26 11:47:46 +02:00
A Man 56bfa47615 Update object pickup actions
- pre-compile object_BackpackAction, object_pickupAction and the actionMonitor
- switch from execVM to spawn
- pickup actions are grouped under actions\pickupActions now
2020-04-23 17:48:55 +02:00
worldwidesorrow 678307f428 Update player_switchWeapon.sqf
Use dayz_actionInProgress variable to prevent errors when players spam the weapon switching hotkeys. Thanks to @AirwavesMan for noticing the issue.

Add check for "Throw" as current weapon to prevent animation if 3 key is pressed with no available primary or on-back weapon.
2020-04-08 04:08:10 -05:00
A Man 99f69079f3 Update and localize player_combineMags.sqf 2020-04-07 16:34:56 +02:00
oiad d5910357c0 Player loses humanity after hotwiring a vehicle 2020-04-07 10:39:52 +12: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 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 f522834796 Updating Clothes
- Update and rebuild all skins. This removes unwanted behavior of AIs and players.
- Remove skins from CfgSurvival and add the needed information to CfgMagazines. We do not need two different configs to handle that.
2020-03-19 17:41:57 +01: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 267136beae Update Repair and Salvage 2020-03-07 16:23:42 +01:00
A Man b5255b07b3 Update hide_body.sqf 2020-02-16 01:38:39 +01:00
worldwidesorrow 4ed936c1d1 Update player_switchWeapon.sqf
Fix this file so that hotkey 3 works to switch to "onBack" primary weapon when DZE_TwoPrimaries == 2. Add optimizations and rework function dz_fn_switchWeapon_swapSecure. Remove mutex. It was not doing anything.
2020-01-21 12:06:06 -06:00
A Man 637358b78c Add and update backapacks
-	5 new backpacks
-	19 new textures for the Czech backpack
-	2 new textures for the coyote backpack
-	reconfigured weapon count of all old backpacks
-	30 new backpack types included an upgraded version

This adds 5 new backpacks. 4 from the ice apo mod 1 from Arma 2 ACR.
This also adds many different skins for the Czech backpack thx @lennard91 and 2 new skins for the coyote backpack from the KSK Mod.
I’ve reconfigured the weapon count of the old backpacks. A weapon can be a pistol with 5 slots too. So, a Large Gunbag can hold 6 weapons or 12 pistols now. This is more intuitive as it was before. 6x10 = 60, 12x5=60 The backpack has still the same gear count as before. I removed the display info in the trader menu how many weapons a backpack can hold. This information is obsolete with this commit because a backpack with a gear count of 20 can hold 4 weapons now and it could be confusing for players if they consider only large weapons but no pistols.

We added 15 reconfigured backpack types with DZE1 as indicator. Those new backpack types have an upgraded version with DZE2 as indicator. The gear count, the names and descriptions of all new backpacks got changed.

This commit was made by @seelenapparat, @DeVloek, @airwavesman
2020-01-17 17:15:16 +01:00
A Man a8e2567147 Remove player_buildVanilla link
player_buildVanilla is no longer needed. All buildables use the epoch build now.
2020-01-11 00:14:22 +01: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
worldwidesorrow dc15929742 Update player_useMeds.sqf 2019-12-12 04:56:33 -06:00
worldwidesorrow 61ff2b3c61 Add server side security to P 2019-12-12 02:40:09 -06:00
worldwidesorrow fc0ec6a7e4 Remove medForceUpdate 2019-12-12 00:17:07 -06:00
worldwidesorrow 1f60617862 Change to an inline function with exitWith
In cases like this where only one selection is required, the switch option is not the best option because it is slow. Using an inline function with exitWith, the most common options are placed at the top with the least common options placed near the bottom.
2019-12-11 17:38:51 -06:00
worldwidesorrow 65221ec477 Add server side security
This can be used to break a player's legs.
2019-12-11 17:34:23 -06:00
A Man 57a1f3cfa9 Localize and clean up trade_items_wo_db 2019-12-03 23:54:04 +01:00
A Man b7892bfc68 Add animation to player_sharpen 2019-12-03 23:52:23 +01:00
A Man e1ee80d02e Remove unused object_dismantle 2019-11-13 10:01:24 +01:00
A Man 5dd2fe6bc3 Remove unused player_chopWood 2019-11-11 11:07:25 +01:00