Raised This Month: $ Target: $400
 0% 

[DOD:S] Pistols only config per map


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
knoxville101
Junior Member
Join Date: Feb 2023
Old 09-23-2023 , 14:00   [DOD:S] Pistols only config per map
Reply With Quote #1

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

Last edited by knoxville101; 09-23-2023 at 14:01.
knoxville101 is offline
knoxville101
Junior Member
Join Date: Feb 2023
Old 09-23-2023 , 14:02   Re: [DOD:S] Pistols only config per map
Reply With Quote #2

We do have the close combat mod but that has to be activated manually by an admin...
__________________
knoxville101 is offline
micmacx
Member
Join Date: May 2021
Old 09-29-2023 , 13:38   Re: [DOD:S] Pistols only config per map
Reply With Quote #3

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

Last edited by micmacx; 09-29-2023 at 13:41.
micmacx is offline
knoxville101
Junior Member
Join Date: Feb 2023
Old 10-02-2023 , 20:24   Re: [DOD:S] Pistols only config per map
Reply With Quote #4

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
__________________
knoxville101 is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 10-03-2023 , 04:58   Re: [DOD:S] Pistols only config per map
Reply With Quote #5

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
__________________
Silvers is offline
knoxville101
Junior Member
Join Date: Feb 2023
Old 10-03-2023 , 16:01   Re: [DOD:S] Pistols only config per map
Reply With Quote #6

No I tried that a long time ago. It doesn't work.
__________________
knoxville101 is offline
micmacx
Member
Join Date: May 2021
Old 10-12-2023 , 19:05   Re: [DOD:S] Pistols only config per map
Reply With Quote #7

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. ;-)

+++. :-) :-) :-)
__________________
micmacx is offline
knoxville101
Junior Member
Join Date: Feb 2023
Old 10-19-2023 , 18:25   Re: [DOD:S] Pistols only config per map
Reply With Quote #8

Thats weird it didn't work before. Yeah that does work now. Thank you
__________________
knoxville101 is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:04.


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