Problems with Yoda

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
agzilla123
First Lance Corporal
First Lance Corporal
Posts: 135
Joined: Sun Aug 03, 2008 11:20 am

Problems with Yoda

Post by agzilla123 »

Here is what the normal Yoda looks like:
Hidden/Spoiler:
Image
This, is what mine looks like:
Hidden/Spoiler:
Image
As you can see, not only is the texture not there on the bottom one, but the model appears to be missing the cloth on Yoda's bottom. You might not be able to see it form this picture, but his feet are way in the ground too.

I have a feeling that this has soemthing to do with the way I referenced the model in the .odf, seeing as I could not find something in the assets to work off of (there was no .odf file for Yoda specifying the model name or something similar)

Here is my .odf file:
Hidden/Spoiler:
[GameObjectClass]
ClassParent = "com_jedi_default"
GeometryName = "aax_inf_yoda.msh"

[Properties]
AISizeType = "HOVER"

GeometryName = "aax_inf_yoda"
GeometryLowRes = "aax_inf_yoda_low1"
SkeletonName = "yoda"
// lowrez must be different from high-rez or things go wacky wacky....
SkeletonLowRes = "yodalz"
SkeletonRootScale = "0.342974"
SkeletonRootScaleLowRes = "0.342974"
CollisionRootScale = "0.42"

NoEnterVehicles = 1

ClothODF = "aax_inf_yoda_cloth"

ControlSpeed = "sprint 3.50 0.50 0.50"

MaxSpeed = 6.0
MaxStrafeSpeed = 4.0
MaxTurnSpeed = 5.0
JumpHeight = 3.5
RecoverFromTumble = "1"

TargetPointOffsetStand = "0.0 0.5 0.0"
TargetPointOffsetCrouch = "0.0 0.3 0.0"

AnimationName = "yoda"

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 = 30.0

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

WEAPONSECTION = 1
WeaponName1 = "com_weap_inf_fusioncutter"
WeaponAmmo1 = 0

CAMERASECTION = "STAND"
EyePointOffset = "0.0 1.4 0.0"
TrackOffset = "0.0 -0.25 3.6"
TiltValue = "10"

CAMERASECTION = "STANDZOOM"
EyePointOffset = "0.0 1.4 0.0"
TrackCenter = "0.0 1.4 0.0
TrackOffset = "0.4 0.05 2.8"
TiltValue = "3.5"

CAMERASECTION = "CROUCH"
EyePointOffset = "0.0 1.4 0.0"
TrackOffset = "0.0 -0.25 3.6"
TiltValue = "10"

CAMERASECTION = "CROUCHZOOM"
EyePointOffset = "0.0 1.3 0.0"
TrackCenter = "0.0 1.3 0.0
TrackOffset = "0.4 0.2 2.8"
TiltValue = "3.5"

CAMERASECTION = "SPRINT"
EyePointOffset = "0.0 1.4 0.0"
TrackCenter = "0.0 1.4 0.0
TrackOffset = "0.0 -0.25 4.2"
TiltValue = "10.0"
CameraBlendTime = "0.5"

//SOUND
SndHeroSelectable = ""
SndHeroSpawned = "hero_yoda_spawn"
SndHeroDefeated = "hero_yoda_exhausted"
SndHeroKiller = "hero_yoda_exhausted"

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

VOSound = "hero_yoda_AcquiredTarget AcquiredTarget"
VOSound = "hero_yoda_KillingSpree4 KillingSpree4"

VOUnitType = 186
SoldierMusic = "rep_hero_Yoda_lp"
HurtSound = ""
DeathSound = ""
AcquiredTargetSound = ""
HidingSound = ""
//ApproachingTargetSound = ""
FleeSound = ""
PreparingForDamageSound = ""
HeardEnemySound = ""
ShockFadeOutTime = ""
ShockFadeInTime = ""
ShockFadeOutGain = ""
ShockSound = ""
ClothingRustleSound = ""
//LowHealthSound = "com_inf_saber_ambient"
LowHealthThreshold = "1.1"
FoleyFXClass = "npc_inf_small"
So, basically, I have two questions.

Does anyone know what I did wrong and, if you do not, would you know where the .odf file showing this for Yoda is located within the assets. (there appeared to be none)

Any help would be appreciated.
User avatar
Frisbeetarian
Jedi
Jedi
Posts: 1233
Joined: Wed Sep 12, 2007 3:13 pm

Re: Problems with Yoda

Post by Frisbeetarian »

agzilla123 wrote:seeing as I could not find something in the assets to work off of
Allow me to redirect you to assets\sides\rep\odf\rep_hero_yoda.
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: Problems with Yoda

Post by Fiodis »

I present to you rep_hero_yoda.odf, from the stock Republic side:
Hidden/Spoiler:
[GameObjectClass]
ClassParent = "com_jedi_default"
GeometryName = "rep_inf_yoda.msh"

