award weapon problem

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
-=[PfW]=- Bacara
Recruit Womprat Killer
Posts: 5
Joined: Sat Jan 26, 2008 6:28 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: Germany

award weapon problem

Post 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 ^^
The_Emperor
Supreme Galactic Ruler
Posts: 2118
Joined: Sat Dec 10, 2005 6:30 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Waaaaay over there.

Re: award weapon problem

Post 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
Taivyx
2008 Best Games Related Avatar
Posts: 1706
Joined: Thu Jun 07, 2007 3:34 pm
Projects :: Terra Strife - discontinued
Games I'm Playing :: none
xbox live or psn: No gamertag set
Contact:

Re: award weapon problem

Post 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
The_Emperor
Supreme Galactic Ruler
Posts: 2118
Joined: Sat Dec 10, 2005 6:30 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Waaaaay over there.

Re: award weapon problem

Post by The_Emperor »

Hah, that was what I posted before I edited it but I wasn't sure :P
-=[PfW]=- Bacara
Recruit Womprat Killer
Posts: 5
Joined: Sat Jan 26, 2008 6:28 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: Germany

Re: award weapon problem

Post 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.
Taivyx
2008 Best Games Related Avatar
Posts: 1706
Joined: Thu Jun 07, 2007 3:34 pm
Projects :: Terra Strife - discontinued
Games I'm Playing :: none
xbox live or psn: No gamertag set
Contact:

Re: award weapon problem

Post 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.
The_Emperor
Supreme Galactic Ruler
Posts: 2118
Joined: Sat Dec 10, 2005 6:30 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Waaaaay over there.

Re: award weapon problem

Post 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.
MandeRek
Sith Master
Sith Master
Posts: 2766
Joined: Tue Oct 02, 2007 10:51 am
Projects :: Battlefront Zer0
Games I'm Playing :: SWTOR
xbox live or psn: No gamertag set
Location: Ghosting around GT
Contact:

Re: award weapon problem

Post by MandeRek »

It is still solved this way :P
User avatar
Bantha55
2nd Lieutenant
2nd Lieutenant
Posts: 407
Joined: Sun Jun 10, 2007 1:42 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: Germany
Contact:

Re: award weapon problem

Post 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
User avatar
Teancum
Jedi Admin
Jedi Admin
Posts: 11080
Joined: Wed Sep 07, 2005 11:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set
Location: Indiana

Re: award weapon problem

Post by Teancum »

You actually should use a -1, meaning that it's not enabled.
User avatar
Bantha55
2nd Lieutenant
2nd Lieutenant
Posts: 407
Joined: Sun Jun 10, 2007 1:42 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: Germany
Contact:

Re: award weapon problem

Post by Bantha55 »

i removed the lines in the weapon odfs of all my maps and it works
-=[PfW]=- Bacara
Recruit Womprat Killer
Posts: 5
Joined: Sat Jan 26, 2008 6:28 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: Germany

Re: award weapon problem

Post by -=[PfW]=- Bacara »

wheni removed the lines in the odf. it dosen't work.
but -1 is a good idea, i will try.
Post Reply