View Full Version : Vstr nextmap aliasing
UnDead
03-15-2003, 08:06 PM
Vstr nextmap aliasing now functions properly
Does this mean that we can now mix the different gametypes without a custom mixmod, if so how do i do it?
Hammer
03-16-2003, 12:37 AM
Yep, it indeed is working properly ... 8) 8) 8) :D :D
It's relatively simple, first create cvars that set all config for each map AND also sets up the nextmap entry to call whatever map you wish to run next. Here's a basic setup:[code:1]set x1 "set nextmap vstr x2;timelimit 20; fraglimit 200; g_gametype 2; map dm/mohdm1"
set x2 "set nextmap vstr x3;timelimit 15; fraglimit 5; g_gametype 5; map obj/mp_flughafen_tow"
set x3 "set nextmap vstr x1;timelimit 10;fraglimit 2; g_gametype 4; map obj/obj_team3"
vstr x1 // Startup first map ...
[/code:1]
--[MC] Hammer
Commando
04-05-2003, 05:06 AM
where do you put all that?do you need to change anything else?i tried putting it in a cfg and running it and it just said can't load obj in non obj gametype.
UnDead
04-05-2003, 12:11 PM
You replace the maplist with it. So at the end of your server.cfg there will be the maplist. Remove the maplist and replace it with the below VSTR info.
The reason you got that messages is because you didn't remove the maplist. Replace the maplist with the VSTR list. So you would replace, for example:
// Map
// Starting map on the rotation.
map "obj/MP_Flughafen_TOW"
// Map Rotation List
sv_maplist "obj/MP_Druckkammern_TOW obj/MP_Flughafen_TOW obj/MP_Ardennes_TOW obj/MP_Berlin_TOW "
Replace the above with:
set x1 "set nextmap vstr x2;timelimit 20; fraglimit 200; g_gametype 2; map dm/mohdm1"
set x2 "set nextmap vstr x3;timelimit 15; fraglimit 5; g_gametype 5; map obj/mp_flughafen_tow"
set x3 "set nextmap vstr x1;timelimit 10;fraglimit 2; g_gametype 4; map obj/obj_team3"
vstr x1 // Startup first map ...
Do not change the X variable to anything but X.
Commando
04-06-2003, 03:13 AM
thanks for taking the time to help out a poor noob,so many would'nt bother. :D
first 3 maps work,i added more but it sits there,don't crash,just don't do anything.
here is my cfg..
// Don't change port setting.
set net_port 12204
//Server list
seta sv_hostname "=4th= Spearhead Server=hosted by www.jolt.co.uk"
set sv_maxclients "24"
seta sv_PrivateClients "22"
set g_teamdamage 1
set g_allowvote 0
maprotationtime 20
roundlimit 5
set dmflags 0
set sv_gamespy 1
seta g_motd "Welcome to the =4th= Spearhead Server"
//passwords
seta g_password ""
set rconpassword ""
set sv_privatepassword ""
// set dmflags 0 //lean straffing
set dmflags 262144
// **************************************************
set ui_dedicated 1
set g_healthdrop 1
set g_realismmode 0
set sv_dmspeedmult 1.000000
set g_healrate 10
set sv_floodprotect 1
set sv_flood_waitdelay 10
set sv_flood_persecond 5
set g_inactivespectate 60
set sv_team_spawn_interval 15
set sv_gamespy 1
set g_forceteamspectate 1
set sv_invulnerabletime 5
set g_teamkillwarn 1
set g_teamkillkick 3
set g_teamswitchdelay 15
set g_allowjointime 15
sv_sprinton 0
sv_runspeed 250
set sv_maxrate 9000
seta g_forc
seta sv_fps "20"
seta sv_precache "1"
set x1 "set nextmap vstr x2;timelimit 20; fraglimit 200; g_gametype 3; map dm/mohdm1"
set x2 "set nextmap vstr x3;timelimit 15; fraglimit 5; g_gametype 5; map obj/mp_flughafen_tow"
set x3 "set nextmap vstr x4;timelimit 10; fraglimit 2; g_gametype 4; map obj/obj_team1"
set x4 "set nextmap vstr x5;timelimit 20; fraglimit 200; g_gametype 3; dm/MP_Brest_DM"
set x5 "set nextmap vstr x6;timelimit 15; fraglimit 5; g_gametype 5; obj/MP_Druckkammern_TOW"
set x6 "set nextmap vstr x7;timelimit 10; fraglimit 2; g_gametype 4; map obj/obj_team2"
set x7 "set nextmap vstr x8;timelimit 20; fraglimit 200; g_gametype 3; dm/MP_Gewitter_DM"
set x8 "set nextmap vstr x9;timelimit 15; fraglimit 5; g_gametype 5; obj/MP_Ardennes_TOW"
set x9 "set nextmap vstr x10;timelimit 10; fraglimit 2; g_gametype 4; map obj/obj_team4"
set x10 "set nextmap vstr x11;timelimit 20; fraglimit 200; g_gametype 3; dm/MP_Holland_DM"
set x11 "set nextmap vstr x1;timelimit 15; fraglimit 5; g_gametype 5; obj/MP_Berlin_TOW"
vstr x1 // Startup first map ...
any ideas? :(
Commando
04-06-2003, 09:07 AM
hmm,its not crashing..it just sits there at the score screen..ppl go actually drop into spectator mode..lol(before they get pissed off and leave that is,lol)
UnDead
04-06-2003, 02:12 PM
What OS is your server running on. Also is it rented or are you running the server yourself.
If rented. Have you typed rcon quit in console to have server repull info from the server.cfg file. Does your server run the server.cfg file when rebooted? Most rented servers should.
Commando
04-06-2003, 02:29 PM
its rented from jolt.its an uberserver,running win2k.i exec the cfg after the game loaded with the cfg we normally use.running the cfg is not the prob,it just stops changing the maps for some reason,and just sits at the scoreboard.
UnDead
04-06-2003, 02:53 PM
Ok.. hmm... Assuming you are running 2.15 version of spearhead, I wasn't sure, so i will ask.
If you make maplist smaller does that play through? Does it only do it on that 4th map no matter what the map is? I have only tried the variation of TOW>OBJ>TOW>OBJ and that works fine. Anyone else having the same problem as commando?
Floyd
04-07-2003, 09:32 AM
Running from memory here (almost the same as running on empty),
Wasn't there thread here that suggested placing the 'set nexmap vstr x...' string AFTER setting the variables for the current map?
i.e. :
set x4 "set nextmap vstr x5;timelimit 20; fraglimit 200; g_gametype 3; dm/MP_Brest_DM"
becomes:
set x4 "timelimit 20; fraglimit 200; g_gametype 3; dm/MP_Brest_DM;set nextmap vstr x5"
Floyd
Buzz_Litebeer
04-07-2003, 10:28 AM
I dont think it should really matter whether the nextmap vstring stuff is done at the begging of the end, the only reason it might matter is if in the hundreth of a milisecond it received a change map command and screws up somewhere .
Commando
04-07-2003, 10:50 AM
thanks for your time,i got it working now,
i screwed it up..i never put map in some of the lines before the map name..it did all sorts of crazy stuff..lol
its fixed now tho,so its all good.how would i accomplish the same thing with medal of honour tho? :rolleyes:
UnDead
04-08-2003, 07:47 PM
no, unfortunatly MohAA is unsupported completely by ea. So VSTR only works for Spearhead.
Hahaha :D I cannot believe I didn't see that either. Glad you got it working. Peace
UnDeAd
claymore
04-21-2003, 08:49 AM
is there any way i can change map from rcon while running a rotation in this way, i have tried the usual ways ie:gamemap obj/obj_team1 but if the map i just changed from is not an objective map the map i change to plays in that game type, i tried several different ways to change maps using the vstr alaises but none seem to work.
Buzz_Litebeer
04-21-2003, 09:44 AM
you need an alias for it, if you are interested in a good set of aliases that WILL switch to a map properly, and make the appropriate changes, check out the addonpak for MAM, in its configuration file (addonpak.cfg) it will have aliases that change maps properly.
and the addonpak documentation (also on this site) will have the other needed appropriate information.
claymore
04-22-2003, 04:01 AM
thank you
alex675
06-02-2003, 04:17 PM
is there any mod that i need to add or is this built in
UnDead
06-03-2003, 01:48 PM
VSTR is built into Spearhead running 2.15 patch only. There are mods that emulate VSTR. HammersGoodies can do that for other versions of Mohaa.
vBulletin® v3.7.4, Copyright ©2000-2008, Jelsoft Enterprises Ltd.