Problem with the westar-34 blaster pistols.

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
Indytotof
Chief Warrant Officer
Chief Warrant Officer
Posts: 348
Joined: Fri Jun 06, 2014 6:58 am
Projects :: SWBF2 Sides Overhaul Mod
Games I'm Playing :: Battlefront 2
xbox live or psn: No gamertag set
Location: Senlis, France

Problem with the westar-34 blaster pistols.

Post by Indytotof »

Hello modders and mappers, here is Indytotof !

I've a little problem with the westar-34 dual blaster pistols that come with the BFX assets.

They appears correctly with Jango Fett but when I used them with Cad Bane, only one appear, the second is nowhere to be found....

Here is the .odf files:
Hidden/Spoiler:
[code][GameObjectClass]
ClassParent = "com_hero_default"
GeometryName = "cis_inf_jango.msh"

[Properties]
AISizeType = "HOVER"

MaxHealth = 1500.0

//ClothODF = "rep_inf_clonecommander_cape"
GeometryName = "cis_inf_jango"
GeometryLowRes = "cis_inf_jangofett_low1"
FirstPerson = "cis\cisfett;cis_1st_jangofett"
ForceMode = 1
RecoverFromTumble = 1
AnimationName = "jango"

//-------------------JET JUMP--------------------//
//AISizeType = "HOVER"
JetJump = "17.0" //7 //The initial jump-push given when enabling the jet
JetPush = "8.0" //The constant push given while the jet is enabled (20 is gravity)
JetAcceleration = "60.0" //Acceleration while hovering.
JetEffect = "imp_sfx_jetpack"
JetType = "hover"
JetFuelRechargeRate = "0.05" //Additional fuel per second (fuel is 0 to 1)
JetFuelCost = "0.06" //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.24" //minimum fuel to perform a jet jump(fuel is 0 to 1)
//-----------------END JET JUMP------------------//

WEAPONSECTION = 1
WeaponName1 = "cis_weap_WESTAR-34_Blaster_Pistol"
WeaponAmmo1 = 0

WEAPONSECTION = 2
WeaponName = "cis_weap_hero_flamethrower"
WeaponAmmo = 0
WeaponChannel = 1

WEAPONSECTION = 3
WeaponName = "cis_weap_inf_wrist_rocket_fett"
WeaponAmmo = 0
WeaponChannel = 1

WEAPONSECTION = 4
WeaponName = "cis_weap_wrist_dart"
WeaponAmmo = 0
WeaponChannel = 1


//SOUND
SndHeroSelectable = ""
SndHeroSpawned = "hero_jango_spawn"
SndHeroDefeated = "hero_jango_exhausted"
SndHeroKiller = "hero_jango_exhausted"
VOSound = "hero_jango_AcquiredTarget AcquiredTarget"
VOSound = "hero_jango_KillingSpree4 KillingSpree4"
VOUnitType = 197
SoldierMusic = "cis_hero_Jango_lp"

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

HurtSound = "jango_inf_com_chatter_wound"
DeathSound = "jango_inf_com_chatter_death"
ShockFadeOutTime = ""
ShockFadeInTime = ""
ShockFadeOutGain = ""
ShockSound = ""
ClothingRustleSound = ""
LowHealthSound = ""
//LowHealthThreshold = 0.25
EngineSound = "rep_inf_Jetpack_engine_parameterized"
TurnOnSound = "rep_weap_jetpack_turnon"
TurnOffSound = "rep_weap_jetpack_turnoff"
TurnOffTime = 0.0
FoleyFXClass = "rep_inf_trooper"[/code]
Hidden/Spoiler:
[code][GameObjectClass]
ClassParent = "com_hero_default"
GeometryName = "cis_inf_Cad_Bane.msh"

[Properties]
AISizeType = "HOVER"

MaxHealth = 1500.0
GeometryName = "cis_inf_Cad_Bane"
GeometryLowRes = "cis_inf_Cad_Bane"
FirstPerson = "cis\cisfett;cis_1st_jangofett"
ClothODF = "cis_inf_Cad_Bane_coat"
ForceMode = 1
RecoverFromTumble = 1
AnimationName = "jango"


