how do I remove weapons in osp?

Locked
recognize
Posts: 40
Joined: Tue Dec 19, 2006 2:15 am

how do I remove weapons in osp?

Post by recognize »

hey guyz. wondering how I remove weapons in OSP.??
I want rockets and rails only. any clue?
PieceMaker
Posts: 899
Joined: Tue Jan 25, 2005 4:43 pm

*Hmmmm++*

Post 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?
recognize
Posts: 40
Joined: Tue Dec 19, 2006 2:15 am

Post 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.
recognize
Posts: 40
Joined: Tue Dec 19, 2006 2:15 am

Post 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.
PieceMaker
Posts: 899
Joined: Tue Jan 25, 2005 4:43 pm

Hmm?

Post 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?
^misantropia^
Posts: 4022
Joined: Sat Mar 12, 2005 6:24 pm

Post 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.
recognize
Posts: 40
Joined: Tue Dec 19, 2006 2:15 am

Post by recognize »

thanks guyz.
Locked