Thread: Map "configs".
View Single Post
Old 02-28-2008, 11:55 PM   #1 (permalink)
CorrosionX
WC3 Admin
 
CorrosionX's Avatar
 
Join Date: Apr 2007
Location: California
Posts: 925


Lightbulb Map "configs".

When I had a server running...there was a way with amxx to make it so that when you join a certain map, certain variables could be set. You had to make a special folder and the maps you wanted the variables to be set on had to make a txt file and put the commands you want run when the server loads that map. For example, on all "knife" maps that this server is running, could restrict everything weapon related except knives...so people cant exploit by added amx_restrict "wepcodes" into the config file. To counter this, in the server config you have the set the default variables the way you want them and if there is no "config" file for the map its on, goes with the default servers config.

Now the reason Im bringing this up is that could be very very useful because if we continue to get custom maps that arent made well or maybe on a certain map we want to allow awps for what ever reason...would come in handy. The issue currently is with the knife map we currently have. People spawn with guns and start shooting and people are constantly kicked and yelled and and so on. Also, dont even know if nades should not be allowed on the map either, cause only with gloves can you get them. I was told was up to current admin that is on to choose....but shouldnt it be set in rules and not just based on what an admin wants?

Only issue is not sure if it Event scripts "allows" this by default or requires another script to be added. It was defaultly built into amxx scripting back in the day and not sure if they have thought of it or not.

Who knows...might come down to where we need a script to allow us to do this. But I think it would be very very useful if we are going to continue to have maps that dont follow any rules (bomb or hostages). If bomb is to busy (and he always is) could request for the script to be made on the mattie forums.
__________________




Quote:
j_gurli3: stop, cmon be serious.
bloodninja: It doesn't get any more serious than a Rhinocerus about to charge your ass.
http://www.facebook.com/people/Ninja...Nubs/804728636
CorrosionX is offline   Reply With Quote