Page 2 of 2

Re: Award Weapons

Posted: Tue Nov 17, 2009 10:30 pm
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.

Re: Award Weapons

Posted: Tue Nov 17, 2009 10:44 pm
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.

Re: Award Weapons

Posted: Fri Nov 20, 2009 11:58 am
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?

Re: Award Weapons

Posted: Fri Nov 20, 2009 2:05 pm
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.