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 (Rookie modder) Rapidgame7 is offline
Developer Last Online: Sep 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 <...>
The command usage can be found above this spoiler block. The command makes your character begin to flash in colors.
It loops too!
Using "clear" as the only argument stops colorblink on you, and gives you your normal color back.

colorblinkvisual <0-3>
(Clientside) Designed for ease on color picking and "debbuging".
0 - Hide all. (Default)
1 - Shows a grid of the colors you can use, from indexes 1 through 40, each displayed as a colored sprite with an index number below it.
2 - Shows a scrolling list at the bottom left of the screen with the colors you picked for colorblink. It persists even if you change your viewpoint (F12)!
3 - Show both.


Probably planned:
  • Server-toggleable color restriction for team games.
  • Command to print out a player's colorblink string.
  • Maybe add a spoiler block here with cool colorblink choices
Known bugs:
  • Not exactly a bug: Colorblink does not run on the intermission screen due to there not being any Lua hook that runs while it is up, therefore the color displayed will be the normal color (the one set by the "color" command and the player setup screen).

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.

EDIT: Psst
I've noticed that some players use "colorblinkv2.wad" on their servers.
v2 is actually the pre-releases version of Colorblink.

That should cover everything.
Enjoy!

Download Now

File Type: zip colorblink.zip (33.7 KB, 317 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
Grape flavored
Administrator
 
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
Old 07-11-2018   #6
NAR the Fox
im new to custom user title
 
NAR the Fox's Avatar
Default

It is interesting how you can get otherwise unobtainable colors (like colors 26 to 40). Interested to see what color-blink setups people have! Mine is in the attached file. Keep in mind that certain browsers can't use APNG!
Click image for larger version

Name:	colorblink.png
Views:	194
Size:	1.93 MB
ID:	13215

Last edited by NAR the Fox; 07-11-2018 at 12:05 AM. Reason: Position of APNG
NAR the Fox 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 07:26 AM.


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