Raised This Month: $51 Target: $400
 12% 

[REQ] Exec sequential cfgs on mapchange


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Nomarky
SourceMod Donor
Join Date: Sep 2007
Old 12-19-2008 , 10:55   [REQ] Exec sequential cfgs on mapchange
Reply With Quote #1

Hi

I need to exec sequential cfgs each mapchange:

I.E. Exec 1.cfg on first mapchange, 2.cfg on second mapchange, 3.cfg on the third mapchange etc then after the last cfg has been executed start with 1.cfg and so on. The ability to have five cfgs would be more than enough.

I'm guessing this would be relatively easy with SM, but my scripting skills arn't up to it, so could anyone help me out?

Cheers!
Nomarky is offline
Sammy-ROCK!
Senior Member
Join Date: Jun 2008
Location: Near Mrs.Lag
Old 12-19-2008 , 11:19   Re: [REQ] Exec sequential cfgs on mapchange
Reply With Quote #2

Let'me see if I got what you meant:
1st map started you load 1.cfg.
2nd map started you load 2.cfg.
3rd map started you load 3.cfg and going?
You could easily do that without any plugins making it by maps but I guess there's a special reason for this right? Maybe make server always different. Am I close?
Sammy-ROCK! is offline
Nomarky
SourceMod Donor
Join Date: Sep 2007
Old 12-19-2008 , 12:38   Re: [REQ] Exec sequential cfgs on mapchange
Reply With Quote #3

Close, but as the nextmap is chosen by vote I can't predict the order, otherwise I would use map cfgs as you suggest.

My primary goal is to add a couple of popular maps to each end of map vote, as sometimes the list doesn't have anything popular for players to choose, map changes, server empties etc etc.

I've looked at Zerak's Mapvote plugin, but I feel it is a little too complicated for my map admins to get their heads round. They have trouble puting maps in maplist and mapcycle as it is!
Nomarky is offline
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


All times are GMT -4. The time now is 23:58.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode