Page 1 of 1

Weapons don't appears in-game [Solved]

Posted: Tue Dec 16, 2014 12:34 pm
by Indytotof
Hello modders and mappers, here is Indytotof !

I've encounter a new problem with weapons...

I've set up weapons on my Boba Fett and Bossk units but there is one weapon for each other that don't appears now (but the Bossk's one appeared well in the past) in my game.

Here is the ODF of both units:
Hidden/Spoiler:
[code][GameObjectClass]
ClassParent = "com_hero_default"
GeometryName = "imp_inf_bobafett.msh"

[Properties]
AISizeType = "HOVER"

MaxHealth = 1500.0

GeometryName = "imp_inf_bobafett"
GeometryLowRes = "imp_inf_bobafett_low1"
FirstPerson = "IMP\impboba;imp_1st_bobafett"
RecoverFromTumble = 1

ClothODF = "imp_inf_bobafett_cape"

AnimationName = "fett"

//-------------------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
WeaponName = "imp_weap_hero_bobarifle"
WeaponAmmo = 0

WEAPONSECTION = 2
WeaponName = "imp_weap_hero_bobasniperrifle"
WeaponAmmo = 0

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

WEAPONSECTION = 4
WeaponName = "imp_weap_DUR-24_Wrist_Laser"
WeaponAmmo = 0
WeaponChannel = 1

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

WEAPONSECTION = 6
WeaponName = "imp_weap_inf_wrist_rocket"
WeaponAmmo = 0
WeaponChannel = 1

WEAPONSECTION = 7
WeaponName4 = "all_weap_inf_detpack"
WeaponAmmo4 = 0
WeaponChannel4 = 1


//SOUND
SndHeroSelectable = ""
SndHeroSpawned = "hero_boba_spawn"
SndHeroDefeated = "hero_boba_exhausted"
SndHeroKiller = "hero_boba_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_boba_AcquiredTarget AcquiredTarget"
VOSound = "hero_boba_KillingSpree4 KillingSpree4"
VOUnitType = 192
SoldierMusic = "imp_hero_Boba_lp"

VOSound = "boba_hero_pc_com_hostile SpottedVO"
VOSound = "boba_hero_pc_com_mechanic NeedRepairVO"
VOSound = "boba_hero_pc_com_transport NeedPickupVO"
VOSound = "boba_hero_pc_com_backup NeedBackupVO"
VOSound = "boba_hero_pc_com_clear_area AttackPositionVO"
VOSound = "boba_hero_pc_com_defend DefendPositionVO"

VOSound = "boba_hero_pc_com_hostile_inVehicle SpottedVO +InVehicle"
VOSound = "boba_hero_pc_com_mechanic_inVehicle NeedRepairVO +InVehicle"
VOSound = "boba_hero_pc_com_transport_inVehicle NeedPickupVO +InVehicle"
VOSound = "boba_hero_pc_com_backup_inVehicle NeedBackupVO +InVehicle"
VOSound = "boba_hero_pc_com_clear_area_inVehicle AttackPositionVO +InVehicle"
VOSound = "boba_hero_pc_com_defend_inVehicle DefendPositionVO +InVehicle"

HurtSound = "fett_inf_com_chatter_wound"
DeathSound = "fett_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 = "imp_inf_trooper"[/code]
and Bossk:
Hidden/Spoiler:
[code][GameObjectClass]
ClassParent = "com_hero_default"

[Properties]

GeometryName = "com_inf_Trandoshan_Hunter"
GeometryLowRes = "com_inf_Trandoshan_Hunter"
FirstPerson = "ALL\allpilot;all_1st_pilot"
SkeletonRootScale = "1.2"

MaxHealth = 2000.0

WEAPONSECTION = 1
WeaponName = "imp_weap_Stouker_Concussion_Rifle"
WeaponAmmo = 0

WEAPONSECTION = 2
WeaponName = "imp_weap_inf_repeater"
WeaponAmmo = 0

WEAPONSECTION = 3
WeaponName = "imp_weap_inf_ACP_shotgun"
WeaponAmmo = 0

WEAPONSECTION = 4
WeaponName = "imp_weap_inf_trandoshan_hunting_rifle"
WeaponAmmo = 0

WEAPONSECTION = 2
WeaponName2 = "imp_weap_Bossk_Flamethrower"
WeaponAmmo2 = 0

WEAPONSECTION = 6
WeaponName = "imp_weap_inf_crackgrenade"
WeaponAmmo = 0
WeaponChannel = 1

WEAPONSECTION = 7
WeaponName = "imp_weap_inf_mine_dispenser"
WeaponAmmo = 0
WeaponChannel = 1

VOUnitType = 084

///SOUND
HurtSound = ""
DeathSound = ""
LowHealthSound = ""
LowHealthThreshold = ""
FoleyFXClass = "imp_inf_soldier"[/code]
Here is the weapons that don't appears:

DUR-24 Wrist Blaster for Boba Fett and the Heavy Imperial Repeater Rifle for Bossk...

Any though how fix this ?

Thanks a lot.

EDIT : OK I've seen why for Bossk (and should be resolved an other problem) but I don't see for Boba.

Re: Weapons don't appears in-game

Posted: Tue Dec 16, 2014 12:43 pm
by DrDrSheldonLeeCooper
Can u send the Bobagun ODF?

Re: Weapons don't appears in-game

Posted: Tue Dec 16, 2014 3:30 pm
by hunpeter12
By 'doesn't appear', what do you mean? Also please post your Severity 3 errors.

Re: Weapons don't appears in-game

Posted: Tue Dec 16, 2014 3:50 pm
by Indytotof
hunpeter12 wrote:By 'doesn't appear', what do you mean? Also please post your Severity 3 errors.
In-game, the weapon doesn't appear on the unit's arsenal, simple as that.

No Severity 3 messages are link to this problem, they will not be usefull.

Here is the ODF file from the Boba's wrist laser:
Hidden/Spoiler:
[code][WeaponClass]
ClassParent = "com_weap_inf_wrist_rocket"

[Properties]
HUDTag = "hud_imp_wristrocket"
OrdnanceName = "DUR-24_Wrist_Laser_ord"

FireAnim = 1
InitialSalvoDelay = "0.4" // 14 frames
InstantPlayFireAnim = 1

RoundsPerClip = "0"
ShotDelay = "0.1"
TriggerSingle = "1"
ReloadTime = "2.0"

PitchSpread = "0.5"
YawSpread = "0.5"

MinRange = "0"
OptimalRange = "8"
MaxRange = "20"
AIUseBubbleCircle = "1"
AIBubbleSizeMultiplier = "0.5"

SpreadPerShot = "1.1"
SpreadRecoverRate = "4.8"
SpreadThreshold = "1.6"
SpreadLimit = "6.0"

StandStillSpread = "0.0"
StandMoveSpread = "0.0"
CrouchStillSpread = "0.0"
CrouchMoveSpread = "0.0"
ProneStillSpread = "0.0"
ProneMoveSpread = "0.0"

HeatPerShot = "0.25"
HeatRecoverRate = "0.3"
HeatThreshold = "0.25"
//************************************************
//******************* SOUND *****************
//************************************************

FireSound = "imp_weap_inf_rifle_fire"
ChangeModeSound = "com_weap_inf_equip_med"
ReloadSound = "com_weap_inf_reload_med
FireEmptySound = "com_weap_inf_ammo_empty"
WeaponChangeSound = "com_weap_inf_equip_med"
JumpSound = "com_weap_inf_rifle_mvt_jump"
LandSound = "com_weap_inf_rifle_mvt_land"
RollSound = "com_weap_inf_rifle_mvt_roll"
//ProneSound = "com_weap_inf_rifle_mvt_lie"
SquatSound = "com_weap_inf_rifle_mvt_squat"
//StandSound = "com_weap_inf_rifle_mvt_getup"[/code]
Thanks guys.

Re: Weapons don't appears in-game

Posted: Tue Dec 16, 2014 5:34 pm
by DrDrSheldonLeeCooper

Code: Select all

WEAPONSECTION = 7
WeaponName4         = "all_weap_inf_detpack"
WeaponAmmo4         = 0
WeaponChannel4      = 1
Why did you wrote "4" after Ammo,Name and Channel?Maybe this corrupts it (sry for that english :D )

Or try to add all the guns step for step. like :

Add Bobarifle and munge,
then add Bobasniperrifle and munge etc...

Re: Weapons don't appears in-game

Posted: Tue Dec 16, 2014 6:16 pm
by MileHighGuy
I think you have too many secondary weapons for boba

Re: Weapons don't appears in-game

Posted: Tue Dec 16, 2014 6:18 pm
by Indytotof
DrDrSheldonLeeCooper wrote:

Code: Select all

WEAPONSECTION = 7
WeaponName4         = "all_weap_inf_detpack"
WeaponAmmo4         = 0
WeaponChannel4      = 1
Why did you wrote "4" after Ammo,Name and Channel?Maybe this corrupts it (sry for that english :D )

Or try to add all the guns step for step. like :

Add Bobarifle and munge,
then add Bobasniperrifle and munge etc...
I'm so dumb...

It's on the test.

@Mile: My Pre Vizsla unit are like 5 or 6 secondary weapons and they all worked fine (and appears well). It isn't obviously the problem.

Re: Weapons don't appears in-game [Solved]

Posted: Tue Dec 16, 2014 6:33 pm
by DrDrSheldonLeeCooper
Hope I can help :)

Re: Weapons don't appears in-game [Solved]

Posted: Tue Dec 16, 2014 6:40 pm
by Indytotof
Problems solved guys.

Thanks.

Re: Weapons don't appears in-game [Solved]

Posted: Tue Dec 16, 2014 6:51 pm
by DrDrSheldonLeeCooper
No problem :)