Darth Vader on republic side [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
DrDrSheldonLeeCooper
Chief Warrant Officer
Chief Warrant Officer
Posts: 353
Joined: Sat Apr 26, 2014 1:50 pm
Projects :: Times before Empire
Games I'm Playing :: SWBF2-BF-Skyrim
xbox live or psn: No gamertag set
Location: Coruscant City [Germany]

Darth Vader on republic side [Solved]

Post by DrDrSheldonLeeCooper »

Hello,I tried to add Darth Vader for Deathstar to republic side,but he is walking so odd.
Hidden/Spoiler:
Image
can smb help?
razac920
2nd Lieutenant
2nd Lieutenant
Posts: 365
Joined: Sun Jan 16, 2011 12:42 am

Re: Darth Vader on republic side

Post by razac920 »

It seems like you messed up the weapon/animation/skeleton. Please post the vader .odf you are using (I'm assuming this is a custom side, right?)
DrDrSheldonLeeCooper
Chief Warrant Officer
Chief Warrant Officer
Posts: 353
Joined: Sat Apr 26, 2014 1:50 pm
Projects :: Times before Empire
Games I'm Playing :: SWBF2-BF-Skyrim
xbox live or psn: No gamertag set
Location: Coruscant City [Germany]

Re: Darth Vader on republic side

Post by DrDrSheldonLeeCooper »

Hidden/Spoiler:
[GameObjectClass]
ClassParent = "com_jedi_default"
GeometryName = "imp_inf_darthvader.msh"

[Properties]
AISizeType = "HOVER"

GeometryName = "imp_inf_darthvader"
GeometryLowRes = "imp_inf_darthvader_low1"
ClothODF = "imp_inf_darthvader_cape"
SkeletonName = "vader"
SkeletonLowRes = "vaderlz"
SkeletonRootScale = "1.25"

UseDirectionalJumps = "0"

MaxHealth = 1800.0

MaxSpeed = 6.5 // base forward speed
MaxStrafeSpeed = 6.5 // base right/left speed
MaxTurnSpeed = 3.0 // base turn speed
JumpHeight = 3.5 // base jump height in meters
JumpForwardSpeedFactor = 1.3 // boost forward part of velocity by this factor when jumping
JumpStrafeSpeedFactor = 1.0 // boost side/backward part of velocity by this factor when jumping
RollSpeedFactor = 1.7 // in forward arc, boost speed by this factor when rolling
Acceleration = 90.0 // accelerate to full run in about 7/70 = 0.1 seconds
JetAcceleration = 20.0 // for characters with jet jump, use this acceleration for in air control
SprintAccelerateTime = 0.05 // accelerate from run to sprint in this time
EnergyDrainSprint = 40.0 // energy spent per second of sprinting
ControlSpeed = "sprint 5.00 0.50 0.50"

JetJump = "7.0" //The initial jump-push given when enabling the jet
JetPush = "7.0" //The constant push given while the jet is enabled (20 is gravity)
JetEffect = ""
JetType = "hover"
// Vader used JetFuel to control how long he can hover, even though it's not visible in the HUD
JetFuelRechargeRate = "0.9" //Additional fuel per second (fuel is 0 to 1)
JetFuelCost = "0.3" //Cost per second when hovering (only used for jet-hovers)(fuel is 0 to 1)
JetFuelInitialCost = "0.25" //4initial cost when jet jumping(fuel is 0 to 1)
JetFuelMinBorder = "1.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"

WEAPONSECTION = 1
WeaponName1 = "imp_weap_lightsaber"
WeaponAmmo1 = 0

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

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

CAMERASECTION = "STAND"

EyePointOffset = "0.0 1.8 0.0"
TrackCenter = "0.0 1.8 0.0
TrackOffset = "0.0 0.0 6.0"
TiltValue = "10.0"

CAMERASECTION = "STANDZOOM"

EyePointOffset = "0.0 1.8 0.0"
TrackCenter = "0.0 1.8 0.0
TrackOffset = "0.4 0.05 2.8"
TiltValue = "3.5"

CAMERASECTION = "CROUCH"

EyePointOffset = "0.0 1.3 0.0"
TrackCenter = "0.0 1.3 0.0
TrackOffset = "0.0 0.15 3.5"
TiltValue = "5.0"

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"

//SOUND
VOUnitType = 191
SoldierMusic = "imp_hero_Vader_lp"
//HurtSound = "imp_inf_com_chatter_wound"
//DeathSound = "imp_inf_com_chatter_death"
AcquiredTargetSound = ""
HidingSound = ""
ApproachingTargetSound = ""
FleeSound = ""
PreparingForDamageSound = ""
HeardEnemySound = ""
ShockFadeOutTime = ""
ShockFadeInTime = ""
ShockFadeOutGain = ""
ShockSound = ""
ClothingRustleSound = ""
LowHealthSound = "imp_inf_vo_darth_breath"
LowHealthThreshold = "1.0"
AmbientSound = ""
FoleyFXClass = "imp_inf_soldier"
SndHeroSelectable = ""
SndHeroSpawned = "hero_vader_spawn"
SndHeroDefeated = "hero_vader_exhausted"
SndHeroKiller = "hero_vader_exhausted"

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

VOSound = "hero_vader_AcquiredTarget AcquiredTarget"
VOSound = "hero_vader_KillingSpree4 KillingSpree4"
I copied DarthVader ODF,Mesh,Combo,lightsabre and imp_inf_darthvader (the original is imp_hero_darthvader)

Yes,it´s a custom side
razac920
2nd Lieutenant
2nd Lieutenant
Posts: 365
Joined: Sun Jan 16, 2011 12:42 am

Re: Darth Vader on republic side

Post by razac920 »

You need to copy vader.anims, vader.zaabin, vader.zafbin, vaderlz.zafbin into your "munged" folder of your custom side as well.
DrDrSheldonLeeCooper
Chief Warrant Officer
Chief Warrant Officer
Posts: 353
Joined: Sat Apr 26, 2014 1:50 pm
Projects :: Times before Empire
Games I'm Playing :: SWBF2-BF-Skyrim
xbox live or psn: No gamertag set
Location: Coruscant City [Germany]

Re: Darth Vader on republic side

Post by DrDrSheldonLeeCooper »

C:\BF2_ModTools\data_MEL\Sides\rep\munged

here?
razac920
2nd Lieutenant
2nd Lieutenant
Posts: 365
Joined: Sun Jan 16, 2011 12:42 am

Re: Darth Vader on republic side

Post by razac920 »

Yep.
DrDrSheldonLeeCooper
Chief Warrant Officer
Chief Warrant Officer
Posts: 353
Joined: Sat Apr 26, 2014 1:50 pm
Projects :: Times before Empire
Games I'm Playing :: SWBF2-BF-Skyrim
xbox live or psn: No gamertag set
Location: Coruscant City [Germany]

Re: Darth Vader on republic side

Post by DrDrSheldonLeeCooper »

Thank you it works now. :)
But how can I make that it plays the Darth Vader music like in gcw?
thelegend
Sith
Sith
Posts: 1433
Joined: Thu Jan 23, 2014 6:01 am
Projects :: Star Wars - Battlefront III Legacy
Games I'm Playing :: Swbf GTA CoD LoL KH
xbox live or psn: El_Fabricio#
Location: Right behind you :)

Re: Darth Vader on republic side

Post by thelegend »

I have never done something like that before but I guess it works with the same method like adding shipped missing sounds. You may need to use other sound files. But I don't know which files exactly.
DrDrSheldonLeeCooper
Chief Warrant Officer
Chief Warrant Officer
Posts: 353
Joined: Sat Apr 26, 2014 1:50 pm
Projects :: Times before Empire
Games I'm Playing :: SWBF2-BF-Skyrim
xbox live or psn: No gamertag set
Location: Coruscant City [Germany]

Re: Darth Vader on republic side

Post by DrDrSheldonLeeCooper »

Okay thank you :)
Post Reply