Skyrim Special Edition

File information

Last updated

Original upload

Created by

AndrealphusVIII

Uploaded by

AndrealphusVIII

Virus scan

Safe to use

About this mod

This mod allows for random rolls. Upon a button press, something good or bad will occur. Originally used for viewer engagement for Skyrim streams.

Requirements
Permissions and credits
Changelogs
Donations
Description

This mod adds a dice roll game. At the press of a button, a good or bad thing might happen to your character.

This mod is inspired by watching streams like the ones from RaspingPenuin, TasonSavarn and lots of other streamers in the mod streaming community.

Pressing a certain button ("Numpad /" by default), a dice roll will be made. (Alea Iacta Est!)

This mod requires SKSE64 and USSEP.

Rolls 1-5 will have a bad result.

Rolls 6-10 will have a good result.

Attention: To install/update this mod you'll need to start a new game.

Possible effects

Spoiler:  
Show

1*. You get afflicted by a Curse: Either Blood (Health), Spirit (Stamina) or Soul (Magicka) Regeneration in the relevant attribute is disabled. Potions and spells that restore the attribute will deal damage it instead. These 3 effects can all be active at the same time.

2*: You receive -10 penalty in a certain set of skills for 30 minutes. These skill sets include The Thief (Archery, Sneak, Lockpicking, Pickpocket, Alchemy, Speech, Light Armor), The Warrior (1H, 2H, Block, Heavy Armor, Smithing) or The Mage (Alteration, Restoration, Illusion, Destruction, Conjuration, Enchanting) These 3 effects can all be active at the same time.

3*: An illusion effects gets applied to the player for 1 minute: either Calm, Frenzy or Fear. / Alternatively, lose a random potion.

4: You lose an amount of septims. If you currently have no septims, it will reroll automatically.

5: A random enemy is spawned.

6: You receive a random valuable item.

7*: You receive +10 buff in a certain set of skills for 30 minutes. These skill sets include The Thief (Archery, Sneak, Lockpicking, Pickpocket, Alchemy, Speech, Light Armor), The Warrior (1H, 2H, Block, Heavy Armor, Smithing) or The Mage (Alteration, Restoration, Illusion, Destruction, Conjuration, Enchanting) These 3 effects can all be active at the same time.

8: You gain experience in a random skill.

9: You receive an amount septims.

10: You gain one skill point.

* If you already are under the effect of these buffs/debuffs, it will reroll automatically.


Compatibility

I've added a synergy patch for WABBAJACK - A Dice Roll Mod to work with this one. If you press the Dice Roll button (from this mod), you can roll 1 to 20. (instead of only 1 to 10) If you roll any number above 10, the WABBAJACK system will kick in and you'll get a dice roll from that mod.

Customization

Setting these globals will allow you to customize this mod to your liking. Alternatively, you can use the optional downloadable files to have the globals set already at game start.

Hotkey

Spoiler:  
Show

To rebind the hotkey, you can use the following console command:

set StreamDiceRollKey to X


Whereas X is the number of the mapped key, which can be found in this list.
Default value is 181 (which is Numpad / ).
If you want to rebind to F10 for instance, you will need the following console command:

set StreamDiceRollKey to 68


Notifications/Messageboxes
You can use the following console command to swap between notifications or messageboxes:

set StreamDiceRoll_UseNotifications to X


If X is set to 1, after each dice roll, you'll get a notification in the top left corner, instead of a messagebox in the center of the screen, of which you'll need to press OK.
If it's set to anything else than 1, you'll get the default messageboxes. (This is the default setting.)


Disable Fear and Frenzy

Spoiler:  
Show


set StreamDiceRoll_DisableFearAndFrenzy to X


If X is set to 1, after each dice roll, you'll get a notification in the top left corner, instead of a messagebox in the center of the screen, of which you'll need to press OK.
If it's set to anything else, it will use the default messageboxes. (This is the default setting.)

Gold gain/lost scaling

set StreamDiceRoll_GoldLostSystem to X
set StreamDiceRoll_GoldGainSystem to X


If X is set to 1, gold lost/gained will be scaled based on the character level (1 to 500*player level). (This is the default setting.)
If set to 2, gold lost/gained will be scaled on the max amount of gold in your inventory. (1-max gold in your inventory)
If set to anything else, gold lost/gained will be static amount (1-5000 gold).


Skill Buffs/Penalties

Spoiler:  
Show


set StreamDiceRolls_SeperateSkillEffects to X

