By default this was multiplying all "Working" hunger and thirst hits by
10 @icomrade because (1 min 0.1) always picks 0.1. For example:
dayz_thirst = dayz_thirst + (5 / 0.1)
dayz_thirst = dayz_thirst + 50
A config variable isn't really needed for this, since it is only used in
one file. It can be easily configured in compiles.sqf which most servers
already overwrite anyway.
This reverts 62b7c21.
- Removed some unneeded exceptions
- Moved tree chop PVEH to server compile only so client does not need
setdamage exception
- Replaced "showCommandingMenu" filter with stricter
"menu" filter
- Renamed two files with no changes for easier filtering of
"menu"
Vanilla
commits:
1d639b557b3a292425375cdf249ea9
- Fixed some "say", "switch" and "call" exceptions were broken
- Anything containing call is covered by 5 "call"
- Anything containing spawn is covered by 5 "spawn"
- Anything containing { or ( is covered by the first line
- Anything containing setDi is covered by 5 "setDi"
- Anything containing bis_ is covered by 5 bis_
- Anything containing bis_fnc is covered by 5 "BIS_fnc"
- Anything containing server_ is covered by 5 server_
- Anything containing fnc_ is covered by 5 fnc_
- Anything containing count is covered by 5 "count"
- Anything containing onPlayer is covered by 5 "onPlayer"
- Anything containing this is logged by 1 "this"
- Anything containing for is logged by 1 "for"
- Anything containing ' is covered by 5 "'"
- Anything containing terminate is covered by 5 "terminate"
- removed duplicate getVariable filter
- createDialog is covered by 5 "createD"
- set, exec and str with two single spaces are covered by the same with
one single space
- removed some set, exec and str that were already covered by the line
directly above or below them
- removed some old dayz function names that aren't used anymore.
- made first line in setvariableval.txt stricter (no exceptions) by
moving "+" to a separate line
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.
Updated to same formatting and comments as latest Corepatch files:
https://github.com/Goliath86/CorePatch/tree/master/CorePatch_FIS/data/scripts
airdestruction.sqf:
- fixed _velocity variable was undefined
- updated, Sa-Matra removed clearVehicleInit
- !isNull checks are not needed because (local objNull) returns false
and (speed objNull) returns zero
BIS_Effects_startEvent:
- 6th parameter is not used in BIS_Effects_Burn, neither in the old nor
new version.
Although the formatting is ugly, it is better to stay consistent with
Bohemia's so they are easy to compare with future updates and
scripts.txt exceptions are the same whether the official or custom files
are used.
Added Sa-Matra's final commit from yesterday:
5e696bebdc
This partially reverts c15caf5.