FileFront Forums

FileFront Forums (http://forums.filefront.com/)
-   SW:EaW Modding, Mapping and Editing (http://forums.filefront.com/sw-eaw-modding-mapping-editing-1099/)
-   -   [Help] Unit building (http://forums.filefront.com/sw-eaw-modding-mapping-editing/418911-unit-building.html)

RKDG7th February 27th, 2010 07:10 AM

Unit building
 
By "Unit building" i mean how do i make units traineble from other structures? like:infantry from a light vehicle factory, infiltrators from Imperial Officer Academy or what i would like is to create AT-AT's, AT-AA's, Speeders and T4-B's from barrackes :)

Sith of Steel February 27th, 2010 07:52 AM

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)

RKDG7th February 27th, 2010 08:39 AM

Re: Unit building
 
but what xml contains the units data? update:oh wait i see know sorry and thank you

Sith of Steel February 27th, 2010 11:04 PM

Re: Unit building
 
Alright, you're welcome, no worries :)


All times are GMT -7.

Powered by vBulletin®
Copyright ©2000 - 2016, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.