Commit Graph

238 Commits

Author SHA1 Message Date
A Man
4ebf760aa5 Fix infinite refueling with the fuel pump 2022-05-19 11:04:46 +02:00
A Man
685b59a2f0 Remove leftovers from DZE_permanentPlot removal
Thx iben
2022-05-16 09:23:33 +02:00
A Man
57f1a534a7 Update fn_selfActions.sqf
- Remove plot admin checks for most actions, plot admins should not have access to other actions as the plot management, this will minimize the admin abuse a bit.
- Players who built an object within the plot pole are no longer able to remove that building if they got removed from the plot pole.
- Only the building owner can upgrade a building without a plot pole.
- Static guns are properly handled now.
2022-04-26 15:35:28 +02:00
A Man
911b455ae6 Add thaw script
Made by @Victor-the-Cleaner
2022-04-19 19:34:19 +02:00
A Man
e034c6efe5 Remove bury, butcher human, check wallet scroll action from bloodsuckers 2022-04-15 11:11:39 +02:00
A Man
d05adf6604 Update fn_selfActions cursortarget fix
Mady by @Victor-the-Cleaner
2021-12-23 16:44:28 +01:00
A Man
5aba5d7ddd Remove DZE_permanentPlot variable
There is no longer a need for the DZE_permanentPlot variable since all servers use plot management and plot for life.
2021-09-20 10:30:32 +02:00
A Man
58c4a4d1f7 Update remove/deconstruct, add helpers
Removing and Deconstructing Objects

- Now adds colored helpers to modular objects.
- Green: Refund one kit.
- Blue:  Refund entire recipe of parts (multiple items).
- Red:	 No refund will be given. Either because the object is too damaged, or the refund feature is disabled.
- If the object has a door open while selected, no helper will display/float in the open door space.
- The gear panel will only open if a refund is available.
- If a lit fire barrel is removed, the flame will now be extinguished.
- If a plot pole is removed, plot boundary helpers will now be deleted.
- Refunds for non-modular objects are handled by their respective config settings.
- Removed non-lockable storage objects will now refund their contents.
- The corresponding storage kit will be refunded.
- If there is room outdoors, backpacks will be arranged in a neat circle close to the refund point.
- If the spawn point is too close to a building, backpacks will spawn at the player's location.
- Helpers will now appear on wrecked/ruined modular objects.
- Helper color arrays were changed to helper transparency values only, to make it easier (and safer) for server owners.

Upgrading, Downgrading, Maintaining and Packing Objects

- Now includes colored helper spheres for improved player experience.
- Reapply damage to upgraded/downgraded object if necessary.

