Skip to content

[New Feature] Player Factory Unit Copying #343

@ajgunsauley

Description

@ajgunsauley

Description:

When a unit is built from a factory type (Infantry, Vehicle, Naval), produce a copy of that unit from every additional factory of the same type. This would mimic AI behavior but allow the player to take advantage of the same setup. Currently this is not possible since Ares implementation doesn't permit cloning on a Factory=yes building.

This request would allow both production and cloning functionality to function out of one structure in the faction arsenal instead of requiring two separate buildings -- one for production and one for cloning.

Excluding AircraftTypes from the request.

Possible Implementation:

[BuildingType]
IsCopyFactory=Yes

Note that if you had the same unit eligible to be built from a factory with this flag and one without, setting the primary to the CopyFactory will not produce a copy from the building where the flag is not set or = no. However, setting the primary to the =no building would still produce a copy from the CopyFactory, unless Factory.ExplicitOnly conditions exclude the unit being produced at the CopyFactory.

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