Thread: DoD:S NoNades
View Single Post
Author Message
BackAgain
Junior Member
Join Date: Sep 2007
Old 11-08-2008 , 16:51   DoD:S NoNades
Reply With Quote #1

Hi all,

DoD:S NoNades is a small but useful plugin. It enables or disables a specific granade type in Day of Defeat:Source. Since version 1.6, the players on the server are also able to decide whitch type of granades are allowed or not.

Installation:
  1. Copy the file "dod_nonades.smx" to ../dod/addons/sourcemod/plugins
  2. The plugin is enabled by default
Cvars:
  • sm_nonades_enabled (1=Enabled,0=Disabled), default=1
  • sm_nonades_filter (63=All nades filtered), default=63
Admin commands:
  • sm_nonades_vote (Needs admin flag "k")
Filter:

1 = weapon_frag_ger
2 = weapon_frag_us
4 = weapon_smoke_ger
8 = weapon_smoke_us
16 = weapon_riflegren_ger
32 = weapon_riflegren_us

Example filter: [No smoke granades]
4 + 8 = 12

Code:
sm_nonades_filter "12"

Example filter:
[No granades]
1 + 2 + 4 + 8 + 16 + 32 = 63

Code:
sm_nonades_filter "63"
Changelog:

1.5
  • Added a filter system
1.6
  • Added voting functionality
  • New admin command "sm_nonades_vote"
Attached Files
File Type: zip dod_nonades_1.5.zip (4.7 KB, 514 views)
File Type: zip dod_nonades_1.6.zip (6.7 KB, 974 views)
File Type: smx dod_nonades.smx (4.4 KB, 631 views)
File Type: sp Get Plugin or Get Source (dod_nonades.sp - 1957 views - 5.3 KB)

Last edited by BackAgain; 11-14-2008 at 08:20. Reason: Version update to 1.6
BackAgain is offline