Jump to content

Home

BIG bug with hangars! [ immediate help required :) ]


Athanasios

Recommended Posts

The problem i have is that when i place a hangar to Nebulon-B and Mon Calamari, the hangar is destroyed but the hardpoint on which the hangar is attached will not be destroyed!

 

I copy below the code from Hardpoints.xml for Nebulon-B (same for rest):

====================

 

<HardPoint Name="HP_Nebulon_Engines">

<Type> HARD_POINT_ENGINE </Type>

<Is_Targetable>Yes</Is_Targetable>

<Is_Destroyable>Yes</Is_Destroyable>

<Tooltip_Text>TEXT_ENGINE_HARDPOINT</Tooltip_Text>

<Health>800.0</Health>

<Model_To_Attach>RV_nebulonb_HP00_E.alo</Model_To_Attach>

<Attachment_Bone>HP_E_BONE</Attachment_Bone> <!-- This is an attachment bone for the HUD reticle centering, even though no model is attached -->

<Collision_Mesh>HP_E_COLL</Collision_Mesh>

<Damage_Decal />

<Damage_Particles>HP_E_EMITDAMAGE</Damage_Particles>

<Engine_Particles>HP_E_MAINENGINES</Engine_Particles>

<Death_Explosion_Particles> Large_Explosion_Space </Death_Explosion_Particles>

<Death_Explosion_SFXEvent>Unit_Hardpoint_Engines_Death</Death_Explosion_SFXEvent>

</HardPoint>

 

<HardPoint Name="HP_Nebulon_Fighter_Bay">

<Type> HARD_POINT_FIGHTER_BAY </Type>

<Is_Targetable>Yes</Is_Targetable>

<Is_Destroyable>Yes</Is_Destroyable>

<Model_To_Attach>RV_nebulonb_HP00_E.alo</Model_To_Attach>

<Attachment_Bone>HP_E_BONE</Attachment_Bone> <!-- This is an attachment bone for the HUD reticle centering, even though no model is attached -->

<Collision_Mesh>HP_E_COLL</Collision_Mesh>

<Tooltip_Text>TEXT_FIGHTER_BAY_HARDPOINT</Tooltip_Text>

<Health>300.0</Health>

<Death_Explosion_Particles> Large_Explosion_Space </Death_Explosion_Particles> <!-- STUBBED PLACEHOLDER -->

<Death_Explosion_SFXEvent>Unit_Hardpoint_Bay_Death</Death_Explosion_SFXEvent> <!-- STUBBED PLACEHOLDER -->

<Fighter_Bay_Flyout_Distance>400.0</Fighter_Bay_Flyout_Distance>

<Damage_Decal/>

<Damage_Particles>HP_E_EMITDAMAGE</Damage_Particles>

<Engine_Particles>HP_E_MAINENGINES</Engine_Particles>

</HardPoint>

 

====================

 

Also, what value you set for X-Wing spawning? I've set X-Wing_Squadron and X_Wing_Squadron and none worked...

Link to comment
Share on other sites

Thanx mate, removed targetabliity and destroyability from hangars and ships get destroyed as they should be.

 

And now, i can release the mod i was talking about :)

 

[edit] Well, the X-Wings deny to spawn whatever name you give in the relevant tag :) ... i might replace them with A-Wings, but i'd rather have x-wings...

Link to comment
Share on other sites

If you're unsure... just check the "SpaceUnitsFighters.xml".

 

As for the hardpoint... it seems you cannot place two destructable hardpoints on one attachment bone. So make the hangar (or the engine) untargetable and undestroyable and it should work.

Link to comment
Share on other sites

If you're unsure... just check the "SpaceUnitsFighters.xml".

 

As for the hardpoint... it seems you cannot place two destructable hardpoints on one attachment bone. So make the hangar (or the engine) untargetable and undestroyable and it should work.

 

...I just said that...

Anyway, it would be squadrons.xml, not spaceunitsfighters.xml. You don't just spawn one ship, you spawn the squadron.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...