Disabling Rewards?
Moderator: Moderators
-
Darth Elmo
- Private Third Class
- Posts: 47
- Joined: Sat Sep 15, 2007 8:20 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Italy
- Contact:
Disabling Rewards?
Hey in the new map I am making, where do I disable reward weapons? Thanks 
- Silas
- Captain

- Posts: 481
- Joined: Thu Oct 11, 2007 5:30 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Contact:
Re: Disabling Rewards?
Can't you just go to the unit's odf and remove the award weapons? I think that works.
- Teancum
- Jedi Admin

- Posts: 11080
- Joined: Wed Sep 07, 2005 11:42 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Indiana
Re: Disabling Rewards?
The 1.3 patch has an option in the fake console to remove it if I remember right.
- RED51
- Jedi

- Posts: 1024
- Joined: Sun Sep 07, 2008 6:25 pm
Re: Disabling Rewards?
There is another way to remove award weapons. Open up the weapon odf you want to disable the award weap, and near the top of odf, you should see these lines:
delete the score and medal lines like so:
Once you do that, it will remove the award weapon from the weapon. Hope that helps.
Code: Select all
WeaponClass]
ClassLabel = "cannon"
[Properties]
ScoreForMedalsType = 1
MedalsTypeToLock = 1
AnimationBank = "rifle"Code: Select all
WeaponClass]
ClassLabel = "cannon"
[Properties]
AnimationBank = "rifle"
-
Darth Elmo
- Private Third Class
- Posts: 47
- Joined: Sat Sep 15, 2007 8:20 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Italy
- Contact:
Re: Disabling Rewards?
That's my problem, thanks
!!!
-
MercuryNoodles
- Jedi

- Posts: 1003
- Joined: Sun Mar 12, 2006 7:16 pm
- Projects :: Space - Boarding Action
- xbox live or psn: No gamertag set
Re: Disabling Rewards?
post obsolete
Query: Do you have any meatbags in dire need of being disposed of, Master?
Hidden/Spoiler:
Last edited by MercuryNoodles on Wed Sep 24, 2008 2:29 pm, edited 1 time in total.
- Maveritchell
- Jedi Admin

- Posts: 7366
- Joined: Mon Aug 21, 2006 11:03 pm
Re: Disabling Rewards?
Just a quick correction: only add in the lines:
-if you're modifying a weapon with a parent class set up for an award (like a pistol that has a ClassParent of com_weap_inf_pistol). If you're building a weapon from the ground up (no class parent - I recommend this in most cases), then omit the lines entirely.
Code: Select all
ScoreForMedalsType = -1
MedalsTypeToUnlock = -1 - Frisbeetarian
- Jedi

- Posts: 1233
- Joined: Wed Sep 12, 2007 3:13 pm
Re: Disabling Rewards?
If he's just making a map without new sides, couldn't he disable the award weapons via the Lua?
-
MercuryNoodles
- Jedi

- Posts: 1003
- Joined: Sun Mar 12, 2006 7:16 pm
- Projects :: Space - Boarding Action
- xbox live or psn: No gamertag set
Re: Disabling Rewards?
Gah, I knew I had something backwards again. Now that I remember, it was the parenting that caused me to go through all of that. Blame my messy sides. They gave me all sorts of weird problems because I'd made them the lazy way. <---Another reason to not copy whole side folders.
Anyway, yes, that's almost right, except you mean MedalsTypeToLock. That bit you quoted is the award weapon unlock parameter. I don't use parenting in my newer weapons, so I should've remembered to mention that. Thanks for bringing that up.
Now, to get this right, since I had a step too many. For parented weapons:
1) disable the normal weapon's lockout with the -1 value
2) remove the award weapon from the unit odf
Anyway, yes, that's almost right, except you mean MedalsTypeToLock. That bit you quoted is the award weapon unlock parameter. I don't use parenting in my newer weapons, so I should've remembered to mention that. Thanks for bringing that up.
Now, to get this right, since I had a step too many. For parented weapons:
1) disable the normal weapon's lockout with the -1 value
2) remove the award weapon from the unit odf
- [RDH]Zerted
- Gametoast Staff

- Posts: 2982
- Joined: Sun Feb 26, 2006 7:36 am
- Projects :: Bos Wars AI - a RTS game
- xbox live or psn: No gamertag set
- Location: USA
- Contact:
Re: Disabling Rewards?
Yes he could. There are many ways to do some things. However, we can't come up with the best way for him to do it if he only gives us so little information...Frisbeetarian wrote:If he's just making a map without new sides, couldn't he disable the award weapons via the Lua?
