Jump to content

Tutorial: Making Ships spawn fighters


Recommended Posts

This tutorial will show you how to make a ship spawn fighters. To demonstrate this I will use the Nebulon-B Frigate. 

I goofed up on one of the lines of code so I've fixed it

 

* First open SPACEUNITSFRIGATES.XML

 

* Next find Nebulon_B_Frigate (It should be right on top)

 

*Now add this code to it:

 

Put SPAWN_SQUADRON in the SpaceBehavior tag (example):

 

ABILITY_COUNTDOWN, SIMPLE_SPACE_LOCOMOTOR, TARGETING, REVEAL, HIDE_WHEN_FOGGED, UNIT_AI, ASTEROID_FIELD_DAMAGE, DAMAGE_TRACKING, ION_STUN_EFFECT, NEBULA, SPAWN_SQUADRON

 

* Next add this code to it:

 

 

        Rebel_X-Wing_Squadron, 1

        A_Wing_Squadron, 1

        Y_Wing_Squadron, 1

        2

        Rebel_X-Wing_Squadron, 6

        A_Wing_Squadron, 6

        Y-Wing_Squadron, 6

 

* Finally add this code to it as well:

 

Put the HP_Nebulon_Fighter_Bay in the HardPoints tag (example):

 

HP_Nebulon_Weapon_FL, HP_Nebulon_Weapon_FR, HP_Nebulon_Weapon_BL, HP_Nebulon_Weapon_BR, HP_Nebulon_Engines, HP_Nebulon_Fighter_Bay

 

Now open the HARDPOINTS.XML

 

* Find HP_Nebulon_Engines and then paste this under it:

 

This is an invisable hardpoint it's not targetable and is destroyed when the unit is destoyed:

I've attached the Hanger to the engine bone (in blue text)

 

"

    HARD_POINT_FIGHTER_BAY

    No

      No

     

      RV_nebulonb_HP00_E.alo

      HP_E_BONE

      HP_E_COLL

   

 

Now your done! You can use this on any other frigate and capital ship just make sure you label everything appropriately.

Edited by rebel5555

"With all my devotion to the Union and the feeling of loyalty and duty of an American citizen, I have not been able to make up my mind to raise my hand against my relatives, my children, my home. I have therefore resigned my commission in the Army, and save in defense of my native State, with the sincere hope that my poor services may never be needed, I hope I may never be called on to draw my sword....."

Robert E. Lee

http://img141.imageshack.us/img141/9910/ak47cat1502op0sa.gif

Link to comment
Share on other sites

If the past has taught us anything (like with pop caps), someone else will ask this question again once its halfway down the front page...

http://i61.photobucket.com/albums/h65/NightshadowDragon/RyuuKageSIG.jpg

 

http://i61.photobucket.com/albums/h65/NightshadowDragon/AoSW-JCW_Banner.jpg

Link to comment
Share on other sites

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
 Share

Copyright (c) 1999-2022 by SWRebellion Community - All logos and trademarks in this site are property of their respective owner. The comments are property of their posters. Star Wars(TM) is a registered trademark of LucasFilm, Ltd. We are not affiliated with LucasFilm or Walt Disney. This is a fan site and online gaming community (non-profit). Powered by Invision Community

×
×
  • Create New...