View Full Version : DoD Map Config ( Calls the Map Config File )
This plugin will call the server.cfg file and then the map.cfg file. This use to be a standard for dod servers, but at some point it stopped. So for example your server just changed over to the dod_avalanche map. This plugin would execute the server.cfg file with all the variables in there, then it would execute the dod_avalanche.cfg file next.
// v0.1 - Be!
{SR} *Raggy*
11-13-2006, 05:53 PM
I'm having a problem with this. I think I know why but I'm not 100% sure. My server restarted cause a map crashed it so now all the guns are gone except for bazookas. Is it cause it restarted cause of the map or is it something else?
diamond-optic
11-13-2006, 09:20 PM
what do you mean all the guns are gone??
mantk
11-14-2006, 07:54 AM
Check this thread on alliedmodders forums: [BUG] map extended bug (http://forums.alliedmods.net/showthread.php?t=47007)
This plugin works well for me, maybe you have a weapon limit in any of the mapname.cfg. Check your limits in server.cfg are correct and the mapname.cfg for the map when occurs the change of the weapons limit.
I think is not needed to use the command 'mapchangecfgfile' because plugin loads first server.cfg and then the mapname.cfg, but we use it in server.cfg.
orbit
11-14-2006, 10:13 PM
I'm not sure I get this plugin. What's the difference between this and using the admin.sma that calls out addons/amxmodx/configs/maps/<MAPNAME>.cfg? This is what I've been using for my maps and it works fine.
IE for addons/amxmodx/configs/maps/caen.cfg
mp_timelimit 45
mp_spawnbazookas 1
mp_alliesclasses -1
mp_axisclasses -1
mp_spawnbazookas 0
Just asking.
-O-
diamond-optic
11-14-2006, 10:21 PM
well this one calls the ones that are in the main dod directory.. the ones that are 'supposed' to work anyways lol..
orbit
11-14-2006, 10:44 PM
Ah, Ok. I see this from both angles.
1. The cfg file in the top level should have never broke in the first place, so people shouldn't have to move their cfg files to the config/maps directory in amxmodx. This plugin fixes that.
2. amxmodx already has this capability built in, so if you want one less plugin, just move your configs appropriately.
I just chose #2 in this case, since #1 above reared its ugly head a while back and I didn't have an alternative.
Thanks for the clarification.
-O-
knife108
08-09-2007, 12:54 PM
This plugin will call the server.cfg file and then the map.cfg file. This use to be a standard for dod servers, but at some point it stopped. So for example your server just changed over to the dod_avalanche map. This plugin would execute the server.cfg file with all the variables in there, then it would execute the dod_avalanche.cfg file next.
// v0.1 - Be!
Where is the dod_mapcfg.amxx ?
=|[76AD]|= TatsuSaisei
08-09-2007, 05:21 PM
Where is the dod_mapcfg.amxx ?
You have to download the .sma file and compile it ...
knife108
08-10-2007, 01:16 PM
|=TatsuSaisei ;7132']You have to download the .sma file and compile it ...
Thx TatsuSaisei .
I had running the Dod map config.amxx .
cvar in server.cfg: mp_spawnbazookas 1
cvar in dod_jagd.cfg : mp_spawnbazookas 1
when server auto change map to dod_jagd , there is NO Bazookas spawn on the ground .
If I use the cmd "changelevel dod_jagd" ,Bazookas there it is !!!!
what's problem ? Confused...how to fix it
MBosta
08-10-2007, 02:04 PM
This plugin is used to customize certain commands on different maps. Like, turning off nades on dod_orange and dod_purple, and having nades on the rest of the maps. You can't "spawn" zook's with this plugin, how ever, you can turn them on in the classlimits using the command. Also, if you want the command to be executed, it must me in the dod_name.cfg ("Name" is the name of the map), and restart the map. Everytime you play jagd or w/e map you picked, it'll run the commands in dod_jagd.cfg. Etc.
knife108
08-13-2007, 11:51 AM
I had running dod_mapcfg.amxx,added cvar mp_spawnbazookas 1 in both dod_jagd.cfg and server.cfg
My problem is when mapcyle change to dod_jagd there is no bazookas spawn on the ground !
BUT I use cmd "restart" or "changelevel dod_jagd" the bazookas will spawn !
How to fix it ?
diamond-optic
08-13-2007, 12:33 PM
i think its a problem with dod...
ive noticed a lot of the time bazookas dont spawn around on the ground after a map change (on several different maps).. tho usually they appear for me after a round or two has been won or if i manually restart the map
knife108
08-15-2007, 01:37 AM
i think its a problem with dod...
ive noticed a lot of the time bazookas dont spawn around on the ground after a map change (on several different maps).. tho usually they appear for me after a round or two has been won or if i manually restart the map
I wonder what difference between automap change and manually restart the same map ?
processed different flies ?
diamond-optic
08-15-2007, 02:30 AM
beats me lol.. its almost like for some reason the entities for bazooka's dont get spawned sometimes or just get skipped over.. dont ask me to explain why lol
wallyworld
12-24-2007, 05:29 PM
I have the same issue. Bazookas only spawn if the Map is loaded twice. The checked the CVAR at the server console nad it is se: mp_spawnbazookas 1. but no Bazookas. If I set the value before I change map everything works fine
zak1212
10-29-2008, 05:51 PM
Since the last steam update this plugin seems to have stopped working can anyone confirm or as normal is it just me..!
vBulletin® v3.8.6, Copyright ©2000-2012, Jelsoft Enterprises Ltd.