Resource icon

Auto Spectate 2.0

Zwataketa

Game Developer in Training
Zwataketa submitted a new resource:

Auto Spectate - A tool for AFK Streaming!

This is a simple script I made for when I'm AFK while streaming. It switches between any active player's view on a timer. I figured I'd submit it in case it'd be useful to anyone else who streams the game.

Major thanks to the SRB2 Discord for helping me figure out what variables to use and helping with debugging.

Console Commands:
autospec_on [true/false] - Turns auto-spectate on or off for the user.
autospec_timer [5-30] - Sets the timer for switching views. Timer is based on the game's...

Read more about this resource...
 
Zwataketa updated Auto Spectate with a new update entry:

Desynch Risk Fix

So it was brought to my attention that the way I generated random numbers could potentially result in desynchs, so here is an update that attempts to remedy that. The script generates random numbers to determine who to spectate, and now I have added a local variable that gets saved so that should hopefully stop the desynch risk.

Also realized that the afktoggle wouldn't turn off auto spectate because of a typo, fixed now.

Read the rest of this update entry...
 
Haven't tried it, probably wont have the chance too, but seems really cool, actually I might have a use
 
Zwataketa updated Auto Spectate with a new update entry:

QoL Update

Courtesy of RAYTEK, who has asked me to upload this on their behalf to make it easy for people to find, the auto_spectate.lua has received quite the update!

Details:
-The player is set to an afk state when motionless for 5 seconds. AFK players will not be spectated.
-Players who have completed the level are not spectated.
-When motionless for 5 seconds (or 2 if the player has cleared the level), a random player will be spectated.
-Spectated player will change every 10 seconds.
-Moving ends...

Read the rest of this update entry...
 

Who is viewing this thread (Total: 0, Members: 0, Guests: 0)

Back
Top