Skip to content
View in the app

A better way to browse. Learn more.

SW:Rebellion Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Ship spawning problem.

Featured Replies

Hello.

I am having trouble with some ship spawning.  It's probably something obvious that I just don't see, or maybe its a faction issue(I doubt).  So when I add a Fighter Bay in the hard points files, a Fight Bay ship point on the ship, and give the ship the ability to spawn ships, I keep getting exceptions.

 

I added this for an Underworld ship.  It's is the Aggressor or Krayt, what ever you would like to call it.

Here is the coding for the hardpoint's of the ship:

 

		<HardPoints>
		HP_KRAYT_SHIELD_GEN,
		HP_KRAYT_MEGAWEAPON_ION,
		HP_KRAYT_MEGAWEAPON_DAMAGE,
		HP_KRAYT_TURBOLASER_LEFT,
		HP_KRAYT_TURBOLASER_RIGHT,
		HP_KRAYT_TRACTOR_DUMMY,
		HP_KRAYT_ENGINES,
		HP_KRAYT_FIGHTER_BAY

	</HardPoints>

 

The Space Behavior:

 

<SpaceBehavior>ABILITY_COUNTDOWN, SIMPLE_SPACE_LOCOMOTOR, POWERED, SHIELDED, TARGETING, HIDE_WHEN_FOGGED, REVEAL, UNIT_AI, DAMAGE_TRACKING, ION_STUN_EFFECT, NEBULA, SELF_DESTRUCT, SPAWN_SQUADRON </SpaceBehavior>

 

And the Hard point for the Fighter Bay:

 

	<HardPoint Name="HP_KRAYT_FIGHTER_BAY">
	<Type> HARD_POINT_FIGHTER_BAY </Type>
	<Is_Targetable>Yes</Is_Targetable>
	<Is_Destroyable>Yes</Is_Destroyable>
	<Tooltip_Text>TEXT_ENGINE_HARDPOINT</Tooltip_Text>
	<Attachment_Bone>HP_trac_bone</Attachment_Bone>             
	<Collision_Mesh>HP_trac_bone</Collision_Mesh>
	<Health>250.0</Health>
	<Death_Explosion_Particles> Large_Explosion_Space </Death_Explosion_Particles>
	<Death_Explosion_SFXEvent>Unit_Hardpoint_Engines_Death</Death_Explosion_SFXEvent>
</HardPoint>

 

 

It just gives me exceptions...

So please help?

  • Author

Did you put in the lines to tell what to spawn, the reserves, and so on?

 

Yessir.  I have the spawning set to:

 

		<Starting_Spawned_Units_Tech_0>StarViper_Team, 1</Starting_Spawned_Units_Tech_0>
	<Spawned_Squadron_Delay_Seconds>2</Spawned_Squadron_Delay_Seconds>
	<Reserve_Spawned_Units_Tech_0>StarViper_Team, 6</Reserve_Spawned_Units_Tech_0> 
	<Starting_Spawned_Units_Tech_0>Skipray_Squadron, 1</Starting_Spawned_Units_Tech_0>
	<Spawned_Squadron_Delay_Seconds>5</Spawned_Squadron_Delay_Seconds>
	<Reserve_Spawned_Units_Tech_0>Skipray_Squadron, 6</Reserve_Spawned_Units_Tech_0> 

don't spawn StarViper_Team, its supposed to be StarViper_Squadron (or whatever) That's one problem. May fix the whole thing.

http://img.photobucket.com/albums/v423/kc1991/droid803sig.jpg

"That was fun"

Yea, only one delay needed, those lines conflict.

http://img.photobucket.com/albums/v423/kc1991/droid803sig.jpg

"That was fun"

  • Author

Well I Changed it all twice.  It still doesn't work.

Now there is only one delay line and Starviper_Team is how the XML for the star viper squad is set up.

Starviper_Team is the "container" name, containers group units together so when you select one fighter you select the whole squad. The proper spawn should be Starviper_Squadron.

 

You said you "give the ship the ability to spawn ships," does that mean you gave it the SPAWN_SQUADRON?

http://i199.photobucket.com/albums/aa197/knivesdamaster/tags/sith_omguserbar_member.jpg
  • Author

Starviper_Team is the "container" name, containers group units together so when you select one fighter you select the whole squad. The proper spawn should be Starviper_Squadron.

 

You said you "give the ship the ability to spawn ships," does that mean you gave it the SPAWN_SQUADRON?

 

OK, I'll try "Starviper_Squadron" and yes, I mean "Spawn_Squadron"

 

EDIT:

OK, it works now...

It was just a careless error.  Sorry guys.

Edited by CrossedOffName

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.