AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Unapproved/Old Plugins (https://forums.alliedmods.net/forumdisplay.php?f=27)
-   -   MapGroup (https://forums.alliedmods.net/showthread.php?t=58030)

KobraPL 07-17-2007 11:39

MapGroup
 
1 Attachment(s)
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)

Alka 07-17-2007 14:33

Re: MapGroup
 
Hum...but what about this ?! http://forums.alliedmods.net/showthread.php?t=53679

sytremelaker 07-17-2007 15:17

Re: MapGroup
 
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.

Halolo 07-17-2007 15:34

Re: MapGroup
 
Yes. This is a very good plugin ;) Sounds good :up:

KobraPL 07-17-2007 16:02

Re: MapGroup
 
Quote:

Originally Posted by sytremelaker (Post 504511)
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.

AdogeN 07-24-2007 05:24

Re: MapGroup
 
this plugin is choose ? OR auto random nextmap ? :roll:

KobraPL 07-28-2007 10:51

Re: MapGroup
 
Quote:

Originally Posted by AdogeN (Post 507493)
this plugin is choose ? OR auto random nextmap ? :roll:

The nextmap is a random map picked from a collection of maps, that agree with the point from first post.

Guenhwyvar 07-28-2007 13:54

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

Sounds nice!

KobraPL 08-05-2007 18:48

Re: MapGroup
 
Quote:

Originally Posted by Guenhwyvar (Post 509414)
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.

AdogeN 08-19-2007 11:53

Re: MapGroup
 
mapgroup 1,2,3,4,5,6 end then turn 1?
ex)1,2,3,4,5,6,1,2,3,4,5,6.......?


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

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