AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugin/Gameplay Ideas and Requests (https://forums.alliedmods.net/forumdisplay.php?f=60)
-   -   [DOD:S] Pistols only config per map (https://forums.alliedmods.net/showthread.php?t=344013)

knoxville101 09-23-2023 14:00

[DOD:S] Pistols only config per map
 
Anyone have a config for just pistols only. No nades, smoke, rifles, ect. Maybe someone could write a plugin for this. Would enhance the playability on really small maps like icecaverns and so many more. I like to run a wide variety on our VoD servers.

knoxville101 09-23-2023 14:02

Re: [DOD:S] Pistols only config per map
 
We do have the close combat mod but that has to be activated manually by an admin...

micmacx 09-29-2023 13:38

Re: [DOD:S] Pistols only config per map
 
Hi,
You can setting automaticaly by create a cfg file with same name of you map in cfg folder.
if your map is dod_flash.bsp, you create dod/cfg/dod_flash.cfg
and you put your cvar to enable your plugin.
And in /cfg/server.cfg you put your cvar to disable your plugin.
Like this when server change map, plugin is disable.

This is an example :

PHP Code:

sm plugins unload dod_spawnprotec_source.smx
sm plugins unload dod_grenadeprotection_mx
.smx
sm plugins unload sm_dod_pistols
.smx
sm plugins unload dod_capture_bonus
.smx
sm plugins unload dod_votemod
.smx


dod_bogan_soccer 
"1" 

This doesn't work with old version of SourceMod

knoxville101 10-02-2023 20:24

Re: [DOD:S] Pistols only config per map
 
How would I load this for just pistols only on lets say dod_flash.cfg

What would I put in the config file?

https://dodsplugins.mtxserv.fr/viewtopic.php?f=7&t=52

Silvers 10-03-2023 04:58

Re: [DOD:S] Pistols only config per map
 
I'm guessing here, but looking at this you would put

dod/cfg/server.cfg:
dod_closecombat_source "0"

dod/cfg/dod_flash.cfg:
dod_closecombat_source "2"

That way the plugin is diabled in all maps except dod_flash that enables pistols

knoxville101 10-03-2023 16:01

Re: [DOD:S] Pistols only config per map
 
No I tried that a long time ago. It doesn't work.

micmacx 10-12-2023 19:05

Re: [DOD:S] Pistols only config per map
 
Hi,
Since you updated your server, it certainly works now, I think Silver knows what he's talking about, otherwise he wouldn't be: "SourceMod Plugin Approver". ;-)
I have friends who are in 1.10 it doesn't work for them, I know you updated to 1.11 not long ago, you should try again.

For me it work and my server is with sourcemod 1.11.0-6502. ;-)

+++. :-) :-) :-)

knoxville101 10-19-2023 18:25

Re: [DOD:S] Pistols only config per map
 
Thats weird it didn't work before. Yeah that does work now. Thank you


All times are GMT -4. The time now is 14:01.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.