Changeset View
Changeset View
Standalone View
Standalone View
binaries/data/mods/public/simulation/templates/special/rallypoint.xml
<?xml version="1.0" encoding="utf-8"?> | <?xml version="1.0" encoding="utf-8"?> | ||||
<Entity parent="special/actor"> | <Entity parent="special/actor"> | ||||
<Identity> | |||||
<GenericName>Rally point flag</GenericName> | |||||
<Undeletable>true</Undeletable> | |||||
</Identity> | |||||
<Visibility> | <Visibility> | ||||
<AlwaysVisible>true</AlwaysVisible> | <AlwaysVisible>true</AlwaysVisible> | ||||
</Visibility> | </Visibility> | ||||
<VisualActor> | <VisualActor> | ||||
<Actor>props/special/common/waypoint_flag.xml</Actor> | <Actor>props/special/common/waypoint_flag_{civ}.xml</Actor> | ||||
Nescio: Why not {civ}_waypoint_flag? | |||||
Done Inline ActionsNo reason. Do you think it's better? Stan: No reason. Do you think it's better? | |||||
Done Inline ActionsTemplates tend to start with the {civ}_ tag, e.g. athen_barracks.xml, as do unit icons, e.g. athen_champion_infantry.png, and actors are also grouped by their civilization. Nescio: Templates tend to start with the {civ}_ tag, e.g. `athen_barracks.xml`, as do unit icons, e.g. | |||||
Done Inline ActionsThere is another flag called waypoint_flag_0ad so I wasn't sure. The naming conventions should prevail here. Stan: There is another flag called waypoint_flag_0ad so I wasn't sure. The naming conventions should… | |||||
</VisualActor> | </VisualActor> | ||||
</Entity> | </Entity> |
Wildfire Games · Phabricator
Why not {civ}_waypoint_flag?