PDA

View Full Version : Dod MapSettings


Wilson [29th ID]
09-13-2006, 05:33 AM
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

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)

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.

Box Cutter
09-13-2006, 12:57 PM
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.

=|[76AD]|= TatsuSaisei
09-13-2006, 01:06 PM
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
09-13-2006, 01:11 PM
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

Wilson [29th ID]
09-13-2006, 02:11 PM
I should note that you must restart the map in order for any cvar changes to take place. Have you tried that?

Box Cutter
09-13-2006, 08:11 PM
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]
09-13-2006, 11:50 PM
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.

Box Cutter
09-14-2006, 03:47 AM
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]
09-14-2006, 11:17 AM
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]
09-27-2006, 04:29 PM
UPDATED - Now allows you to adjust the weather type in the map. 1 is Rain, 2 is Snow.

[WoH]Killemall4u
09-28-2006, 12:05 PM
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?

Thanks for all your Help

[WoH]MAJ.Killemall4u

diamond-optic
09-28-2006, 05:42 PM
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]
09-28-2006, 07:59 PM
Try what he said - if it doesn't work I'll give you a version that is per-map.

[WoH]Killemall4u
09-28-2006, 08:07 PM
I have tried the plugin I can't get it to work with a map cfg.

Another version permap would be great to run on our realism servers

Thanks [WoH]MAJ.Killemall4u

diamond-optic
09-28-2006, 08:16 PM
you might need to run something like this to make sure the map config gets called:

http://www.dodplugins.net/forums/showthread.php?t=8

and 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
09-28-2006, 11:51 PM
I tried what you said still can not get it to work with the mapcfg.amxx either

Thanks

[WoH]Killemall4u
09-29-2006, 02:06 AM
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

crazylegs
10-03-2006, 12:12 AM
can i add an amx_ command ?? and will it execute it?

Wilson [29th ID]
10-03-2006, 02:17 AM
@crazylegs - What do you mean? As in change the settings while the server is running? You will still need to reload the map.

@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
10-03-2006, 03:02 AM
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.

crazylegs
10-03-2006, 03:37 AM
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]
10-03-2006, 05:04 AM
crazylegs, no. that's not what this plugin does. please read the plugin description.

[WoH]Killemall4u
10-03-2006, 11:18 AM
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
10-23-2006, 03:39 PM
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.
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.

diamond-optic
10-23-2006, 09:42 PM
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.

if thats the case.. then wilson should just have it create the entity if it cant find it before setting the keyvalues

Box Cutter
11-17-2006, 12:41 AM
Just wondering if there were any updates on getting this to work on dod_avalanche?

Wilson [29th ID]
11-18-2006, 10:41 AM
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
11-18-2006, 05:16 PM
Thank you Wilson.

Kiel |17.SS|
11-19-2006, 01:16 PM
I get an error, when I remove the flags, saying, "cannot continue without model.inf" Any Idea what's going on?

Wilson [29th ID]
11-20-2006, 01:05 AM
Which map?

Kiel |17.SS|
11-20-2006, 02:41 AM
It was Anzio.

Kiel |17.SS|
11-27-2006, 06:48 PM
Anyone know what's wrong with this or how long it will take for this to work?

Wilson [29th ID]
11-29-2006, 04:34 AM
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
11-29-2006, 04:52 AM
;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.

#include <ojos>

What is this ??

Wilson [29th ID]
11-29-2006, 05:04 AM
fixed - i removed the need for that inc.

Kiel |17.SS|
12-01-2006, 04:00 AM
ahh sweet. i have to test it out right now then.

Kiel |17.SS|
12-01-2006, 05:22 AM
from what i tried out, it works. :D awesome plugin. thanks!

Merrill
12-06-2006, 01:05 AM
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.

Here are my settings

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


Anyone else have this problem?

Garion
12-06-2006, 01:56 AM
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
12-06-2006, 04:51 AM
Plugin is working great for me on Avalanche now. Much thanks Wilson.

Merrill
12-06-2006, 06:19 PM
I thought I had it set to allies para. Do I need to change country setting to 0?

Box Cutter
12-06-2006, 07:00 PM
I thought I had it set to allies para. Do I need to change country setting to 0?

Set it to -1

Merrill
12-06-2006, 07:56 PM
This is what I have it set to as per my earlier post.

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


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

Kiel |17.SS|
12-06-2006, 08:03 PM
Merrill set alliesparas to -1. It should work after that.

Merrill
12-06-2006, 08:20 PM
Ok seems to be working.

Thanks

Merrill
12-06-2006, 10:00 PM
Well it worked in flash, but not Jagd or Caen

One thing I notice is there is a mortar class at the bottom of the weapons selection and the bar selection is blank.

Whats gives?

Merrill

