* player_wearclothes changes, string changes and maintain area moving
Adds 2 toggles for admins to modify:
DZE_backpackRemove forces the player to drop his/her backpack when they
change gear.
DZE_maintainCurrencyRate modifies the amount of worth each item is worth
to maintain.
Changes the error message in player_wearClothes to tell the player why
they can't change gear yet
Remove some debug lines that spam RPT
* Rework
Rework as per @ebaydayz
* Rework
Rework
* Advanced trading modifications, maintain_area modifications
This lot of changes brings forth the following:
Sets up a "default" set of compiles that are the minimum needed for
maintain_area.sqf and custom scripts to utilize the gem based currency
that @icomrade added.
maintain_area.sqf: This will now utilize the gem based currency system.
Removed the redundant Z_Vehicle and replaced it with the Epoch built in
DZE_myVehicle
z_at_buyItems: Code tidying and optimization
z_at_checkCloseVehicle: Tidied up the code since removing Z_Vehicle
allowed us to remove some now useless code.
z_at_getVehicleItems: Removed the nearestObjects check for your vehicle
since we now do z_checkCloseVehicle on Advanced trading start up.
* Advanced trading missed redundant variables
As per description
* Advanced trading rework
We don't need to check for close vehicle anymore now for backpack money
since we've made z_vehicle redundant.
* Revert "Advanced trading rework"
This reverts commit a589bd19b9.
* Advanced trading rework
We don't need to check for close vehicle anymore now for backpack money
since we've made z_vehicle redundant.
* Advanced trading rework
More rework
* Remove single currency add/remove coins functions
at request of @ebaydayz.
* More Stringtable updates
Ive added and corrected more german strings. Some german strings were too long. Lots of building items needed a localization. Adding after request the Winter Ghillie Suit localization for Namalsk compatibility.
* Update for new localization
* Update for localization
* Update for new localization
* Update again
* localization update
* Update stringtable.xml
* Update Doors.hpp
* Update ModularBuilding.hpp
* Update stringtable.xml
* Update stringtable.xml
* Update Doors.hpp
* Update Prop_Defs.hpp
* Advanced trading fixes
Fixes a few issues and a dupe with advanced trading as well as some
localization of where a vehicle key is going.
Z_at_buyItems: Now adds localization for the key getting added to your
toolbelt, backpack and vehicle, this stops players thinking they didn't
get a key when infact it was added to their backpack/vehicle.
Z_at_canAfford.sqf: This fixes a dupe from a bad copy paste for whomever
wrote this script, it was using _backpackMoney in the
z_allowTakingMoneyFromVehicle part, changed to the proper variable
_vehicleMoney.
z_at_fillBuyableList.sqf: this fixes a bug where a vehicle would show
green even when it isn't local, just basically added more checking to
make sure the vehicle it's making green in the list is a) local, b)
alive and that the typeOf == _name.
z_at_logTrade.sqf: fixes some tidyness.
advancedTrading/init.sqf: adds a z_checkCloseVehicle call otherwise even
with Z_AllowTakingMoneyFromVehicle = true it will not get currency from
your vehicle until you clicked on the "Vehicle" tab.
dayz_server/server_tradeObject.sqf: More tidying as per the
z_at_logTrade and removes the useless Player:, as it is obvious a player
has bought something not an AI.
dayz_server/server_handleSafeGear.sqf: Makes the diag_log at the end
more human readable with GPS coordinates as well as the lock code for
the safe or the lockbox.
* advanced trading fixes. I hate you github
WHY U GET MISSED?? STUPID GITHUB.
* snappoints changes
Fixes the issue @SmokeyBR reported
https://github.com/EpochModTeam/DayZ-Epoch/issues/1766#issuecomment-253864795
Adds all floor types to snap list for all barriers so you can snap a
sandbag etc to a floor instead of manually lining it up
The chat list does not appear to be toggleable on the fly because it is
a display with no accessible controls. Giving it an idd and using
closeDisplay did not work. So it needs to be manually set off screen in
its config or covered up.
* Updating german stringtable
The update for STR_ACTIONS_2TB and STR_ACTIONS_RFROMTB are important. That fixes a very old bug. It was no really readable in german because the words were a way to long.
* Add files via upload
* Fixing Desert Tent pack output
When packing a DesertTent the output was ItemDomeTent not ItemDesertTent
* Decreasing hotwire kit chance
* Decreasing hotwire kit chance
* Decreasing hotwire kit and combo lock chance
* Decreasing combo lock chance, fixing loot group
* Fixing loot group
* Lowering ammo box spawn chances again.
* Fixing Desert Tent pack output all versions
Vanilla commit:
804445830f
This was exiting with 0 damage if _hit=="". It accounts for vehicles not
being damaged at all when crashing full speed into walls. It was also
causing the player to sometimes glitch out of the vehicle or into the
ground when crashing as you noticed before @icomrade.
Also fixed driver getting a humanity hit for damaging passengers in
crash. Reverting 22b2a3a since this is more reliable.
* Updating displaynames
Unfortunately I gave a few choppers their class names as displaynames. That should be better now.
* Adding DZE for UH1H_2 variant, displayname update
Adding the UH1H_DZE with no ammo. Adding better displaynames for the UH1H
* Updating german strings
Adding a lot german strings and correcting a few.
* Update stringtable.xml
* Update stringtable.xml
* Update stringtable.xml
* Advanced trading combine/return change
Fixes combining/returnChange to squash gems into usable currency so they
can properly be used in the economy
Stringtable fixes for duplicates
* Localization additions
More localizations
Thanks @oiad for pointing this out.
Poles are not used for previewing anymore. Cones do not give as much
information as the dome.
The dome is visible at night and under night vision too.
* Advanced trading and safe GUI changes
This adds displaying of item/backpack/weapon/vehicle descriptions
Moves Weapons display on vehicles to a modular type, so if the vehicle
has no weapons it wont display, same with Description
Fixes an issue with safes not sounding keyclicks, at present they are
only active if you have music turned on, since I don't play with music
on (and many others) you will never hear them and when you do, the DTMF
signals they use are really obnoxious.
Replaced the sound with the one from the lockboxes, it's still audible
but very reasonable.
* Advanced trading fixes
Rework for my previous commit @ebaydayz
* Localization additions
Missing from previous commit
PrimaryWeapon always returns "", never nil unless the player object
isNull (in which case this script would not be running).
Fixed cases where a nil variable would throw an error when checking the
next condition.
* Toggle for salvaging from locked vehicles
This adds the ability to remove salvaging from locked vehicles which
helps avoid griefing
Fixes a spelling mistake for a localization string
Makes it possible to salvage 0% damaged items again, this was disabled
as per
3292d84b85
I've had this running on my server for a year or so with no issues (not
that it doesn't affect it, i've just never seen it)
* Toggle salvagable locked vehicles changers
@ebaydayz fixed
This replaces the "refresh" menu option with a "force maintain" option.
Allows you to maintain the base even if it doesn't need it to either get
all your items in sync or if you are going away or similar.
Tested with:
dze_permanent plot true/false
z_singlecurrency true/false
Also fixes an undefined variable error in system_monitor that was
introduced
8f58baf3f2
Extends the displayName RSC width to the same as the description (Not
sure why this was so small, it truncated longer display names)
Added localization strings for all the supply crates so they were easier
to distinguish in the gear menu.
* Update stringtable.xml
Adding string support for AA12 ammo
* Update Rifles.hpp
Adding a few missing weapons.
* Update LMG.hpp
Adding one new LMG
* Update ShotgunAmmo.hpp
Adding AA12 ammo
* Update BanditAmmunition.hpp
Adding SCAR ammo
* Update BanditWeapons.hpp
Adding Mk17 Sniper and M110 NVG.
* Update FriendlyAssaultRifle.hpp
Adding Mk16 and L85 variations.
* Update FriendlyLightMachineGun.hpp
Adding L86A2 LSW
* Update NeutralBlackMarketAmmo.hpp
Adding new ammo AA12 and Mk17
* Update NeutralBlackMarketWeapons.hpp
Adding AA12 Shotgun and Mk17 variants.
* Update Weapons.hpp
Adding many new weapons.
* Update Ammo.hpp
Adding new AA12, Mk17 ammo to loot.
* Update AmmoBox.hpp
Adding SCAR ammo to eu2 box.
* Update Shotgun.hpp
Adding re-combine action for new AA12 ammo
* Update NeutralHelicopterUnarmed.hpp
Adding UH60M_MEV_EP1 to trader.
* Update NeutralBlackMarketAmmo.hpp
Removing AA12 HE
* Update Ammo.hpp
Comment out AA12 HE ammo
* Update Weapons.hpp
Lowering DMR spawnrate
* Updating strings for missing magazins
Adding new magazine names to make it similar to the dayz 1.8.7. names.
Adding
Mk17
M17 SD
M107
KSVK
L115
VSS
* Adding missing magazines and re-combine option
Mk17
Mk17 SD
* Adding missing magazines and re-combine option
M107
KSVK
L115
VSS
* Update stringtable.xml
Moved new strings to epoch package
* Update 762x51.hpp
Adding the SD indicator. I think the SB instead of SD is too confusing. So everyone knows it is SD ammo.
* Plot management fixes
This hopefully adds a few more items to the maintain list (@icomrade)
Uses epoch_returnChange to accurately and tidily return change and
handle money.
Localize maintain_area.sqf for single currency servers
* Plot Management tidyness
Fixing tidy issues
* Plot management changes
Fix maintenance variables as per @ebaydayz
* Plot management
Missed one
* Plot management fixes and default maintain_area fixes.
Convert original maintain_area.sqf to epoch_returnChange, I used the
plot management localization strings since I liked them better, the
epoch ones don't make a lot of sense really. Makes no difference if plot
management is turned off anyway.
Change the single currency version to work a lot better than it did, I
put the cost per item to 100 to be more in line with what I would expect
on a server
Changed _range to use DZE_maintainRange (DZE_plotPole select 0 + 20)