Page 1 of 1

how do I remove weapons in osp?

Posted: Sat Jan 06, 2007 11:31 am
by recognize
hey guyz. wondering how I remove weapons in OSP.??
I want rockets and rails only. any clue?

*Hmmmm++*

Posted: Sun Jan 07, 2007 3:25 am
by PieceMaker
Are you running a Quake3 OSP server?
Or.... What exactly do you want to do? :)

Have you looked in the OSP\DOCS folder yet by chance?

Posted: Sun Jan 07, 2007 11:37 am
by recognize
ya, I'm running an osp server. What I'd like to do is make the rail delay 700 instead of the default 1500. There is a way it can be done by changing the game play to Instagib. Then one can set the raildelay to whatever by using
Instagib_reload 700
But I cant find out how one can change the delay in normal game play, if at all.

And I was also wondering how to remove all weapons from the game excluding the rocket and the rail.

Posted: Sun Jan 07, 2007 12:07 pm
by recognize
reload <100-5000> Sets railgun reload time (in ms). Available only
under instagib mode.

so it loks like I cant change the raildelay in normal game play. I wish there was a mod out there that was alround perfact.

Hmm?

Posted: Mon Jan 08, 2007 4:49 am
by PieceMaker
Tried checking out Commander Keen's Q3 Guide over @ http://www.gameadmins.com

I'm sure you can find what you're looking for in the variables section.

:shrug: Hint. Try finding disable_<item name> on the page.
Then take a look at the disable.cfg or enable.cfg

Not sure..... but that might help you out?

Posted: Mon Jan 08, 2007 8:14 am
by ^misantropia^
In OSP, this is managed through the item_disable cvar. From Docs/osp-q3-Variables.txt:

Code: Select all

// item_disable <item_mask>
//  Describes all items (excluding powerups) to be removed from each
//  map (default = 0).  Note, this value is a sum of all the items
//  to be disabled, as listed below:
//
//      item_mask
//      ------------
//      * 0 - No items diabled
//        1 - All armor
//        2 - All health
//        4 - BFG
//        8 - Machinegun
//        16    - Shotgun
//        32    - GrenadeLauncher
//        64    - RocketLauncher
//        128   - LightningGun
//        256   - PlasmaGun
//        512   - RailGun
//
//      ---> Note, when a weapon is disabled, its associated
//           ammo is also removed.
//
//      Example: item_disable value of 511 effectively
//             removes all items from the map except for
//             the railgun and its ammo (slugs).
You're probably interested in powerup_disable, start_*, weapon_deaddrop, weapon_start and weapon_have as well. Documentation for these can be found in the same file.

Posted: Tue Jan 09, 2007 10:25 am
by recognize
thanks guyz.