Page 1 of 1

award weapon problem

Posted: Sun Jan 27, 2008 10:49 am
by -=[PfW]=- Bacara
hi,

i want to remove the award rifle from my self-made standard clone trooper. i deleted the weaponsection with the award weapon.
but ingame i still get the award without a the award weapon :? . and if i try to change weapons, i can't select the main rifle any more. only the secondary weapon like the pistol is available.

my english isn't very good, i hope you understand my problem ^^

Re: award weapon problem

Posted: Sun Jan 27, 2008 10:56 am
by The_Emperor
Go to com_inf_rifle in your sides/common folder and delete these lines:
ScoreForMedalsType = 1
MedalTypeToUnlock (or something like that) = 1

Re: award weapon problem

Posted: Sun Jan 27, 2008 11:27 am
by Taivyx
Unless you want it to affect only the republic blaster rifle, in which case you insert this into your rep_weap_inf_rifle.

Code: Select all

ScoreForMedalsType = 0
MedalsTypeToLock = 0

Re: award weapon problem

Posted: Sun Jan 27, 2008 2:00 pm
by The_Emperor
Hah, that was what I posted before I edited it but I wasn't sure :P

Re: award weapon problem

Posted: Sun Jan 27, 2008 2:38 pm
by -=[PfW]=- Bacara
thanks both of you.
i insert

Code: Select all

 ScoreForMedalsType = 1000 
MedalsTypeToLock = 1000 
because with 0 it dosen't work. and with 1000 it seems that works.

Re: award weapon problem

Posted: Sun Jan 27, 2008 4:53 pm
by Taivyx
The_Emperor wrote:Hah, that was what I posted before I edited it but I wasn't sure :P
Oh, wait, I get now why 0 wouldn't work.
Because then the player would have access to medals at 0 points, lol.

Yeah, just set it to some insanely high number and it would work.

Re: award weapon problem

Posted: Sun Jan 27, 2008 4:59 pm
by The_Emperor
Taivyx wrote:
The_Emperor wrote:Hah, that was what I posted before I edited it but I wasn't sure :P
Oh, wait, I get now why 0 wouldn't work.
Because then the player would have access to medals at 0 points, lol.

Yeah, just set it to some insanely high number and it would work.
Hmm? No, it chooses what award you get, 1 is rifle, 2 is sniper, 3 is flechette (making this up but you get my point), so setting it to 1000 means award number 1000 which doesn't exist so it doesn't show up.

Re: award weapon problem

Posted: Sun Jan 27, 2008 6:06 pm
by MandeRek
It is still solved this way :P

Re: award weapon problem

Posted: Tue Jan 29, 2008 11:20 am
by Bantha55
You´ll get the award with 1000 points but if you want that they really aren´t there you have to earese this two lines

Re: award weapon problem

Posted: Tue Jan 29, 2008 11:51 am
by Teancum
You actually should use a -1, meaning that it's not enabled.

Re: award weapon problem

Posted: Tue Jan 29, 2008 1:46 pm
by Bantha55
i removed the lines in the weapon odfs of all my maps and it works

Re: award weapon problem

Posted: Tue Jan 29, 2008 4:57 pm
by -=[PfW]=- Bacara
wheni removed the lines in the odf. it dosen't work.
but -1 is a good idea, i will try.