Cookoff - Add the ability to disable cookoff sounds and projectiles.#10926
Cookoff - Add the ability to disable cookoff sounds and projectiles.#10926PabstMirror merged 38 commits intoacemod:masterfrom
Conversation
|
Untested by the way, I edited the entire thing on github's web editor (not even VS Code clone they have) |
addons/cookoff/XEH_postInit.sqf
Outdated
|
|
||
| if (hasInterface) then { | ||
| // If the sound is disabled, we exit. | ||
| if(!GVAR(cookoffDisableSound)) exitWith {}; |
There was a problem hiding this comment.
Exiting here means changing the setting requires a mission restart
There was a problem hiding this comment.
Will update settings
There was a problem hiding this comment.
Just don't exit there, so the setting can be changed mid-mission.
There was a problem hiding this comment.
Just move this into L67 and you dont need any restarting
Peer reviewed the translation and suggested this change. Quote I mean you could say "Désactive le son de « pop-corn » des projectiles explosant à l'intérieur du véhicule" which is a tad more precise since "explosant dans le véhicule" could also be interpreted as incoming projectiles Endquote
addons/cookoff/stringtable.xml
Outdated
| <Japanese>車両からの発射物の発射を無効にします</Japanese> | ||
| </Key> | ||
| <Key ID="STR_ACE_CookOff_disableSound_tooltip"> | ||
| <English>Disables the 'popcorn' sound of projectiles cooking off inside the vehicle</English> |
There was a problem hiding this comment.
They are not popcorn sounds; they are the cookoff sounds of projectiles. I don't think Popcorn is the correct wording here.
There was a problem hiding this comment.
How about 'popping' sound / noise?
There was a problem hiding this comment.
How about 'popping' sound / noise?
disregard
Spanish, German, French and English are peer reviewed. **THE REST ARE NOT!**
|
Fixed @DartRuffian @jokoho48 - Restart no longer required and translation is more formal now. |
God AI is dogshit at its core functionality
johnb432
left a comment
There was a problem hiding this comment.
You have inverted the settings logic everywhere:
if(!GVAR(cookoffDisableSound)) exitWith {};
Means so if the setting is disabled, nothing happens - which would be fine if the setting were an enable.
Either invert the logic everywhere or make it an enable setting, which imo is the safer and clearer option.
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>
|
Awesome sauce |
|
Why are the features now disabled by default? i don't think it should be disabled by default because that is not how players are used to it. |
Probably something that was forgotten when moving from a disable setting to an enable setting. |
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>
…cemod#10926) * feat: add setting stringtable * Update initSettings.inc.sqf * Update stringtable.xml * Update initSettings.inc.sqf * Update XEH_postInit.sqf * Update fnc_detonateAmmunitionServerLoop.sqf * improve french translation Peer reviewed the translation and suggested this change. Quote I mean you could say "Désactive le son de « pop-corn » des projectiles explosant à l'intérieur du véhicule" which is a tad more precise since "explosant dans le véhicule" could also be interpreted as incoming projectiles Endquote * Make 'cookoffDisableSound' restart required. * update: move cookoffDisabledSound check to runtime * removed restart requirement from cookoffDisableSound * improve translation Spanish, German, French and English are peer reviewed. **THE REST ARE NOT!** * remove repeating bullshit * Update fnc_detonateAmmunitionServerLoop.sqf * remove dogshit translations, adde Czech by @ilbinek God AI is dogshit at its core functionality * remove typo * Update addons/cookoff/initSettings.inc.sqf Co-authored-by: PabstMirror <pabstmirror@gmail.com> * Update addons/cookoff/functions/fnc_detonateAmmunitionServerLoop.sqf Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com> * Update addons/cookoff/XEH_postInit.sqf Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com> * Update addons/cookoff/functions/fnc_detonateAmmunitionServerLoop.sqf Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com> * Update addons/cookoff/initSettings.inc.sqf Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com> * refactor: invert logic naming, remove outdated translations * Fix tabs * Update initSettings.inc.sqf * Fix stringtable file * Sort stringtable * Update addons/cookoff/initSettings.inc.sqf Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com> * Update addons/cookoff/initSettings.inc.sqf Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com> * Update fnc_detonateAmmunitionServerLoop.sqf * Update addons/cookoff/functions/fnc_detonateAmmunitionServerLoop.sqf Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com> * Update addons/cookoff/XEH_postInit.sqf Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com> * Update addons/cookoff/stringtable.xml Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com> * Update addons/cookoff/stringtable.xml Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com> * Update addons/cookoff/stringtable.xml Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com> * Use GVAR(cookoffEnableSound) setting --------- Co-authored-by: PabstMirror <pabstmirror@gmail.com> Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>
Adds 2 checkbox options to cookoff
The following translations have been peer reviewed:
✅ Spanish
✅ French
✅ English
✅ Russian(Too sleepy to update, so outdated)AI generated translations were as dogshit as I imagined they'd be. Removed...