February 27th, 2010
|
#2 |
| I exist
Join Date: September 19th, 2008 Status: Available Rep Power: 0 | Re: Unit building In skirmish? Add the unit company under the structure's <Tactical_Buildable_Objects_Multiplayer> tag. If the structure is Rebel or Empire, it'll be in SpecialStructures.xml, and if it's Zann or otherwise new in FoC then it'll be in SpecialStructures_Underworld.xml. So, for example, if you wanted to build AT-ATs from Barracks in Skirmish, you'd add Imperial_Heavy_Assault_Company under that tag in the coding of E_Ground_Barracks.
In GC? Simply look under the unit company itself (it has to be the company, even for a single-unit company like the AT-AT) and change the data near the <Required_Special_Structures> tag. So, for example, to make AT-ATs buildable at Barracks in GC, you'd change the structure in that tag under Imperial_Heavy_Assault_Company (which is in GroundCompaniesEmpire.xml) to E_Ground_Barracks. So the end result would look like:
<Required_Special_Structures>E_Ground_Barracks</Required_Special_Structures>
(like that, if you keep the advanced factory entry it means you'll need a barracks *and* an advanced factory to build it) |
|
Last edited by Sith of Steel; February 27th, 2010 at 07:53 AM.
|
| |