Jump to content

Mini-tutorial for adding a fighter bay hardpoint to the NebulonB


Recommended Posts

Okay so this was requested and after a little fiddling I've managed to get the Nebulon B to have its own fighter bay. Now I dont' think I missed anything out so if I did it would be appreciated if the details could be filled in, but here a baby tutorial on my method:

 

Add this to Hardpoints.xml

 

 

 

      HARD_POINT_FIGHTER_BAY

      Yes

      Yes

      HP_F-L_BONE           

      HP_F-L_COLL

      TEXT_FIGHTER_BAY_HARDPOINT

      100.0

      Large_Explosion_Space_Empire  

      Unit_Hardpoint_Bay_Death

 

 

and above this line:

 

 

Information: changed attachement_Bone and Collision_Mesh to HP_F-L_BONE and HP_F-L_COLL which is also the location of the front laser point on the NebulonB (taken from the weapon hardpoint further up the file).

 

-----------------------------------------------------------------------------------------------------------------------------

 

Now add the following lines to Spaceunitsfrigates.xml:

 

Under line:

 

8

 

place this:

 

A_Wing_Squadron, 2

5

      A_Wing_Squadron, 2

 

Information: This will give the ship two squadrons of Awings (although you should be able to change it to any of the fighters with the correct line).

 

-----------------------------------------------------------------------------------------------------------------------------

 

In the line with in it add in SPAWN_SQUADRON so it looks like:

 

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

 

Information: This, AFAIK forces the ship to create fighters.

 

Under add HP_NebulonB_Fighter_Bay to the line so the game recognises the hardpoint is needed.

 

-----------------------------------------------------------------------------------------------------------------------------

 

If thats everything you should find that you'll need to zoom in a bit to check. The ship should have two hardpoints at its front left point. I'm not sure what'll happen if one is destroyed. Presumably both will be but then I don't think theres any seperate spawn location for the nebulonB. Conclusion - Until the tools are released this might be the only work around!!

Link to comment
Share on other sites

An update. Okay so all went well up the the point of the hangar hardpoint being destroyed. In short at the moment it can't be which makes the ship indestructable (not being to blow up the hardpoint is problematic so some more experimentation is required).
Link to comment
Share on other sites

I got around that by changing one of the laser hardpoints into a hanger bay so now it works perfectly, however, the ship is obveiously weaker in terms of firepower. Still a few Awings more than make up for that I think.
Link to comment
Share on other sites

While it is a good idea to address this again, it would help if people looked in the tools an tutorials topic before they post questions to this stuff.

 

Nice tutorial, by the way.

http://i12.photobucket.com/albums/a245/loverdog/pffuserbar1.jpg

http://i74.photobucket.com/albums/i276/At-At_controller/leetspeak4cz1jr.gif

 

Link to comment
Share on other sites

You did do a good job on this tutorial. There is nothing to be sorry about I'm the same way ;D

"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

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...