If set to 1, dice rolls affected skill buffs and penalties will once again use the old system for each seperate skill, instead of the Mage, Thief and warrior skill sets.

Wabbajack Chance

set StreamDiceRoll_WabbajackChance to X

If you use the patch for the WABBAJACK! Dice roll mod, X is the percentage of change that a hybrid roll will trigger an effect from WABBAJACK! (default value is 50)



Curses

Spoiler:  
Show

The Blood, Spirit and Soul Curses can be set to different magnitudes and durations. You can use the following console command to do so:


Set StreamDiceRoll_CurseType to X


Whereas X can be the following values:

0 = Disable Curse
1 = Dangerous Curse Lasting 15 minutes (Default)
2 = Dangerous Curse Lasting 10 minutes
3 = Dangerous Curse Lasting 5 minutes
4 = Mild Curse Lasting 15 minutes
5 = Mild Curse Lasting 10 minutes
6 = Mild Curse Lasting 5 minutes

Dangerous Curse refers to any items/spells that normally restore the attribute, will now damage it.
Mild Curse refers to any items/spells that normally restore the attribute, will have no effect.


Swap "Illusion Effects" with "Remove Potions"

Spoiler:  
Show

This will replace roll 3's Illusion effects with losing a random potion.

There are some options to control this:


set StreamDiceRolls_SwapIllusionWithPotionLoss to X


If X is set to 1, after each dice roll, you'll lose a random potion instead of being affected by an illusion spell.
If it's set to anything else, it will use the illusion effects. (This is the default setting.)


BAT files

Spoiler:  
Show


To automate a certain roll I include several BAT files. To use them, you need to copy them in the Skyrim folder manually. That is the folder where the "SkyrimSE.exe" and "SkyrimSELauncher.exe" are located. This is NOT the data folder!

To use them in game, you can use the following console command:


bat <Bat File Name>


For instance:


bat RollCurseRandom



Troubleshooting

Spoiler:  
Show


If any of these globals fail to do what they were intending to do, try setting them at their default values, closing the console menu, wait 10 seconds and put them back to their desired value.

In case of the BAT files, the default value is the following:


set PerformWeightDieNumber to 0


If roll 3 for losing a potion no longer properly removes potions, you can use this failsafe command to debug it:


set StreamDiceRoll_RemovePotionsDebug to 1


It may take a while for the reset to take effect, depending on the amount of items in your inventory. You'll see a notification when it's done.

After the reset is done, the global will automatically be set back to 0. However, should this fail for whatever reason, I'd advise you to set it to 0.



Known issues

  • The illusion effects (roll 3) might sometimes bug out or work a bit janky.
  • Likewise, the "remove potion" effect may fail to remove a potion, in that case, I advise to use the failsafe (see customization) and perform a Lose Potion weighted die roll through a BAT file.

FAQ

Q: ESPFE?
A: Yes.

Q: Does installing/updating/uninstalling on an existing save work?
A: As far as I know, it should. However, it's good practice to keep a backup save prior to doing this, just in case.

Q: Is this compatible with <insert mod>?
A: I don't know by heart. You might need to check yourself.

Q: Will you make a patch for <insert mod>?
A: Only if it's a mod I use myself or plan on using, I have enough time and I actually like the idea. Otherwise, feel free to do it yourself. (see permissions)

Q: I have a suggestion to improve the mod. Can you do it?
A: Maybe, if I have time and I like the idea, I'll consider it.

Q: Will you port this to <insert platform>?
A: No, I myself only support the Steam and GOG English SE and AE versions of Skyrim. If someone else wants to port it, feel free. (see permission) If you decide to port it, you yourself take full responsibility to offer support to said port. I will not provide no support for any ports by third parties.

Q: I use a ported version of this mod on <insert platform> and I have a problem. Can you help?
A: I don't provide any support for third party ports on other platforms than the Steam and GOG English SE and AE versions of Skyrim. If you have issues, you should adress the person that ported it.

Q: Does this work on Skyrim 1.6+, aka "Anniversary Edition"?
A: Yes, it should.

Q: Why don't your mods use MCMs and instead use this janky console command system to set globals?
A: I am not a fan of MCMs. You can set the globals by making a patch in xEdit. I have no plans of changing this. If you want to add an MCM, feel free. (see permissions)

Q: Why don't you use FOMODs?
A: That would require reuploading the entire mod, in question, even if I only make a small change. My internet is limited and reuploading the files each time will take a huge chunk of my monthly volume.