Wookie Jedi crashs the game when I select him [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
Executer94
Major
Major
Posts: 504
Joined: Fri May 01, 2009 7:45 am
Location: Chalmuns Cantina

Wookie Jedi crashs the game when I select him [Solved]

Post by Executer94 »

I modded the odf of a wookie and gave him a lightsaber and the animation of Darth Maul.
The game crashs when I select the wookie.

My really bad messages are these:
Hidden/Spoiler:
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(1881)
Can't find soldier animation wookie_sabre_stand_attack2c(_upper)


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\MountedTurret.cpp(1641)
Mounted turret "tur_bldg_LMB TURRET1" node "turret_y" not found
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: Wookie Jedi crashs the game when I select him

Post by DarthD.U.C.K. »

it seems like you mixed anims/combos for the wookie and hes missing an anim...
the second error is related to the turret missing a turretbasenode (like i just posted in the other thread :P)
Executer94
Major
Major
Posts: 504
Joined: Fri May 01, 2009 7:45 am
Location: Chalmuns Cantina

Re: Wookie Jedi crashs the game when I select him

Post by Executer94 »

I didnt change anything than the wookie odf

Maybe I should show it:
Hidden/Spoiler:
[GameObjectClass]
ClassParent = "wok_inf_default_wookie"
GeometryName = "wok_inf_wookiewarrior.msh"

[Properties]
//ClothODF = "wok_inf_wookiewarrior_dreads1"
//ClothODF = "wok_inf_wookiewarrior_dreads2"
//ClothODF = "wok_inf_wookiewarrior_dreads3"
//ClothODF = "wok_inf_wookiewarrior_dreads4"

// the cool bit - Mike Z
AnimatedAddon = "DREADS"
GeometryAddon = "wok_inf_wookiedreads"
AddonAttachJoint = "bone_head"
NumTentacles = "4"
BonesPerTentacle = "5"
TentacleCollType = "1"

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

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


AnimationName = "maul"

UnitType = "trooper"

GeometryName = "wok_inf_wookiewarrior"
GeometryLowRes = "wok_inf_wookiewarrior_low1"
FirstPerson = "all\allwook;all_1st_wookie"
SkeletonName = "wookie"
SkeletonLowRes = "wookielz"

//OverrideTexture = "wookie02"
//OverrideTexture2 = "wookieface02"

MaxHealth = 900.0

WEAPONSECTION = 1
WeaponName = "cis_weap_doublesaber"
WeaponAmmo = 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: Wookie Jedi crashs the game when I select him

Post by DarthD.U.C.K. »

skeletonname and animationname are synonymous. the animset "maul" is overritten by "wookie" and therfore the anims cant be found. you have to munge a new animationset with mauls anims and the wookieskeleton or try this:

Code: Select all

AnimationName = "wookie maul"
Executer94
Major
Major
Posts: 504
Joined: Fri May 01, 2009 7:45 am
Location: Chalmuns Cantina

Re: Wookie Jedi crashs the game when I select him

Post by Executer94 »

Should I leave the SkeletonLowRes?
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: Wookie Jedi crashs the game when I select him

Post by DarthD.U.C.K. »

yes
Executer94
Major
Major
Posts: 504
Joined: Fri May 01, 2009 7:45 am
Location: Chalmuns Cantina

Re: Wookie Jedi crashs the game when I select him

Post by Executer94 »

It works! Thanks a lot!
Post Reply