Files

> > CS2D > Lua Scripts > [EngiN33R] Roll the Dice
Files overviewCS2D overviewLua Scripts overview

English [EngiN33R] Roll the Dice >

23 comments2 kb, 547 Downloads

old [EngiN33R] Roll the Dice

EngiN33R
Moderator Off Offline

Hello everyone,

Since I play TF2 often and on quite a lot of servers, on many I encounter the Roll the Dice SourceMod addon. I know a roll the dice mod was already done in CS2D, but this one is more versatile and configurable.

Features:
> Controlled by a say command (!rtd or rtd)
> Cooldown after using the command for a configurable amount of time (via the secondsuntilready variable)
> Two tables, containing the prizes functions and names in respective order, allow easy customization of prizes
> Comes with 9 built-in prizes

For developers and server hosts:
flame Attention! The script is using a say hook. If you are using other scripts that use say hooks with return 1 in them, please find a workaround, or else one of the scripts will be working incorrectly!
> The order of the names in the rtdfuncnames table has to be the same as the order of the functions themselves (in the rtdfuncs table)
> The only argument of the functions in the rtdfuncs table is the player ID, no more arguments exist

Thank you and I hope you enjoy using the script as much as I enjoyed writing it

Best wishes,
EngiN33R

More >
edited 1×, last 08.11.11 08:02:31 pm
Approved by Seekay

Download Download

2 kb, 547 Downloads

Comments

23 comments
Page
To the start Previous 1 2 Next To the start

Log in!

You need to log in to be able to write comments!Log in

old

Anti
User Off Offline

awesome!
I like it!

old

xBlazinGx
User Off Offline

nice
I like it!

old

pipex
User Off Offline

yeahh good
I like it!

old

Sniper_x
User Off Offline

Good WORK
I like it!

old

Reaxter
User Off Offline

you got a lot of Reason, good contribution
I like it!

old

Big Bang Mafia
User Off Offline

yay 3 more days wow
I like it!

old

EngiN33R
Moderator Off Offline

Look at this sentence before giving the link:
user EngiN33R has written
I know a roll the dice mod was already done in CS2D, but this one is more versatile and configurable.

old Woah!

CY
Reviewer Off Offline

Interesting.. I am going to test this script when I get back home!

Spoiler >
I like it!

old

Nem
User Off Offline

Also, Engie, can you make analog for Carnage Contest please ?
Would be pretty easy for ya
I like it!

old

Apache uwu
User Off Offline

Played through it for a few rounds (w/ bots) luved it. great script good job
I like it!

old

The Spy
User Off Offline

3 more days until the space rpg. i can't believe it :D! and yes nice script.
I like it!

old

SilentDash
User Off Offline

It only shows an error in a other Script

so i think it isn't an error from your script...
I like it!

old

EngiN33R
Moderator Off Offline

@user SilentDash: What exactly didn't work? Any errors? Please let me know so I could perfect it.

P.S. It probably has to do with the buggy Lua parsing on Linux-based servers

old

SilentDash
User Off Offline

it will come on my server

Edit: The cooldown didn't work at my Server but its funny
I like it!
edited 1×, last 08.11.11 09:08:12 pm

old

EngiN33R
Moderator Off Offline

Thank you for the rates everyone

@user Alistaire: Err I wrote it today and didn't release it to anyone but this File Archive just now, and considering this has 0 downloads I don't think it's on any server mate

old

Apache uwu
User Off Offline

I lol'd 6 likes and 0 downloads. It looks promising I'll download it and edit this post when I get home.
I like it!

old

Big Bang Mafia
User Off Offline

yay! i like it its the best
I like it!

old

Alistaire
User Off Offline

This script is already in some weird prison thing nah?

Cause screw that prison server. This is much better.
I like it!

old

Krimhorn
User Off Offline

Nice one, i've seen in only in TF2, <pow!> NOW IT'S IN CS2D!
I like it!
To the start Previous 1 2 Next To the start