Unit crashing [Solved]

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
Kingpin
Jedi
Jedi
Posts: 1096
Joined: Fri Sep 13, 2013 7:09 pm
Projects :: The Sith Wars II
Location: Denver, CO
Contact:

Unit crashing [Solved]

Post 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
Last edited by Kingpin on Fri Jun 27, 2014 2:56 pm, edited 1 time in total.
MileHighGuy
Jedi
Jedi
Posts: 1194
Joined: Fri Dec 19, 2008 7:58 pm

Re: Unit crashing

Post by MileHighGuy »

doesn't he already have a skirt? that might conflict with it.
User avatar
Kingpin
Jedi
Jedi
Posts: 1096
Joined: Fri Sep 13, 2013 7:09 pm
Projects :: The Sith Wars II
Location: Denver, CO
Contact:

Re: Unit crashing

Post 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
Post Reply