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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old
  (#4)
Mr_nStuff is Offline
Senior Member
 
Posts: 763
Join Date: Apr 2002
Location: California
   
Default 11-23-2002, 07: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
 



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.