Page 1 of 1
ARC: Award Weapon Problems
Posted: Thu Mar 16, 2006 2:02 am
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?
Posted: Thu Mar 16, 2006 2:31 am
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
Posted: Thu Mar 16, 2006 3:19 am
by Qdin
I'm with Skyhawk in this one...
that or just delete those lines... ?:roll:
Posted: Thu Mar 16, 2006 3:36 am
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
Posted: Thu Mar 16, 2006 4:18 am
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
Posted: Thu Mar 16, 2006 5:30 pm
by OOM-9
thanks PAN-Ford