Alliedassault           
FAQ Calendar
Go Back   Alliedassault > FPS Gaming General Discussion > MoH General Discussion
Reload this Page Map cycle using server.cfg?
MoH General Discussion General Discussion about Medal of Honor: Allied Assault, expansions and Pacific Assault

Reply
 
Thread Tools Display Modes
Old
  (#1)
sTo0z is Offline
Junior Member
 
Posts: 16
Join Date: Jan 2002
   
Default 01-28-2002, 01:48 AM

How the heck do you tell your server.cfg to cycle through the different game modes, and in turn, all of the maps?

You always have to declare what game mode you want your server to run, so how is it possible to cycle through the modes? If it is, how do you do it? I like the objective-type maps but I'm tired of my server cycling through only those 4 maps, I want to cycle through everything.

If this is not possible I think it's pretty stupid that you have to edit your server.cfg every time you want to change modes, I want the server to do it naturally without my interference.

Now I'm not a very good scripter for anything but here is my only idea on the matter of solving this... Is it possible to perhaps tell the initial server.cfg to execute another .cfg file at the end of the map cycle for each game mode... So let's say all the objective maps have run their course, could it be possible to then tell the server.cfg to call another .cfg and then start a new cycle on the next game type? Then in turn it would cycle through all and eventually return to server.cfg and it would just keep going.

This is just a shot in the dark, would appreciate any feedback on this matter, because I would really like my server to cycle through all the modes and maps, wouldn't that be cool?
  
Reply With Quote
Old
  (#2)
Bull is Offline
Senior Member
 
Posts: 312
Join Date: Jan 2002
Location: Boston MA
   
Default 01-28-2002, 08:05 AM

What I had to do was setup different .CFG files for the different gametypes, and then created a separate shortcut for each gametype which calls the correct .CFG file.

So for example, I have a roundbased.cfg and an objective.cfg file. Then I have 2 shortcuts, one of them has + exec roundbased.cfg and the other has + exec objective.cfg.
The make sure you have the maplist cycle in each config based on gametype.
For roundbased I have:
sv_maplist "dm/mohdm1 dm/mohdm2 dm/mohdm3 dm/mohdm4 dm/mohdm5 dm/mohdm7"

For Obj I have:
sv_maplist "obj/obj_team1 obj/obj_team2 obj/obj_team3 obj/obj_team4"

In a dedicated server environment, this is the fastest way to switch. Otherwise you have to change the gametype and map from the console.

Hope this helps.

[This message has been edited by Bull (edited January 28, 2002).]
  
Reply With Quote
Old
  (#3)
sTo0z is Offline
Junior Member
 
Posts: 16
Join Date: Jan 2002
   
Default 01-28-2002, 09:19 AM

The only problem with that method is that you yourself have to execute the mode change with the separate .exe files calling the .cfg files.

What I was hoping for was a script method that allowed the server to switch between modes on its own.
  
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.