Counter-Strike: Source hasn't had a decent Roll The Dice plugin publicly available in ages. It's something that communities always keep internal, and for good reason (they're awesome!). This was what I wrote for my community, but I feel like releasing it today for some reason.
Currently, most min/max/config features are hard-coded into the source code. A future update will see these values turned into a configuration file for customization.
Features:
Support for enabling/disabling the plugin on the fly; means it'll play nice with map configurations.
Support for disabling the RTD command after x seconds have passed.
Support for removing certain RTD effects that are not desired.
Ability to have a percentage of dice rolls fail, great for player rages!
Ability to detect common forms of RTD abuse (reconnecting to re-roll, suiciding to re-roll) and provides a few methods for dealing with the abuse.
If your server happens to have custom models or team colored players, there's support so that RTD doesn't break your setup (to an extent).
Installation:
/sourcemod/plugins/css_dice.smx
/sourcemod/scripting/css_dice.sp
/sourcemod/translations/css_dice.phrases.txt
__________________
Last edited by thetwistedpanda; 11-20-2011 at 17:02.
Gain Health
Lose Health
Random Health
Gain Gravity
Lose Gravity
Random Gravity
Gain Speed
Lose Speed
Random Speed
Random Color
Random Transparency
Random Model
Opposing Team Model
Slow Poison
Fast Poison
Slow Regen
Fast Regen
Increased Damage Dealt
Decreased Damage Dealt
Random Damage Dealt
Increased Damage Taken
Decreased Damage Taken
Random Damage Taken
Random Slapping (Painful)
Random Slapping (Healing)
High Jump
Long Jump
Super Jump
Jump Fucker
Tiny Beacons
Large Beacons
Static Blind
Random Blind
Drugged Vision
Monochrome Vision
Partial Stripping (Knife)
Full Stripping (No Knife)
Valiant Soul (Gain HP for Friendly Deaths)
Nobody Likes Me (Lose HP for Friendly Deaths)
Bow Before Me (Gain HP for Enemy Deaths)
Pacifist (Lose HP for Enemy Deaths)
Configuration:
Expand To View
Coming Soon
ConVars:
Expand To View
css_dice_enabled: Enables/disables all features of the plugin. css_dice_duration: The number of seconds after a round start that players can no longer RTD. (0 = Disabled) css_dice_disabled: List of indexes, separated with ", " to be disabled. css_dice_failure: The chance a user has of rolling dice that will have no effect. css_dice_abuse_detect: Determines which forms of rtd abuse to detect. Total values to achieve multiple modes of detection. (0 = Disabled, 1 = Reconnect, 2 = Respawn) css_dice_abuse_punish: Determines the punishment for players who abuse rtd. Total values to achieve multiple modes of detection. (0 = Disabled, 1 = Timeout, 2 = Apply Previous) css_dice_colors: If enabled, team colors will be applied in certain RTD effects. css_dice_models_red: List of models, separated with ", ", to be used for Terrorists in certain RTD effects. css_dice_colors_red: Color combination to be used for Terrorists in certain RTD effects. css_dice_models_blue: List of models, separated with ", ", to be used for Counter-Terrorists in certain RTD effects. css_dice_colors_blue: Color combination to be used for Counter-Terrorists in certain RTD effects.
__________________
Last edited by thetwistedpanda; 11-20-2011 at 17:04.
Afraid not, this isn't exactly coded in a manner to support such. It's designed to be put on fun servers such as Minigames / Dodgeball / Soccer / Deathrun.
Jump Fucker simply slaps the user every time they try to jump. It ends up quite comical actually. And as for the css_dice_disabled, you'd need the actual index of the effects (You can look in the source for the #defines to find their index). Whenever I get around to updating it, I'll add a command to find the indexes.