Dear modders,
I want to introduce a new RollTheDice plugin. But this time, a magic one
We spend multiple months to develop a
fully modular, extensible and highly configurable dice plugin.
Now it's time to
test it more widely.
And we would like to see new modules added to it from the community. Keep in mind the plugin is in its first beta, so please
report any bugs / issues or new ideas.
Currently, the plugin is just tested with CS:S. But support for other games like CS:GO will be implemented in the future.
We documented all steps over in the plugins wiki. So if you want to give it a try, feel free to have a look
We're using GitLab (something like GitHub in better) for development. GitLab provides a lot of enterprise-grade features free of charge for open-source-products.
If you want to contribute, please create an account over there or just log in using your GitHub account ;)
Players can dice using the command !w
List of currently implemented modules:
- AddDices
- FieldOfView
- Freeze
- FroggyJump
- Gravity
- HitDamage
- LongJump
- NoClip
- Nothing
- Rocket
- Slap
- Speed
- ThrowingKnives
- Weapon
- Nervous
- Aftermath
- Colors
- Falldamge
- Overlay
- Refuse
- Waterbreath
You can configure results that using one or multiple of the features. This way you can create combinations of modules which resulting in a "new virtual module".
Hint: A module is a result a player can dice.
This module for example will give the player a wapon_deagle and sets the field of view to 150:
Code:
"20"
{
"md_weapon"
{
"param1" "weapon_deagle" // Which weapon?
"param2" "1" // How many of this weapon? (handy for grenades)
"param3" "7" // Primary mag-size?
"param4" "16" // Clip mag-size
}
"md_fov"
{
"param1" "150" // Field of view
}
"prob" "1" // uncommon probabillity (happen not so often)
}
A great list of examples is configured in the default results.cfg.
You can also configure random result parameters.
For example if you configure a result like:
Code:
"0"
{
"md_adddices" // The module to use in this dice result (md_adddices adds more dices)
{
"param1" "<|rnd:int 1,3|>" // This will randomly add 1, 2 or 3 dice turns
}
"prob" "3" // The probabillity that this will be a dice result - Higher values are more common
}
If you want to intoduce some randomness, you can do it by using random parameters in the results config.
We have created
random parser for
integers, floats and strings
For details about these features have a look at the wiki documentation!
So we hope you can take advantage of this! We are curious for feedback and suggestions.
__________________