Skip to content

[New Feature] OpenTopped Logic Enhancements #225

@Cpj636

Description

@Cpj636

Description:

OpenTopped logic is a useful tool to design new units like combined with InitialPayload and NoManualUnload to simulate multiple weapons. However, it still has many defects that restrict its use. For example, when an opentopped unit is MCed or attacked by emp weapons, its passengers will not be affected. Besides, a unit with both Passenger and NoManualUnload cannot be released from tank bunkers, etc. If the following enhancements can be implemented, OpenTopped logic will become much more powerful.

Possible Implementation:

[TechnoType]
OpenTopped.RangeBonus=
OpenTopped.DamageMultiplier=
OpenTopped.WarpDistance=
OpenTopped.TargetConsistent=    ; boolean, default is no. If setting yes, all its passengers will only attack units targeted by the fortress.
ProtectedPassengers= ; immune.

[Warhead]
AffectsPassengers= ; boolean, whether a warhead will use this logic
AffectsPassengers.DamageMultiplier= ; float, if setting 0, no damage will be passed to passengers; if setting -1, all passengers will be released immediately. Default 1.
AffectsPassengers.PassEffects= ; boolean, if setting yes, effects like AE, Emp, DisableWeapon, MC, etc. will be passed to passengers. Default yes.
AffectsPassengers.Temporary=  ; boolean, when passengers are released, all effects will be removed. Default no.

;Bug fix about "NoManualUnload=yes" in tank bunkers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions