Page 1 of 1
Can't use weapon after getting tons of kills with it
Posted: Sat Jan 27, 2018 10:36 am
by mrcluster
One thing I just realised is that whenever I earn an "award" with my weapon and switch to my pistol, I can't switch back. This happens even though I've commented out the
Code: Select all
ScoreForMedalsType = 1
MedalsTypeToLock = 1
code in the com_weap_inf_rifle .odf (which it's derived from), and it's the same story for my pistol.
Re: Can't use weapon after getting tons of kills with it
Posted: Sat Jan 27, 2018 12:49 pm
by Bucman55
I used to have this issue with one of my weapons in my mod. I fixed it by disconnecting the weapon from the Blaster Rifle template and adding the following code to the weapon:
I did the same thing for the pistol.
Re: Can't use weapon after getting tons of kills with it
Posted: Fri Feb 02, 2018 5:35 pm
by Samee3
MedalsTypeToUnlock: What type of medal will unlock this weapon
MedalsTypeToLock: What type of medal will lock this weapon
ScoreForMedalsType: What type of medal you can score with this weapon
Gunslinger (Pistol, 6 kills) = 0
Frenzy (Rifle, 12 kills) = 1
Demolition (Rocket Launcher, 4 critical hits on vehicles) = 2
Technician (Fusion Cutter, 4 vehicle slices) = 3
Marksman (Sniper Rifle, 6 headshots) = 4
Regulator (Shotgun, 8 kills) = 5