ET map config
-
- New to forums
- Posts: 5
- https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
- Joined: Mon Oct 31, 2005 6:40 pm
ET map config
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?
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
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