Commit Graph

1012 Commits

Author SHA1 Message Date
A Man 946c9c5c91 After buying a weapon the weapon should be selected correctly now
Thx iben for the fix.
2022-05-25 09:22:19 +02:00
A Man ff5f5612b0 Shorten DZE_maintainClasses checks 2022-05-24 13:14:02 +02:00
A Man 4d3ab08ce7 Update remove.sqf 2022-05-22 17:40:15 +02:00
A Man 4ebf760aa5 Fix infinite refueling with the fuel pump 2022-05-19 11:04:46 +02:00
A Man 0799e7e183 Update object revealing
This replaces 'player reveal object' with a function that acutal reveals the objects to the player. This fixes that objects were not usable after building.
2022-05-18 18:14:22 +02:00
A Man f4d770c617 Update maintain functions
Thx iben
2022-05-18 18:09:29 +02:00
A Man 24492798a8 Fix herbal plastic water bottle turned into the wrong bottle after melting ores 2022-05-16 19:24:29 +02:00
A Man 068ca66c64 Fix old player_craftItem bug when using waterbottles for crafting 2022-05-16 18:59:02 +02:00
A Man 685b59a2f0 Remove leftovers from DZE_permanentPlot removal
Thx iben
2022-05-16 09:23:33 +02:00
A Man f517866ef7 Add player build plant handle when harvest a plant 2022-05-11 08:59:21 +02:00
A Man 97624e23be Add DZE_requirePlotOverride to override if objects need no plot pole
Made by @Victor-the-Cleaner
2022-05-02 15:22:36 +02:00
A Man 628e72dd4b Update statics again
Made by @Victor-the-Cleaner
2022-04-29 15:12:44 +02:00
A Man 311b23cd94 Fix static weapon placement
Made by @Victor-the-Cleaner
2022-04-27 20:49:21 +02:00
A Man 9c1da8101d Add option to clear the ammo of all static guns, compile vehicle functions for server and client 2022-04-26 16:54:57 +02:00
worldwidesorrow 3bb6b94185 Add Nightstalker EVR storms
Includes manual on/off for APSI and localized strings.
2022-04-21 02:00:25 -05:00
A Man 911b455ae6 Add thaw script
Made by @Victor-the-Cleaner
2022-04-19 19:34:19 +02:00
A Man 6ccf68c6aa Update various actions and add switch to standing pose
Made by @Victor-the-Cleaner
2022-04-19 19:33:51 +02:00
A Man bde803b6d3 Players are able to use flares inside a vehicle now
Also remove FNC_GetSetPos. It is no longer needed or used.

Made by @Victor-the-Cleaner
2022-04-19 14:53:12 +02:00
A Man bec7ff8146 Fix MPKilled mp evh call on client, add correct 0 return value for all HandleDamage evhs when godmode 2022-04-18 10:22:42 +02:00
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