Page 1 of 1
How to disable awards completely for my mod? [Solved]
Posted: Tue May 27, 2014 1:26 pm
by RacoonLR
I want to disable Awards for my mod,
Because it conflicts with my custom weapons. I tried
to fix it but if I create Award weapons for my custom weapons
it crashes the game after 1-10 minutes

Re: How to disable awards completely for my mod?
Posted: Tue May 27, 2014 1:46 pm
by razac920
If your custom weapons inherit from a common weapon which becomes locked (i.e. pistol, rifle, shotgun, sniper rifle), add these lines to your weapon ODFs:
ScoreForMedalsType = -1
MedalsTypeToLock = -1
If your custom weapons inherit from a common weapon which becomes unlocked (i.e. award pistol, award rifle, award shotgun, award sniper rifle), instead add:
ScoreForMedalsType = -1
MedalsTypeToUnlock = -1
Re: How to disable awards completely for my mod?
Posted: Wed May 28, 2014 11:01 am
by RacoonLR
razac920 wrote:If your custom weapons inherit from a common weapon which becomes locked (i.e. pistol, rifle, shotgun, sniper rifle), add these lines to your weapon ODFs:
ScoreForMedalsType = -1
MedalsTypeToLock = -1
If your custom weapons inherit from a common weapon which becomes unlocked (i.e. award pistol, award rifle, award shotgun, award sniper rifle), instead add:
ScoreForMedalsType = -1
MedalsTypeToUnlock = -1
Thanks I'll try that =)
EDIT
It didn't work =(
Re: How to disable awards completely for my mod?
Posted: Wed May 28, 2014 12:09 pm
by JimmyAngler
Remove the lines mentioned by razac.
Re: How to disable awards completely for my mod?
Posted: Wed May 28, 2014 12:52 pm
by razac920
Please post your weapon ODFs.
Re: How to disable awards completely for my mod?
Posted: Sat May 31, 2014 10:53 am
by RacoonLR
razac920 wrote:Please post your weapon ODFs.
Is it possible just to remove the ScoreForMedalsType and
MedalsTypeToUnlock of each com_weap odf?
Re: How to disable awards completely for my mod?
Posted: Sat May 31, 2014 11:16 am
by razac920
Yes, but if you are loading any stock weapons, you need to rename your edited com_weap odfs (try com_weap_inf_rifle2?). Also I don't know if your custom weapons are award or not, so you remove ScoreForMedalsType and either MedalsTypeToUnlock or MedalsTypeToLock.
Re: How to disable awards completely for my mod?
Posted: Sat May 31, 2014 4:44 pm
by RacoonLR
razac920 wrote:Yes, but if you are loading any stock weapons, you need to rename your edited com_weap odfs (try com_weap_inf_rifle2?). Also I don't know if your custom weapons are award or not, so you remove ScoreForMedalsType and either MedalsTypeToUnlock or MedalsTypeToLock.
OK thanks, it worked =)