=|[76AD]|= TatsuSaisei
12-06-2006, 11:49 PM
Well it worked in flash, but not Jagd or Caen

One thing I notice is there is a mortar class at the bottom of the weapons selection and the bar selection is blank.

Whats gives?

Merrill
The 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.

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

I 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
12-27-2006, 09:49 PM
how about cvars to set the respawn times...

got the idea from this (http://forums.alliedmods.net/showthread.php?t=48447) thread..

Ba5ic
12-28-2006, 06:15 AM
Awesome plugin Wilson, My regulars love it!!.

A little guidance, i've set the weather in my amxx.cfg to :-

dod_map_weather 2 - Snow. Everything else except this works. I've also installed Diamonds random skymap plugin. Could this be were the conflict is?.

I'm no coder :S, just curious as to why its not working on this specific CVAR.

TIA.

Box Cutter
12-28-2006, 07:08 AM
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
12-28-2006, 07:20 AM
Thanks Box

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

Box Cutter
12-28-2006, 07:40 AM
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
12-28-2006, 10:25 AM
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.


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.

All in all a great plugin.

Box Cutter
12-28-2006, 11:09 AM
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.

All in all a great plugin.

Yup, I run it on my server.

diamond-optic
12-28-2006, 11:40 AM
im pretty sure the weather settings are loaded client side anyway...

maybe im wrong

Zor
12-28-2006, 01:44 PM
Diamond is correct, cl_particlefx 3 is full graphics, and 0 is frick all!

Cheers!

diamond-optic
12-28-2006, 09:06 PM
actually zor..

i always thought the cl_particlefx was 0, 1, or 2 (no 3)

where:
- 0 = none
- 1 = some (not weather)
- 2 = full

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

slayerx
01-03-2007, 06:15 PM
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
01-03-2007, 06:51 PM
is there any known problems that may be happening? because it shows as running fine :confused:

yes, 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...

you do in fact have to have cl_particlefx set to 2 in order to even see weather effects...

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

there 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
01-03-2007, 09:24 PM
well that seems to be with all particle systems in the game..

they must all be loaded strictly client side..

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

wierd tho..

Drek
01-04-2007, 03:38 PM
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]
01-05-2007, 01:47 AM
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.

Drek
01-05-2007, 07:34 AM
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.

I 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 (http://botman.planethalflife.gamespy.com/stripper2.shtml) with the source code. Of course it could just be that it isn't possible with AMXX.

This 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)?

Drek
01-05-2007, 01:01 PM
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
01-05-2007, 01:50 PM
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:

http://forums.alliedmods.net/showthread.php?t=10713&highlight=stripper2

This is non specific to dod or anything. And it works perfectly as I have used it on my server.

Cheers!

Drek
01-05-2007, 07:02 PM
I'm afraid it didn't work. I got the following errors:

steamclient.cpp (371) : Assertion Failed: pClientPipe->BWriteAndReadResult( buf, bufRet )
steamclient.cpp (373) : Assertion Failed: bufRet.TellPut() == ( sizeof(HSteamUser) + sizeof(uint8) )

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

ADD
{
classname info_doddetect
detect_allies_infinite 1
detect_axis_infinite 1
detect_axis_paras 1
detect_allies_paras 1
detect_allies_country 0
origin.x 932
origin.y 2512
origin.z 2876
}

I'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.

edit: 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).

Drek
01-06-2007, 10:38 AM
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.

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

This 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
03-18-2007, 09:45 AM
Just a quick question(hopefully not a stupid one!!).

Those 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?.

Prior to the update is was working AS smooth as a baby's bum!

Any idea's?

TIA

mantk
03-20-2007, 01:19 PM
;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.

I try the plugin using the zor’s plugin DoD Map Config ( Calls the Map Config File ) (http://www.dodplugins.net/forums/showthread.php?t=8) 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?

Drek
03-20-2007, 01:25 PM
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.

MBosta
03-28-2007, 11:02 PM
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]
03-28-2007, 11:30 PM
eh..that's easier said than done, and would actually be an addition to the parachute plugin; not this one.

diamond-optic
03-29-2007, 02:58 AM
well i think there are like 'wind' keys in the dod detect entity.. but i dont think they really do anything at all..

MBosta
03-29-2007, 09:08 AM
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
05-06-2007, 03:26 AM
|= 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...
how about cvars to set the respawn times...

