Disable AWARD weapons?

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
SkinnyODST
Lieutenant Colonel
Lieutenant Colonel
Posts: 545
Joined: Mon Jul 04, 2016 10:56 pm
Location: My other account
Contact:

Disable AWARD weapons?

Post by SkinnyODST »

How do disable the AWARD weapon for a unit? Specifically the SBD
User avatar
Anakin
Master of the Force
Master of the Force
Posts: 4817
Joined: Sat Sep 19, 2009 11:37 am
Projects :: RC Side Mod - Remastered - SWBF3 Legacy
Location: Mos Espa (germany)

Re: Disable AWARD weapons?

Post by Anakin »

go to the unit's odf and remove this:

Code: Select all

WEAPONSECTION = 4
WeaponName     	= "cis_weap_award_wrist_blaster"
WeaponAmmo     	= 4
SkinnyODST
Lieutenant Colonel
Lieutenant Colonel
Posts: 545
Joined: Mon Jul 04, 2016 10:56 pm
Location: My other account
Contact:

Re: Disable AWARD weapons?

Post by SkinnyODST »

go to the unit's odf and remove this:

Code: Select all
WEAPONSECTION = 4
WeaponName = "cis_weap_award_wrist_blaster"
WeaponAmmo = 4

I did that but the problem is that when your supposed to unlock it, it removes that weapon from your inventory. Example, remove the AWARD pistol and when you "unlock" it you lose your standard pistol.
User avatar
AnthonyBF2
Sith
Sith
Posts: 1255
Joined: Wed Aug 21, 2013 3:55 pm
Projects :: PS2+PSP Overhaul

Re: Disable AWARD weapons?

Post by AnthonyBF2 »

In the standard weapon ODF files, remove commands that look like:

Code: Select all

ScoreForMedalsType = 1
MedalsTypeToLock = 1
User avatar
Anakin
Master of the Force
Master of the Force
Posts: 4817
Joined: Sat Sep 19, 2009 11:37 am
Projects :: RC Side Mod - Remastered - SWBF3 Legacy
Location: Mos Espa (germany)

Re: Disable AWARD weapons?

Post by Anakin »

woops i forgot about that. Yes you need to remove these lines, too. The important line is

Code: Select all

MedalsTypeToLock = 1

Code: Select all

ScoreForMedalsType = 1
adds the ability to gain the awards (pistol hero,...)

and the first will look your weapon, after you got that award.
thelegend
Sith
Sith
Posts: 1433
Joined: Thu Jan 23, 2014 6:01 am
Projects :: Star Wars - Battlefront III Legacy
Games I'm Playing :: Swbf GTA CoD LoL KH
xbox live or psn: El_Fabricio#
Location: Right behind you :)

Re: Disable AWARD weapons?

Post by thelegend »

You can also use negative values like -1 to remove them. Some hero weapons use these too. But does removing the lines completely remove the ability to earn awarded weapons at all?
User avatar
Anakin
Master of the Force
Master of the Force
Posts: 4817
Joined: Sat Sep 19, 2009 11:37 am
Projects :: RC Side Mod - Remastered - SWBF3 Legacy
Location: Mos Espa (germany)

Re: Disable AWARD weapons?

Post by Anakin »

ScoreForMedalsType = 1 : You can earn type 1
MedalsTypeToLock = 1 : this weapon will be removed if you got type 1

where you need to check the default weapons to see what is type 1, 2, 3,....

So you can lock weapons when you got the rifle award, and you can add the ability to earn the rifle award with a weapon. That is NOT the same!!!
And if you remove it, it is only for the weapon using this odf file.

So there are things like this possible:
you have two weapons (W1 and W2)

W1 has only the line
ScoreForMedalsType = 1

And W2 has only the line
MedalsTypeToLock = 1

What happens (if you are not already legend). You can make as many kills as you like with W2, but if you made too many kills with W1, W2 will be removed :D (until you die)

About how to enable weapons when you can an award you need to look at the award weapon's odf file
Post Reply