Award Weps

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
User avatar
REivEN
1st Lieutenant
1st Lieutenant
Posts: 451
Joined: Wed Jul 04, 2007 11:59 am
Projects :: Jane - Sister Of the Courier Mod
Games I'm Playing :: CSGO FNV
xbox live or psn: No gamertag set
Location: What do you expect?

Award Weps

Post by REivEN »

How can i remove award weapons ?
Caleb1117
2008 Most Original Avatar
Posts: 3096
Joined: Sun Aug 20, 2006 5:55 pm
Projects :: No Mod project currently.
xbox live or psn: No gamertag set
Location: X-Fire: caleb1117 ಠ_ಠ

Re: Award Weps

Post by Caleb1117 »

remove or comment out the

Code: Select all

ScoreForMedalsType = 0
MedalsTypeToLock = 0
lines in the common non-award pistol odf?
I'm not sure, but that'd be my my guess.
BountyHunterV

Re: Award Weps

Post by BountyHunterV »

do you mean just make it so a clone trooper for instance can't get the award rifle and pistol?

that is pretty easy...there are 5 weapon sections in the ODF, the last 2 are for award weapons, remove them
User avatar
trainmaster611
Sith Lord
Sith Lord
Posts: 1779
Joined: Thu Aug 24, 2006 5:22 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Building a railway to Coruscant
Contact:

Re: Award Weps

Post by trainmaster611 »

No, that will mess up the game when you win the award. Follow Caleb's advice.
MercuryNoodles
Jedi
Jedi
Posts: 1003
Joined: Sun Mar 12, 2006 7:16 pm
Projects :: Space - Boarding Action
xbox live or psn: No gamertag set

Re: Award Weps

Post by MercuryNoodles »

No, no. Close, but no cigar on both counts. :P You should take the non-award weapon odf, and do this:

Code: Select all

ScoreForMedalsType = -1
MedalsTypeToLock = -1
That keeps the non-award weapon from being locked out when you achieve the award. However, that's not all. You also need to go into the award weapon odf and do the same so you can't unlock the award weapon, or you'll have both weapons. It should look like this:

Code: Select all

ScoreForMedalsType = -1
MedalsTypeToUnlock = -1
Then, you can remove the award weapons from the unit's odf without screwing up the game.

It'll say you have the award if you've already earned it via career stats (the yellow text when you first spawn on a map), but you won't be able to access it, and it shouldn't count anything towards the award when using the weapon. At least, that's how it worked when I last checked my own weapons.

In short:

1) disable the non-award weapon lockout
2) disable the award weapon unlock
3) remove award weapon from unit
Post Reply