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

Dod MapSettings

by Wilson [29th ID] · 2006-09-13 · 116 replies · 52104 views · 488 downloads

Read the thread (117 posts)

From the first post

[b]Dod MapSettings[/b]rnAuthor: 29th IDrnCredits: VEN from amxx forumsrn rnPart of the 29th ID's modification tornDay of Defeat, making it more realisticrnDOD:Realism - dodrealism.branzone.com

rn
rn
[b]Description:[/b]rnThis plugin allows you to edit your server's gameplay within each map in the following ways.rn-Enable or Disable "paras" on allies (skins and weapons)rn-Enable or Disable "paras" on axis (skins and weapons)rn-Enable British or Americans (skins and weapons)rn-Adjust weather to "none", "rain", or "snow"rn-Remove all flags from the map (good for deathmatch-style play)rn-Remove the timer from the map (good for deathmatch-style play)rn-Remove spawn guns (players can enter enemy spawns)rn-Remove mortar fields (maps less noisy and mortars are gone - [b]except triggered ones[/b])

rn
rn
Usage (CVARs):rnNOTE: You must reload the map before any CVAR changes take effect.rn	dod_map_settings <1/0>rn		Enables or Disables the overall pluginrn	dod_map_alliesparas <1/0/-1>rn		Sets allies paras (skins and weapons)rn		Setting to 1 enablesrn		Setting to 0 disablesrn		Setting to -1 ignores command and goes to map defaultrn	dod_map_axisparas <1/0/-1>rn		Sets axis paras (skins and weapons)rn		Setting to 1 enablesrn		Setting to 0 disablesrn		Setting to -1 ignores command and goes to map default	rn	dod_map_alliescountry <1/0/-1>rn		Sets British or Alliesrn		Setting to 1 is Britishrn		Setting to 0 is Americansrn		Setting to -1 ignores command and goes to map defaultrn	dod_map_weather <2/1/0/-1>rn		Sets the weather type in the maprn		Setting to 2 adds Snowrn		Setting to 1 adds Rainrn		Setting to 0 turns off weatherrn		Setting to -1 ignores command and goes to map defaultrn	dod_map_removeflags <1/0>rn		Setting to 1 removes all flags and control pointsrn	dod_map_removetimer <1/0>rn		Setting to 1 removes the map timerrn	dod_map_removemortars <1/0>rn		Setting to 1 removes map mortar fieldsrn	dod_map_removespawngun <1/0>rn		Setting to 1 removes the spawn gun and trigger_hurt in spawn

rn
rnUPDATED 29 NOV 2006 - Added mortar field removal and plugin now works with all maps - even ones that do not have an info_doddetect entity.

Files

dod_mapsettings.sma Plugin Source 8 KB 488 dl Download Compile

The thread

All 117 posts from 31 people on Dod MapSettings, kept as they were written.

Wilson [29th ID]
started this thread
Posts: 623
Threads: 57
Joined: Oct 2005
09-13-2006, 04:33 AM #1
Dod MapSettingsrnAuthor: 29th IDrnCredits: VEN from amxx forumsrn rnPart of the 29th ID's modification tornDay of Defeat, making it more realisticrnDOD:Realism - dodrealism.branzone.com
rnrn
Description:rnThis plugin allows you to edit your server's gameplay within each map in the following ways.rn-Enable or Disable "paras" on allies (skins and weapons)rn-Enable or Disable "paras" on axis (skins and weapons)rn-Enable British or Americans (skins and weapons)rn-Adjust weather to "none", "rain", or "snow"rn-Remove all flags from the map (good for deathmatch-style play)rn-Remove the timer from the map (good for deathmatch-style play)rn-Remove spawn guns (players can enter enemy spawns)rn-Remove mortar fields (maps less noisy and mortars are gone - except triggered ones)
rnrn
Usage (CVARs):rnNOTE: You must reload the map before any CVAR changes take effect.rn	dod_map_settings <1/0>rn		Enables or Disables the overall pluginrn	dod_map_alliesparas <1/0/-1>rn		Sets allies paras (skins and weapons)rn		Setting to 1 enablesrn		Setting to 0 disablesrn		Setting to -1 ignores command and goes to map defaultrn	dod_map_axisparas <1/0/-1>rn		Sets axis paras (skins and weapons)rn		Setting to 1 enablesrn		Setting to 0 disablesrn		Setting to -1 ignores command and goes to map default	rn	dod_map_alliescountry <1/0/-1>rn		Sets British or Alliesrn		Setting to 1 is Britishrn		Setting to 0 is Americansrn		Setting to -1 ignores command and goes to map defaultrn	dod_map_weather <2/1/0/-1>rn		Sets the weather type in the maprn		Setting to 2 adds Snowrn		Setting to 1 adds Rainrn		Setting to 0 turns off weatherrn		Setting to -1 ignores command and goes to map defaultrn	dod_map_removeflags <1/0>rn		Setting to 1 removes all flags and control pointsrn	dod_map_removetimer <1/0>rn		Setting to 1 removes the map timerrn	dod_map_removemortars <1/0>rn		Setting to 1 removes map mortar fieldsrn	dod_map_removespawngun <1/0>rn		Setting to 1 removes the spawn gun and trigger_hurt in spawn
rnrnUPDATED 29 NOV 2006 - Added mortar field removal and plugin now works with all maps - even ones that do not have an info_doddetect entity.

Box Cutter
posted here
Posts: 155
Threads: 7
Joined: Jun 2006
09-13-2006, 11:57 AM #2

Wilson thanks for this plugin, as soon as I saw it I was excited to get it on my server. However it doesn't seem to be working for me. I installed the plugin and from in the game it shows the plugin is running but im not seeing the Allies/Axis para skins or weapons. Below is what I have placed in my amxx.cfgrnrndod_map_settings 1rndod_map_alliesparas 1rndod_map_axisparas 1rndod_map_alliescountry -1rndod_map_removeflags 0rndod_map_removetimer 0rndod_map_removespawngun 0rnrnTIA for your help.

=|[76AD]|= TatsuSaisei
posted here
Posts: 794
Threads: 54
Joined: May 2005
09-13-2006, 12:06 PM #3

um quick note... If the map has British, you do not want to make them para... Para Brits do not exist in the game...

Box Cutter
posted here
Posts: 155
Threads: 7
Joined: Jun 2006
09-13-2006, 12:11 PM #4

I was testing this on dod_avalanche when I noticed it didnt work. I also tried the below settings for british instead of allies and I am having the problem problem with it not working.rnrndod_map_settings 1rndod_map_alliesparas -1rndod_map_axisparas -1rndod_map_alliescountry 1rndod_map_removeflags 0rndod_map_removetimer 0rndod_map_removespawngun 0

Wilson [29th ID]
started this thread
Posts: 623
Threads: 57
Joined: Oct 2005
09-13-2006, 01:11 PM #5

I should note that you must restart the map in order for any cvar changes to take place. Have you tried that?

Box Cutter
posted here
Posts: 155
Threads: 7
Joined: Jun 2006
09-13-2006, 07:11 PM #6

Well I rebooted the server then the map changes to dod_avalanche because I have it in my server.cfg so technically the map is loading or do I have to do it again?

Wilson [29th ID]
started this thread
Posts: 623
Threads: 57
Joined: Oct 2005
09-13-2006, 10:50 PM #7

Nono you don't have to reboot the server - just change the map. I call it "reloading the map" because you don't have to use a different map - in other words if you're on dod_donner, just change the map to dod_donner again and it will activate.rnrnIf you've tried this and those cvar's are accurate there must be something else wrong. Works fine for me.

Box Cutter
posted here
Posts: 155
Threads: 7
Joined: Jun 2006
09-14-2006, 02:47 AM #8

Well then I dont know. I have installed several plugins so I know I am doing it properly so I can't understand why this isnt working. = (

Wilson [29th ID]
started this thread
Posts: 623
Threads: 57
Joined: Oct 2005
09-14-2006, 10:17 AM #9

Ok, I installed this in another server and it took a couple map reloads to make it happen. Try this and we'll sorta beta test it until we get it perfect. Enable one of the "remove" options and see if that does it to your british settings as well.

Wilson [29th ID]
started this thread
Posts: 623
Threads: 57
Joined: Oct 2005
09-27-2006, 03:29 PM #10

UPDATED - Now allows you to adjust the weather type in the map. 1 is Rain, 2 is Snow.

