Commit Graph

993 Commits

Author SHA1 Message Date
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
A Man
52c20fd512 Move fix bottle to epoch crafting 2019-11-04 10:59:06 +01:00
A Man
91a5ccf06a Add proper medic anim
The medic animation can be interrupted now. Also clean up the script from redundant code.
2019-11-01 16:07:39 +01:00
A Man
bc75ad8590 Adding combine matches 2019-11-01 16:01:20 +01:00
A Man
276615a8f1 Fuel container can be emptied now 2019-10-30 10:03:16 +01:00
A Man
915cf72df3 Adding dayz mod waterbottles
This commit adds the waterbottles from DayZ Mod. The icons were made by @DeVloek. The waterbottles are fully functional with all actions. To boil a plastic waterbottle you need an empty trash can.

Dogs could not be watered with other waterbottle than the ItemWaterbottle itself. This is fixed now. Also fix missing reset action from hide body.
2019-10-29 15:23:30 +01:00
A Man
63dfe8a802 Adding back break chance for wheels on salvaging
In Epoch 1.0.5.1 wheels could break on salvaging. This was unintentionally removed with Epoch 1.0.6. Thx @Seelenapperat
2019-10-27 18:46:02 +01:00
A Man
1268f55f32 Fix floating loot after remove, pack or output from fn_dropItem 2019-10-23 12:46:08 +02:00
A Man
ba8ff32cd7 Localize player_craftItem near check 2019-10-20 20:18:41 +02:00
A Man
c0e9fe62e1 Make Hide Body customizable
Do not use hideBody as command without the action. It just hides the body but it still can be geared. If using hideBody in correlation with deleteVehicle it breaks the allDead command.

player action ["hideBody", body] deletes the body and the marker from the map but it stays inside allDead.

This fixes the issue that hided players were still shown on the map and still searched for their body.

Needs additional testing for a new release.
2019-10-20 07:26:51 +02:00
A Man
096fc13150 Adding backpack support for zombies (#2033)
* Adding backpack support for zombies

* Adding backpack support for zombies

* Update CHANGE LOG 1.0.6.3.txt

* Fix jumping vehicles after fliping

* Update CHANGE LOG 1.0.6.3.txt
2019-09-16 11:38:38 +12:00
F507DMT
ca7a77e2ad Update player_switchWeapon.sqf (#2032)
* Update player_switchWeapon.sqf

It is forbidden to change weapons, when player swimming.

* Update player_switchWeapon.sqf
2019-03-11 22:44:33 +13:00
ebayShopper
392f8cb7b3 Update player_buildingDowngrade.sqf
Fixes #2018
2018-06-17 12:38:32 -04:00
ebayShopper
937741dc7d Update tame_dog.sqf
Fixes #2019
2018-06-17 11:50:36 -04:00