Page 1 of 1

Problem with the westar-34 blaster pistols.

Posted: Thu Oct 16, 2014 4:57 pm
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.

Re: Problem with the westar-34 blaster pistols.

Posted: Thu Oct 16, 2014 6:47 pm
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.

Re: Problem with the westar-34 blaster pistols.

Posted: Thu Oct 16, 2014 7:17 pm
by Kingpin
That's correct. Look at the BFX Jango model in the msh viewer.

Re: Problem with the westar-34 blaster pistols.

Posted: Fri Oct 17, 2014 2:46 am
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 ?