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
Moderator: Moderators



Thanks I'll try that =)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



Is it possible just to remove the ScoreForMedalsType andrazac920 wrote:Please post your weapon ODFs.


OK thanks, it worked =)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.