added a custom frame updater script with additional features (see [README.md](README.md))

This commit is contained in:
4aiman 2024-07-10 11:57:51 +03:00
commit e01845ddbe
2 changed files with 459 additions and 0 deletions

View file

@ -16,6 +16,15 @@ Be sure to select the folder with your frames.<br>
If you want to change your crop filter name, then load the script and *refresh it*. That's the only way to update the list in OBS properties after it's been created, since one can't update a list on properties update. (In reality refreshing recreates the properties object)<br>
Tinker with it to suit your needs.
## [frame_updater.lua](https://github.com/4aiman/obs_scripts/blob/main/frame_updater.lua)
A more elaborate version of the previous script. <br>
It adds stream number tracking via a text source and a browser source.<br>
You probably don't need it "as is", but there are things to learn inside:
- fixing hotkeys firing twice and/or not firing when clicking buttons in the UI
- settings custom css to a browser source (sadly requeires source refresh)
- setting up hotkeys and buttons callbacks
- reading and writing text source text
## [death_counter.lua](https://github.com/4aiman/obs_scripts/blob/main/death_counter.lua)
Uses one of the text sources as a death counter.<br>
Set up a hotkey and press it for the counter to go up.<br>