Raised This Month: $ Target: $400
 0% 

MapsX [ v0.5.1 ] ( 2007-08-07 update)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Plugin Info:     Modification:   Counter-Strike        Category:   Fun Stuff        Approver:   Hawk552 (427)
Ryu2877
Member
Join Date: Sep 2006
Location: China
Old 11-15-2006 , 02:44   MapsX [ v0.5.1 ] ( 2007-08-07 update)
Reply With Quote #1

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.
Attached Files
File Type: ini generalList.ini (294 Bytes, 1425 views)
File Type: ini kzList.ini (165 Bytes, 1336 views)
File Type: sma Get Plugin or Get Source (MapsX.sma - 3305 views - 18.7 KB)

Last edited by Ryu2877; 08-07-2007 at 09:04. Reason: update
Ryu2877 is offline
 



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 20:53.


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