View Full Version : Changing items in levels
Hi, how can I alter the items in a level on my server? I've seen servers that have all BFG's, for example..
Also can someone please post an example of how to rotate game types (from free for all to capture the flag, etc.)?
Thanks
-Myke
cRiTTeR
01/15/01, 03:17 pm
1. You'd need a mod to change items on levels. Or maps that have those items. Not sure bout the maps, but a mod can do that.
2. Rotating game types would be hard. Usually the server requires a reboot, or map_restart to swtich game types. You can "try" the following way.
set m1 "map q3dm2 ; g_gametype "0"; set nextmap vstr m2"
set m2 "map q3dm3 ; g_gametype "3"; set nextmap vstr m3"
set m3 "map q3tourney1 ; g_gametype "4"; set nextmap vstr m1"
vstr m1
Not sure if this will work. Insert approprieate ctf map name where applicable. Also, if you try and use tourney in there, tourney does not support a map rotation like this, so your rotation would be broken, if this even works. You "might" find a mod that has that capability as well. Of course, I may be completely wrong on this, I've never tried it myself.
------------------
cRiTTeR
[This message has been edited by cRiTTeR (edited 15 January 2001).]
You can rotate gametypes - that is no problem, usually I exec a config per gametype however the method that critter posted will work - with one exception, lose the quotes ("") around the g_gametype variable.
Pe@ce and Joy to you - i'm out http://gameadmins.com/ubb/cool.gif
------------------
Jesus Is Lord, Zxel
cRiTTeR
01/16/01, 12:42 pm
Yup, thanks Zxel. Didn't catch that one...
------------------
cRiTTeR
Dragonne-TRIAD
01/18/01, 01:37 pm
Are you sure that will work? I tried something like that for a LAN party(set up several vars to allow players to change the maps and gametype as they wanted with a simple vstr command) and there was a problem with that format. This (using the example given in the above post):
set m1 "map q3dm2 ; g_gametype 0; set nextmap vstr m2"
set m2 "map q3dm3 ; g_gametype 3; set nextmap vstr m3"
set m3 "map q3tourney1 ; g_gametype 4; set nextmap vstr m1"
...did not change the gametype until the NEXT map was started. In other words, the g_gametype 0 did not execute until after the map change, which queued up the change for the next map restart. In the above example, q3dm2 would start in gametype 4, and q3dm3 would start in gametype 0, with q3tourney running in gametype 3.
I got it to work by changing the gametype BEFORE the new map was specified, like this:
set m1 "g_gametype 0; map q3dm2; set nextmap vstr m2"
set m2 "g_gametype 3; map q3dm3; set nextmap vstr m3"
set m3 "g_gametype 4; map q3tourney1; set nextmap vstr m1"
That way worked just fine for me. Of course, I don't remember the gametype designations off of the top of my head, so that part is probably wrong, but the order of the syntax was what I was concerned with, not the values given in the previous example. http://gameadmins.com/ubb/smile.gif
------------------
Please remain calm. I'm trying to panic here...
Commander Keen
01/23/01, 10:58 am
with 1.27 point release you can remove items...
disable_<item name> this command allows the administrator of a server to disable a particular item from the map. as an example: "/set disable_weapon_bfg 1" will make it so that the bfg does not show up. changing the value back to 0 and executing a /map_restart command will bring the disabled item back. - K2
------------------
Commander Keen (http://console.q3center.com)
I didnt know that 1.27 supported item banning...nice.
I started using the Coliseum2 MOD on my server and it allows you to either ban or replace items at will.
vBulletin® v3.6.9, Copyright ©2000-2010, Jelsoft Enterprises Ltd.