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

User avatar
Fiodis
Master of the Force
Master of the Force
Posts: 4145
Joined: Wed Nov 12, 2008 9:27 pm
Projects :: Rannoch + Tientia + Tools Programming

Re: Award Weapons

Post by Fiodis »

Perhaps. Maybe you could experiment with changing this line:

Code: Select all

UnitType            = "Scout"
That being for the sniper. Add that and see if the award changes to being unlocked after a few headshots.
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 Weapons

Post by trainmaster611 »

Fiodis wrote:Perhaps. Maybe you could experiment with changing this line:

Code: Select all

UnitType            = "Scout"
That being for the sniper. Add that and see if the award changes to being unlocked after a few headshots.
Actually that just defines AI behavior. In any event, I was able to give a sniper a 'medal 1' value and it unlocked the award weapon at 12 kills, so I must be doing something wrong with the trooper.
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 Weapons

Post by MercuryNoodles »

I'd neglected to mention ScoresForMedalsType, because I didn't want to throw a lot of speculation around, but I suspected it was something along the lines of what AQT posted earlier, which led me to another thought. My memory may be faulty, but I recall that if you use a weapon set to score for a certain medal with a given unit, you must include the weapon odf that's set to unlock with that award in that unit's odf. Otherwise, the game unlocks it anyway, and when you switch weapons it causes a crash.

I'm having some trouble following what you're doing here, though. Giving both weapons a value of 1 should lock the normal weapon and unlock the award weapon at 12 kills, so what's wrong exactly?
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 Weapons

Post by trainmaster611 »

MercuryNoodles wrote:I'd neglected to mention ScoresForMedalsType, because I didn't want to throw a lot of speculation around, but I suspected it was something along the lines of what AQT posted earlier, which led me to another thought. My memory may be faulty, but I recall that if you use a weapon set to score for a certain medal with a given unit, you must include the weapon odf that's set to unlock with that award in that unit's odf. Otherwise, the game unlocks it anyway, and when you switch weapons it causes a crash.

I'm having some trouble following what you're doing here, though. Giving both weapons a value of 1 should lock the normal weapon and unlock the award weapon at 12 kills, so what's wrong exactly?
Yes, I was aware of that (and I didn't forget).

And the second statement is correct also. Follow the chart I posted on the previous page and that'll describe the achievements needed to unlock the weapon.

I don't have any problems other than the weapons just failing to be unlocked sometimes. The question has pretty much been answered.
Post Reply