Raised This Month: $ Target: $400
 0% 

TF2: Holiday Map Rotation Plugin


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Chdata
Veteran Member
Join Date: Aug 2012
Location: Computer Chair, Illinois
Old 07-02-2017 , 19:14   TF2: Holiday Map Rotation Plugin
Reply With Quote #1

Lots of maps tend to have holiday based reskins.

For example, koth_viaduct, koth_eyeduct, koth_product.

A winter, halloween, and summer based map.

It'd be cool if there were a plugin that makes use of these files:

mapcycle_normal.txt
"mapcycle_halloween.txt" "10-1 10-e"
mapcycle_winter.txt "11-15 1-15"
mapcycle_summer.txt "6-1 7-e

Or whatever mapcycle_X file you create.

Rather than rewriting the entirety of mapcycle.txt or something, one could make a plugin that edits sourcemod/configs/maplists.cfg

Not sure if mapchooser extended also uses that file though, but hopefully mce would be supported.

If I have more time I might make it myself, but if someone wants to take it up instead, or knows a more optimal method of making this, that's cool too ;p
__________________
Chdata is offline
sdz
Senior Member
Join Date: Feb 2012
Old 07-02-2017 , 23:20   Re: TF2: Holiday Map Rotation Plugin
Reply With Quote #2

a little thing I made in C# as a console app week ago because I was too lazy to make a mapcycle.txt, modified for you...
Ideally you'd just place it inside the maps folder, run it and it'll generate a mapcycle.txt. However, this untested modified version *should* work the exact same, just filtering for whatever you may deem worthy.
Spoiler

You'd just need to change what was contained by MAP_FILTER and I reckon it'd work? Very simple way of going about things rather than running around goofing with all kinda configs and such

Last edited by sdz; 07-02-2017 at 23:22.
sdz 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 13:39.


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