Jump to content
Sign in to follow this  
adamstrange

Loaded APC Drop & Resizing?

Recommended Posts

How can I get APC drops with the troops already in the APC"s ?

 

How do I resize a unit?

Edited by adamstrange

Share this post


Link to post

If you are creating a TW mod you can just use this example for an APC that starts out with a Missile Squad.

<?xml version="1.0" encoding="utf-8"?>
<AssetDeclaration xmlns="uri:ea.com:eala:asset" xmlns:xai="uri:ea.com:eala:asset:instance">
	<Includes>
		<Include type="instance" source="DATA:GDI/Units/GDIAPC.xml" />
	</Includes>
	<GameObject
		id="GDIAPC_Drop"
		inheritFrom="GDIAPC">
		<Behaviors>
			<HordeTransportContain
				id="ModuleTag_Contain"
				xai:joinAction="Overwrite">
				<InitialPayload
					Name="GDIMissileSoldierSquad"
					Count="1" />
			</HordeTransportContain>
		</Behaviors>
	</GameObject>
</AssetDeclaration>

As you can see you have to create a new version of the unit and modify the Contain to include the initial payload. (If the Contain doesn't work as expected please copy the missing variables from the original xml file, or try "Replace" as joinAction.)

 

If you create a mod with WrathEd you have to extract the whole unit as usual as WE as of yet doesn't support inheritance. Then just add the InitialPayload as in the example.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×