Page MenuHomeFeedback Tracker

[Feature Request] Extend enableEngineArtillery from a global only setting to per vehicle/unit
New, NormalPublic

Description

Reasoning

  • In various situations as mission maker you dont want all (ie mortar vs heavy artillery) to have the simplified engine artillery system
  • In some mods/CDLCs (WW2) you only want to retain engine artillery in lower difficulty
  • There are mods/scripts to replace the engine artillery - a global on/off is too broad/inflexible

Suggested commands

vehicle enableEngineArtillery true/false;
_bool = isEngineArtilleryEnabled vehicle;

Notes:

  1. Could be local arg and effect for more flexibility or state sync for simplification
  2. To me state per vehicle makes more sense but could be also per unit
  3. To be checked if AI is also affected

Details

Severity
None
Resolution
Open
Reproducibility
N/A
Operating System
Windows 10 x64
Category
Scripting
Steps To Reproduce
Additional Information

Leopard20 — 11/24/2023 4:13 AM

what's the use case? so you don't have artillery computer on old vehicles for example?

Kerc — 11/24/2023 4:51 AM

yeah. the other use case is, disabling engine artillery stops being able to order the AI to fire artillery
so you might want to only disable it for a player used vehicle etc
not sure if it stops you from issuing 'doArtilleryFire' with them, I just know if they're in your group you can no longer order them to

Quiksilver — 11/24/2023 6:23 AM

things like player equipment training. player is “trained” on a mk6 mortar so has access to arty computer. player not trained on m6 scorcher, so can use but no access to arty computer
its not super important tbh, but for inexperienced scripters, managing arty engine access is a hurdle

Leopard20 — 11/24/2023 6:38 AM

for that case you can just remove the artillery computer flag from config, no?

NikkoJT — 11/24/2023 6:40 AM

If you're making a mod, yes.
If you're just the missionmaker and the assets you have to work with have the artillery computer, no.

Leopard20 — 11/24/2023 6:40 AM

also that command just disables the Artillery Computer action right? as far as I see in game code it doesn't affect AI :think_turtle:

NikkoJT — 11/24/2023 6:41 AM

I think there are CDLC vehicles that are more directly relevant to this, but for a vanilla example, imagine you want your insurgents to have a computerless Mk6 mortar while allowing NATO Scorchers to keep their computerised FCS

Event Timeline

I'd prefer this to be a fully local setting.

This comment was removed by LouMontana.