Changes made by @Victor-the-Cleaner
2021-09-19 18:50:14 +02:00
A Man
fe0354a1ef Fix flashing scroll options 2021-09-16 09:57:58 +02:00
A Man
2f1edcaa43 Fix fn_selfaction cursorTarget problem
Big thanks @Victor-the-Cleaner for this fix.
2021-09-01 13:49:27 +02:00
seelenapparat
d1abb66e9f Revert "Revert "Merge branch 'master' of https://github.com/EpochModTeam/DayZ-Epoch""
This reverts commit 109ec5c9a3.
2021-08-24 15:47:06 +02:00
seelenapparat
109ec5c9a3 Revert "Merge branch 'master' of https://github.com/EpochModTeam/DayZ-Epoch"
This reverts commit 4bbb3ac609, reversing
changes made to 96f1d40a71.
2021-08-24 15:32:43 +02:00
A Man
30f15326c2 Add toggleable Virtual Garage by salival
This also adds heli pads to the wholesaler if the virutal garage is activated.
2021-08-18 23:43:21 +02:00
A Man
e6eb94197d Add toggleable vehicle key changer by salival 2021-08-18 21:30:48 +02:00
A Man
be7898aac1 Add toggleable Bury and Butcher Bodies by salival
This also re-arranges the configVariables.sqf and loads the variables for both (server and client) first. This allows to check for certain variables like Z_SingleCurrency and stops the loading of all other Z_SingleCurrency variables even when Z_SingleCurrency was not on.
2021-08-18 18:38:03 +02:00
A Man
b3871aa321 Add toggleable Garage Door Opener by salival 2021-08-18 13:51:05 +02:00
A Man
1113b57934 Add toggleable salivals Take Clothes to Epoch Core
This also adds the option to disable taking clothes for certain clothing.
2021-08-18 10:42:03 +02:00
looter809
831ad4b006 Update fn_selfActions.sqf 2021-08-02 09:39:16 -07:00
looter809
17cc619d06 Update fn_selfActions.sqf
Fix players not being able to lock a safe that they do not have the combination for.
2021-07-30 22:44:47 -07:00
AirwavesMan
63a3535f37 Switch often called functions from private to local 2021-01-14 09:24:06 +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
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
d61223ac7e Update fn_selfActions.sqf 2020-09-13 17:24:12 +02:00
AirwavesMan
6bf1ffe1eb Add bicycle handling for coins 2020-09-12 19:39:13 +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
worldwidesorrow
f8916cf7d1 Update fn_selfActions.sqf 2020-07-29 15:27:46 -05:00
AirwavesMan
5e296fc092 Adding salivals Change Code to Epoch Core 2020-07-23 22:20:58 +02:00
AirwavesMan
9bf7cd3219 Remove no longer used code from dayz fences 2020-06-18 20:26:33 +02:00
A Man
4040b784b5 Add option to disable the upgrade of buildables 2020-05-27 17:38:34 +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
8304efe976 Add back DayZ Mod stahes
- Add back DayZ Mod stashes, can be upgraded
- Switch upgrade tents to epoch upgrade system
- Recipes for upgrade stashes and tents have changed
- Add all buildings to a new group for the editor called: DayZ Epoch Buildings
2020-05-13 01:39:03 +02:00
oiad
dddd8c758a fn_selfActions cleanup 2020-04-25 20:13:08 +12:00
A Man
9cc8b5d83d Add _allowedDistance check for tanks too 2020-01-25 12:19:14 +01:00
A Man
57a1f3cfa9 Localize and clean up trade_items_wo_db 2019-12-03 23:54:04 +01:00
A Man
49378f62b3 Remove DB traders 2019-11-16 19:06:32 +01:00
A Man
4828c087ce Adding more lazy evaluation for fn_selfactions 2019-10-30 20:08:57 +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
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
ebayShopper
6caba339c9 Update change log
Minor improvement to b791dee and 6248add
2018-01-11 15:41:13 -05:00
oiad
b791deeea8 Condense variables and remove unneeded _isPZombie checks
We're already checking for _isPZombie here:
https://github.com/EpochModTeam/DayZ-Epoch/blob/master/SQF/dayz_code/compile/fn_selfActions.sqf#L223
so we don't need to check it again with the trader or the attach to
heli.

Condensed the distance check to a variable
2018-01-06 17:37:06 +13:00
ebayShopper
13c90993fc Sync Zupa dialog colors
Heights on the trader menu filter search box and amount box have also
been fixed.
Old: https://imgur.com/a/ld4XF
New: https://imgur.com/a/9T8VP
2017-12-08 18:03:23 -05:00
ebayShopper
4b4bdbbc29 Update vanilla player_breakin.sqf
Vanilla commits:

63aaf07a30

b074e7d847

fb3f69a69a

416cc5dcf1

b6c0dd5849

39a3d45965
2017-11-20 13:57:19 -05:00
ebayShopper
89d10fc973 Revert "Only allow lock removal if door is unlocked"
This reverts commit b8dba25

As discussed with oiad on Discord, this serves no purpose now, since
DZE_lockDoor == charID means the player either just unlocked, built,
upgraded or downgraded the door, so they want to see the action.
Logically a combo lock can be removed while a door is open. In case of
it being locked, you already know the code, so it is assumed you put it
in before removing it. Completing two-three steps at once is more
convenient for the player.

Also removed _isDestructable because there are no classes which inherit
from "BuiltItems" and have a lock
2017-11-08 14:15:25 -05:00
icomrade
82db7d8109 consolidate eval 2017-09-08 10:11:20 -04:00
oiad
b8dba25cc5 Only allow lock removal if door is unlocked 2017-09-03 13:56:06 +12:00
oiad
2a01194d87 Condense locked status to a variable
This will be easier for custom mods that use the lock checking
(vkc/virtual garage etc) as well as removing overhead from
fn_selfActions
2017-08-06 09:41:23 +12:00
oiad
09bfddb46c Remove extra fn_selfActions check for refueling. (#1958) 2017-07-29 17:59:52 -04:00
ebayShopper
39e05ad0e4 Update vanilla building
Vanilla commits:

2ec04a7f8d

f333910f95

156b90ccb5
2017-06-10 10:45:14 -04:00
ebayShopper
48858b2e6c Add medic anim function with proper interrupt
Closes #1386

Vanilla commits
applied:
f99a3deced
731b957e8e

Removed
two unused files and a few variables made redundant by actionInProgress
2017-06-06 15:25:14 -04:00