By default, prevent reloading from automatically clearing a weapon jam (like in ACE2)

This commit is contained in:
esteldunedain 2016-02-20 20:05:59 -03:00
parent 02e530a99c
commit 2dbf979ec6
3 changed files with 14 additions and 0 deletions

View File

@ -26,4 +26,10 @@ class ACE_Settings {
displayName = CSTRING(overheatingDispersion_displayName);
description = CSTRING(overheatingDispersion_description);
};
class GVAR(unJamOnreload) {
typeName = "BOOL";
value = 0;
displayName = CSTRING(unJamOnreload_displayName);
description = CSTRING(unJamOnreload_description);
};
};

View File

@ -15,6 +15,8 @@
*/
#include "script_component.hpp"
if !(GVAR(unJamOnreload)) exitWith {};
params ["_unit", "_container", "_item"];
TRACE_3("params",_unit,_container,_item);

View File

@ -55,6 +55,12 @@
<German>Überhitzte Waffen sind weniger genau und verfügen über eine geringere Mündungsgeschwindigkeit. Wird bei allen Spielern angewendet.</German>
<Polish>Przegrzane bronie będą mniej celne oraz będą miały zmniejszoną prędkość pocisku. Wpływa na wszystkich graczy.</Polish>
</Key>
<Key ID="STR_ACE_Overheating_unJamOnreload_displayName">
<English>Unjam weapon on reload</English>
</Key>
<Key ID="STR_ACE_Overheating_unJamOnreload_description">
<English>Reloading clears a weapon jam.</English>
</Key>
<Key ID="STR_ACE_Overheating_SpareBarrelName">
<English>Spare barrel</English>
<German>Ersatzlauf</German>