SRB2 Message Board  

Go Back   SRB2 Message Board > Sonic Robo Blast 2 > Releases > Lua

Reply
 
Thread Tools
Input Display (for replay viewing!) Details »»
Input Display (for replay viewing!)
Version: 1, by fickleheart (gender collector) fickleheart is offline
Developer Last Online: Jul 2018

Category: Version: SRB2 Rating: (2 votes - 3.80 average)
Released: 03-31-2014 Last Update: Never Installs: 2
Scripts Re-Useable Content

A simple Lua script that displays inputs on the HUD. It doesn't show every input; it only displays movement keys, the player's angle, and the Jump and Spin keys. Its intent is as a visual aid for replay viewing, for those times when someone does something cool and you can't quite figure out how they do it. (Or something like that, I guess.) This script does not alter gameplay in any way, which makes it just about useless for 90% of the community. Sorry!

(Since Record Attack obviously won't show up with the script loaded, you'll have to use the PLAYDEMO console command to view replays with it.)

I have a GFZ1 ring attack video that demonstrates the script in action, if you'd like to see before you download.

Download Now

File Type: lua input.lua (829 Bytes, 507 views)

Screenshots

Click image for larger version

Name:	srb20037.gif
Views:	1075
Size:	3.95 MB
ID:	4038   Click image for larger version

Name:	srb20038.gif
Views:	788
Size:	5.32 MB
ID:	4039  

Show Your Support

  • The author of this addon has given explicit permission for its content to be re-used and/or reproduced.

Comments
Old 03-31-2014   #2
Whackjood
The unreliable joodge
Judge
 
Whackjood's Avatar
Default

This is pretty neat, I'll probably get some use out of this when someone does something completely insane in the time attack thread.
__________________
Check me out elsewhere~: -Tumblr- -Youtube- -Steam- -MyAnimeList-
Battlenet tag: Whackjood#2732 (Europe)
"The Creeps" (1941)
Whackjood is offline   Reply With Quote
Old 04-04-2014   #3
Sapheros
That guy that ports
Permanently Banned
Default

Now if only someone could Lua a map for each level in the game...
Sapheros is offline   Reply With Quote
Old 04-04-2014   #4
Eblo
Default

This script will prove invaluable for pretty much anyone concerned with record shaving. I wish I could say more, but this script is self-explanatory.
Eblo is offline   Reply With Quote
Old 04-28-2014   #5
YevaEA
Christmas is coming
Default

I have to say, thank you for posting this. I always load up this specific lua when I need to record a gif.
YevaEA is offline   Reply With Quote
Old 04-28-2014   #6
Unknownlight
 
Unknownlight's Avatar
Default

I'm thinking it might be better if the directional input was represented by four arrow keys, rather than a line and a dot. It represents the buttons the player is pushing far better, and makes more intuitive sense.

Anyway, this is excellent!
Unknownlight is offline   Reply With Quote
Old 04-28-2014   #7
fickleheart
gender collector
 
fickleheart's Avatar
Default

Directional input is represented the way it is because the game doesn't register it as four buttons, but as two axes of movement from -50 to 50 in each direction. Showing it this way shows the full input range for people on an analog gamepad (which I realize is almost nobody in this community, but it doesn't hurt to support them). Quite frankly I should probably make the turning angle use the input's angleturn var instead of the player's angle, but it really doesn't make any difference either way.
__________________
Quote:
<@toaster> '"sonic robot explosion 2", the hot new sensation for teens looking for a good time, tempts many children away from god each year'
av src
fickleheart is offline   Reply With Quote
Old 04-28-2014   #8
Sapheros
That guy that ports
Permanently Banned
Default

I hope there can be an extension for Other buttons to be used, like the custom buttons specifically, it would be good for other character wads so they can show off some of their techniques like the light dash, or chaos control.
Sapheros is offline   Reply With Quote
Old 04-29-2014   #9
VirtualBlitz546
The infractions whore ;)
 
VirtualBlitz546's Avatar
Default

Can I ask how can I make replay a.... well a "Replay"?
__________________
Quote:
<TheDoctor> Mlg? My lovely Gangster? Mega Lick Grope?
<ChaosX79> My Long Gabba
VirtualBlitz546 is offline   Reply With Quote
Old 05-29-2014   #10
Kitoko
Click on me for help! YAHOO
 
Kitoko's Avatar
Default

I tried using this in multiplayer for fun, but it seems to fall apart when you're a spectator in an FPS mode. The A and B button can't be defined so they cause errors each frame. It would be cool if it could not only support multiplayer but also show which fire button the player is using to shoot.
__________________
<Chaos> go hitneo
<Chaos> she can walk on lava
Kitoko is offline   Reply With Quote
Old 05-29-2014   #11
Sapheros
That guy that ports
Permanently Banned
Default

Quote:
Originally Posted by VirtualBlitz546 View Post
Can I ask how can I make replay a.... well a "Replay"?
You need to use the .gif feature in the software version of SRB2 by pressing f9 to start and stop
Sapheros is offline   Reply With Quote
Old 05-29-2014   #12
Terra
Needy child
 
Terra's Avatar
Default

Quote:
Originally Posted by Duon the Adventurer View Post
You need to use the .gif feature in the software version of SRB2 by pressing f9 to start and stop
That's not how you make a replay, that's how you make a gif. Don't listen to him, VirtualBlitz. You need to play record attack and ring attack, then once you complete a level you can watch your replay of you playing in the level.
Terra is offline   Reply With Quote
Old 05-30-2014   #13
TehRealSalt
Ya Gal Sal Here (σᴥσ)
Judge
 
TehRealSalt's Avatar
Default

Or you could use the commands STARTDEMO and STOPDEMO. It lets you record anything outside of Record Attack.
__________________
THZ Discord | Twitter | Tumblr
TehRealSalt is offline   Reply With Quote
Old 05-03-2015   #14
Caleb David Mcgee
A Novice Srb2 Player
Permanently Banned
Default

I can't open it.
Caleb David Mcgee is offline   Reply With Quote
Old 05-03-2015   #15
Monster Iestyn
Friendly Neighbour-Hood
Moderator
 
Monster Iestyn's Avatar
Default

.lua files are just text files, you don't need special Lua software to view them.
__________________
My page stuffed full of MIDI goodness!
The Hitchhiker's Guide to the Robo-Hoodiverse
Timeline of Sonic Robo Blast History!

That's an uppercase i, not a lowercase L, for the record. Also, it's pronounced "Yes-tin".
Monster Iestyn is offline   Reply With Quote
Old 05-03-2015   #16
fickleheart
gender collector
 
fickleheart's Avatar
Default

srb2win -file inputdisplay.lua

addfile inputdisplay.lua
__________________
Quote:
<@toaster> '"sonic robot explosion 2", the hot new sensation for teens looking for a good time, tempts many children away from god each year'
av src
fickleheart is offline   Reply With Quote
Old 05-05-2015   #17
SSG3
A big fan of Amy rn
 
SSG3's Avatar
Default

Nice LUA script there. Now i can see inputs from a TAS (if i can find a replay, that is)
SSG3 is offline   Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:05 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2018, vBulletin Solutions, Inc.