Page 1 of 1

Giving a unit a lightsaber [Solved]

Posted: Sun Aug 28, 2011 12:08 am
by ARCTroopaNate
I tried to give my Imperial Riot Trooper Darth Maul's lightsaber and I put the lightsaber in my side folder, referenced it in my units odfs and put the combos in the munged folders. My game will fully load then crash in a second before you can select a team. I know this weapon is the reason why my game crashed because it was one of 2 changes I made and the other was tested and works. The weird thing is that I'm not getting in Severity 3 errors. I checked my entire error log and found none. I'm not sure what I'm missing because this is the first time I tried to give a unit a melee weapon. Any help would be greatly, greatly appreciated.

My units 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

WEAPONSECTION = 1
WeaponName = "cis_weap_doublesaber"
WeaponAmmo = 0

VOUnitType = 121

Re: Giving a unit a lightsaber

Posted: Sun Aug 28, 2011 12:17 am
by CressAlbane
Correct me if I'm wrong, but unless you've edited rep_inf_default, this trooper has no geometry! It'll need to use DarthMaul's animation set, as well. Look in Darth Maul's odf for the name of the animation.
EDIT:
combos in the munged folder
The combos go in the odf folder, but the animations (zaabin/zafbin) go in the munged folder.

Re: Giving a unit a lightsaber

Posted: Sun Aug 28, 2011 12:41 am
by ARCTroopaNate
It Worked!!!!!!!!!! Thank you. :D