SRB2 Message Board  

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

Reply
 
Thread Tools
Colorblink Details »»
Colorblink
Version: the first, by Rapidgame7 (nil) Rapidgame7 is offline
Developer Last Online: Apr 2018

Category: Version: SRB2 Rating: (1 votes - 3.00 average)
Released: 01-13-2018 Last Update: Never Installs: 0
Scripts

This addon lets you become a flashing ball of color!
Something like hyper.txt but this isn't hyper.txt.

Spoiler: Images (Seizure warning?)
You can do stuff like this


Or this


You can make eye-pleasing transitions


Or be an asshat


Why even use hyper.txt


...when you can do this!


Who even uses hyper.txt lol


Spoiler: Usage
The command, colorblink, takes a variable amount of arguments.
Each argument is built in a specific way.

Colorblink expects that each argument has a color as an index, a minus sign (-), and a duration in tics, and lastly a space to separate each argument.

Let's analyze the example input:
Code:
$colorblink 4-10 1-8
If you were to use this command, you would become white for 10 tics, then black for 8 tics.
The first argument (4-10) has a color, a separator and a duration. This tells the script that the first color to change to is going to be white (4) for a duration of 10 tics.
The second argument (1-8) tells the script that the second color to change to must be black (1) for a duration of 8 tics.

That's it.


Spoiler: Commands and Cvars
colorblink <...>
Usage found above. Lets you start flashing colors.
It loops.
Use "clear" as the only argument to stop colorblink on you.

colorblinkvisual <0-3>
(Clientside)
0 - Show nothing.
1 - Shows a grid of colors you can use, each color shown as a colored sprite with an index number below it.
2 - Shows a scrolling list at the bottom left with the colors you chose for colorblink. It will show "empty" if you have no set colorblink.
3 - Show both of these.


Probably planned:
  • Team color restrictions
  • Maybe add a spoiler block here with good and cool color choices

Players joining your server will be presented with a tiny epilepsy warning. They just have to open the console and type "agree", nothing special.
If you are playing singleplayer/splitscreen or you are the host, you pretty much automatically agree to it, so the screen won't be shown to you.

That should cover everything.
Enjoy!

Download Now

File Type: zip colorblink.zip (33.7 KB, 160 views)

Show Your Support

  • This addon may not be copied, reproduced or published elsewhere without the author's permission.

Comments
Old 01-14-2018   #2
Prime 2.0
Actually a decent lazy bum
Moderator
 
Prime 2.0's Avatar
Default

Welcome to Releases!
__________________
Science tells us that nothing can be proven, only rendered more likely to be true. If we do not question what we already know, how can we know, much less admit, when we're wrong? Such things are vital to progress.
Prime 2.0 is offline   Reply With Quote
Old 01-21-2018   #3
SirMania
 
SirMania's Avatar
Default

Hyper.txt is dead af
SirMania is offline   Reply With Quote
Old 01-21-2018   #4
GreenKnight9000
 
GreenKnight9000's Avatar
Default

Huh, I saw this on a few servers, SOOOO happy it's released now!
I can finally do an Emerald green palette cycle! :D
__________________
Certified Emerald Hunter for online matches
-Known as ThomasTheHedgehog888 in matches-
GreenKnight9000 is offline   Reply With Quote
Old 02-03-2018   #5
Su_per
Wow.
 
Su_per's Avatar
Default

A cool idea, good job. It will come in handy when you want super colors, as you can just do this instead of all that confusing lua.
Su_per 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 12:51 PM.


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