WEAPONSECTION = 1
WeaponName = "cis_weap_WESTAR-34_Blaster_Pistol"
WeaponAmmo = 0

WEAPONSECTION = 2
WeaponName = "cis_weap_award_shotgun"
WeaponAmmo = 0

WEAPONSECTION = 3
WeaponName = "cis_weap_hero_flamethrower"
WeaponAmmo = 0
WeaponChannel = 1

WEAPONSECTION = 4
WeaponName = "cis_weap_inf_wrist_rocket_fett"
WeaponAmmo = 0
WeaponChannel = 1

WEAPONSECTION = 5
WeaponName = "cis_weap_inf_buff_damage"
WeaponAmmo = 0
WeaponChannel = 1[/code]
Hidden/Spoiler:
[code][WeaponClass]
ClassParent = "com_weap_award_pistol"
GeometryName = "westar34.msh"

[Properties]
GeometryName = "westar34"
HighResGeometry = "westar34"
OrdnanceName = "cis_weap_westar_ord"
HeatPerShot = "0.15"

AnimationBank = "pistol"

TargetVehicle = "1"
TargetBuilding = "1"
AITargetVehicle = 0
AITargetBuilding = 0

ShotDelay = "0.05"

ShotsPerSalvo = "1"
ShotPatternCount = "2"
ShotPatternPitchYaw = "0.0 -0.65"
ShotPatternPitchYaw = "0.0 0.65"

//******************************************************
//*************** SOUND ****************
//******************************************************

MuzzleFlash = "no_muzzle_flash"
FlashColor = "0 0 0 0"
FlashLength = 0.0
FlashLightColor = "255 192 192 175"
FlashLightRadius = "2.0"
FlashLightDuration = "0.25"
Discharge = "small_smoke_effect"

FireSound = "cis_weap_inf_droideka_fire"
FireEmptySound = "com_weap_inf_ammo_empty"
FireLoopSound = ""
//ReloadSound = "cis_weap_inf_pistol_reload"
ChargeSound = ""
OverheatSound = "com_weap_energy_depleted"
OverheatSoundPitch = "0.5"
OverheatStopSound = "com_weap_energy_refilled"
ChangeModeSound = "com_weap_inf_equip_sm"
WeaponChangeSound = "com_weap_inf_equip_sm"
JumpSound = "com_weap_inf_pistol_mvt_jump"
LandSound = "com_weap_inf_pistol_mvt_land"
RollSound = "com_weap_inf_pistol_mvt_roll"
//ProneSound = "com_weap_inf_pistol_mvt_lie"
SquatSound = "com_weap_inf_pistol_mvt_squat"
//StandSound = "com_weap_inf_pistol_mvt_getup"[/code]
Thanks to help fix this.
AQT
Gametoast Staff
Gametoast Staff
Posts: 4910
Joined: Sat Nov 03, 2007 4:55 pm
Location: SoCal, USA

Re: Problem with the westar-34 blaster pistols.

Post by AQT »

The left handed pistol was most likely made part of the Jango player model because, if the left handed pistol was used as an addon mesh, then it would disappear while the unit is in jetpack flight.
User avatar
Kingpin
Jedi
Jedi
Posts: 1096
Joined: Fri Sep 13, 2013 7:09 pm
Projects :: The Sith Wars II
Location: Denver, CO
Contact:

Re: Problem with the westar-34 blaster pistols.

Post by Kingpin »

That's correct. Look at the BFX Jango model in the msh viewer.
Indytotof
Chief Warrant Officer
Chief Warrant Officer
Posts: 348
Joined: Fri Jun 06, 2014 6:58 am
Projects :: SWBF2 Sides Overhaul Mod
Games I'm Playing :: Battlefront 2
xbox live or psn: No gamertag set
Location: Senlis, France

Re: Problem with the westar-34 blaster pistols.

Post by Indytotof »

I see...

Is there a way to attached this left handed pistol to another unit (with the mshedit for exemple) like if I want to add a cloth from an unit to another ?
Post Reply