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

Map specific commands


Post New Thread Reply   
 
Thread Tools Display Modes
BOOM
Member
Join Date: Jun 2004
Old 05-24-2006 , 01:08  
Reply With Quote #11

^ It's up there. can u put more details on the mapcommands? o.o
BOOM is offline
voivod
Member
Join Date: Jun 2006
Location: poland
Old 06-10-2006 , 01:55  
Reply With Quote #12

lol im too noob 4 this plugin

pls tell me how to change timelimit on map cs_estate
__________________
my server and maps
-> http://voivod.hk.pl <-
voivod is offline
MistaGee
Senior Member
Join Date: Aug 2004
Location: Germany (Fulda)
Old 06-10-2006 , 04:38  
Reply With Quote #13

write the following into mapcommands.txt:

Code:
[cs_estate]
mp_timelimit <time>

Quote:
Originally Posted by beezkneez2006
im kinda confused with this.. how do i make it so that on my map de_spiderman_b1 it uses a config that has amx_hook 1 (to turn on hook mod) then when it goes to any other map on the server it just has a config but with amx_hook 0 in it..?
Write amx_hook 0 into server.cfg and amx_hook 1 into mapcommands.txt. If you wrote amx_mapcfg_execed at the very end of server.cfg - where it is supposed to be - my plugin will override amx_hook when neccessary.


Quote:
Originally Posted by pendragon
could you not achieve the same affect by placing your commands in a maps' cfg file in the addons\amxmodx\configs\maps dir?
Not quite, my plugin can also handle, for example, all fy_ maps, whereas in maps dir you'd have to cre8 a new config file for each fy_ map you have.


Quote:
Originally Posted by PsychoZone.dk
Hi, sounds nice... I was thinking if you can use this plugin, for eg. make HE restrictions on maps like fy_, fun maps, and de_rats???
And maybe define specific timelimits on some speciel maps???
Timelimit: see above.
I'm not quite sure if AMXX has commands to restrict weapons other than the menu, but I think it has. Just write these into the mapcommands,txt, then it'll work.

Greetz MGee
__________________
Ich hab nie behauptet dass ich kein Genie bin!
Mumble-Django: A web interface for Mumble
MistaGee is offline
Send a message via ICQ to MistaGee
voivod
Member
Join Date: Jun 2006
Location: poland
Old 06-10-2006 , 09:24  
Reply With Quote #14

thanks!
__________________
my server and maps
-> http://voivod.hk.pl <-
voivod is offline
voivod
Member
Join Date: Jun 2006
Location: poland
Old 06-12-2006 , 10:18  
Reply With Quote #15

this is my mapcommands.txt in addons\amxmodx\configs
and those doesnt work;/ plugin is running without errors

// This is the map configuration file. Add Cmds for specific maps here.
// Format:
// Map sections are named with '[map]' or '[map'. If the closing bracket is not set,
// this means that not the full name was given - example: '[fy_ice' means that these
// are executed for fy_iceworld, fy_iceworld2k_ fy_icewhatever as well.
// Server and Client Sections are named #server, #client or #all.
// This specifies where the commands are being executed.
// Comments (like these (-.-) ) HAVE to be made with // at the BEGINNING of the line.

