How to disable awards completely for my mod? [Solved]

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
RacoonLR
Second Lance Corporal
Second Lance Corporal
Posts: 105
Joined: Fri Apr 25, 2014 5:31 pm
xbox live or psn: No gamertag set
Location: UNDER YOUR BED

How to disable awards completely for my mod? [Solved]

Post 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 :(
Last edited by RacoonLR on Sat May 31, 2014 4:44 pm, edited 1 time in total.
razac920
2nd Lieutenant
2nd Lieutenant
Posts: 365
Joined: Sun Jan 16, 2011 12:42 am

Re: How to disable awards completely for my mod?

Post 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
RacoonLR
Second Lance Corporal
Second Lance Corporal
Posts: 105
Joined: Fri Apr 25, 2014 5:31 pm
xbox live or psn: No gamertag set
Location: UNDER YOUR BED

Re: How to disable awards completely for my mod?

Post 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 =(
JimmyAngler
High General
High General
Posts: 837
Joined: Mon Nov 04, 2013 10:37 am
Projects :: Battlefront Halation
Games I'm Playing :: SWBF 1-2-2015
xbox live or psn: none
Location: Area 51

Re: How to disable awards completely for my mod?

Post by JimmyAngler »

Remove the lines mentioned by razac.
razac920
2nd Lieutenant
2nd Lieutenant
Posts: 365
Joined: Sun Jan 16, 2011 12:42 am

Re: How to disable awards completely for my mod?

Post by razac920 »

Please post your weapon ODFs.
RacoonLR
Second Lance Corporal
Second Lance Corporal
Posts: 105
Joined: Fri Apr 25, 2014 5:31 pm
xbox live or psn: No gamertag set
Location: UNDER YOUR BED

Re: How to disable awards completely for my mod?

Post by RacoonLR »

razac920 wrote:Please post your weapon ODFs.
Is it possible just to remove the ScoreForMedalsType and
MedalsTypeToUnlock of each com_weap odf?
razac920
2nd Lieutenant
2nd Lieutenant
Posts: 365
Joined: Sun Jan 16, 2011 12:42 am

Re: How to disable awards completely for my mod?

Post 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.
RacoonLR
Second Lance Corporal
Second Lance Corporal
Posts: 105
Joined: Fri Apr 25, 2014 5:31 pm
xbox live or psn: No gamertag set
Location: UNDER YOUR BED

Re: How to disable awards completely for my mod?

Post 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 =)
Post Reply