Description
Players can roll a dice by saying !rollthedice or !rtd and get one of these for the current round:
- get random amount of health
- loose random amount of health (slap)
- get random amount of money
- loose random amount of money
- get random weapon
- loose random weapon
- increase walking speed
- decrease walking speed
- invisibility
- glow (still needs some work)
- vampire: get HP for damage given to other players
- mirror damage: loose HP when hitting other players
- sunglasses: flashbangs won't bother you anymore
- druggy view (temporarily disabled)
- berserker: get health, armor and speed boost, can only use knife which instantly kills your victims
- infinite ammo
- jammed weapons
- froggy jumping
more to come in further versions...
Install instructions
Unzip the archive to your cstrike folder. If you want to disable specific features, see
cstrike/addons/sourcemod/config/ata_rollthedice.cfg.
Version >=0.3 requires the Dukehacks extension. I added a "nodukehacks" version which doesn't require the extension in case you are too lazy to install it although it's missing that nice knockback in berserker mode and I didn't test this version at all. So go for the normal dukehacks version unless you have good reasons not to use it!
*update*
Version >=0.5.1 doesn't need extensions anymore!
CVars
See
cstrike/cfg/sourcemod/ata_rollthedice.cfg which will be created by the plugin after the first start.
Changelog
Code:
0.2:
* Initial release
0.3:
* Added some comments to code
* Berserker kills have some extra gore and victims are knocked back
* Plugin announcement as requested
* Ability to enable/disable single features as requested
* Configurable sounds
* Added beacon to "Glow" effect
0.3.1:
* Bug fixes
0.4.0:
* Bug Fixes
* Configurable dice count per map as requested
* Configurable amount of extra gore in berserker mode
* Added effect: infinite ammo
* Added effect: weapon jam
* Added effect: froggy legs
0.4.1:
* Fixed: sounds not playing sometimes
0.5.0:
* Fixed closing of invalid handles (causing error messages in log)
* using sdkhooks instead of dukehacks (will use "ataextension" later)
0.5.1:
* using no extensions at all.
0.5.2:
* fixed announcement timer bug (thanks to dataviruset)
0.5.3b (dataviruset edit):
* translation problems fixed
0.5.3c (dataviruset edit):
* updated gamedata to work with Windows-servers
0.5.4:
* merged dataviruset's changes
1.0.0:
* fixed bug in function RemoveRandomWeaponFromSlot (tried to remove world entity)
1.1.0:
* added spanish translation (thanks to Franc1sco)
* fixed disabling announcement / setting sm_rtd_announce_interval to 0
* broken "extra gore" for berserker mode can be disabled by setting "sm_rtd_berserker_extra_gore" to 0
* another fix in RemoveRandomWeaponFromSlot
1.1.1-beta:
* works with new versions of CSS and with CS:GO
* druggy view and extra gore in berserker mode were temporarily disabled because of compatibility issues
Credits
Credits go to all plugin developers on alliedmods I took either some inspiration or even some lines of code from ;)