Starblazer destructible parts
-
Hi all,
I reactivated the Starblazer for my mod. Nothing unusual with that as its been done by loads of people. So i thought i’d add in the destructible parts code in the shiparch entry for the blazer. Mine looks like this,
**[CollisionGroup]
obj = port_wing_lod1
separable = true
parent_impulse = 120
child_impulse = 60
debris_type = debris_small_ship
separation_explosion = explosion_small_ship_breakoff
mass = 5
dmg_hp = DpPort_Wing
dmg_obj = cv_dmg_port_wing01_cap
type = Port_Wing
hit_pts = 150
root_health_proxy = true[CollisionGroup]
obj = star_wing_lod1
separable = true
parent_impulse = 120
child_impulse = 60
debris_type = debris_small_ship
separation_explosion = explosion_small_ship_breakoff
mass = 5
type = Starboard_Wing
dmg_hp = DpStarboard_Wing
dmg_obj = cv_dmg_starboard_wing01_cap
hit_pts = 150
root_health_proxy = true[CollisionGroup]
obj = mid_wing_lod1
separable = true
parent_impulse = 120
child_impulse = 60
debris_type = debris_small_ship
separation_explosion = explosion_small_ship_breakoff
mass = 5
type = Middle_Wing
dmg_hp = DpMid_wing
dmg_obj = cv_dmg_mid_wing_cap
hit_pts = 150
root_health_proxy = true[CollisionGroup]
obj = lwr_wing_lod1
separable = true
parent_impulse = 120
child_impulse = 60
debris_type = debris_small_ship
separation_explosion = explosion_small_ship_breakoff
mass = 5
type = Lower_Wing
dmg_hp = DpLwr_wing
dmg_obj = cv_dmg_lwr_wing_cap
hit_pts = 150
root_health_proxy = true**This is taken from the Startracker code as all the civilian ships share the same destructible parts, and i also added in the lower wing destructible section (think its right). One other fix was the addition of this line
separable = true
for the mid wing section of the Startracker which for some reason was omitted from the original code. This basically means that section of the ship now falls off.
Anyway, back to my main point, why aren’t the Starblazer bits falling off? That code i posted should work and it’s not lol. Driving me bananas, anyone got this working or enlighten me on where i’m screwing up please?
-
The problem is that the 'blazer has different internal names to the “coffin” & 'tracker, so their [CollisionGroup] won’t work for the 'blazer.
You need to change the “obj =” lines to match the 'blazers names.
port_wing_lod1 to port wing_lod1
star_wing_lod1 to star wing_lod1
mid_wing_lod1 to mid wing_lod1
lwr_wing_lod1 to lwr wing_lod1They have a space instead of an “_”
-
Yes, that was it, forgot to add that section, all working as it should. Cheers again lol. Posted some piccies just so you can clearly see all the damage to all four destructible parts
http://i5.photobucket.com/albums/y155/Wargibbon/General stuff/Starblazerleftside.jpg
http://i5.photobucket.com/albums/y155/Wargibbon/General stuff/Starblazerrightside.jpgFor those that have no clue what Bejay was on about, i needed to add this section into shiparch
[Simple]
nickname = cv_dmg_lwr_wing_cap
DA_archetype = Ships\civilian\cv_starflier\cv_dmg_lwr_wing.3db
material_library = ships\civilian\cv_ships.mat
mass = 5.000000
LODranges = 0, 100, 1500That section goes where the Starflier model is defined in shiparch, you will see the other entries for the destructible parts there, just bolt my code onto the end of it as all the civilian ship entries for the Starflier, Startracker and Starblazer are all in one place