got the idea from this (http://forums.alliedmods.net/showthread.php?t=48447) thread..

There have been additions made to this plugin (http://www.dodplugins.net/forums/showthread.php?p=5638)
worthy of noting...

watson [13th id]
05-19-2007, 04:43 PM
what do i write in the .ini file for the name of the plugin?

=|[76AD]|= TatsuSaisei
05-19-2007, 10:00 PM
;5861']what do i write in the .ini file for the name of the plugin?

whatever the name of the .amxx file is that you uploaded to the game server into the plugins folder...

ie: dod_mapsettings.amxx

watson [13th id]
05-21-2007, 01:00 PM
ok... well i did that and it still wont work..and i dont know why... seems like i have tryed everything.

is this plugin only ment for dedicated servers? coz mine is on bloodservers.

MBosta
05-21-2007, 01:04 PM
Works for all DoD servers

diamond-optic
05-21-2007, 01:39 PM
;5886']is this plugin only ment for dedicated servers? coz mine is on bloodservers.

that is a dedicated server

watson [13th id]
05-21-2007, 02:14 PM
so y dont it work :confused: :confused:

MBosta
05-21-2007, 02:26 PM
probably installed it wrong. Type amx_plugins in your server, what do you see.

watson [13th id]
05-22-2007, 08:03 PM
just says unknown unknown unknown amx_mapsettings

MBosta
05-22-2007, 11:44 PM
Then you installed it wrong.

Sneaker
07-28-2007, 05:06 PM
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
07-28-2007, 07:18 PM
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.


its been discussed in several posts in this thread,
but theres a lot of posts in this thread so i dont blame you for not reading thru all 9 pages lol..

anyway the weather does not work... and most likely there isnt anyway to make it work becuase of the way dod functions

Sneaker
07-29-2007, 11:05 PM
Awesome. Thanks alot, saved me alot of time and agrivation.....

knife108
08-15-2007, 12:28 PM
I compile the dod_mapsettings2.sma that has too many errors:

dod_mapsettings2.sma<214> error 017: undefined symbol "get_kvd"
dod_mapsettings2.sma<214> warning 215: expression has no effect
dod_mapsettings2.sma<214> warning 215: expression has no effect
dod_mapsettings2.sma<214> error 001: exprected token: ";" but found ">"
dod_mapsettings2.sma<214> error 029: invalid expression, assumed zero
dod_mapsettings2.sma<214> fatal error 107: to many errors on one line

compilation aborted.
4 Errors.
Couldn not locate output file compiled\dod_mapsettings2.amx <compile failed>



Pls fix and update the sma file !thx

Wilson [29th ID]
08-15-2007, 03:31 PM
...what version of amxx and dodx do you have?

knife108
08-16-2007, 03:20 AM
;7189']...what version of amxx and dodx do you have?

AMXX 1.75a AND dodx 1.75

knife108
08-16-2007, 03:39 AM
#include <amxmodx>
#include <amxmisc>
#include <fakemeta>

I only can enable amxmodx and fakemata on server.

how about amxmisc?

Kevinmkelly
08-18-2007, 04:32 PM
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
08-18-2007, 10:04 PM
#include <amxmodx>
#include <amxmisc>
#include <fakemeta>

I only can enable amxmodx and fakemata on server.

how about amxmisc?

amxmodx & amxmisc are just include files not modules.. so if amxx is running then you will have no problem with them...

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)

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

i believe that's dod_map_removeflags "0"

and 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 amxx (http://wiki.amxmodx.org/Configuring_AMX_Mod_X#Map_Config_Files)

knife108
08-19-2007, 03:34 AM
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)



I'd tried the dod_mapsettings2 and it couldn't change the weather I mean add snow or rain.

3pidemiC
08-26-2007, 02:06 AM
I don't understand...

I just got my server up and running and I added this plugin first, but it doesn't seem to work.

-I've added the .amxx file into the "Plugins" folder
-I've added the line "dod_mapsettings.amxx" into my "Plugins.ini" file.
-I've added the lines "//DoD Map Settings
dod_map_settings 1
dod_map_removeflags 1" into my "server.cfg" file.

Am I missing something?

MBosta
08-26-2007, 02:24 AM
Add

dod_map_settings 1
dod_map_removeflags 1

to your Amxx.cfg

watson
08-31-2007, 11:18 AM
hmmm trying to install it on my server it wont work...typed amx_plugins in conosle i got dis

Dod MapSettings 1.0 29th ID dod_mapsettings running

so i know its running but it wont get rid of the flags.... in my cvars are

; dod_mappsettings

dod_map_settings 1
dod_map_removeflags 1
dod_map_removespawngun 0


typed dod_mapsettings.amxx in my plugins.ini

and add the plugin into the server what i done wrong?!?!!? cuz i honestly have no idea.:mad:

Garion
08-31-2007, 11:23 PM
did you restart the map after putting those settings on?

lowaist54
01-18-2008, 07:50 PM
is there any settings for it so you can only remove flags on certain maps?

nvm sorry i forgot the search button. :(

oddball
01-26-2008, 07:15 AM
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.......

i'm runnning amx 1.8 on a linux server

so far i've done the following:

-I've added the .amxx file into the "Plugins" folder
-I've added the line "dod_mapsettings.amxx" into my "Plugins.ini" file.

; Custom - Add 3rd party plugins here
dod_shellshock.amxx
dod_clanmatch.amxx
amx_parachute.amxx
dod_mapsettings.amxx

now 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
01-26-2008, 10:13 AM
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.......

i'm runnning amx 1.8 on a linux server

so far i've done the following:

-I've added the .amxx file into the "Plugins" folder
-I've added the line "dod_mapsettings.amxx" into my "Plugins.ini" file.

; Custom - Add 3rd party plugins here
dod_shellshock.amxx
dod_clanmatch.amxx
amx_parachute.amxx
dod_mapsettings.amxx

now 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?

Yup - you got it right on adding the .amxx file to your plugins folder and adding the line to your plugin.ini.

Now add this to your amxx.cfg file which should be in your configs folder :

dod_map_settings 1
dod_map_alliesparas 1
dod_map_axisparas 1
dod_map_alliescountry 0
dod_map_weather 0
dod_map_removeflags 0
dod_map_removetimer 0
dod_map_removemortars 0
dod_map_removespawngun 0

These are my settings you can obviously have them set to whatever suits you.

Save it - upload it - change map and your good to go.

I use this plugin on my 24/7 Ava Para server.

Works a treat.

GL/HF

oddball
01-26-2008, 11:00 AM
sorry in AMXX.cfg what heading do i put it under plz?

Ba5ic
01-26-2008, 11:57 AM
sorry in AMXX.cfg what heading do i put it under plz?

No heading, just open the amxx.cfg file with notepad or wordpad and add the cvars i.e

dod_map_settings 1
dod_map_alliesparas 1
dod_map_axisparas 1
dod_map_alliescountry 0
dod_map_weather 0
dod_map_removeflags 0
dod_map_removetimer 0
dod_map_removemortars 0
dod_map_removespawngun 0

to the bottom of the file - just copy and paste it.

Save the file - upload - change map and it should be working.

:)


***UPDATE***

If you want brit weps and skins you should set the following cvar to:-

dod_map_alliescountry 1

Gd luck

oddball
01-28-2008, 06:51 AM
Thanks for all your help seems to have settled down nicely and working 100%

thanatopsizer
02-09-2008, 04:06 AM
I've been running this plugin for a few months without issue, and I really like being able to control teh allies home country.

I 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]
02-09-2008, 09:06 AM
The only weapons that spawn on the map are bazookas.
And I'm pretty sure you can control that with a cvar, can't you?

