Addon Mesh Crashing my map!

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
User avatar
elfie
Field Commander
Field Commander
Posts: 931
Joined: Fri Jan 25, 2008 8:26 pm
Games I'm Playing :: no games
xbox live or psn: no live
Location: Coruscant, Jedi Temple
Contact:

Addon Mesh Crashing my map!

Post 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
Aman/Pinguin
Jedi
Jedi
Posts: 1104
Joined: Tue Jan 30, 2007 6:04 am
Projects :: Inactive
Location: Germany

Re: Addon Mesh Crashing my map!

Post 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.
Last edited by Aman/Pinguin on Fri Oct 03, 2008 7:04 pm, edited 1 time in total.
User avatar
elfie
Field Commander
Field Commander
Posts: 931
Joined: Fri Jan 25, 2008 8:26 pm
Games I'm Playing :: no games
xbox live or psn: no live
Location: Coruscant, Jedi Temple
Contact:

Re: Addon Mesh Crashing my map!

Post by elfie »

Oh, thanks! I thought I was missing something. Let me go try it now.
Post Reply