Page 1 of 1

need help with map time.

Posted: Fri Aug 29, 2003 10:02 am
by king_of_hi_ping
I have a map I would like to add to our mixmap rotation, the rotation is set for 20 minutes for each map,

The new map I would like to add is filled with server info text and is unplayable, ... simply put.. a comercial. Anyway, it only needs to last 1 minute and 20 seconds then be switched to the next map in rotation,

the problem I'm having is the server cfg is set for 20 minutes witch in turns makes this map run at 20 as well,

does anyone know of a script witch will make this map run for less then the server cfg, or if i can add a line to the map script changing the server cfg to 120 then turning it back to 20 the next map,

thanks for any help you can give.

=LMAO= King of Hi Ping

Posted: Fri Aug 29, 2003 4:29 pm
by SNakeFluGeL
You could add a script for that allthough I am not really sure if I got the commands right I thought it was something like (out of my head)

wait 60
nextmap

or something.... I think their should be something in front...ohw well
or try

wait 60
map "obj/obj_team2"

or something still not sure if it works but you can try =)

Posted: Fri Aug 29, 2003 6:44 pm
by Alcoholic
in the script you'll have to do something like:

Code: Select all

main:

     level waittill prespawn

     //whatever your code was

     level waittill spawn

     thread timer

     //whatever your code was

     level waittill roundstart
     end

timer:

     wait 60
     
     map "obj/obj_team3" //if that doenst work try the next line
     setcvar "map" "obj/obj_team3"
     end
Something like that. :wink:

Posted: Fri Aug 29, 2003 7:14 pm
by SNakeFluGeL
Alcoholic you have omaha in the map rotation LOL (obj/obj_team3) lol =)

Posted: Fri Aug 29, 2003 7:56 pm
by Alcoholic
Thats just the one I remember I just got DC and I been playing it alot.