show custom gametype in server list

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
User avatar
proximo
Warrant Officer
Posts: 137
Joined: Mon Dec 20, 2004 8:48 pm
Location: Belgium
Contact:

show custom gametype in server list

Post by proximo »

How to show custom gametype in server list( for exemple "flight bot war" instead of "Team Deatmatch" )
www.mohaaclantb.tk
Take a look to our server we add bots to more than 120 maps and we never stop
Server IP 91.194.236.203:12207
Image
Image
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

set g_gametypestring whatyouwant
Image
User avatar
proximo
Warrant Officer
Posts: 137
Joined: Mon Dec 20, 2004 8:48 pm
Location: Belgium
Contact:

Post by proximo »

jv_map wrote:set g_gametypestring whatyouwant
where do i put this line? in server.cfg or in .scr
www.mohaaclantb.tk
Take a look to our server we add bots to more than 120 maps and we never stop
Server IP 91.194.236.203:12207
Image
Image
User avatar
ViPER
General
Posts: 1058
Joined: Fri Jan 14, 2005 5:48 pm
Location: California
Contact:

Post by ViPER »

in cfg -

in map script like this

setcvar "g_gametypestring" "yourstuff"

i"m wondering - for map.scr - How can you make the gametypestring change only for the current map. and back to default gametype for the next map?
Rookie One.pl
Site Admin
Posts: 2752
Joined: Fri Jan 31, 2003 7:49 pm
Location: Nowa Wies Tworoska, Poland
Contact:

Post by Rookie One.pl »

Maybe set it back just before the round time runs out or fraglimit gets hit (I don't know how to check the fraglimit)?
Admin
Image
Image
Honour guide me.

here's my stuff - inequation.org | here's where I work - thefarm51.com
Green Beret
Major General
Posts: 746
Joined: Mon Apr 19, 2004 12:21 pm
Contact:

Post by Green Beret »

if mohdm4, run string, if anyother map, run default but in scripting language.
Image
Post Reply