Disabling Award Weapons via the LUA
Moderator: Moderators
-
AQT
- Gametoast Staff

- Posts: 4910
- Joined: Sat Nov 03, 2007 4:55 pm
- Location: SoCal, USA
Disabling Award Weapons via the LUA
How would I disable award weapons via the lua? I did a few searches and couldn't find a straightforward answer. Thanks.
-
computergeek
- General

- Posts: 770
- Joined: Thu Jun 07, 2007 6:26 pm
- Projects :: Halo Warthog vehicle for SWBF2
- xbox live or psn: No gamertag set
- Location: Far Far away....
-
AQT
- Gametoast Staff

- Posts: 4910
- Joined: Sat Nov 03, 2007 4:55 pm
- Location: SoCal, USA
Re: Disabling Award Weapons via the LUA
I've already tried that with a (0) following it but it didn't work. Thanks for the help though.
-
computergeek
- General

- Posts: 770
- Joined: Thu Jun 07, 2007 6:26 pm
- Projects :: Halo Warthog vehicle for SWBF2
- xbox live or psn: No gamertag set
- Location: Far Far away....
Re: Disabling Award Weapons via the LUA
Maybe changing it to
might help?
I'll keep trying some things and if I get something that works I'll tell you
In the mean time check out the link I posed and see if you can find something
*Edit*
If you want to get rid of the points system all together, thus taking out the awards, look at the points.lua in the scripts folder
Just changing them all to zero should work (I'm testing right now)
*Edit 2*
Just tested ingame, but it seemed to have no effect. I'm not sure why though....
Maybe the points.lua needs to be loaded in the conquest lua
Zerted we need you!
Code: Select all
ScriptCB_SetPlayerAwardsDisabled I'll keep trying some things and if I get something that works I'll tell you
In the mean time check out the link I posed and see if you can find something
*Edit*
If you want to get rid of the points system all together, thus taking out the awards, look at the points.lua in the scripts folder
Hidden/Spoiler:
*Edit 2*
Just tested ingame, but it seemed to have no effect. I'm not sure why though....
Maybe the points.lua needs to be loaded in the conquest lua
Zerted we need you!
-
AQT
- Gametoast Staff

- Posts: 4910
- Joined: Sat Nov 03, 2007 4:55 pm
- Location: SoCal, USA
Re: Disabling Award Weapons via the LUA
I tried that with a (1) following it and it still doesn't work. Yeah, we definately need Zerted.computergeek wrote:Code: Select all
ScriptCB_SetPlayerAwardsDisabled
- Frisbeetarian
- Jedi

- Posts: 1233
- Joined: Wed Sep 12, 2007 3:13 pm
Re: Disabling Award Weapons via the LUA
The points.lua has to do with giving points, not when the points are used to get award weapons. It should be noted that award weapons are handled outside of the Lua (they are handled via the weapon ODFs), but also that they are handled through medals. If there's a function to disable medals, that's where you'll want to look.
