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

MapGroup


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Gameplay       
KobraPL
Junior Member
Join Date: Oct 2006
Location: Poland, Krakow
Old 07-17-2007 , 11:39   MapGroup
Reply With Quote #1

MapGroup v1.0

My new plugin for choosing nextmap. The chosen map is one that:
1. wasn't played for 10 maps
2. isn't currently played map
3. isn't in a group that current map is in

First 2 points are selft explanatory. Third can be a bit tricky. There are 10 groups at Your disposal. Each can consist of some maps of Your choochsing. Let's say that current map is in group #1 - in such case the nextmap can't be in this group. Here are some examples of groups on my server.

mapgroup1.txt
Code:
de_dust2
de_dust
de_dawn
de_dust2002
de_dust4
mapgroup2.txt
Code:
cs_assault_upc
cs_winter_assault
cs_city_assault
mapgroup3.txt
Code:
de_cpl_fire
de_clan2_fire
mapgroup4.txt
Code:
de_russka
cs_robbery
de_plaka
de_westwood
de_celtic
mapgroup5.txt
Code:
cs_italy
cs_italy2
The configuration files should be put in
Code:
addons/amxmodx/configs
Group files are named mapgroup#.txt where # is a number from 1 to 10. mapgroup.txt is the file with last 10 played maps.

(tested only on CS)
Attached Files
File Type: sma Get Plugin or Get Source (amx_mapgroup.sma - 911 views - 4.4 KB)
__________________
KobraPL is offline
Alka
AMX Mod X Plugin Approver
Join Date: Dec 2006
Location: malloc(null)
Old 07-17-2007 , 14:33   Re: MapGroup
Reply With Quote #2

Hum...but what about this ?! http://forums.alliedmods.net/showthread.php?t=53679
__________________
Still...lovin' . Connor noob! Hello
Alka is offline
sytremelaker
Senior Member
Join Date: Jun 2006
Location: Staples Center, Los Ange
Old 07-17-2007 , 15:17   Re: MapGroup
Reply With Quote #3

heh, both plugins are very similar. This one I would rather use just because it eliminates the probability of a map being played over and over. Awesome plugin.
__________________
@ PC Shop Gaming
LetShannonDunk.com - 2010 All-Star Dunk Contest hopeful!
sytremelaker is offline
Send a message via AIM to sytremelaker
Halolo
Senior Member
Join Date: Jul 2006
Location: Germany/Hessen
Old 07-17-2007 , 15:34   Re: MapGroup
Reply With Quote #4

Yes. This is a very good plugin ;) Sounds good
__________________
Halolo is offline
KobraPL
Junior Member
Join Date: Oct 2006
Location: Poland, Krakow
Old 07-17-2007 , 16:02   Re: MapGroup
Reply With Quote #5

Quote:
Originally Posted by sytremelaker View Post
heh, both plugins are very similar. This one I would rather use just because it eliminates the probability of a map being played over and over. Awesome plugin.
And there is no vote - just "amx_nextmap" is changed after plugin_init.
__________________
KobraPL is offline
AdogeN
Senior Member
Join Date: Feb 2007
Old 07-24-2007 , 05:24   Re: MapGroup
Reply With Quote #6

this plugin is choose ? OR auto random nextmap ?
AdogeN is offline
KobraPL
Junior Member
Join Date: Oct 2006
Location: Poland, Krakow
Old 07-28-2007 , 10:51   Re: MapGroup
Reply With Quote #7

Quote:
Originally Posted by AdogeN View Post
this plugin is choose ? OR auto random nextmap ?
The nextmap is a random map picked from a collection of maps, that agree with the point from first post.
__________________
KobraPL is offline
Guenhwyvar
AMX Mod X Beta Tester
Join Date: Jul 2005
Location: Berlin / Germany
Old 07-28-2007 , 13:54   Re: MapGroup
Reply With Quote #8

What about a map being in more than one group?
Is the # of lastplayed maps configurable by cvar?

Sounds nice!
Guenhwyvar is offline
KobraPL
Junior Member
Join Date: Oct 2006
Location: Poland, Krakow
Old 08-05-2007 , 18:48   Re: MapGroup
Reply With Quote #9

Quote:
Originally Posted by Guenhwyvar View Post
What about a map being in more than one group?
Is the # of lastplayed maps configurable by cvar?

Sounds nice!
Map can only be in 1 group - I'm to lazy, to check what would happen if You put it in 2 groups ;)

The # is not configurable, maybe in the future.
__________________
KobraPL is offline
AdogeN
Senior Member
Join Date: Feb 2007
Old 08-19-2007 , 11:53   Re: MapGroup
Reply With Quote #10

mapgroup 1,2,3,4,5,6 end then turn 1?
ex)1,2,3,4,5,6,1,2,3,4,5,6.......?
AdogeN 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 10:21.


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