[CSS/CS:GO] Roll The Dice
2 Attachment(s)
Description
Players can roll a dice by saying !rollthedice or !rtd and get one of these for the current round:
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: Credits Credits go to all plugin developers on alliedmods I took either some inspiration or even some lines of code from ;) |
Re: [CSS] Roll The Dice
Very nice!
Glad to see a CSS version of this out finally (that works)! EDIT: After playing it, heres a couple of suggestions: Allow us to disable/enable what we want (like we have flashbangs restricted on our servers so getting the sunglasses does nothing - good nor bad). Put up adverts to let people know they can type !rtd or !rollthedice to use it. Played for about 30 to 45 mins and didnt see anyone get drugged. Possible bug? I saw everything else in the list execpt drug. Very fun! Keep up the good work! :) |
Re: [CSS] Roll The Dice
Ye, there should be possibility to choose what to allow and what not. Like antiflash. Advert would be nice as well
|
Re: [CSS] Roll The Dice
Your requested features are implemented, among some others. I'll post the new version here as soon as they're tested.
|
Re: [CSS] Roll The Dice
nice, will be waiting
|
Re: [CSS] Roll The Dice
Updated.
|
Re: [CSS] Roll The Dice
dudehacks crash my server, testing nodude version now.
And the sounds are taken from hl2 or needs to be downloaded? I dont see where to disable antiflash... |
Re: [CSS] Roll The Dice
Yup, sounds are taken from hl2 but can easily be customized. See cstrike/addons/sourcemod/config/ata_rollthedice.cfg as mentioned in the install instructions for how to disable antiflash. Just comment out the whole "sunglasses" section in that file like shown in the example.
|
Re: [CSS] Roll The Dice
:06:13: Info (map "cs_office") (file "errors_20090621.log")
L 06/21/2009 - 06:06:13: [SM] Native "CloseHandle" reported: Handle d000ce is invalid (error 1) L 06/21/2009 - 06:06:13: [SM] Displaying call stack trace for plugin "ata_rollthedice.smx": L 06/21/2009 - 06:06:13: [SM] [0] Line 316, ata_rollthedice.sp::OnMapEnd() :38:03: [SM] Native "KillTimer" reported: Invalid timer handle 458a03e1 (error 1) L 06/21/2009 - 12:38:03: [SM] Displaying call stack trace for plugin "ata_rollthedice.smx": L 06/21/2009 - 12:38:03: [SM] [0] Line 459, ata_rollthedice.sp::EventPlayerDeath() L 06/21/2009 - 10:52:28: [SM] Native "SDKCall" reported: Invalid Handle d000ce (error 1) L 06/21/2009 - 10:52:28: [SM] Displaying call stack trace for plugin "ata_rollthedice.smx": L 06/21/2009 - 10:52:28: [SM] [0] Line 288, /server/hlds/srcds/cstrike/addons/sourcemod/scripting/include/ata_tools.inc::AddExtraGore() L 06/21/2009 - 10:52:28: [SM] [1] Line 400, ata_rollthedice.sp::EventPlayerHurt() Lots of this error: :31:37: [SM] Native "KillTimer" reported: Invalid timer handle d8cd03c1 (error 3) L 06/21/2009 - 11:31:37: [SM] Displaying call stack trace for plugin "ata_rollthedice.smx": L 06/21/2009 - 11:31:37: [SM] [0] Line 346, ata_rollthedice.sp::EventPlayerSpawn() Right, not bad for a start, but here you go... Cant use plugin for now, cos it just spams my logs with those errors |
Re: [CSS] Roll The Dice
Come on man, you got nice plugin, just fix those errors
|
All times are GMT -4. The time now is 20:02. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.