Commit Graph

993 Commits

Author SHA1 Message Date
A Man
60b513065a Allow getting vehicles from the VG only if a helipad is near
Everything else will confuse players and will result into searching vehicles.
2022-04-17 14:56:30 +02:00
A Man
b005e4b372 Add actionInProgress and auto gear close within a service point action 2022-04-17 14:54:41 +02:00
A Man
73ab04ccf1 Add global DZE_BuryOnRoad also fix non localized butcher on road message 2022-04-17 07:46:53 +02:00
A Man
da5e29acda Return player to a standing pose if they were standing before
Made by @Victor-the-Cleaner
2022-04-16 17:07:20 +02:00
A Man
495d7dfa0d Fix undefined variable when SingleCurrency is not used 2022-04-12 09:37:00 +02:00
A Man
e116caa815 Update fnc_isInsideBuilding
Made by @Victor-the-Cleaner

- If the player is inside a building but near a large open doorway or full height windows, or out on a balcony, they may be considered outside.
- The UI visual stealth icon will update accordingly, so the player will know if they need to step back from open doors or windows to regain stealth.
- dayz_inside global variable will now only affect player temperature, stealth vs zombies, and blizzard effects.
- The new dayz_insideBuilding global variable stores the building name the player is currently inside of, or null if player is outside. This may be used for modding purposes.
2022-04-02 12:22:56 +02:00
A Man
67bdc72171 Keep global characterID only for special cases
Only vehicles with a key and locked/lockable buildings need a global characterID. All other vehicles and buildings will have a characterID of "0".
2022-03-26 18:11:16 +01:00
A Man
fc6680c360 Remove OEMPos variable
I do not see any use for this variable any longer. Ive tested building, upgrading lock/unlock objects. It seems it has no affect and can be replaced with the normal getPosATL from objects.
2022-03-26 14:53:12 +01:00
A Man
cf6ca366d3 Add global fnc_gearCount and fnc_sanitizeInput function 2022-03-25 15:09:34 +01:00
A Man
d4e6e786d2 Remove global ObjectID and ObjectUID from server functions
All ObjectIDs and ObjectUIDs are only visible on the server now no longer on the client.
2022-03-25 14:29:00 +01:00
A Man
2168d504bb Remove more ObjectIDs and ObjectUIDs from certain scripts 2022-03-24 21:14:23 +01:00
A Man
3ffa072c8e Remove ObjectID and ObjectUID from PVDZE_maintainArea
This also fixes non maintained safes if they were open when the player maintains the base.
2022-03-24 18:05:37 +01:00
A Man
e72394d6da Remove ObjectID and ObjectUID from PVDZ_obj_Destroy calls
This is just the first commit for the removel of all global set ObjectIDs and ObjectUIDs.
Also objects will no longer be send over the network. Only the netID will. The actual object can be resolved with the netID on the server.
2022-03-24 17:17:45 +01:00
A Man
01792fe8e2 Add changeable DZE_toolBreakChance to configVariables 2022-03-24 13:43:34 +01:00
A Man
6189bed044 Add changeable DZE_debrisRefundParts array to configVariables 2022-03-24 13:15:31 +01:00
A Man
f179d037dc Add changeable DZE_GemChance to configVariables 2022-03-24 13:08:27 +01:00
A Man
43006760f8 Re-build DayZ_SafeObjects to handle all objects
This is a complete re-build of DayZ_SafeObjects. It was necessary to remove all the duplicated entries. DayZ_SafeObjects gets defined by multiple arrays now. This makes it much easier to update. Also every building with gear gets maintained now. Every single buildable epoch building is included within the maintain array and DayZ_SafeObjects.
2022-03-20 17:53:35 +01:00
A Man
ceda09297b Make water sources customizable 2022-03-20 15:58:51 +01:00
A Man
84064ec893 Add harvestable plants and compost barrels
- Add 8 harvestable plants with proper output - Server Admins can add them to the game
- Add 2 Compost barrels - an empty and a full version
- Re-work of player_harvestPlant to fix a few bugs when different types of harvestable plants are near
- Add harvestable plant output config
2022-03-18 15:24:37 +01:00
A Man
db74d0a7e7 Update plot marker position 2022-02-07 11:17:43 +01:00
A Man
c57d2f8d7a Update mining stones for better stone detection
Made by @Victor-the-Cleaner
2022-01-12 19:13:46 +01:00
A Man
1bb0343604 Update Changelog 2021-12-23 21:56:30 +01:00
A Man
adc17d4ec6 Re-build modular_build.sqf
Mady by @Victor-the-Cleaner
2021-12-23 16:50:07 +01:00
A Man
16361e5466 Update snap and vector build
Mady by @Victor-the-Cleaner
2021-12-23 16:49:02 +01:00
A Man
c2b3e817b5 Update plot pole boundary to works better with the new build system
Mady by @Victor-the-Cleaner
2021-12-23 16:43:39 +01:00
A Man
e766d1d344 Update Changelog 2021-09-20 11:47:33 +02:00
A Man
9ecdb21dd0 Update maintain_area.sqf 2021-09-20 10:33:03 +02: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
bb968698e6 Modulr build changes
- Players may no longer build objects outside the plot radius.
- This is calculated using the object's pivot point, not its geometry nor its bounding box.
- Players may move an object any distance or height within the plot boundary/sphere.
- Therefore, DZE_buildMaxMoveDistance and DZE_buildMaxHeightDistance are now obsolete.
- Players may move a small distance outside the plot radius, provided the object remains inside.	Enabled with DZE_PlotOzone.	Default: 10 meters.
- A line of helpers now appears through the plot's vertical axis to aid line-of-sight to the pole.	Enabled with DZE_AxialHelper.
- This may be useful for nearby plots that are grouped together, or where their radii overlap.
- Players may now cancel the build by fast movement, i.e. running, or fast walking on steep terrain.
- This only applies when the player is holding the object. They may press F to release it, then run without cancelling.
- Crouch-walking or slow-walking will not cancel the build.
- The player will auto-crouch when clicking "build" to prevent accidental cancelling.