[Properties]
AISizeType = "HOVER"

GeometryName = "rep_inf_yoda"
GeometryLowRes = "rep_inf_yoda_low1"
SkeletonName = "yoda"
// lowrez must be different from high-rez or things go wacky wacky....
SkeletonLowRes = "yodalz"
SkeletonRootScale = "0.342974"
SkeletonRootScaleLowRes = "0.342974"
CollisionRootScale = "0.42"

NoEnterVehicles = 1

ClothODF = "rep_inf_yoda_cloth"

ControlSpeed = "sprint 3.50 0.50 0.50"

MaxSpeed = 6.0
MaxStrafeSpeed = 4.0
MaxTurnSpeed = 5.0
JumpHeight = 3.5
RecoverFromTumble = "1"

TargetPointOffsetStand = "0.0 0.5 0.0"
TargetPointOffsetCrouch = "0.0 0.3 0.0"


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 = 30.0

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

WEAPONSECTION = 1
WeaponName1 = "rep_weap_lightsaber_yoda"
WeaponAmmo1 = 0

WEAPONSECTION = 2
WeaponName2 = "com_weap_inf_force_pull"
WeaponAmmo2 = 0
WeaponChannel2 = 1

WEAPONSECTION = 3
WeaponName3 = "com_weap_inf_force_push"
WeaponAmmo3 = 0
WeaponChannel3 = 1

CAMERASECTION = "STAND"
EyePointOffset = "0.0 1.4 0.0"
TrackOffset = "0.0 -0.25 3.6"
TiltValue = "10"

CAMERASECTION = "STANDZOOM"
EyePointOffset = "0.0 1.4 0.0"
TrackCenter = "0.0 1.4 0.0
TrackOffset = "0.4 0.05 2.8"
TiltValue = "3.5"

CAMERASECTION = "CROUCH"
EyePointOffset = "0.0 1.4 0.0"
TrackOffset = "0.0 -0.25 3.6"
TiltValue = "10"

CAMERASECTION = "CROUCHZOOM"
EyePointOffset = "0.0 1.3 0.0"
TrackCenter = "0.0 1.3 0.0
TrackOffset = "0.4 0.2 2.8"
TiltValue = "3.5"

CAMERASECTION = "SPRINT"
EyePointOffset = "0.0 1.4 0.0"
TrackCenter = "0.0 1.4 0.0
TrackOffset = "0.0 -0.25 4.2"
TiltValue = "10.0"
CameraBlendTime = "0.5"

//SOUND
SndHeroSelectable = ""
SndHeroSpawned = "hero_yoda_spawn"
SndHeroDefeated = "hero_yoda_exhausted"
SndHeroKiller = "hero_yoda_exhausted"

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

VOSound = "hero_yoda_AcquiredTarget AcquiredTarget"
VOSound = "hero_yoda_KillingSpree4 KillingSpree4"

VOUnitType = 186
SoldierMusic = "rep_hero_Yoda_lp"
HurtSound = ""
DeathSound = ""
AcquiredTargetSound = ""
HidingSound = ""
//ApproachingTargetSound = ""
FleeSound = ""
PreparingForDamageSound = ""
HeardEnemySound = ""
ShockFadeOutTime = ""
ShockFadeInTime = ""
ShockFadeOutGain = ""
ShockSound = ""
ClothingRustleSound = ""
//LowHealthSound = "com_inf_saber_ambient"
LowHealthThreshold = "1.1"
FoleyFXClass = "npc_inf_small"
User avatar
agzilla123
First Lance Corporal
First Lance Corporal
Posts: 135
Joined: Sun Aug 03, 2008 11:20 am

Re: Problems with Yoda

Post by agzilla123 »

I apologize about this late reply.

To Frisbeetarian: I have looked at that .odf file for Yoda before I made this thread. However, it does not seem to contain anything that usual .odf files for a characters contain. Is this necessary to have in Yoda's .odf anyway, as it seems to just contain coding for movement animations which is not really my problem.

To Fiodis: Where did you find that .odf file?

Any help would be appreciated.
User avatar
Super_Clone
High General
High General
Posts: 803
Joined: Sat Jul 12, 2008 7:58 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: Florida

Re: Problems with Yoda

Post by Super_Clone »

You might have clicked the combo file.
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: Problems with Yoda

Post by Fiodis »

Assets\sides\rep\odf.
User avatar
agzilla123
First Lance Corporal
First Lance Corporal
Posts: 135
Joined: Sun Aug 03, 2008 11:20 am

Re: Problems with Yoda

Post by agzilla123 »

It actually turns out that I did lol. :oops:

However, I still cannot find the .odf file that fiodis is talking about. It simply is not there.

Would it be possible for someone to give me this file?

Any help would be appreciated.
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: Problems with Yoda

