Changes between Version 6 and Version 7 of Formations


Ignore:
Timestamp:
Apr 24, 2020, 3:20:46 PM (4 years ago)
Author:
Silier
Comment:

fix links

Legend:

Unmodified
Added
Removed
Modified
  • Formations

    v6 v7  
    11== Adding a formation ==
    2 Adding a formation has become more simple. The only thing you need to do is making a formation template (like any entity template), preferably in the ''formations'' subdirectory. See one of the [http://trac.wildfiregames.com/browser/ps/trunk/binaries/data/mods/public/simulation/templates/formations existing templates]. You also need to make an icon, and make it available under the same name in the [http://trac.wildfiregames.com/browser/ps/trunk/binaries/data/mods/public/art/textures/ui/session/icons/formations formation icons].
     2Adding a formation has become more simple. The only thing you need to do is making a formation template (like any entity template), preferably in the ''formations'' subdirectory. See one of the [https://trac.wildfiregames.com/browser/ps/trunk/binaries/data/mods/public/simulation/templates/special/formations existing templates]. You also need to make an icon, and make it available under the same name in the [http://trac.wildfiregames.com/browser/ps/trunk/binaries/data/mods/public/art/textures/ui/session/icons/formations formation icons].
    33
    4 Afterwards, the formation needs to be made available to certain civilisations by adding them to the civ profile, as done in other [http://trac.wildfiregames.com/browser/ps/trunk/binaries/data/mods/public/civs civ profiles].
     4Afterwards, the formation needs to be made available to certain civilisations by adding them to the civ profile, as done in other [https://trac.wildfiregames.com/browser/ps/trunk/binaries/data/mods/public/simulation/data/civs civ profiles].
    55
    66At that point, the formation will be visible in the formation panel in the GUI when playing the game, but it will be greyed out. To make the formation available to certain units, it needs to be added to their Identity component of the template. Either to the unit.xml template for all units, or one of the subtemplates.