Getting rid of 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
mrcluster
Private First Class
Posts: 80
Joined: Thu Sep 01, 2016 3:41 pm
Projects :: Tatooine - Jundland Wastes
Games I'm Playing :: SWBF2
xbox live or psn: No gamertag set

Getting rid of Award Weapons?

Post by mrcluster »

Hello. So, I'm trying to remove award weapons (and the possibility of getting them) from the standard Rifleman classes that're in the game.

To do so, I simply removed the following lines from the Empire's rifleman class .odf:

Code: Select all

WEAPONSECTION = 4
WeaponName         = "imp_weap_award_rifle"
WeaponAmmo         = 5

WEAPONSECTION = 5
WeaponName         = "imp_weap_award_pistol"
WeaponAmmo         = 6
However, after removing these, switching weapons is broken when I play as the class (If I switch to another weapon, I won't be able to switch back to the weapon I had before switching).

How can I fix this?
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: Getting rid of Award Weapons?

Post by Anakin »

you need to remove lockformedalstyp from the weapon odf
Post Reply