Day of Defeat Plugins Community
This site is an archive — everything is readable and downloadable, nothing can be posted. Admin

DoD Map Config ( Calls the Map Config File )

by Zor · 2006-07-08 · 16 replies · 15867 views · 307 downloads

Read the thread (17 posts)

From the first post

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.
n
n
//    v0.1     - Be!

Files

dod_mapcfg.sma Plugin Source 3 KB 307 dl Download Compile

Archived builds from the server loose

These compiled builds sat loose in the server's script folder rather than attached to a post. They are matched to this release by comparing their decompiled Pawn against the source published above, so treat the attribution as strong but not certain. Versions come from the register_plugin() call recovered from the bytecode.

dod_mapcfg_242.sma v0.1 3 KB Download Compile
dod_mapcfg_275.sma v0.1 3 KB Download Compile

The thread

All 17 posts from 10 people on DoD Map Config ( Calls the Map Config File ), kept as they were written.

Zor
started this thread
Posts: 688
Threads: 75
Joined: Jun 2006
07-08-2006, 09:54 AM #1

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.nn

//    v0.1     - Be!
{SR} *Raggy*
posted here
Posts: 370
Threads: 27
Joined: Apr 2006
11-13-2006, 05:53 PM #2

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
posted here
Posts: 2,068
Threads: 103
Joined: May 2005
11-13-2006, 09:20 PM #3

what do you mean all the guns are gone??

mantk
posted here
Posts: 21
Threads: 0
Joined: Jun 2006
11-14-2006, 07:54 AM #4

Check this thread on alliedmodders forums: [BUG] map extended bugnnThis 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.nnI 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.

O orbit
posted here
Posts: 39
Threads: 2
Joined: Jan 2005
11-14-2006, 10:13 PM #5

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.rnrnIE for addons/amxmodx/configs/maps/caen.cfgrnrnmp_timelimit 45rnmp_spawnbazookas 1rnmp_alliesclasses -1rnmp_axisclasses -1rnmp_spawnbazookas 0rnrnJust asking.rnrn-O-

diamond-optic
posted here
Posts: 2,068
Threads: 103
Joined: May 2005
11-14-2006, 10:21 PM #6

well this one calls the ones that are in the main dod directory.. the ones that are 'supposed' to work anyways lol..

O orbit
posted here
Posts: 39
Threads: 2
Joined: Jan 2005
11-14-2006, 10:44 PM #7

Ah, Ok. I see this from both angles.rnrn1. 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.rnrn2. amxmodx already has this capability built in, so if you want one less plugin, just move your configs appropriately.rnrnI just chose #2 in this case, since #1 above reared its ugly head a while back and I didn't have an alternative.rnrnThanks for the clarification.rnrn-O-

K knife108
posted here
Posts: 108
Threads: 10
Joined: Apr 2006
08-09-2007, 11:54 AM #8
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.rnrn
//    v0.1     - Be!
rnrnrnrnWhere is the dod_mapcfg.amxx ?

=|[76AD]|= TatsuSaisei
posted here
Posts: 794
Threads: 54
Joined: May 2005
08-09-2007, 04:21 PM #9
Where is the dod_mapcfg.amxx ?
n nYou have to download the .sma file and compile it ...

K knife108
posted here
Posts: 108
Threads: 10
Joined: Apr 2006
08-10-2007, 12:16 PM #10
|=TatsuSaisei ;7132']You have to download the .sma file and compile it ...
rnrnThx TatsuSaisei .rnrn I had running the Dod map config.amxx .rnrncvar in server.cfg: mp_spawnbazookas 1rncvar in dod_jagd.cfg : mp_spawnbazookas 1rnrnwhen server auto change map to dod_jagd , there is NO Bazookas spawn on the ground . rnrnIf I use the cmd "changelevel dod_jagd" ,Bazookas there it is !!!!rnrnwhat's problem ? Confused...how to fix it

M MBosta
posted here
Posts: 208
Threads: 30
Joined: Sep 2006
08-10-2007, 01:04 PM #11

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.

K knife108
posted here
Posts: 108
Threads: 10
Joined: Apr 2006
08-13-2007, 10:51 AM #12

I had running dod_mapcfg.amxx,added cvar mp_spawnbazookas 1 in both dod_jagd.cfg and server.cfg rnrnMy problem is when mapcyle change to dod_jagd there is no bazookas spawn on the ground !rnrnBUT I use cmd "restart" or "changelevel dod_jagd" the bazookas will spawn !rnrnHow to fix it ?

diamond-optic
posted here
Posts: 2,068
Threads: 103
Joined: May 2005
08-13-2007, 11:33 AM #13

i think its a problem with dod...nnive 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

K knife108
posted here
Posts: 108
Threads: 10
Joined: Apr 2006
08-15-2007, 12:37 AM #14
i think its a problem with dod...rnrnive 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
rnrnI wonder what difference between automap change and manually restart the same map ?rnrnprocessed different flies ?

diamond-optic
posted here
Posts: 2,068
Threads: 103
Joined: May 2005
08-15-2007, 01:30 AM #15

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

W wallyworld
posted here
Posts: 1
Threads: 0
Joined: Oct 2006
12-24-2007, 05:29 PM #16

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

Z zak1212
posted here
Posts: 12
Threads: 2
Joined: Jul 2005
10-29-2008, 04:51 PM #17

Since the last steam update this plugin seems to have stopped working can anyone confirm or as normal is it just me..!

DoD Plugins Archive · Repository · Old Forum Threads · Maps · Admin · built 14 Sep 2026 00:34 UTC