AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   MapsX [ v0.5.1 ] ( 2007-08-07 update) (https://forums.alliedmods.net/showthread.php?t=47318)

Ryu2877 11-15-2006 02:44

MapsX [ v0.5.1 ] ( 2007-08-07 update)
 
3 Attachment(s)
MapsX [ v 0.5.1 ] - Auto switch special plugins & parameter by differ map type


2007-08-07 update:

1. Add - custom roundtime of general map.

2. Fit - a BUG of delay change-map in "kz_" & FTF maps.

------------------------------------------------------------------

Description:

Amxx can do especial setting at each map by edite "mapname.cfg".
But many server has hundreds of maps,that make huge workload.
This plugin is just an idea to detect current map type, then on|off certain plugins & switch certain server's setting.
Switch plugins dipend on 2 file in config-dir folder: "kzList.ini" & "generalList.ini".

------------------------------------------------------------------

What is this plugin doing:

1. Manage 3th party plugins automatically
a. in kz_* map, turn on special plugins(save-position|parachute... etc.) & pause other fun-plugins
b. in general map(DE|CS|AS|ES), turn on fun-plugins(limitless-money|superweapon... etc.) & pause kz-plugins
c. in face-to-face(awp_*|aim_*...etc.) map, turn off the 3th party plugins which list in that 2 .ini file

2. Switch certain server's setting by different type of map automatically:
a. freezetime
b. friendlyfire
c. startmoney
d. timelimit
e. weapon restrict
-- if the map furnish the weapon which you had restricted, plugin will rescind the restriction of this kind of weapon
f. differ roundtime in different general map(DE|CS|AS|ES)


3. If server use timelimit for map's change, when the map time is over, plugin will block "change map" untill the last round over.


4. Fit the BUG of "env_sound"(room_type) cannot eliminate automatically.

-------------------------------------------------------------------

Modul & Require:

<amxmodx> & <amxmisc> & <fakemeta> & restmenu.amxx

-------------------------------------------------------------------

About "kzList.ini" & "generalList.ini" file:

Please put your "kz" plugins in "kzList.ini" flie & 3th party fun plugins in "generalList.ini".

Plugins in "kzList.ini" will active when current map is "kz" type but pause in others.

Plugins in "generalList.ini" will active when current map is DE|CS|AS|ES but pause in other type.

kzList.ini:

;put your "kz_" plugins underside
;example: mykzplugin.amxx
;semicolon mean postil, would not use that line

generalList.ini:

;put your general 3th party fun plugins underside
;example: myfunplugin.amxx
;semicolon mean postil, would not use that line


-------------------------------------------------------------------

About roundtime of general map:

Because some general map include multiplicate types,

for example "csde_*" includes hostage(CS) & defuse(DE),

so the custom will be a rank.

The types which is anterior in the rank will been top-priority,

you can custom the PRI yourself by arrange the sequence of those types.

For example:

The default rank is "CS:2.5,DE:1.75,AS:2.0,ES:2.0",

this means when a map mix DE & CS,

the roundtime will been set to 2.5 minutes because the "CS" is anterior in the rank.


-------------------------------------------------------------------

About weapon restrict:

You can define 34 kinds of weapon & item(from restmenu) in different type of map.

In the custom range, "1" means "restrict" this kind of weapon.

The sequence of weapon ranking is:

Code:


weapon name:
|usp|glock|deagle|p228|elites|fn57|m3|xm1014|mp5|tmp|p90|mac10|ump45|ak47|galil|famas|sg552|m4a1|aug|scout|awp|g3sg1|sg550|m249|vest|vesthelm|flash|hegren|sgren|defuser|nvgs|shield|primammo|secammo
range position:
| 1 |  2  |  3  | 4  |  5  |  6 | 7|  8  | 9 |10 | 11| 12  | 13  | 14 | 15  | 16  | 17  | 18 |19 | 20  |21 | 22  | 23  | 24 | 25 |  26    | 27  |  28  | 29  |  30  | 31 |  32  |  33  |  34

for example:

amx_restrictwpn_gn "0000000000000000000001100000000100"
means in general maps will restrict g3sg1 & sg550 & shield.

-------------------------------------------------------------------

CVAR:

amx_freezetime_kz 0 //kz_* & FTF maps's freezetime, default is "0"

amx_freezetime_gn 5 //general(DE|CS|AS|ES) maps's maps's freezetime, default is "5" seconds

amx_FF_kz 0 //kz_* maps's friendlyfire, default is "0"(off)

amx_FF_gn 1 //general maps's friendlyfire, default is "1"(on)

amx_FF_FTF 1 //FTF(facedown) maps's friendlyfire, default is "1"(on)

amx_startmoney_kz 16000 //kz_* & FTF maps's startmoney, default is "16000"

amx_startmoney_gn 800 //general maps's startmoney, default is "800"

amx_timelimit_kz 90 //kz_* maps's timelimit, default is "90" minutes

amx_timelimit_gn 30 //general maps's timelimit, default is "30" minutes

amx_timelimit_FTF 20 //FTF(facedown) maps's timelimit, default is "20" minutes

amx_roundtime_rank "CS:2.5,DE:1.75,AS:2.0,ES:2.0" //roundtime rank, the preferential type is in line of the range

amx_restrictwpn_kz "0000000000000000000001100011110100" //kz_* maps's weapon restrict

amx_restrictwpn_gn "0000000000000000000001100000000100" //general maps's weapon restrict, default is g3sg1 & sg550 & shield

amx_restrictwpn_FTF "0000000000000000101011100011110100" //FTF(facedown) maps's weapon restrict


------------------------------------
Thanks pulpy & bmann 420's advice.
Sorry for my bad English.

pulpy 11-15-2006 03:31

Re: Change especial map's setting
 
i think i understand what it does, but please redo ur original post with more detail. Any cvars, what exactly it does, give examples, what modules does it need, etc. Take a look at the first posts done on alot of the approved plugins.

bmann_420 12-22-2006 05:15

Re: (update)Change especial map's setting
 
That is pretty effecient. And easier. Good Job :up: Hopefully their wont be toooo many bugs hu :D

Ryu2877 12-23-2006 02:37

Re: Change especial map's setting(update,2006-12-23)
 
Updated, thanks!

Hawk552 12-26-2006 13:11

Re: Change especial map's setting(update,2006-12-23)
 
You really need to work on your indentation and description.

I'm going to approve it anyway, but please fix them up.

Ryu2877 07-02-2007 03:19

Re: Change especial map's setting(update,2007-07-02)
 
Updated,thanks

Ryu2877 07-25-2007 14:54

Re: Change especial map's setting[v0.5]( 2007-07-25 update)
 
updated, thanks

Mikolas 04-09-2008 14:01

Re: MapsX [ v0.5.1 ] ( 2007-08-07 update)
 
Just an off hand question. Based on your descriptions, were you implying that I can change plugin settings for specific maps in mapname.cfg?

I have some issues with what I believe is a plugin/specific map conflict (i.e. free ammo mod in scoutzknivez), so is there a way I can disable that plugin in mapname.cfg? Is there also a way I can disable restmenu in certain maps =/. I'd like to try your plugin, but it seems to general to work with the specific map issues I'm having.

Thanks for any assistance

Mikolas 04-10-2008 21:45

Re: MapsX [ v0.5.1 ] ( 2007-08-07 update)
 
So I decided to test it out... It seems to be eating up my cpu usage, jumping from what was at most 10 to now 30s if not 40s.

Is there a way in which only the part of this plugin where it disables 3rd party plugins in other maps is used. I do not want any of the cvar settings or their defaults, I already have it at a specific freezetime, weapons restrict, round time, etc, I do not want this plugin to modify anything else but to disable certain plugins.

Pokemon 04-10-2008 21:49

Re: MapsX [ v0.5.1 ] ( 2007-08-07 update)
 
Exelent i am looking for this now.

Bye, Thanks :D


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

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