Allows defining whether passengers of an OpenTopped transport unit can fire when it is affected by a locomotor warhead#2182
Conversation
|
Nightly build for this pull request:
This comment is automatic and is meant to allow guests to get latest nightly builds for this pull request without registering. It is updated on every successful build. |
|
To Chinese users:
|
|
Tested by https://www.phoboscn.top/t/topic/375/3 |
|
I'm not sure if this needs a standalone tag, since locomotor change is a different scenario from EMP/deactivated |
Considering the accuracy issue of the INI flag name, it is indeed best to add a separate flag and allow setting a global default value to change the original behavior, rather than simply treating both as a deactivated state to handle them equivalently. |
OpenTopped.AllowFiringIfDeactivated to take into account the state where a non-building transport unit is being attacked by a weapon that uses a warhead with IsLocomotor=true|
Realistically the locomotor WH specifically disabling firing could be considered a special case of 'deactivation' but semantically I suppose it is clearer to split the two because of, as you put it, the 'accuracy issues' with the INI key name. |

Allow usingOpenTopped.AllowFiringIfDeactivated=falsefor the case where a transport unit is being attacked by a weapon that uses a warhead withIsLocomotor=true.Use
OpenTopped.AllowFiringIfAttackedByLocomotorto control whether the passengers of a non-building transport unit can fire when the unit is being attacked by a weapon whose warhead hasIsLocomotor=true