Adding UserActions to players (CAManBase) is not efficient, because the
condition evaluates onEachFrame when you are "inside" that vehicle type.
Also admins usually want to add more custom actions to dead bodies
anyway.
https://community.bistudio.com/wiki/addAction#Syntax
This partially reverts 3aad4b6.
* Move dze_supplyCrate and vein wrecks to CfgLoot
Moves both the supply crates and vein wrecks to the CfgLoot tables so
admins can customize.
Also modifies the main add item statement to allow support for weapons,
magazines and backpack refunding/spawning instead of hard coded
magazines.
Should be backwards compatible with the old style (I did test).
* Remove unused _activatingPlayer variable
* Rework
The slow searches are needed on other maps until waterHoleProxy objects
are added for them. They need to be added at every pond and
non-"Land_pumpa" well. Right now Chernarus is the only map that has them
placed.
Fixes#1835Fixes#1841
Partial revert of: 3aad4b6
Unfortunately this will not support loading external vehicle addons
(with custom UserActions) which we can not include in Epoch. Child
UserActions overwrite inherited UserActions.
Should improve client FPS while still allowing conditions and scripts to
be customized.
Some special vehicles like MV22, UH1Y, etc. have UserActions overwritten
in their configs, so please let me know if you find any others that do
not get the option to repair or salvage because UserActions is
overwritten in their config. I think I got them all.
Vanilla commits:
a8c4238c0c350d73abe1
* Fix spelling mistake of classname DZ_Czech_Vest_Pouch
As per subject
* Fix typo from 1.0.5.1 and rename DZ_Czech_Vest_Puch to DZ_Czech_Vest_Pouch.
As per subject
* Fix typo from 1.0.5.1 and rename DZ_Czech_Vest_Puch to DZ_Czech_Vest_Pouch.
As per
* More typo SQL goodness
As per subject
* Localization changes/additions.
Fixes a few localizations, extends range for removing camo nets from
toolbox by 10m, I have found that 5m is just not enough.
* Toolbox change
Update camonet removal to 10m instead of 5m
* Safe zone no building near/blacklisted buildings no building near
Adds a check in dze_buildChecks to disallow building within a certain
distance of a safezone or a blacklisted object name.
* typo
fix typo
* Safezone/blacklisted changes
As per requests.
* Rework
Rework
* Remove unused variables
as per subject
* Misc changes
Fix unprivated var in calcfreespace
Made single currency buy/sell reporting more englishery
Localization cleanup of extra spaces
* rework
rework
* Removing old code
Build Sandbag Fence is not longer used since the rightclick action to build a sandbag.
* Removing old code
Old code "remove tank trap" is not longer used since we have the scroll action for that.
* Update Prop_Defs.hpp
* Cutting some strings, removing old strings
* Update stringtable.xml
* 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
* 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
* 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