Page 1 of 1

Addon Mesh Crashing my map!

Posted: Fri Oct 03, 2008 6:55 pm
by elfie
For some reason when I try to attatch an addon mesh to my unit, (I followed Darth_Z's tutorial about attatching a cape by the way), it crashes my map. No errors in the error log, but when I removed it everything worked fine. Is my odf wrong? I don't know if this matters, but it is a custom backpack model that I am trying to attatch to the default Tantive IV trooper msh. here is the odf:
Hidden/Spoiler:
[GameObjectClass]
ClassParent = "rep_inf_default"

[Properties]
UnitType = "assault"

MaxHealth = 550.0

MaxSpeed = 6.0 // base forward speed
MaxStrafeSpeed = 4.5 // base right/left speed

GeometryAddon = "backpack"
AddonAttachJoint = "bone_ribcage"

WEAPONSECTION = 1
WeaponName = "rvs_weap_inf_heavyrifle"
WeaponAmmo = 5

WEAPONSECTION = 2
WeaponName = "waz_rep_weap_fordo"
WeaponAmmo = 0

WEAPONSECTION = 3
WeaponName = "rep_weap_inf_thermaldetonator"
WeaponAmmo = 2
WeaponChannel = 1

WEAPONSECTION = 4
WeaponName = "rep_weap_inf_mine_dispenser"
WeaponAmmo = 3
WeaponChannel = 1

WEAPONSECTION = 5
WeaponName = "rep_weap_award_pistol"
WeaponAmmo = 6

WEAPONSECTION = 6
WeaponName = "rep_weap_award_rocket_launcher"
WeaponAmmo = 4

VOUnitType = 121
I appreciate any help. :D

Re: Addon Mesh Crashing my map!

Posted: Fri Oct 03, 2008 7:02 pm
by Aman/Pinguin

Code: Select all

AnimatedAddon = "BACKPACKTHINGY"
GeometryAddon = "backpack"
AddonAttachJoint = "bone_ribcage"
You forgot the AnimatedAddon line. It doesn't matter what you name that one btw.

Re: Addon Mesh Crashing my map!

Posted: Fri Oct 03, 2008 7:04 pm
by elfie
Oh, thanks! I thought I was missing something. Let me go try it now.