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
Reaven
Recruit Womprat Killer
Posts: 9 Joined: Tue Jan 13, 2009 9:52 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Germany
Contact:
Post
by Reaven » Sat Jan 17, 2009 12:55 pm
i wanna add commander codey to my mod.
i placed the files where they should be.
the problem is:
when i click the name on the unit selection it crashes.
log file:
Code: Select all
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\EntitySoldier.cpp(11385)
EntitySoldierClass::Build 'rep_inf_default_cody' with no high res geometry!
Message Severity: 2
C:\Battlefront2\main\Battlefront2\Source\EntitySoldier.cpp(11386)
EntitySoldierClass::Build 'rep_inf_default_cody' with no low res geometry!
help would be great.
DarthD.U.C.K.
Master of the Force
Posts: 6027 Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany
Post
by DarthD.U.C.K. » Sat Jan 17, 2009 1:04 pm
can you post codys odf?
Fiodis
Master of the Force
Posts: 4145 Joined: Wed Nov 12, 2008 9:27 pm
Projects :: Rannoch + Tientia + Tools Programming
Post
by Fiodis » Sat Jan 17, 2009 1:05 pm
It's telling you exactly what's missing. Go into your unit's odf and look for the GeometryName lines. They're missing a geometry.
Reaven
Recruit Womprat Killer
Posts: 9 Joined: Tue Jan 13, 2009 9:52 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Germany
Contact:
Post
by Reaven » Sat Jan 17, 2009 2:35 pm
there isn´t a geometry missing i beleve.....maybe you see my mistake in the odf:
Code: Select all
[GameObjectClass]
ClassParent = "rep_inf_default"
[Properties]
UnitType = "Trooper"
PointsToUnlock = 6
MaxHealth = 800.0
AISizeType = "HOVER"
ControlSpeed = "jet 1.50 1.25 1.25"
JetJump = "30.0" //7 //The initial jump-push given when enabling the jet
JetPush = "50.0" //The constant push given while the jet is enabled (20 is gravity)
JetAcceleration = "60.0" //Acceleration while hovering.
JetEffect = "jetpack_single_cody"
JetType = "hover"
JetFuelRechargeRate = "0.20" //Additional fuel per second (fuel is 0 to 1)
JetFuelCost = "0.1" //Cost per second when hovering (only used for jet-hovers)(fuel is 0 to 1)
JetFuelInitialCost = "0.1" //initial cost when jet jumping(fuel is 0 to 1)
JetFuelMinBorder = "0.1" //minimum fuel to perform a jet jump(fuel is 0 to 1)
WEAPONSECTION = 1
WeaponName = "rep_weap_inf_rifle"
WeaponAmmo = 6
WEAPONSECTION = 2
WeaponName = "rep_weap_inf_pistol"
WeaponAmmo = 0
WEAPONSECTION = 3
WeaponName = "rep_weap_inf_electrobinoculars"
WeaponAmmo = 0
WEAPONSECTION = 4
WeaponName = "rep_weap_inf_thermaldetonator"
WeaponAmmo = 2
WeaponChannel = 1
WEAPONSECTION = 5
WeaponName = "rep_weap_inf_crackgrenade"
WeaponAmmo = 2
WeaponChannel = 1
VOUnitType = 121
CollisionScale = "0.0 0.0 0.0"
EngineSound = "rep_inf_Jetpack_engine_parameterized"
TurnOnSound = "rep_weap_jetpack_turnon"
TurnOffSound = "rep_weap_jetpack_turnoff"
TurnOffTime = 0.0
DarthD.U.C.K.
Master of the Force
Posts: 6027 Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany
Post
by DarthD.U.C.K. » Sat Jan 17, 2009 2:55 pm
fiodis is right, the odf doesnt have any geometry line
under gameobjectclass add:
and under properties:
(you ofcourse have to replace the xxx with codys meshname
Reaven
Recruit Womprat Killer
Posts: 9 Joined: Tue Jan 13, 2009 9:52 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Germany
Contact:
Post
by Reaven » Sat Jan 17, 2009 4:41 pm
thaks, it workes fine