Page 1 of 1

Unit crashing [Solved]

Posted: Fri Jun 27, 2014 2:23 pm
by Kingpin
I've hex-edited the clone commander cape onto Darth Sidious using the tutorial below. When I munged, I had no model munge errors, and it went smoothly. I load him in my map, and I crash. No severity three errors in my log, either.

test.req
Hidden/Spoiler:
ucft
{
REQN
{
"lvl"
"sit_inf_test"
}

}
sit_inf_test.req
Hidden/Spoiler:
ucft
{
REQN
{
"class"
"sit_inf_test"
}
}
sit_inf_test.odf
Hidden/Spoiler:
[GameObjectClass]
ClassParent = "com_jedi_default"
GeometryName = "imp_inf_darthsidiouz.msh"

[Properties]
AISizeType = "hover"

ClothODF = "rep_inf_clonecommander_cape"
GeometryName = "imp_inf_darthsidiouz"
GeometryLowRes = "imp_inf_darthsidiouz"
AnimationName = "maul"

JetJump = "10.0" //The initial jump-push given when enabling the jet
JetPush = "0.0" //The constant push given while the jet is enabled (20 is gravity)
JetAcceleration = "10.0" // for characters with jet jump, use this acceleration for in air control
JetEffect = ""
JetFuelRechargeRate = "0.0" //Additional fuel per second (fuel is 0 to 1)
JetFuelCost = "0.0" //Cost per second when hovering (only used for jet-hovers)(fuel is 0 to 1)
JetFuelInitialCost = "0.0" //4initial cost when jet jumping(fuel is 0 to 1)
JetFuelMinBorder = "0.0" //minimum fuel to perform a jet jump(fuel is 0 to 1)
JetShowHud = 0
JetEnergyDrain = 40.0

CollisionScale = "0.0 0.0 0.0" // don't take damage from collisions

WEAPONSECTION1
WeaponName1 = "cis_weap_doublesaber"
WeaponAmmo1 = 0

//SOUND
SndHeroSelectable = ""
SndHeroSpawned = "hero_maul_spawn"
SndHeroDefeated = "hero_maul_exhausted"
SndHeroKiller = "hero_maul_exhausted"

VOSound = "cis_off_response_hero_command SC_Follow"
VOSound = "cis_off_response_hero_command SC_StopFollow"
VOSound = "cis_off_response_hero_command SC_VehicleWaitUp"
VOSound = "cis_off_response_hero_command SC_GetIn"
VOSound = "cis_off_response_hero_command SC_GetOut"

VOSound = "hero_maul_AcquiredTarget AcquiredTarget"
VOSound = "hero_maul_KillingSpree4 KillingSpree4"

VOUnitType = 196
SoldierMusic = "cis_hero_Maul_lp"
HurtSound = ""
DeathSound = ""
AcquiredTargetSound = ""
HidingSound = ""
ApproachingTargetSound = ""
FleeSound = ""
PreparingForDamageSound = ""
HeardEnemySound = ""
//ShockFadeOutTime = "0.8"
//ShockFadeInTime = "2.0"
ShockFadeOutGain = ""
ShockSound = ""
ClothingRustleSound = ""
//LowHealthSound = "com_inf_saber_ambient"
LowHealthThreshold = "1.1"
FoleyFXClass = "cis_inf_soldier"
If anyone wants to check my imp_inf_darthsidiouz.msh, download it here:
http://www.mediafire.com/download/8qmz8 ... idiouz.msh

Tutorial I used:
http://www.gametoast.com/viewtopic.php?p=424009#p424009

Re: Unit crashing

Posted: Fri Jun 27, 2014 2:52 pm
by MileHighGuy
doesn't he already have a skirt? that might conflict with it.

Re: Unit crashing

Posted: Fri Jun 27, 2014 2:56 pm
by Kingpin
Not if yo uare not loading the cloth's odf, it should not make a difference.

EDIT: It was a problem in the rep_inf_clonecommader_cape.odf, I was loading the wrong attached msh. Thanks