// These commands are executed on every map whose name starts with "2on"
[2on
#all
echo "2on, all, 1"
echo "2on, all, 2"
echo "2on, all, 3"
echo "2on, all, 4"

// These are only executed on "2on2"
[2on2]
// Serverside
#server
echo "2on2, server, 1"
echo "2on2, server, 2"
echo "2on2, server, 3"
echo "2on2, server, 4"
// clientside
#client
echo "2on2, client, 1"
echo "2on2, client, 2"
// clientside, also on listenserver's #1
#ignorelisten on
echo "2on2, client, 3"
// clientside, no more on listenserver's #1
#ignorelisten off
echo "2on2, client, 4"
// everywhere except for listenserver's #1
#all
echo "2on2, all, 1"
echo "2on2, all, 2"
echo "2on2, all, 3"
echo "2on2, all, 4"

// all de maps
[de_
// nowhere specified -> exec serverside!
echo "de_, no execmode, 1"
echo "de_, no execmode, 2"
echo "de_, no execmode, 3"
echo "de_, no execmode, 4"
// obsolete
#server
echo "de_, server, 1"
echo "de_, server, 2"
echo "de_, server, 3"
echo "de_, server, 4"

// only on a map named "de_"
[de_]
echo "de_, no execmode, 1"
echo "de_, no execmode, 2"
echo "de_, no execmode, 3"
echo "de_, no execmode, 4"
#server
echo "de_, server, 1"
echo "de_, server, 2"
echo "de_, server, 3"
echo "de_, server, 4"

// de_aztec only
[de_aztec]
echo "de_aztec, no execmode, 1"
echo "de_aztec, no execmode, 2"
echo "de_aztec, no execmode, 3"
echo "de_aztec, no execmode, 4"
#server
echo "de_aztec, server, 1"
echo "de_aztec, server, 2"
echo "de_aztec, server, 3"
echo "de_aztec, server, 4"
#client
#ignorelisten on
spk "/vox/hello user"
[rambo_wallhack_test]
bot_quota 0
amx_rd_maxplayers "7"
mp_timelimit 10
[cs_disco_night]
bot_quota 0
amx_rd_maxplayers "7"
mp_timelimit 15
[fy_iceworld]
bot_add
bot_quota 1
amx_rd_maxplayers "8"
mp_timelimit 10
[cs_cargoship]
bot_add
amx_rd_maxplayers "8"
bot_quota 1
mp_timelimit 15
[fy_pool_day]
bot_add
amx_rd_maxplayers "8"
bot_quota 1
mp_timelimit 10
[cs_mansion]
bot_add
bot_add
amx_rd_maxplayers "9"
bot_quota 2
mp_timelimit 20
[glock_tok]
amx_rd_maxplayers "7"
bot_quota 0
mp_timelimit 10
[cs_docks]
bot_add
bot_add
amx_rd_maxplayers "9"
bot_quota 2
mp_timelimit 20
[he_tennis]
bot_quota 0
amx_rd_maxplayers "7"
mp_timelimit 10
[cs_deagle5]
bot_add
bot_add
amx_rd_maxplayers "9"
bot_quota 2
mp_timelimit 15
[de_mcdonalds_final]
bot_add
bot_add
amx_rd_maxplayers "9"
bot_quota 2
mp_timelimit 15
[cs_estate]
bot_add
bot_add
amx_rd_maxplayers "9"
bot_quota 2
mp_timelimit 20
[de_q2dm1_test5]
bot_add
bot_add
bot_add
amx_rd_maxplayers "10"
bot_quota 3
mp_timelimit 25
[fy_tundra]
bot_add
amx_rd_maxplayers "8"
bot_quota 1
mp_timelimit 10
[cs_casa]
bot_add
bot_add
amx_rd_maxplayers "9"
bot_quota 2
mp_timelimit 15
[de_cyberdyne]
bot_add
bot_add
amx_rd_maxplayers "9"
bot_quota 2
mp_timelimit 15
[de_dust]
bot_add
bot_add
bot_add
amx_rd_maxplayers "10"
bot_quota 3
mp_timelimit 25
[cs_italy2]
bot_add
bot_add
amx_rd_maxplayers "9"
bot_quota 2
mp_timelimit 20
__________________
my server and maps
-> http://voivod.hk.pl <-
voivod is offline
MistaGee
Senior Member
Join Date: Aug 2004
Location: Germany (Fulda)
Old 06-12-2006 , 10:47  
Reply With Quote #16

looks fine to me... did you remember to put
Code:
amx_mapcfg_execed 1
at the end of server.cfg?

btw, delete those echo commands, they are only in there as a demo config...

Greetz MGee
__________________
Ich hab nie behauptet dass ich kein Genie bin!
Mumble-Django: A web interface for Mumble
MistaGee is offline
Send a message via ICQ to MistaGee
TnP | Ass Master
Junior Member
Join Date: May 2005
Old 06-24-2006 , 07:53   Re: Map specific commands
Reply With Quote #17

OMG i would just like to say great plugin. SOOO much easier than adding 100 map.cfg files to the maps folder.
TnP | Ass Master is offline
Voi
Veteran Member
Join Date: Sep 2006
Location: Gdansk, Poland
Old 09-27-2006 , 07:55   Re: Map specific commands
Reply With Quote #18

i cant get this working
got amx_mapcfg_execed 1 on the end of server.cfg, in console i allso check this and i have amx_mapcfg_execed 1
plugin is running without errors
this is my cfg:
Attached Files
File Type: txt mapcommands.txt (5.1 KB, 191 views)
Voi is offline
deejay87
Senior Member
Join Date: Apr 2004
Location: Pays du Glaude - France
Old 12-02-2006 , 11:10   Re: Map specific commands
Reply With Quote #19

write amx_mapcfg_execed in console and look if you have 1
__________________

Last edited by deejay87; 12-02-2006 at 11:14.
deejay87 is offline
Send a message via MSN to deejay87 Send a message via Skype™ to deejay87
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 23:36.


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