Page 1 of 1

secondary and secondary2 how choose

Posted: Sat Dec 20, 2014 8:06 pm
by Deviss
hi there to everybody, yes me again, its my problem:
i want choose grenade use secondary (drop anim like drop mine dispenser) because by default its use secondary2(throw grenade)

yes i searched into forum and i found adding one line, but dont work lol so, here its my grenade .ODF
Hidden/Spoiler:
[WeaponClass]
ClassLabel = "grenade"
GeometryName = "weap_inf_sonicdetonator.msh"

[Properties]
GeometryName = "weap_inf_sonicdetonator"
HighResGeometry = "weap_inf_sonicdetonator"

HUDTag = "weap_inf_sonicdetonator"

ScoreForMedalsType = 5

OffhandWeapon = 1

InitialSalvoDelay = "0.51"

OrdnanceName = "wpn_weap_inf_Grenade_Sonic_ord"
FireSound = com_weap_throw"

NEXTCHARGE = 0.25
OrdnanceName = "wpn_weap_inf_Grenade_Sonic_ord1"
FireSound = com_weap_throw"

NEXTCHARGE = 0.5
OrdnanceName = "wpn_weap_inf_Grenade_Sonic_ord2"
FireSound = com_weap_throw"

NEXTCHARGE = 0.75
OrdnanceName = "wpn_weap_inf_Grenade_Sonic_ord3"
FireSound = com_weap_throw"

//***********************************************
//************* TARGET & RANGE VALUES **********
//***********************************************

TargetEnemy = "1"
TargetNeutral = "0"
TargetFriendly = "0"

TargetPerson = "1"
TargetAnimal = "1"
TargetDroid = "1"
TargetVehicle = "1"
TargetBuilding = "1"

MinRange = "12"
OptimalRange = "18"
MaxRange = "24"

LockOnRange = "30.0"

//***********************************************
//*********** WEAPON PERFORMANCE VALUES *********
//***********************************************

RoundsPerClip = "1"
ReloadTime = "0.0"
ShotDelay = "1.3"
ShotElevate = "0.21"
MaxPressedTime = "2.0"

//***********************************************
//*********** HUD & CONTROLLER VALUES *********
//***********************************************

ChargeRateLight = "1.0"
MaxChargeStrengthLight = "1.0"
ChargeDelayLight = "0.0"
ChargeRateHeavy = "1.0"
MaxChargeStrengthHeavy = "0.25"
ChargeDelayHeavy = "1.45"

RecoilLengthLight = "0.1"
RecoilLengthHeavy = "0.1"
RecoilStrengthLight = "0"
RecoilStrengthHeavy = "0"

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

FireSound = "com_weap_throw"
FireEmptySound = "com_weap_inf_ammo_empty"

FireLoopSound = ""
ReloadSound = "com_weap_inf_equip_sm"
ChargeSound = ""
ChargeSoundPitch = ""
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"
thanks again to the people :)

Re: secondary and secondary2 how choose

Posted: Sat Dec 20, 2014 8:40 pm
by MileHighGuy
I think it is FireAnim = "1"

Re: secondary and secondary2 how choose

Posted: Sat Dec 20, 2014 9:00 pm
by Deviss
MileHighGuy wrote:I think it is FireAnim = "1"
thanks for answer, i tried that line but dont work :S any other idea? i took a look into dispenser and grenades odf but didnt find any solution

Re: secondary and secondary2 how choose

Posted: Sat Dec 20, 2014 10:54 pm
by MileHighGuy
Actually, this thread will solve your problem:

viewtopic.php?f=27&t=30246