thanatopsizer
02-12-2008, 09:42 PM
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.

So, more specifically how could I rid the map of those nades without having to edit the actual bsp and force everyone to download it?

Drek
02-12-2008, 11:00 PM
You should be able to use Twilight Suzuka's EntMod/Stripper2 plugin (http://forums.alliedmods.net/showthread.php?p=92459) to do that.

jondoe
02-13-2008, 04:26 PM
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.

So, more specifically how could I rid the map of those nades without having to edit the actual bsp and force everyone to download it?

Players will not have to download the map if you remove the grenades.
weapon entities are drawn by the server, not the client.

Just open the map with BSP edit and search for the following entitie, and remove the grenades you want.

{
"origin" "933.1696 -1021.715 -14.69112"
"angles" "0 0 0"
"classname" "weapon_handgrenade"
}


Search for weapon_stickgrenade if you're removing axis nades.

It works the same way when you add weapons using BSP edit and BSP viewer.
The 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.


P.S. A better question is why would you want to play a map that insights spawn killing ?
I dont mean spawn camping either because on my servers that is mandatory.
I mean shooting players before they can move to defend themselves. (spawnkilling).

There 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
02-27-2008, 06:25 AM
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.

dod_map_settings 1
dod_map_alliesparas 0
dod_map_axisparas 1
dod_map_alliescountry 0
dod_map_weather 0
dod_map_removeflags 0
dod_map_removetimer 0
dod_map_removemortars 0
dod_map_removespawngun 0


and for allies to have mortar as well i used

dod_map_settings 1
dod_map_alliesparas 1
dod_map_axisparas 1
dod_map_alliescountry 0
dod_map_weather 0
dod_map_removeflags 0
dod_map_removetimer 0
dod_map_removemortars 0
dod_map_removespawngun 0

Wilson [29th ID]
02-27-2008, 10:44 AM
Thanks King. Hopefully that'll help some other blokes out.

KING_B
02-27-2008, 05:57 PM
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.

Drakien
03-19-2008, 10:04 AM
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!

int
04-02-2008, 06:07 PM
what does remove spawn guns and map timer mean?

diamond-optic
04-02-2008, 06:31 PM
what does remove spawn guns and map timer mean?

remove spawn guns removes the spawn protection (func_tank and trigger_hurt for example)

and 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