I have a server currently running a custom campaign. I originally wanted to have my server play the north african campaign then switch to a custom map and I wanted it to have a different timelimit amung other stuff. How would I configure something like that?
Joined: Thu Jan 15, 2004 3:46 pm Posts: 886 Location: Corona, CA
I assume you would just put these commands into your campaign cycle.
When you throw in the custom map, include the cvars in that line.
set d# "set g_gametype # ; map yourcustommap ; set whatever_custom_command ; set whatever_other_custom_command ; set nextmap d#"
Something like that. You might have to set the custom commands before the map loads, I haven't played with it enough to know for sure.
Additionally, (for ET Pro only) on map changes, the server looks for a script named mapdefault_mapname.cfg to execute, where mapname is the name of the currently loaded map. If it is not found, it then looks for a script named mapdefault.cfg
yea i fiddled with all that hopeing that it would work but nothing has. that mapdefault_mapname thing didn't work either. everytyhing just ends up the same every time (the map loads up at its default 30 mins).
ok basically what happends is i'll load up the map and I look in the console it it shows it was changed to the time i wanted but farther down it says it was changed back to default. I cant figure out why.
Users browsing this forum: No registered users and 1 guest
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum