DoD Plugins Archive
This site is an archive — everything is readable and downloadable, nothing can be posted.
Hello There, Guest!

Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Dod MapSettings
#1
Quote:Dod MapSettings
Author: 29th ID
Credits: VEN from amxx forums

Part of the 29th ID's modification to
Day of Defeat, making it more realistic
DOD:Realism - dodrealism.branzone.com

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

Code:
Usage (CVARs): NOTE: You must reload the map before any CVAR changes take effect. dod_map_settings <1/0> Enables or Disables the overall plugin dod_map_alliesparas <1/0/-1> Sets allies paras (skins and weapons) Setting to 1 enables Setting to 0 disables Setting to -1 ignores command and goes to map default dod_map_axisparas <1/0/-1> Sets axis paras (skins and weapons) Setting to 1 enables Setting to 0 disables Setting to -1 ignores command and goes to map default dod_map_alliescountry <1/0/-1> Sets British or Allies Setting to 1 is British Setting to 0 is Americans Setting to -1 ignores command and goes to map default dod_map_weather <2/1/0/-1> Sets the weather type in the map Setting to 2 adds Snow Setting to 1 adds Rain Setting to 0 turns off weather Setting to -1 ignores command and goes to map default dod_map_removeflags <1/0> Setting to 1 removes all flags and control points dod_map_removetimer <1/0> Setting to 1 removes the map timer dod_map_removemortars <1/0> Setting to 1 removes map mortar fields dod_map_removespawngun <1/0> Setting to 1 removes the spawn gun and trigger_hurt in spawn

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.


Attached Files
.sma   dod_mapsettings.sma (Size: 7.95 KB / Downloads: 488)
#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.cfg

dod_map_settings 1
dod_map_alliesparas 1
dod_map_axisparas 1
dod_map_alliescountry -1
dod_map_removeflags 0
dod_map_removetimer 0
dod_map_removespawngun 0

TIA for your help.
#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...
#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.

dod_map_settings 1
dod_map_alliesparas -1
dod_map_axisparas -1
dod_map_alliescountry 1
dod_map_removeflags 0
dod_map_removetimer 0
dod_map_removespawngun 0
#5
I should note that you must restart the map in order for any cvar changes to take place. Have you tried that?
#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?
#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.

If you've tried this and those cvar's are accurate there must be something else wrong. Works fine for me.
#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. = (
#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.
#10
UPDATED - Now allows you to adjust the weather type in the map. 1 is Rain, 2 is Snow.


Forum Jump:


Users browsing this thread: 1 Guest(s)
DoD Plugins Archive · Repository · Return to Top · Current time: 08-29-2026, 06:13 AM Powered By MyBB, © 2002-2026 MyBB Group.