module

Stream Overlay

Endorsements
0
Installs
0.08%
Comments
0
Latest version1.1.1
Minimum Core10
Compatible Core11
Last updated10 months ago
Created1 year ago
Authors
Languages English
French
Systems All systems
Project source Project URL
Read-me Readme URL
License License URL

This module add overlays to display rolls in a customizable way.

It generates links to use as a browser source in the streaming software.

Usage

Custom overlay generator

Provide an overlay to display rolls in a customizable maner

  1. To start, open the link generator

  2. Then Select the options that you want on the overlay

  3. Click the Generatebutton to generate the link of the overlay

  4. Click the Copybutton

  5. You have now a link to use. Put it as a browser source on OBS (or any streaming software that support browser sources)

  6. Enjoy!

There are multiple settings :

Name Description
One roll at a time Only one roll will be displayed at a time, the overlay will wait the disappearing of a roll to display the next one.
Roll display time Define the roll appearance duration
Users Select the Users that you want the rolls to be displayed. If none are selected, any user will be displayed
Actors Select the Actors that you want the rolls to be displayed. If none are selected, any actor will be displayed
Custom CSS Apply a style for only one page. If not set, global style will be used. If set, both the global one and the cusom one will be used
Custom HTML Apply a temlpate for only one page. If not set, global temlpate will be used, If set, only the custom one will be used

Other infos :

  • Custom CSS/HTML will create long links but add another level of customization.

  • A link that work now will work tomorrow, you don't have to regenerate the links every time there is an update.

 

Global styling and templating

Provide a way to dynamically edit the style and template used for the overlays

Name Description
Custom CSS Define the style for the overlays
Custom HTML Define the template for the overlays

 

HTML Templating and CSS Styling

  • Template :

You can define the layout to use to display a roll, you may use the provided variables. Any occurence of the variable will be replaced. The variable name should be put between { and } without spaces. The available variables are usernameactornameroll_resultroll_formula

  • Style :

You can define the style to use on the template.

 

Here are some examples

  • Example 1 - basic overlay :

Template

<div class="box">
    <div class="header">{username}</div>
    <div class="content">{roll_result}</div>
</div>

Style

.box{
    color: black; 
    margin: 3px; 
    padding: 5px; 
    background-color: #E0DFD5; 
    border: 2px solid #6F6C66; 
    border-radius: 5px; 
}
.content{ 
    text-align: center; 
    background: rgba(0,0,0,0.1); 
    border: 1px solid #999; border-radius: 3px; 
}
  • Example 2 - specific color for an user :

Template

<div class="box">
    <div class="header {username}">{username}</div>
    <div class="content">{roll_result}</div>
</div>

Style, replace user1 with the name of the user


.user1{ 
    color: red; 
}
.box{
    color: black; 
    margin: 3px; 
    padding: 5px; 
    background-color: #E0DFD5; 
    border: 2px solid #6F6C66; 
    border-radius: 5px; 
}
.content{ 
    text-align: center; 
    background: rgba(0,0,0,0.1); 
    border: 1px solid #999; border-radius: 3px; 
}

 

Feature Requests

If there is anything related to this module that you want or that might be usefull, feel free to message me on Discord!

 

Feedbacks

If there is anything that you think could be better feel free to tell me. I read all constructive criticism.

Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x