Walk On Videos Using Streamer.Bot & OBS

แชร์
ฝัง
  • เผยแพร่เมื่อ 15 ต.ค. 2024
  • Yea that is right, from the creators of walk on sounds comes a new kind of...
    lol I am just kidding.
    The other week I was thinking to myself "Wouldn't it be cool to have walk on videos for my regular subscribers?" So I decided to put that together and share it with you all!
    If you would like to have this be available to everybody and not only your subscribers you can just create the first "Denied" action and put the First Words trigger on that and it will play a random walk on video everytime someone chats for the first time.
    Make sure to name and choose things as I say them and not as you see them, the names of my own assets differ from those said in the video because of how I have this set up personally. If that causes any confusion while you are setting it up I am sorry and I would be more than happy to help walak you through it if you come into a stream where I can show you it live.
    You can find my Twitch channel here: @ / geefbird
    - - C# FOR DENIED ACTION - - -
    using System;
    using System.IO;
    public class CPHInline
    {
    public bool Execute()
    {
    var rand = new Random();
    var myDirectory = args["videoFolder"].ToString();
    var files = Directory.GetFiles(myDirectory,"*.*");
    var myfile = files[rand.Next(files.Length)];
    CPH.SetArgument("randomVideo", myfile);
    return true;
    }
    }
    - - OBS RAW FOR DENIED ACTION - - -
    {
    "requestType": "SetInputSettings",
    "requestData": {
    "inputName": "Walk On Player",
    "inputSettings": {
    "local_file": "%randomVideo%"
    },
    "overlay": true
    }
    }
    - - OBS RAW FOR USER REDEEMS - - -
    {
    "requestType": "SetInputSettings",
    "requestData": {
    "inputName": "Walk On Player",
    "inputSettings": {
    "local_file": "YOUR VIDEO'S FILE PATH GOES HERE"
    },
    "overlay": true
    }
    }
    All RAW code is using websocket V5.x so if you are running 4.9 compatability this will not work as the language of the code is different. If you need any help with that please reach out to me in the comments below.
    Thank you very much for watching! I hope you enjoy.

ความคิดเห็น • 3

  • @mahaliabijou72
    @mahaliabijou72 5 หลายเดือนก่อน +1

    Yaaaay! Thank you! I was JUST talking about you to my viewers lol

    • @geefbird
      @geefbird  5 หลายเดือนก่อน

      Yayyyyyy! Lol well I am glad you found the video, and THANK YOU for talking about me haha

  • @geefbird
    @geefbird  5 หลายเดือนก่อน +2

    Note to all!!! The source that you add into your Walk On Videos scene is a Media Source. I am sorry I missed that I didn't say that. Carry on.