PDA

View Full Version : Objective/TOW bug in my Mixed GameType mod.


Mr_nStuff
11-19-2002, 10:24 PM
I'm trying to find out if anyone has found a work around for the problem where Objective and Tug-o-War maps, after the second round, bumps everyone to spectator when your running a mixed gametype rotation mod..

Here's what I've added to the appropriate SCR files in my mod..


[code:1]// Mr_nStuff gametype Death-Match
setcvar "g_gametype" "2"
setcvar "sv_team_spawn_interval" "5"
setcvar "roundlimit" "0"

// Mr_nStuff gametype Objective
setcvar "g_gametype" "4"
setcvar "sv_team_spawn_interval" "0"
setcvar "roundlimit" "5"

// Mr_nStuff gametype Tug-o-War
setcvar "g_gametype" "5"
setcvar "sv_team_spawn_interval" "15"
setcvar "roundlimit" "0"[/code:1]

Anyone fix this in there MOD? Thanks..

BoSBrian
11-21-2002, 12:09 AM
what is the appropriate SCR file to add this script to? Have you gotten it to work?

Mr_nStuff
11-21-2002, 04:54 PM
They are in the pak1.pk3 with the exact same name as the maps they are scripted for.
(IE: obj_team2 - obj_team2.scr)

I got mine to work. I added all sorts of stuff to the map script files that works.. Just that when I load a TOW, RB, or OBJ map in my rotation, after the 1st round, it bumps everyone into spectator.. Very annoying.

I guess whenever you add the line setcvar "g_gametype" "x" to the main: section of a maps scr file.. It does this strange 2nd round spectator bump..

I haven't tested it yet.. But maybe instead of changing the g_gametype variable using the scr file. Perhaps I could leave that alone and use this level.gametype = x method in the scr files instead. Maybe it wont produce the spectator buggy..

Have to test it..

UGC-Booter
11-22-2002, 09:19 AM
Have you fixed the spectator bump....?