Page 1 of 1

Disable AWARD weapons?

Posted: Mon Jul 18, 2016 2:57 am
by SkinnyODST
How do disable the AWARD weapon for a unit? Specifically the SBD

Re: Disable AWARD weapons?

Posted: Mon Jul 18, 2016 4:11 am
by Anakin
go to the unit's odf and remove this:

Code: Select all

WEAPONSECTION = 4
WeaponName     	= "cis_weap_award_wrist_blaster"
WeaponAmmo     	= 4

Re: Disable AWARD weapons?

Posted: Mon Jul 18, 2016 4:27 am
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.

Re: Disable AWARD weapons?

Posted: Mon Jul 18, 2016 4:32 am
by AnthonyBF2
In the standard weapon ODF files, remove commands that look like:

Code: Select all

ScoreForMedalsType = 1
MedalsTypeToLock = 1

Re: Disable AWARD weapons?

Posted: Mon Jul 18, 2016 6:24 am
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.

Re: Disable AWARD weapons?

Posted: Wed Jul 27, 2016 11:00 am
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?

Re: Disable AWARD weapons?

Posted: Wed Jul 27, 2016 11:51 am
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