Post by Fiodis »

agzilla123 wrote:Would it be possible for someone to give me this file?
Fiodis wrote:I present to you rep_hero_yoda.odf, from the stock Republic side:
Hidden/Spoiler:
[GameObjectClass]
ClassParent = "com_jedi_default"
GeometryName = "rep_inf_yoda.msh"

[Properties]
AISizeType = "HOVER"

GeometryName = "rep_inf_yoda"
GeometryLowRes = "rep_inf_yoda_low1"
SkeletonName = "yoda"
// lowrez must be different from high-rez or things go wacky wacky....
SkeletonLowRes = "yodalz"
SkeletonRootScale = "0.342974"
SkeletonRootScaleLowRes = "0.342974"
CollisionRootScale = "0.42"

NoEnterVehicles = 1

ClothODF = "rep_inf_yoda_cloth"

ControlSpeed = "sprint 3.50 0.50 0.50"

MaxSpeed = 6.0
MaxStrafeSpeed = 4.0
MaxTurnSpeed = 5.0
JumpHeight = 3.5
RecoverFromTumble = "1"

TargetPointOffsetStand = "0.0 0.5 0.0"
TargetPointOffsetCrouch = "0.0 0.3 0.0"


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 = 30.0

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

WEAPONSECTION = 1
WeaponName1 = "rep_weap_lightsaber_yoda"
WeaponAmmo1 = 0

WEAPONSECTION = 2
WeaponName2 = "com_weap_inf_force_pull"
WeaponAmmo2 = 0
WeaponChannel2 = 1

WEAPONSECTION = 3
WeaponName3 = "com_weap_inf_force_push"
WeaponAmmo3 = 0
WeaponChannel3 = 1

CAMERASECTION = "STAND"
EyePointOffset = "0.0 1.4 0.0"
TrackOffset = "0.0 -0.25 3.6"
TiltValue = "10"

CAMERASECTION = "STANDZOOM"
EyePointOffset = "0.0 1.4 0.0"
TrackCenter = "0.0 1.4 0.0
TrackOffset = "0.4 0.05 2.8"
TiltValue = "3.5"

CAMERASECTION = "CROUCH"
EyePointOffset = "0.0 1.4 0.0"
TrackOffset = "0.0 -0.25 3.6"
TiltValue = "10"

CAMERASECTION = "CROUCHZOOM"
EyePointOffset = "0.0 1.3 0.0"
TrackCenter = "0.0 1.3 0.0
TrackOffset = "0.4 0.2 2.8"
TiltValue = "3.5"

CAMERASECTION = "SPRINT"
EyePointOffset = "0.0 1.4 0.0"
TrackCenter = "0.0 1.4 0.0
TrackOffset = "0.0 -0.25 4.2"
TiltValue = "10.0"
CameraBlendTime = "0.5"

//SOUND
SndHeroSelectable = ""
SndHeroSpawned = "hero_yoda_spawn"
SndHeroDefeated = "hero_yoda_exhausted"
SndHeroKiller = "hero_yoda_exhausted"

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

VOSound = "hero_yoda_AcquiredTarget AcquiredTarget"
VOSound = "hero_yoda_KillingSpree4 KillingSpree4"

VOUnitType = 186
SoldierMusic = "rep_hero_Yoda_lp"
HurtSound = ""
DeathSound = ""
AcquiredTargetSound = ""
HidingSound = ""
//ApproachingTargetSound = ""
FleeSound = ""
PreparingForDamageSound = ""
HeardEnemySound = ""
ShockFadeOutTime = ""
ShockFadeInTime = ""
ShockFadeOutGain = ""
ShockSound = ""
ClothingRustleSound = ""
//LowHealthSound = "com_inf_saber_ambient"
LowHealthThreshold = "1.1"
FoleyFXClass = "npc_inf_small"
User avatar
Frisbeetarian
Jedi
Jedi
Posts: 1233
Joined: Wed Sep 12, 2007 3:13 pm

Re: Problems with Yoda

Post by Frisbeetarian »

agzilla123 wrote:I have looked at that .odf file for Yoda before I made this thread.
agzilla123 wrote:Where did you find that .odf file?
He and I gave you the same thing.
RogueKnight
Space Ranger
Posts: 2512
Joined: Sat Nov 22, 2008 1:50 pm
Projects :: Life. Work.
Games I'm Playing :: League of Legends
xbox live or psn: No gamertag set
Location: Washington, US

Re: Problems with Yoda

Post by RogueKnight »

Frisbeetarian wrote:
agzilla123 wrote:I have looked at that .odf file for Yoda before I made this thread.
agzilla123 wrote:Where did you find that .odf file?
He and I gave you the same thing.
Super_Clone wrote:You might have clicked the combo file.
agzilla123 wrote:It actually turns out that I did lol.
Post Reply