View Single Post
Old 07-09-2007, 02:31 PM   #45
chrisbolling2
Lurker
 
chrisbolling2's Avatar
 
Join Date: Jul 2007
Posts: 2
Quote:
Originally Posted by Splatah King
Could you have more than one type of ship in a squadron. For Example: 3 X-Wings and 2 B-Wings by changing the code of that squadron or am I dreaming.
It can be done. Look below at this code for the Y-wing Squadron, I have the units line seperated from the rest. Just add in what ever units you want.

<Squadron Name="Y-Wing_Squadron">
<Text_ID>TEXT_Y_WING_SQUADRON</Text_ID>
<Encyclopedia_Good_Against> Star_Destroyer Victory_Destroyer Acclamator_Assault_Ship </Encyclopedia_Good_Against>
<Encyclopedia_Vulnerable_To> TIE_Fighter Tartan_Patrol_Cruiser Pirate_Fighter </Encyclopedia_Vulnerable_To>
<GUI_Row> 1 </GUI_Row>
<Is_Dummy>Yes</Is_Dummy>
<Formation_Priority>2</Formation_Priority>
<Is_Escort>Nos</Is_Escort>
<Is_Bomber>yes</Is_Bomber>
<Autoresolve_Health>200</Autoresolve_Health>
<Damage>15</Damage>
<Affiliation>Rebel</Affiliation>
<Political_Control>0</Political_Control>
<Build_Cost_Credits>210</Build_Cost_Credits>
<Build_Time_Seconds>20</Build_Time_Seconds>
<Build_Tab_Space_Units>Yes</Build_Tab_Space_Units>
<Build_Initially_Locked>Yes</Build_Initially_Locked>
<Build_Can_Be_Unlocked_By_Slicer>Yes</Build_Can_Be_Unlocked_By_Slicer>
<Slice_Cost_Credits>400</Slice_Cost_Credits>
<Tech_Level>0</Tech_Level>
<Required_Timeline />
<Required_Star_Base_Level>2</Required_Star_Base_Level>
<Required_Special_Structures />
<Behavior>DUMMY_SPACE_FIGHTER_SQUADRON</Behavior>

<Squadron_Units>Y-Wing, Y-Wing, Y-Wing</Squadron_Units>

<Squadron_Offsets>60.0,0.0,0.0</Squadron_Offsets>
<Squadron_Offsets>0.0,30.0,0.0</Squadron_Offsets>
<Squadron_Offsets>0.0,-30.0,0.0</Squadron_Offsets>
<Icon_Name>i_button_y_wing.tga</Icon_Name>
<GUI_Model_Name>RV_ywing.ALO</GUI_Model_Name>
<GUI_Distance>120</GUI_Distance>
<GUI_Offset>0 0 0</GUI_Offset>
<GUI_Velocity>45</GUI_Velocity>
chrisbolling2 is offline   you may: quote & reply,