Cookoff - Improve destroying vehicle post cookoff (#9029)

* Have vehicle explode when cookoff completes

* Adjust strings

---------

Co-authored-by: Grim <69561145+LinkIsGrim@users.noreply.github.com>
This commit is contained in:
Cyruz 2023-06-25 05:06:26 +01:00 committed by GitHub
parent 02365609b5
commit aa21ba50a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 6 deletions

View File

@ -75,7 +75,7 @@ if (_smokeDelayEnabled) then {
[_pfh] call CBA_fnc_removePerFrameHandler; [_pfh] call CBA_fnc_removePerFrameHandler;
if (GVAR(destroyVehicleAfterCookoff) || _detonateAfterCookoff) then { if (GVAR(destroyVehicleAfterCookoff) || _detonateAfterCookoff) then {
_vehicle setDamage [1, _detonateAfterCookoff]; _vehicle setDamage [1, true];
}; };
}; };

View File

@ -174,11 +174,7 @@
<Spanish>Destruir vehículos tras la detonación inducida por calor</Spanish> <Spanish>Destruir vehículos tras la detonación inducida por calor</Spanish>
</Key> </Key>
<Key ID="STR_ACE_CookOff_destroyVehicleAfterCookoff_tooltip"> <Key ID="STR_ACE_CookOff_destroyVehicleAfterCookoff_tooltip">
<English>Controls whether vehicles will always be destroyed after cooking off. Depending on the cookoff, the vehicle may explode or may simply be killed without effects.</English> <English>Controls whether vehicles will always be destroyed after cooking off.</English>
<Korean>차량이 쿡오프된 후 파괴할 지에 대한 여부를 제어합니다. 쿡오프에 따라 차량이 폭발하거나 아무런 효과 없이 파괴될 수 있습니다.</Korean>
<Chinesesimp>控制载具是否总是会在殉爆结束后被摧毁。根据殉爆的剧烈程度,载具可能会爆炸,也可能只是被没有效果地摧毁。</Chinesesimp>
<Russian>Всегда ли техника будет уничтожена после детонации. В зависимости от детонации, она может быть взорвана или просто уничтожена без эффектов.</Russian>
<Spanish>Controla si los vehículos serán siempre destruidos despues de la detonación inducida por calor. Dependiendo de esta, el vehículo puede explotar o simplemente puede ser destruido sin efectos.</Spanish>
</Key> </Key>
<Key ID="STR_ACE_CookOff_enableFire_name"> <Key ID="STR_ACE_CookOff_enableFire_name">
<English>Enable Cook-Off Vehicle Fire</English> <English>Enable Cook-Off Vehicle Fire</English>