Advertisement
Page 1 of 1
Changing mapcycle when gamemode is changed
#1
Posted 05 March 2015 - 11:20 AM
Hello,
In the context of running a server, is it possible to have a specific mapcycle for each game mode?
I found this piece of support but it gives the info opposite to what I'm looking for (a gamemode per map, as opposed to a mapcycle per gamemode).
Thanks in advance,
Bad
In the context of running a server, is it possible to have a specific mapcycle for each game mode?
I found this piece of support but it gives the info opposite to what I'm looking for (a gamemode per map, as opposed to a mapcycle per gamemode).
Thanks in advance,
Bad
#3
Posted 05 March 2015 - 05:10 PM
Hey,
I'm looking for the opposite.
Your solution: How to set a particular gamemode per map, on one mapcycle file
What I want: How to have multiple different mapcycles, that are used depending on the gamemode.
Edit: This rotator plugin you talked about in that thread might solve it for me though. Thanks !
I'm looking for the opposite.
Your solution: How to set a particular gamemode per map, on one mapcycle file
What I want: How to have multiple different mapcycles, that are used depending on the gamemode.
Edit: This rotator plugin you talked about in that thread might solve it for me though. Thanks !
This post has been edited by Badfurday: 05 March 2015 - 05:17 PM
#4
Posted 05 March 2015 - 07:43 PM
Badfurday, on 05 March 2015 - 05:10 PM, said:
Hey,
I'm looking for the opposite.
Your solution: How to set a particular gamemode per map, on one mapcycle file
What I want: How to have multiple different mapcycles, that are used depending on the gamemode.
Edit: This rotator plugin you talked about in that thread might solve it for me though. Thanks !
I'm looking for the opposite.
Your solution: How to set a particular gamemode per map, on one mapcycle file
What I want: How to have multiple different mapcycles, that are used depending on the gamemode.
Edit: This rotator plugin you talked about in that thread might solve it for me though. Thanks !
Hmm yes can be the rotator plugin, but I don't like use that, I prefer use different .cfg files.
#5
Posted 06 March 2015 - 08:02 AM
There's a b3 plugin for that.
Click Here!
I haven't used it, but it looks like it's the one you need.
Click Here!
I haven't used it, but it looks like it's the one you need.
This post has been edited by tintir: 06 March 2015 - 08:03 AM
Advertisement
#6
Posted 09 March 2015 - 11:38 PM
If you don't want to use b3, you can instead create an rcon command which changes the gametype and also changes the mapcycle.
The easy way to do this is by adding the following line to the bottom of the server.cfg file.
So let me break down how this works and then tell you how to use it.
So first, you are creating a command called "ctfmode" which you can call from in game to do what you want. So you will want to create a separate line for each game type with the specific settings you want for each game type.
The g_gametype sets what gametype will be set (obviously)
Next I set the new mapcycle file. This should be a new text file in your server's q3ut4 folder with the same name you use in the command above. So in this case you would add a new file called "ctfcycle.txt" and then add in the maps like usual.
Lastly, the reload command reloads the server with the new settings.
You could also replace
So to call this command, all you need to do is open the console while you are on the server and use the command:
Also, please note that your server needs to be restarted after adding that line to the server.cfg or you can run "rcon exec server.cfg" if you want.
---
One last note, Its been a while since I have created server commands like this. Its possible that if the above command doesn't work you will need to add rcon before each of the commands in the line above. So it would look like:
The easy way to do this is by adding the following line to the bottom of the server.cfg file.
set ctfmode "set g_gametype 7; set g_mapcycle ctfcycle.txt; reload"
So let me break down how this works and then tell you how to use it.
So first, you are creating a command called "ctfmode" which you can call from in game to do what you want. So you will want to create a separate line for each game type with the specific settings you want for each game type.
The g_gametype sets what gametype will be set (obviously)
Next I set the new mapcycle file. This should be a new text file in your server's q3ut4 folder with the same name you use in the command above. So in this case you would add a new file called "ctfcycle.txt" and then add in the maps like usual.
Lastly, the reload command reloads the server with the new settings.
You could also replace
reload
with
map ut4_mapname
if you wanted to make the server switch to a specific map instead of just reload the current map. So to call this command, all you need to do is open the console while you are on the server and use the command:
rcon exec ctfmode
Also, please note that your server needs to be restarted after adding that line to the server.cfg or you can run "rcon exec server.cfg" if you want.
---
One last note, Its been a while since I have created server commands like this. Its possible that if the above command doesn't work you will need to add rcon before each of the commands in the line above. So it would look like:
set ctfmode "rcon set g_gametype 7;rcon set g_mapcycle ctfcycle.txt;rcon reload"
This post has been edited by KroniK: 09 March 2015 - 11:43 PM
Page 1 of 1
1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users
Advertisement