codey log error

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
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:

codey log error

Post by Reaven »

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.
User avatar
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

Re: codey log error

Post by DarthD.U.C.K. »

can you post codys odf?
User avatar
Fiodis
Master of the Force
Master of the Force
Posts: 4145
Joined: Wed Nov 12, 2008 9:27 pm
Projects :: Rannoch + Tientia + Tools Programming

Re: codey log error

Post by Fiodis »

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.
User avatar
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:

Re: codey log error

Post by Reaven »

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
User avatar
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

Re: codey log error

Post by DarthD.U.C.K. »

fiodis is right, the odf doesnt have any geometry line

under gameobjectclass add:

Code: Select all

GeometryName    =   "xxx.msh"
and under properties:

Code: Select all

GeometryName   =   "xxx"
(you ofcourse have to replace the xxx with codys meshname
User avatar
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:

Re: codey log error

Post by Reaven »

thaks, it workes fine :D
Post Reply