ARC: Award Weapon Problems

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
OOM-9

ARC: Award Weapon Problems

Post by OOM-9 »

alrighty, I don't want award weapons to be given out in ARC: RVII... I went and deleted all the award odfs and all this manages to do is make you loose your pistol after winning an award pistol...

is there something I can edit so the awards aren't even given out anymore?
-_-
Gametoast Staff
Gametoast Staff
Posts: 2678
Joined: Sat May 07, 2005 1:22 pm

Post by -_- »

I havent tried this, but it might just work.

WEAPONSECTION = 1
WeaponName = "imp_weap_inf_rifle"
WeaponAmmo = 4

WEAPONSECTION = 2
WeaponName = "imp_weap_inf_rocket_launcher"
WeaponAmmo = 4

WEAPONSECTION = 3
WeaponName = "imp_weap_inf_thermaldetonator"
WeaponAmmo = 4
WeaponChannel = 1

//WEAPONSECTION = 4
//WeaponName = "imp_weap_award_rifle"
//WeaponAmmo = 4
Qdin
Old School Staff
Posts: 2059
Joined: Wed Feb 23, 2005 9:54 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Post by Qdin »

I'm with Skyhawk in this one... :)

that or just delete those lines... ?:roll:
OGEB1103

Post by OGEB1103 »

You should delete the line in the common weap odf thats states each award a number, so a rifle is #1 and in the com_weap_award_rifle.odf there is a line that denotes it as #1 so if you don't want award weaps atal just 1. delete the com_weap_award_rifle/pistol/whatever weap you don't want to have award on.odfs and remove that line in the com_weap_rifle.odf. Hopes this helps however complecated it may be to read. lol
PAN-Fnord

Post by PAN-Fnord »

In weapon ODFs there is MedalsTypeToUnlock and MedalsTypeToLock (or something like those, I haven't got reference here). These are kind of confusing, but:
MedalsTypeToLock = 3 // means if you receive a bonus of type 3, this weapon goes away from your list of usable weapons
MedalsTypeToUnlock = 4 // means if you receive a bonus of type 4, this weapon is allowed to be used by you
and -1 is the "no type" value.

Award weapons of some class (rifles, pistols, etc) are unlocked by the same type that normal weapons of the same class are locked by. If your character has a pistol that is locked by type 4, but no award pistol that is unlocked by type 4, then when you get a bonus of type 4, you lose the first pistol and don't get one to replace it, which is what's happening to you.
Therefore, since you have no award weapons, if you don't want your weapon to go away when you get the corresponding award, set:
MedalsTypeToLock = -1

I don't remember which type is what bonus though. (^.^)

****Note: I'm almost sure the tags are called something else, but it is very similar to that.****

Mike Z
OOM-9

Post by OOM-9 »

thanks PAN-Ford
Post Reply