Changes made by  @Victor-the-Cleaner
2021-09-19 18:41:52 +02:00
A Man
64e6bf089a Comment out mining sound
Currently we do not have a working mining sound.
2021-09-02 16:07:37 +02:00
seelenapparat
147b0fe5ce Added missing 1oz waterbottles
Fixed:  Added missing 1oz waterbottles.
2021-08-26 22:04:47 +02:00
A Man
29095ca45f Fix missing string 2021-08-24 17:12:15 +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
9852778ba9 Fix weapon dupe with server_playerSync
This reverts all the last changes to server_playerSync and creates a new global variable for dayz_onBack. This should be the best way to save the gear correct and still get dayz_onBack if the player leaves the server. This change removes the constant sending of the whole player inventory over the network from force or regluar_save. It should no longer be needed since the server does the counting now.
2021-08-19 16:46:06 +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
339c14ae52 Revert moving down dayz_actionInProgress = true;
Do not move dayz_actionInProgress = true; lower. Fast clicker can bypass this check very easy then.

Also add isNull check.
2021-08-18 17:14:57 +02:00
A Man
cb83c02917 Merge branch 'master' of https://github.com/EpochModTeam/DayZ-Epoch 2021-08-18 17:05:03 +02:00
worldwidesorrow
05118343fc Integrate NS Bloodsuckers
Add and update files for bloodsucker spawning option.
2021-08-18 09:47:25 -05:00
A Man
b3871aa321 Add toggleable Garage Door Opener by salival 2021-08-18 13:51:05 +02:00
A Man
343128bb0c Add toggleable Vehicle Service Point by salival 2021-08-18 13:14:17 +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
A Man
152ec42dae Add toggleable Locate Vehicle by salival to Epoch Core 2021-08-18 09:56:24 +02:00
A Man
a9500b4e6e Add Salivals Remote Vehicle to Epoch Core
Functions getting only loaded if DZE_Remote_Vehicle is true.
2021-08-17 21:53:54 +02:00
A Man
6348294ac5 Switch to correct function 2021-08-17 16:47:45 +02:00
A Man
93bf494c3a Form better message when not enough fuel is in a fuel tank 2021-06-06 21:29:41 +02:00
AirwavesMan
2bbb126a14 Fix Dayz Mod Gates could not be removed 2021-05-05 13:11:55 +02:00