Alliedassault           
FAQ Calendar
Go Back   Alliedassault > FPS Gaming General Discussion > MoH General Discussion
Reload this Page Objective/TOW bug in my Mixed GameType mod.
MoH General Discussion General Discussion about Medal of Honor: Allied Assault, expansions and Pacific Assault

Reply
 
Thread Tools Display Modes
Objective/TOW bug in my Mixed GameType mod.
Old
  (#1)
Mr_nStuff is Offline
Senior Member
 
Posts: 763
Join Date: Apr 2002
Location: California
   
Default Objective/TOW bug in my Mixed GameType mod. - 11-19-2002, 08:54 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..


// 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" "12"
setcvar "roundlimit" "0"

Anyone fix this in there MOD? Thanks..
  
Reply With Quote
Old
  (#2)
defenseless old man is Offline
Junior Member
 
Posts: 6
Join Date: Oct 2002
   
Default 11-20-2002, 11:21 PM

*bump*

I'd like to know the same thing.
  
Reply With Quote
Old
  (#3)
Elvite is Offline
Member
 
Posts: 79
Join Date: Jan 2002
   
Default 11-21-2002, 01:44 PM

There's no way around this "bug", using the method you're using. The same exact thing happens when you do this in Allied Assault. In fact, read my old post from about 9 months ago, [url:49227]http://www.alliedassault.com/ubb/Forum1/HTML/004754-3.html[/url:49227]. My entry is 6th from the top.

Unfortunately you just have to live with it. There is currently no better way to get mixed gametype rotations than the way you're doing.

One suggestion, the bug only occurs on maps for which the previous map was a different gametype. In other words, if you just played a Round-based map and the next map is an Objective map, then the bug will occur on that Objective map. However, if you're playing an Objective map and the next map is also a Objective map, then the bug will not happen on that 2nd Objective map. So, if you try to group the maps together in your rotation list so that you play all of one gametype, then all of another gametype, etc, (like this DM, DM, DM, OBJ, OBJ, OBJ, TDM, TDM, TOW, TOW, TOW), you'll minimize the amount of times that this bug occurs.

There is another thing you can do. As soon as a map comes up that has switched gametypes, type RCON RESTART in your console, (provided you have RCON access to your server). Better yet, bind a key to the command. For instance, if you typed this in console, BIND END RCON RESTART, then the END key on your keyboard would automatically perform that command. (You could map a different key, if you want). Doing RCON RESTART at the very beginning of round 1 prevents the bug from wiping out your scores after the first round. We do that on our server and it has helped us not be annoyed by it.

However, you do get used to it. It's a pretty minor bug.

Finally, there is a better way for mixed gametype rotations, that has not yet been implemented into MoH AA or SH. Read about it here, [url:49227]http://www.alliedassault.com/phpBB2/viewtopic.php?p=296997#296997[/url:49227]. This involves creating variable strings in your Server.cfg file. It doesn't currently work in MoH, but it is supposed to and, according to a developer from EA, it is supposed to be patched into the game soon. This will eliminate the need for modifying the SCR files altogether.
  
Reply With Quote
Old
  (#4)
Mr_nStuff is Offline
Senior Member
 
Posts: 763
Join Date: Apr 2002
Location: California
   
Default 11-23-2002, 08:53 AM

Yeah.. I know..

I'm pretty sure there's another way around it.. No one has broke the ice yet.. But it's possible.. I would much rather see the VSTR command working though..

But I think there's a way to mod the map scr files to load the next gametype at the end of each map.. Just no one has figured it out yet..

I mean.. The screen goes black at the end of each map.. And the ambient sounds fade out.. Right here is a golden opportunity to change the gametype for the following map.. Unfortunately I cannot find any scripts in MOHAA or MOHSH that are directly involved with the Multiplayer End Map sequence..I guess it's hard coded or something.. Seems alittle weird. I can mod all sorts of stuff now... But I still can't seem to find the only one i've been looking for..


Lets say you have a Team-Match map loaded, your gametype is 2, and you know the next map is a TOW map... You could add a line like this to the end of the current maps scr file. So that when it's timlimit expires, It automatically sets the gametype before loading the next map..

[code:dd47f]thread setnext

setnext:

level.limit_time = int( getcvar( timelimit ) )
while (level.time < level.limit_time)
{
wait .1
}
setcvar "g_gametype" "5"
setcvar "g_gametypestring" "Tug-of-War"
setcvar "sv_team_spawn_interval" "15"
setcvar "roundlimit" "0"
self remove

end[/code:dd47f]

If I had the rights to play with this all day, a little trial and error time, I could probably get something like this working no problem.. But right now no luck.. Because I only get to test one script every couple of days because I-Lan doesn't allow multiple administrators.. Bummer.
  
Reply With Quote
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Powered by vBulletin® Version 3.8.12 by ScriptzBin
Copyright ©2000 - 2025, vBulletin Solutions Inc.
vBulletin Skin developed by: vBStyles.com
© 1998 - 2007 by Rudedog Productions | All trademarks used are properties of their respective owners. All rights reserved.