[ [WoH]Killemall4u
posted here
Posts: 24
Threads: 4
Joined: Apr 2006
09-28-2006, 11:05 AM #11

Really like your realism plugins I have a few running on our servers. I have a question is there a way to make this map specific in a cfg file so when the map changes to say avalanche the setting are already set? or can this be implemented into this plugin?rnrnThanks for all your Helprnrn[WoH]MAJ.Killemall4u

diamond-optic
posted here
Posts: 2,068
Threads: 103
Joined: May 2005
09-28-2006, 04:42 PM #12

you should be able to put the cvars in your dod_avalanche.cfg ... not totally sure on this.. but its worth a try

Wilson [29th ID]
started this thread
Posts: 623
Threads: 57
Joined: Oct 2005
09-28-2006, 06:59 PM #13

Try what he said - if it doesn't work I'll give you a version that is per-map.

[ [WoH]Killemall4u
posted here
Posts: 24
Threads: 4
Joined: Apr 2006
09-28-2006, 07:07 PM #14

I have tried the plugin I can't get it to work with a map cfg. rnrnAnother version permap would be great to run on our realism serversrnrnThanks [WoH]MAJ.Killemall4u

diamond-optic
posted here
Posts: 2,068
Threads: 103
Joined: May 2005
09-28-2006, 07:16 PM #15

you might need to run something like this to make sure the map config gets called:nnhttps://www.dodplugins.net/forums/showthread.php?t=8nnand putting that plugin AFTER this plugin in your plugins.ini would probably make sure that the config file loaded the cvars after this plugin has already been loaded

[ [WoH]Killemall4u
posted here
Posts: 24
Threads: 4
Joined: Apr 2006
09-28-2006, 10:51 PM #16

I tried what you said still can not get it to work with the mapcfg.amxx eitherrnrnThanks

[ [WoH]Killemall4u
posted here
Posts: 24
Threads: 4
Joined: Apr 2006
09-29-2006, 01:06 AM #17

Can't seem to get this to work on my linux ded 1.76a I tried for a hour it says its running but nothing happens I switched the map like 20 times

C crazylegs
posted here
Posts: 3
Threads: 0
Joined: May 2006
10-02-2006, 11:12 PM #18

can i add an amx_ command ?? and will it execute it?

Wilson [29th ID]
started this thread
Posts: 623
Threads: 57
Joined: Oct 2005
10-03-2006, 01:17 AM #19

@crazylegs - What do you mean? As in change the settings while the server is running? You will still need to reload the map.rnrn@Killemall - what map did you try it on? try different maps and maybe we can zone in on what's causing the trouble.

Box Cutter
posted here
Posts: 155
Threads: 7
Joined: Jun 2006
10-03-2006, 02:02 AM #20

So far I have not been able to get the Para or British to work on Avalanche but have gotten it to work on other maps like Kalt. The only thing I have tried and gotten to work on Avalanche was the removal of spawn guns. So I know the plugin is working but for some reason it is having troubles on Avalanche.

C crazylegs
posted here
Posts: 3
Threads: 0
Joined: May 2006
10-03-2006, 02:37 AM #21

wat i mean is say i got a plugin that makes all ppl do only no scopes and the command for that is amx_sniperfun 1 right so can i put that into this plugin and it will execute it everytime that map is played???

Wilson [29th ID]
started this thread
Posts: 623
Threads: 57
Joined: Oct 2005
10-03-2006, 04:04 AM #22

crazylegs, no. that's not what this plugin does. please read the plugin description.

[ [WoH]Killemall4u
posted here
Posts: 24
Threads: 4
Joined: Apr 2006
10-03-2006, 10:18 AM #23

Yeah thats were I tried this plugin was on avalanche and never got it to work so I took it off the server I will reinstall it and try it on other maps.

Vet
posted here
Posts: 229
Threads: 24
Joined: Oct 2006
10-23-2006, 02:39 PM #24
So far I have not been able to get the Para or British to work on Avalanche but have gotten it to work on other maps like Kalt. The only thing I have tried and gotten to work on Avalanche was the removal of spawn guns. So I know the plugin is working but for some reason it is having troubles on Avalanche.
rndod_avalanche doesn't have a 'info_doddetect' entity. It uses all default settings. dod_saints and many custom maps are the same way. This plugin will only modify an existing 'info_doddetect' entity, not create a new one.

diamond-optic
posted here
Posts: 2,068
Threads: 103
Joined: May 2005
10-23-2006, 08:42 PM #25
dod_avalanche doesn't have a 'info_doddetect' entity. It uses all default settings. dod_saints and many custom maps are the same way. This plugin will only modify an existing 'info_doddetect' entity, not create a new one.
nnif thats the case.. then wilson should just have it create the entity if it cant find it before setting the keyvalues

Box Cutter
posted here
Posts: 155
Threads: 7
Joined: Jun 2006
11-17-2006, 12:41 AM #26

Just wondering if there were any updates on getting this to work on dod_avalanche?

Wilson [29th ID]
started this thread
Posts: 623
Threads: 57
Joined: Oct 2005
11-18-2006, 10:41 AM #27

Actually I've just figured out exacting how keyvalues work upon creating a new entity, so expect it to be updated very soon.

Box Cutter
posted here
Posts: 155
Threads: 7
Joined: Jun 2006
11-18-2006, 05:16 PM #28

Thank you Wilson.

K Kiel |17.SS|
posted here
Posts: 163
Threads: 12
Joined: Jul 2006
11-19-2006, 01:16 PM #29

I get an error, when I remove the flags, saying, "cannot continue without model.inf" Any Idea what's going on?

Wilson [29th ID]
started this thread
Posts: 623
Threads: 57
Joined: Oct 2005
11-20-2006, 01:05 AM #30

Which map?

K Kiel |17.SS|
posted here
Posts: 163
Threads: 12
Joined: Jul 2006
11-20-2006, 02:41 AM #31

It was Anzio.

K Kiel |17.SS|
posted here
Posts: 163
Threads: 12
Joined: Jul 2006
11-27-2006, 06:48 PM #32

Anyone know what's wrong with this or how long it will take for this to work?

Wilson [29th ID]
started this thread
Posts: 623
Threads: 57
Joined: Oct 2005
11-29-2006, 04:34 AM #33

UPDATED 29 NOV 2006 - Added mortar field removal and plugin now works with all maps - even ones that do not have an info_doddetect entity.

=|[76AD]|= TatsuSaisei
posted here
Posts: 794
Threads: 54
Joined: May 2005
11-29-2006, 04:52 AM #34
;2455']UPDATED 29 NOV 2006 - Added mortar field removal and plugin now works with all maps - even ones that do not have an info_doddetect entity.
n n
#include <ojos>
n nWhat is this ??

Wilson [29th ID]
started this thread
Posts: 623
Threads: 57
Joined: Oct 2005
11-29-2006, 05:04 AM #35

fixed - i removed the need for that inc.

K Kiel |17.SS|
posted here
Posts: 163
Threads: 12
Joined: Jul 2006
12-01-2006, 04:00 AM #36

ahh sweet. i have to test it out right now then.

K Kiel |17.SS|
posted here
Posts: 163
Threads: 12
Joined: Jul 2006
12-01-2006, 05:22 AM #37

from what i tried out, it works. :D awesome plugin. thanks!

M Merrill
posted here
Posts: 38
Threads: 6
Joined: Sep 2005
12-06-2006, 01:05 AM #38

I have the plugin installed and working. However on British maps it doesn't let us spawn on the british side when map loads up. Were stuck in limbo and it just says dead by our names when you view scoreboard.rnrnHere are my settingsrnrndod_map_settings 1rndod_map_alliesparas 1rndod_map_axisparas 1 rndod_map_alliescountry -1rndod_map_weather 0rndod_map_removeflags 0rndod_map_removetimer 0rndod_map_removemortars 0rndod_map_removespawngun 0rnrnrnAnyone else have this problem?

Garion
posted here
Posts: 93
Threads: 9
Joined: Nov 2005
12-06-2006, 01:56 AM #39

there's no such thing as British Para, and you have it set to use Allies Para, thus why you can't spawn.

Box Cutter
posted here
Posts: 155
Threads: 7
Joined: Jun 2006
12-06-2006, 04:51 AM #40

Plugin is working great for me on Avalanche now. Much thanks Wilson.

M Merrill
posted here
Posts: 38
Threads: 6
Joined: Sep 2005
12-06-2006, 06:19 PM #41

I thought I had it set to allies para. Do I need to change country setting to 0?

Box Cutter
posted here
Posts: 155
Threads: 7
Joined: Jun 2006
12-06-2006, 07:00 PM #42
I thought I had it set to allies para. Do I need to change country setting to 0?
rnrnSet it to -1

M Merrill
posted here
Posts: 38
Threads: 6
Joined: Sep 2005
12-06-2006, 07:56 PM #43

This is what I have it set to as per my earlier post.rnrndod_map_settings 1rndod_map_alliesparas 1rndod_map_axisparas 1 rndod_map_alliescountry -1rndod_map_weather 0rndod_map_removeflags 0rndod_map_removetimer 0rndod_map_removemortars 0rndod_map_removespawngun 0rnrnrnBox Cutter do you have the same settings? if so can you run british maps with no problem? As i said we don't spawn on british maps for the british side only. Axis does spawn.

K Kiel |17.SS|
posted here
Posts: 163
Threads: 12
Joined: Jul 2006
12-06-2006, 08:03 PM #44

Merrill set alliesparas to -1. It should work after that.

M Merrill
posted here
Posts: 38
Threads: 6
Joined: Sep 2005
12-06-2006, 08:20 PM #45

Ok seems to be working.rnrnThanks

M Merrill
posted here
Posts: 38
Threads: 6
Joined: Sep 2005
12-06-2006, 10:00 PM #46

Well it worked in flash, but not Jagd or CaenrnrnOne thing I notice is there is a mortar class at the bottom of the weapons selection and the bar selection is blank.rnrnWhats gives?rnrnMerrill

=|[76AD]|= TatsuSaisei
posted here
Posts: 794
Threads: 54
Joined: May 2005
12-06-2006, 11:49 PM #47
Well it worked in flash, but not Jagd or Caenn nOne thing I notice is there is a mortar class at the bottom of the weapons selection and the bar selection is blank.n nWhats gives?n nMerrill
nThe mortar class was originally going to be an actual player class in one of the older versions of DOD, while the idea was "scrapped" they never removed the "information" in the game itself. The reason you see this is because you are trying to set a team to British AND para... this is a worthless combination as the british do not have an actual para player class like the americans and germans. n nThe simple and only answer is to NOT set british to be para.. the only thing gained by setting it so is the ability to see something "unfinished" by the developers...n nI am sure a future update will eventually take care to avoid this scenario, until then, just do not set Brits to be para ....

diamond-optic
posted here
Posts: 2,068
Threads: 103
Joined: May 2005
12-27-2006, 09:49 PM #48

how about cvars to set the respawn times...nngot the idea from this thread..

Ba5ic
posted here
Posts: 181
Threads: 26
Joined: Nov 2005
12-28-2006, 06:15 AM #49

Awesome plugin Wilson, My regulars love it!!.rnrnA little guidance, i've set the weather in my amxx.cfg to :-rnrndod_map_weather 2 - Snow. Everything else except this works. I've also installed Diamonds random skymap plugin. Could this be were the conflict is?.rnrnI'm no coder :S, just curious as to why its not working on this specific CVAR.rnrnTIA.

Box Cutter
posted here
Posts: 155
Threads: 7
Joined: Jun 2006
12-28-2006, 07:08 AM #50

I believe the weather (snow, rain etc.) is controlled by your cl_particlefx command. If you have this set to 0 you will not see any weather conditions. Most everyone has this set to 0 so chances are that is why you and no one else in your server is seeing the snow.

Ba5ic
posted here
Posts: 181
Threads: 26
Joined: Nov 2005
12-28-2006, 07:20 AM #51

Thanks BoxrnrnCould this not be put in the server variables in the server.cfg to overide this?

Box Cutter
posted here
Posts: 155
Threads: 7
Joined: Jun 2006
12-28-2006, 07:40 AM #52

I don't believe adding it into server.cfg would actually force the client to have it enabled. If it is in fact cl_particlefx that controls the weather I'm sure a plugin can be made to enforce clients to have cl_particlefx as 1 but you will probably get a lot of complaints because that will force other effects on that most like off, such as muzzle flash and nade smoke. If you want it, you should request it to be made as a plugin in the request forum if it isn't already.

Ba5ic
posted here
Posts: 181
Threads: 26
Joined: Nov 2005
12-28-2006, 10:25 AM #53
I don't believe adding it into server.cfg would actually force the client to have it enabled. If it is in fact cl_particlefx that controls the weather I'm sure a plugin can be made to enforce clients to have cl_particlefx as 1 but you will probably get a lot of complaints because that will force other effects on that most like off, such as muzzle flash and nade smoke. If you want it, you should request it to be made as a plugin in the request forum if it isn't already.
rnrnrnI'll leave as is, seems too much trouble too get a plugin to enforce cl_particlefx when there could be other downsides such as disgruntled regulars and additional unwanted effects.rnrnAll in all a great plugin.

Box Cutter
posted here
Posts: 155
Threads: 7
Joined: Jun 2006
12-28-2006, 11:09 AM #54
I'll leave as is, seems too much trouble too get a plugin to enforce cl_particlefx when there could be other downsides such as disgruntled regulars and additional unwanted effects.rnrnAll in all a great plugin.
rnrnYup, I run it on my server.

diamond-optic
posted here
Posts: 2,068
Threads: 103
Joined: May 2005
12-28-2006, 11:40 AM #55

im pretty sure the weather settings are loaded client side anyway...nnmaybe im wrong

Zor
posted here
Posts: 688
Threads: 75
Joined: Jun 2006
12-28-2006, 01:44 PM #56

Diamond is correct, cl_particlefx 3 is full graphics, and 0 is frick all!nnCheers!

diamond-optic
posted here
Posts: 2,068
Threads: 103
Joined: May 2005
12-28-2006, 09:06 PM #57

actually zor..nni always thought the cl_particlefx was 0, 1, or 2 (no 3)nnwhere:n- 0 = nonen- 1 = some (not weather)n- 2 = fullnnand the thing about the weather.. i noticed problems with changing the type thru the entity in the bsp.. it wouldnt 'take' the changed weather unless the client had the weather also changed in their local copy of the map bsp...

S slayerx
posted here
Posts: 6
Threads: 0
Joined: Aug 2006
01-03-2007, 06:15 PM #58

Its not working for me i dont know why, it shows that the plugin is running fine however i dont see any snow etc i tried reloadin the map several times...is there any known problems that may be happening? because it shows as running fine :confused:

=|[76AD]|= TatsuSaisei
posted here
Posts: 794
Threads: 54
Joined: May 2005
01-03-2007, 06:51 PM #59
is there any known problems that may be happening? because it shows as running fine :confused:
n nyes, dod weather system sucks TBH, and you would think it is the opposite, but the snow is alot harder to see then the rain, WHEN you see the snow...n nyou do in fact have to have cl_particlefx set to 2 in order to even see weather effects...n nI have personally never had any luck adding weather to any map I ever made and gave up on it... there is obviously some reason for the "issue" but whatever it is elludes me, and personally was never a big enough deal to worry about...n nthere is a amx_snow plugin that has a much better look then the in game crappy dod snow... I used it during the Holidays as a theme effect on my server...

diamond-optic
posted here
Posts: 2,068
Threads: 103
Joined: May 2005
01-03-2007, 09:24 PM #60

well that seems to be with all particle systems in the game..nnthey must all be loaded strictly client side..nnas even using particle shooter entities (to create good looking smoke.. like for example the red and green smoke in whatever that map is lol.. maybe switch?) will only be seen if the client has those new entities in their local copy of the map..nnwierd tho..

D Drek
posted here
Posts: 78
Threads: 6
Joined: May 2005
01-04-2007, 03:38 PM #61

Any suggestions on how to set this up on a per map basis without having to reload the map? I'm trying to use this on one map by putting the settings in a map config, and they are loading, but the changes don't take effect until the map reloads which means they take effect for the next map in the rotation. Not exactly what I was looking for. How is it that Stripper2 was able to do this without requiring you to reload the map?

Wilson [29th ID]
started this thread
Posts: 623
Threads: 57
Joined: Oct 2005
01-05-2007, 01:47 AM #62

One of Zor's plugins in the developer forum allows you to use per-map CFG's. Use that and enter the configs in there.

D Drek
posted here
Posts: 78
Threads: 6
Joined: May 2005
01-05-2007, 07:34 AM #63

I already tried that and the result is the same. Man, this is frustrating because I love both of these plugins, and once the map reloads, they work beautifully. I was afraid the bots would have problems with the strange spawning, but they handle it with no problems whatsoever.nnI realize that Stripper2 is a Metamod plugin, and coded in C, not Small, but maybe you might be able to figure out how it strips and replaces entities without having to reload the map. It is available here with the source code. Of course it could just be that it isn't possible with AMXX.nnThis is just my completely ignorant take on things, but maybe having the entities stripped and replaced in the plugin precache would do the trick? Or maybe there is someway to get the plugin to auto reload the map when settings are changed (in order for this to work it would also need to reload the map when it get's turned off)?

D Drek
posted here
Posts: 78
Threads: 6
Joined: May 2005
01-05-2007, 01:01 PM #64

Just for fun, I tried turning on the plugin, and putting the configs in both the amxx.cfg and server.cfg files (not at the same time), and both times with the server starting from scratch the settings didn't take effect until the map changed or was reloaded.

Zor
posted here
Posts: 688
Threads: 75
Joined: Jun 2006
01-05-2007, 01:50 PM #65

Well first off, stripper 2 does strip the entities and adds your new ones on map load. If you need something that does that here you are:nnhttp://forums.alliedmods.net/showthread.php?t=10713&highlight=stripper2nnThis is non specific to dod or anything. And it works perfectly as I have used it on my server.nnCheers!

D Drek
posted here
Posts: 78
Threads: 6
Joined: May 2005
01-05-2007, 07:02 PM #66

I'm afraid it didn't work. I got the following errors:nn

steamclient.cpp (371) : Assertion Failed: pClientPipe->BWriteAndReadResult( buf, bufRet )nsteamclient.cpp (373) : Assertion Failed: bufRet.TellPut() == ( sizeof(HSteamUser) + sizeof(uint8) )
nnThen it appeared to work, but when I tried to connect it crashed, something related to the Steam client. Oddly enough the same thing was happening with Botman's Metamod Stripper2. Here is my map specific config, just to see if any obvious problem leaps out at you.nn
ADDn{ nclassname	info_doddetect ndetect_allies_infinite	1 ndetect_axis_infinite	1 ndetect_axis_paras	1ndetect_allies_paras	1ndetect_allies_country	0norigin.x	932norigin.y	2512norigin.z	2876 n}
nnI'm beginning to wonder if the problem doesn't lie with these plugins but with one of the other plugins borking these plugins... I guess there is only one way to find out.nnedit: Tested the MapSettings plugin without loading any other third party plugins and still had the same problem (not the crash problem, but the original problem I posted about, having to reload the map for settings to take effect).

D Drek
posted here
Posts: 78
Threads: 6
Joined: May 2005
01-06-2007, 10:38 AM #67

Well, after much futzing about, I think I finally have something that is almost exactly what I want. I remembered I had the same problem with the Metamod Stripper2 plugin - I mean those errors and the crashing, until I changed the load order and had Stripper2 load first. However, changing the load order of the plugins doesn't do anything, but, as I discovered, changing the load order of the modules does. When I loaded the FakeMeta module first, the errors and the crashing went away.nnBecause both the Entity Manipulation and this Map Settings plugin do a similar thing, and both use the Fake Meta module, I expect that the same thing might apply, if you are experiencing the errors and crashing I posted about above, try uncommenting and putting the FakeMeta module at the top of the modules list. That modules list is essentually a Metamod plugins.ini file, so order can make a difference.nnThis hasn't changed the problem with cvar changes not taking effect until the next map, so I still can't use this plugin, even though I would rather use this plugin than the Entity Manipulation plugin, but I will wait to see if that can or will be fixed. Thanks for all the help and suggestions.

Ba5ic
posted here
Posts: 181
Threads: 26
Joined: Nov 2005
03-18-2007, 08:45 AM #68

Just a quick question(hopefully not a stupid one!!).rnrnThose of you who use this plugin - since the recent steam update, i've had to disable the plugin due to it crashing the server continuously?. rnrnPrior to the update is was working AS smooth as a baby's bum!rnrnAny idea's?rnrnTIA

mantk
posted here
Posts: 21
Threads: 0
Joined: Jun 2006
03-20-2007, 12:19 PM #69
;3276']One of Zor's plugins in the developer forum allows you to use per-map CFG's. Use that and enter the configs in there.
rnrnI try the plugin using the zor’s plugin DoD Map Config ( Calls the Map Config File ) to load dod_mapsettings config on specific maps but don’t work properly, maybe is another zor’s plugin that you say in your post?

D Drek
posted here
Posts: 78
Threads: 6
Joined: May 2005
03-20-2007, 12:25 PM #70

That plugin isn't necessary anymore as the map configs for AMXX do the same thing. However that still won't fix the fact that this plugin doesn't register changes to cvars until the next map, so if you are trying to change settings on a per map basis, you're better off to try Twilight Suzuka's Entity Manipulation plugin.

M MBosta
posted here
Posts: 208
Threads: 30
Joined: Sep 2006
03-28-2007, 10:02 PM #71

Wondering if you could add wind to this and when if you have parachutes, it makes it harder to control due to wind. Just an idea.

Wilson [29th ID]
started this thread
Posts: 623
Threads: 57
Joined: Oct 2005
03-28-2007, 10:30 PM #72

eh..that's easier said than done, and would actually be an addition to the parachute plugin; not this one.

diamond-optic
posted here
Posts: 2,068
Threads: 103
Joined: May 2005
03-29-2007, 01:58 AM #73

well i think there are like 'wind' keys in the dod detect entity.. but i dont think they really do anything at all..

M MBosta
posted here
Posts: 208
Threads: 30
Joined: Sep 2006
03-29-2007, 08:08 AM #74

ah gotcha. I guess it would be better incorporated in the parachute plugin, please let me know if an updated version has came out.

=|[76AD]|= TatsuSaisei
posted here
Posts: 794
Threads: 54
Joined: May 2005
05-06-2007, 02:26 AM #75
|= TatsuSaisei;1168']um quick note... If the map has British, you do not want to make them para... Para Brits do not exist in the game...
n
how about cvars to set the respawn times...n ngot the idea from this thread..
n nThere have been additions made to this plugin (https://www.dodplugins.net/forums/showthread.php?p=5638)nworthy of noting...

watson [13th id]
posted here
Posts: 6
Threads: 1
Joined: May 2007
05-19-2007, 03:43 PM #76

what do i write in the .ini file for the name of the plugin?

=|[76AD]|= TatsuSaisei
posted here
Posts: 794
Threads: 54
Joined: May 2005
05-19-2007, 09:00 PM #77
;5861']what do i write in the .ini file for the name of the plugin?
n nwhatever the name of the .amxx file is that you uploaded to the game server into the plugins folder...n nie: dod_mapsettings.amxx

watson [13th id]
posted here
Posts: 6
Threads: 1
Joined: May 2007
05-21-2007, 12:00 PM #78

ok... well i did that and it still wont work..and i dont know why... seems like i have tryed everything.rnrn is this plugin only ment for dedicated servers? coz mine is on bloodservers.

M MBosta
posted here
Posts: 208
Threads: 30
Joined: Sep 2006
05-21-2007, 12:04 PM #79

Works for all DoD servers

diamond-optic
posted here
Posts: 2,068
Threads: 103
Joined: May 2005
05-21-2007, 12:39 PM #80
;5886']is this plugin only ment for dedicated servers? coz mine is on bloodservers.
nnthat is a dedicated server

watson [13th id]
posted here
Posts: 6
Threads: 1
Joined: May 2007
05-21-2007, 01:14 PM #81

so y dont it work :confused: :confused:

M MBosta
posted here
Posts: 208
Threads: 30
Joined: Sep 2006
05-21-2007, 01:26 PM #82

probably installed it wrong. Type amx_plugins in your server, what do you see.

watson [13th id]
posted here
Posts: 6
Threads: 1
Joined: May 2007
05-22-2007, 07:03 PM #83

just says unknown unknown unknown amx_mapsettings

M MBosta
posted here
Posts: 208
Threads: 30
Joined: Sep 2006
05-22-2007, 10:44 PM #84

Then you installed it wrong.

S Sneaker
posted here
Posts: 6
Threads: 0
Joined: Jul 2007
07-28-2007, 04:06 PM #85

Still cannot get the weather to work. Does it only work in certain maps. I type in all the commands and it shows as if its working but nothing happens no matter how much I reload the maps.

diamond-optic
posted here
Posts: 2,068
Threads: 103
Joined: May 2005
07-28-2007, 06:18 PM #86
Still cannot get the weather to work. Does it only work in certain maps. I type in all the commands and it shows as if its working but nothing happens no matter how much I reload the maps.
nnnits been discussed in several posts in this thread, nbut theres a lot of posts in this thread so i dont blame you for not reading thru all 9 pages lol..nnanyway the weather does not work... and most likely there isnt anyway to make it work becuase of the way dod functions

S Sneaker
posted here
Posts: 6
Threads: 0
Joined: Jul 2007
07-29-2007, 10:05 PM #87

Awesome. Thanks alot, saved me alot of time and agrivation.....

K knife108
posted here
Posts: 108
Threads: 10
Joined: Apr 2006
08-15-2007, 11:28 AM #88

I compile the dod_mapsettings2.sma that has too many errors:rnrndod_mapsettings2.sma<214> error 017: undefined symbol "get_kvd"rndod_mapsettings2.sma<214> warning 215: expression has no effectrndod_mapsettings2.sma<214> warning 215: expression has no effectrndod_mapsettings2.sma<214> error 001: exprected token: ";" but found ">"rndod_mapsettings2.sma<214> error 029: invalid expression, assumed zerorndod_mapsettings2.sma<214> fatal error 107: to many errors on one linernrncompilation aborted.rn4 Errors.rnCouldn not locate output file compileddod_mapsettings2.amx <compile failed>rnrnrnrnPls fix and update the sma file !thx

Wilson [29th ID]
started this thread
Posts: 623
Threads: 57
Joined: Oct 2005
08-15-2007, 02:31 PM #89

...what version of amxx and dodx do you have?

K knife108
posted here
Posts: 108
Threads: 10
Joined: Apr 2006
08-16-2007, 02:20 AM #90
;7189']...what version of amxx and dodx do you have?
rnrnAMXX 1.75a AND dodx 1.75

K knife108
posted here
Posts: 108
Threads: 10
Joined: Apr 2006
08-16-2007, 02:39 AM #91

#include <amxmodx>rn#include <amxmisc>rn#include <fakemeta>rnrnI only can enable amxmodx and fakemata on server. rnrnhow about amxmisc?

K Kevinmkelly
posted here
Posts: 2
Threads: 1
Joined: Jul 2007
08-18-2007, 03:32 PM #92

ive put this on my server and i cant get it to work in my amxmodmenu in the plugins menu it says its wroking but i cant get any commands to work whats the comand for turning off the flags?.

diamond-optic
posted here
Posts: 2,068
Threads: 103
Joined: May 2005
08-18-2007, 09:04 PM #93
#include <amxmodx>n#include <amxmisc>n#include <fakemeta>nnI only can enable amxmodx and fakemata on server. nnhow about amxmisc?
nnamxmodx & amxmisc are just include files not modules.. so if amxx is running then you will have no problem with them...nnpretty sure this plugin compiles fine for 1.75, tho idk bout dod_mapsettings2, have a link to where i can download that one? (yes i could search but its my turn to be lazy :P)nn
ive put this on my server and i cant get it to work in my amxmodmenu in the plugins menu it says its wroking but i cant get any commands to work whats the comand for turning off the flags?.
nni believe that's dod_map_removeflags "0"nnand i would assume you need to have the cvar loaded on mapchange or such and changing it mid-game wont remove the current maps flags.. putting it in the amxx.cfg file should work for all maps.. or for specific maps you can use the specific map config file feature in amxxn

K knife108
posted here
Posts: 108
Threads: 10
Joined: Apr 2006
08-19-2007, 02:34 AM #94
pretty sure this plugin compiles fine for 1.75, tho idk bout dod_mapsettings2, have a link to where i can download that one? (yes i could search but its my turn to be lazy :P)rn
rnrnrnI'd tried the dod_mapsettings2 and it couldn't change the weather I mean add snow or rain.

3 3pidemiC
posted here
Posts: 21
Threads: 8
Joined: Mar 2007
08-26-2007, 01:06 AM #95

I don't understand...rnrnI just got my server up and running and I added this plugin first, but it doesn't seem to work.rnrn-I've added the .amxx file into the "Plugins" folderrn-I've added the line "dod_mapsettings.amxx" into my "Plugins.ini" file.rn-I've added the lines "//DoD Map Settingsrndod_map_settings 1rndod_map_removeflags 1" into my "server.cfg" file.rnrnAm I missing something?

M MBosta
posted here
Posts: 208
Threads: 30
Joined: Sep 2006
08-26-2007, 01:24 AM #96

Addrnrn

dod_map_settings 1rndod_map_removeflags 1rn
rnto your Amxx.cfg

W watson
posted here
Posts: 13
Threads: 2
Joined: Jun 2007
08-31-2007, 10:18 AM #97

hmmm trying to install it on my server it wont work...typed amx_plugins in conosle i got dis rnrnDod MapSettings 1.0 29th ID dod_mapsettings running rnrnso i know its running but it wont get rid of the flags.... in my cvars are rnrn; dod_mappsettingsrnrndod_map_settings 1rndod_map_removeflags 1rndod_map_removespawngun 0rnrnrntyped dod_mapsettings.amxx in my plugins.ini rnrnand add the plugin into the server what i done wrong?!?!!? cuz i honestly have no idea.:mad:

Garion
posted here
Posts: 93
Threads: 9
Joined: Nov 2005
08-31-2007, 10:23 PM #98

did you restart the map after putting those settings on?

L lowaist54
posted here
Posts: 1
Threads: 0
Joined: Mar 2007
01-18-2008, 07:50 PM #99

is there any settings for it so you can only remove flags on certain maps?nnnvm sorry i forgot the search button. :(

oddball
posted here
Posts: 10
Threads: 1
Joined: Jan 2008
01-26-2008, 07:15 AM #100

Hi all, i'm new to this plugin stuff and still learning my way round. i've just read the whole thread and still have no idea on what to do.......rnrni'm runnning amx 1.8 on a linux serverrnrnso far i've done the following:rnrn-I've added the .amxx file into the "Plugins" folderrn-I've added the line "dod_mapsettings.amxx" into my "Plugins.ini" file.rnrn; Custom - Add 3rd party plugins hererndod_shellshock.amxxrndod_clanmatch.amxxrnamx_parachute.amxxrndod_mapsettings.amxxrnrnnow i've read the thread and got my self in a mess on where and what i put into either server.cfg cvars.ini and amxx.cfg... any nice people out there willing to spell it out for me plz?

Ba5ic
posted here
Posts: 181
Threads: 26
Joined: Nov 2005
01-26-2008, 10:13 AM #101
Hi all, i'm new to this plugin stuff and still learning my way round. i've just read the whole thread and still have no idea on what to do.......nni'm runnning amx 1.8 on a linux servernnso far i've done the following:nn-I've added the .amxx file into the "Plugins" foldern-I've added the line "dod_mapsettings.amxx" into my "Plugins.ini" file.nn; Custom - Add 3rd party plugins herendod_shellshock.amxxndod_clanmatch.amxxnamx_parachute.amxxndod_mapsettings.amxxnnnow i've read the thread and got my self in a mess on where and what i put into either server.cfg cvars.ini and amxx.cfg... any nice people out there willing to spell it out for me plz?
nnYup - you got it right on adding the .amxx file to your plugins folder and adding the line to your plugin.ini.nnNow add this to your amxx.cfg file which should be in your configs folder :nndod_map_settings 1ndod_map_alliesparas 1ndod_map_axisparas 1 ndod_map_alliescountry 0ndod_map_weather 0ndod_map_removeflags 0ndod_map_removetimer 0ndod_map_removemortars 0ndod_map_removespawngun 0nnThese are my settings you can obviously have them set to whatever suits you.nnSave it - upload it - change map and your good to go.nnI use this plugin on my 24/7 Ava Para server.nnWorks a treat.nnGL/HF

oddball
posted here
Posts: 10
Threads: 1
Joined: Jan 2008
01-26-2008, 11:00 AM #102

sorry in AMXX.cfg what heading do i put it under plz?

Ba5ic
posted here
Posts: 181
Threads: 26
Joined: Nov 2005
01-26-2008, 11:57 AM #103
sorry in AMXX.cfg what heading do i put it under plz?
nnNo heading, just open the amxx.cfg file with notepad or wordpad and add the cvars i.e nndod_map_settings 1ndod_map_alliesparas 1ndod_map_axisparas 1ndod_map_alliescountry 0ndod_map_weather 0ndod_map_removeflags 0ndod_map_removetimer 0ndod_map_removemortars 0ndod_map_removespawngun 0nnto the bottom of the file - just copy and paste it.nnSave the file - upload - change map and it should be working.nn :)nnn***UPDATE***nnIf you want brit weps and skins you should set the following cvar to:-nndod_map_alliescountry 1nnGd luck

oddball
posted here
Posts: 10
Threads: 1
Joined: Jan 2008
01-28-2008, 06:51 AM #104

Thanks for all your help seems to have settled down nicely and working 100%

T thanatopsizer
posted here
Posts: 21
Threads: 4
Joined: Nov 2006
02-09-2008, 04:06 AM #105

I've been running this plugin for a few months without issue, and I really like being able to control teh allies home country.rnrnI would like to suggest (if it is not too difficult) Adding something to the plugin where you can remove weapons or grenades that spawn on the map for a little more control on certain maps.

Wilson [29th ID]
started this thread
Posts: 623
Threads: 57
Joined: Oct 2005
02-09-2008, 09:06 AM #106

The only weapons that spawn on the map are bazookas.nAnd I'm pretty sure you can control that with a cvar, can't you?

T thanatopsizer
posted here
Posts: 21
Threads: 4
Joined: Nov 2006
02-12-2008, 09:42 PM #107

Maybe I worded that poorly; You see I have the map dod_italy which is a port of counter-strike's cs_italy. I like the map and it is alot of fun, but there is an area on the map where grenades constantly re-generate (spawn?) This leads to an total spamming of the allies spawn area, which quickly kills everyone's interest in the map.rnrnSo, more specifically how could I rid the map of those nades without having to edit the actual bsp and force everyone to download it?

D Drek
posted here
Posts: 78
Threads: 6
Joined: May 2005
02-12-2008, 11:00 PM #108

You should be able to use Twilight Suzuka's EntMod/Stripper2 plugin to do that.

J jondoe
posted here
Posts: 129
Threads: 6
Joined: Aug 2005
02-13-2008, 04:26 PM #109
Maybe I worded that poorly; You see I have the map dod_italy which is a port of counter-strike's cs_italy. I like the map and it is alot of fun, but there is an area on the map where grenades constantly re-generate (spawn?) This leads to an total spamming of the allies spawn area, which quickly kills everyone's interest in the map.rnrnSo, more specifically how could I rid the map of those nades without having to edit the actual bsp and force everyone to download it?
rnrnPlayers will not have to download the map if you remove the grenades.rnweapon entities are drawn by the server, not the client.rnrnJust open the map with BSP edit and search for the following entitie, and remove the grenades you want.rn
rn{ rn"origin" "933.1696 -1021.715 -14.69112" rn"angles" "0 0 0" rn"classname" "weapon_handgrenade" rn}rn
rnrnSearch for weapon_stickgrenade if you're removing axis nades.rnrnIt works the same way when you add weapons using BSP edit and BSP viewer.rnThe map will not have to be downloaded, The server will just draw the weapons for the clients. ;) If you do add weapons, dont add more then 25 per spawn area or things could get ugly.rnrnrnP.S. A better question is why would you want to play a map that insights spawn killing ?rnI dont mean spawn camping either because on my servers that is mandatory.rnI mean shooting players before they can move to defend themselves. (spawnkilling).rnrnThere are a few decent cs maps but for the most part, dust,aztec,italy are horrible maps and are not made for dod tactics.

KING_B
posted here
Posts: 12
Threads: 2
Joined: Feb 2008
02-27-2008, 06:25 AM #110

ok i have read all this and downloaded the plugin and installed. this seems to be working perfect i did have problem with allies para, the mortar or w/e tht weapon was counts as exploiting on my server so i had to disabe now it may be a little unfair on my server having fg42 in a way atleast to some people i realy cant tell difference myself being an allies player and still takin the axis out just as easy but yea i just wanted to post a thank you and post wut i put in my amxx.cfg file for perfect fg42 and fg42 scoped usage.rnrndod_map_settings 1rndod_map_alliesparas 0rndod_map_axisparas 1rndod_map_alliescountry 0rndod_map_weather 0rndod_map_removeflags 0rndod_map_removetimer 0rndod_map_removemortars 0rndod_map_removespawngun 0rnrnrnand for allies to have mortar as well i usedrnrndod_map_settings 1rndod_map_alliesparas 1rndod_map_axisparas 1rndod_map_alliescountry 0rndod_map_weather 0rndod_map_removeflags 0rndod_map_removetimer 0rndod_map_removemortars 0rndod_map_removespawngun 0

Wilson [29th ID]
started this thread
Posts: 623
Threads: 57
Joined: Oct 2005
02-27-2008, 10:44 AM #111

Thanks King. Hopefully that'll help some other blokes out.

KING_B
posted here
Posts: 12
Threads: 2
Joined: Feb 2008
02-27-2008, 05:57 PM #112

yea i hope so to i had troubles at first but i talked to box cutter who used to be in the same dod clan as me and he helped me understand cuz i didnt rly get evrything that was posted due to being new to the ftp files and server hosting.

D Drakien
posted here
Posts: 1
Threads: 0
Joined: Mar 2008
03-19-2008, 09:04 AM #113

I'm having some issues running this mod along with smoke grenades any time i turn off flags with it and smoke grenades running at same time it freezes everyone whos connecting at verifying resources please help!

I int
posted here
Posts: 6
Threads: 1
Joined: Apr 2008
04-02-2008, 05:07 PM #114

what does remove spawn guns and map timer mean?

diamond-optic
posted here
Posts: 2,068
Threads: 103
Joined: May 2005
04-02-2008, 05:31 PM #115
what does remove spawn guns and map timer mean?
nnremove spawn guns removes the spawn protection (func_tank and trigger_hurt for example)nnand the map timer is a timer on certain maps where if for example a team doesnt win within a certain amount of time, the other team wins or such.. and it removes that so there is no limit to how fast a team must win i believe

S Sea
posted here
Posts: 10
Threads: 2
Joined: Apr 2012
07-14-2016, 06:30 PM #116

Wilson thanks for this plugin, as soon as I saw it I was excited to get it on my server. rnChange the weather will affect the FPS do?

A anna
posted here
Posts: 8
Threads: 0
Joined: May 2014
07-17-2016, 08:34 AM #117
Sea Wilson thanks for this plugin, as soon as I saw it I was excited to get it on my server.rnChange the weather will affect the FPS do?
rnrnChanging weather will only been seen if player/client have in their cfg cl_particlefx set to 1/2, if 0 nothing change.rnrnby changing the weather your server performance will decrease a bit..rnrn:)

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