SRB2 Message Board  

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

Reply
 
Thread Tools
Blendcolor - More Color Choices! Details »»
Blendcolor - More Color Choices!
Version: 1.6, by Prisima (*audible scribbling noises*) Prisima is offline
Developer Last Online: Nov 2017

Category: Version: SRB2 Rating: (5 votes - 4.40 average)
Released: 02-08-2016 Last Update: Never Installs: 0
Scripts Re-Useable Content

This script adds the ability to blend two color choices together.

blendcolor is the command to change the color blended into your base color. Both the numeric color values and their word equivalent are supported. You can also use:
  • "blendcolor supersonic"
  • "blendcolor supertails"
  • "blendcolor superknux" to have the flashing colors of those characters, respectively, and
  • "blendcolor off" to disable it.
You can have up to 3 blendcolors by using the blendcolor, blendcolor2, and blendcolor3 commands.

The only colors you can use in CTF are white, silver, grey, and black as to not mask your team color and confuse everyone.

Example:
Spoiler:

Code:
color blue
blendcolor red
This gives you purple.

The blendamount command changes the strength of the blendcolor, from 1 to 9 (1 being 10% strength, and 9 being 90% strength).

Example:
Spoiler:

Code:
blendamount 5
This changes your blendcolor strength to 50% (default).

You can have up to 3 blendamounts by using the blendamount, blendamount2, and blendamount3 commands.

There are also shorthand commands: bc, bc2, and bc3 are the 3 blendcolor commands respectively, and ba, ba2, and ba3 are the 3 blendamount commands.


Note: This has been reported to not work in OpenGL.
Note: This now works in OpenGL as of Version 1.4.


Changelog:
Code:
Version 1.6 - Super Update
*You can now have up to 3 blendcolors. Support for non-green resolutions and splitscreen HUD fixes were added.

Version 1.5 - Even bigger update
*Blendcolor now supports the HUD in Vanilla gametypes! Thanks to Hatninja, for his score code was used as a template. Also, new "blendamount" feature added.

Version 1.4 - Big Update
*OpenGL is now supported!
*Gravity flip and scale are now supported!

Version 1.3
*Now supports all gametypes!

Version 1.2
* Fixed a bug where your blendcolor aura would stay in place at the last place you died if you respawned too quickly, and a bug where you can't have your blendcolor after switching a level until you died.

Version 1.1
* Fixed a bug where changing your blendcolor would affect all other players in the game.

Version 1.0
* Initial release. Have fun!
Credits:
  • Big thanks to LJ Sonic for optimizing the code and providing advice, suggestions, and extensive help!
  • Thanks to Potatosack and Penzer the Hedgegod for bug reporting!

Screenshot:

Download Now

File Type: lua blendcolor.lua (11.8 KB, 114 views)

Supporters / CoAuthors

Show Your Support

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

Comments
Old 4 Weeks Ago   #22
Sylvegamer3
Also known as Sylve
 
Sylvegamer3's Avatar
Default

Once I used the third blendcolor, the character icon and the actual character stopped matching up in OpenGL.


However, in the same circumstances in software, both the icon and the character's color match up.



Any way of fixing this?
__________________
What? You act like you've never seen an ice cream talk before.
Sylvegamer3 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 02:38 PM.


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