SRB2 Message Board

SRB2 Message Board (https://mb.srb2.org/index.php)
-   Lua (https://mb.srb2.org/forumdisplay.php?f=105)
-   -   Changable Secondary Colors (https://mb.srb2.org/showthread.php?t=39775)

frozenLake 08-24-2014 03:00 PM

Changable Secondary Colors
 
1 Attachment(s)
To use, type in "secondcolor [colorname or number]" or colorb. (secondcolor2 or colorb2 if splitscreen player)

http://i.imgur.com/Tb75CUm.png

Spoiler: Changelog
0.8: First released version.
0.9: Tails and splitscreen support added.
0.95: Knuckles and support for Sharp (sprites for character wads are in secondcolor_custom.wad) added.
0.975: Added support for Shadow the hedgehog, with a great deal of help from speedwagon.
0.9875: Added support for FSonic. May my legs remain as intact as possible.
0.99: Hey Dirk. When I said I wasn't going to put an update out just to fix TD? I lied.

Spoiler: Known Bugs, in order of priority
Shoe appears over shields. (must be fixed before 1.0 comes out!)
Chaos Control with shadow does not work properly if second color is loaded before shadow.
Lua breaks for new joiners as spectators. (I might have fixed this? may need confirmation.)
--Likely unsolvable--
The shoe color does not change on the after image from speedshoes or super forms.
OpenGL does not support 2 player splitscreen.
OpenGL causes slight graphical shifting of the sprite overlay, causing the original shoe color to leak through.

Spoiler: Future Plans
Add a menu to allow for colors to easily be modified by the player
Add more than a second color, but this might become a bit excessive if done.
Ensure that Second Color changes Endsigns, lifemonitors, and hud icons accordingly.

Charybdizs 09-06-2014 11:43 PM

https://dl.dropboxusercontent.com/u/...1/srb20005.png

Sonic's gone all goth all of a sudden.


Seriously though, I am impressed by the sheer amount of cleverness in how you made this work. Boinciel and I had a good laugh over the gutted sonic sprites when we opened it up in Slade.

Some of the color combinations are surprisingly entertaining, and I assume if we had that much silly fun with this, others will be able to also. There's just three issues:

#1: You've left stray pixels on the overlays, and it makes naked sonic rather dirty.



#2: The shoes disappear on death.

#3: Only Sonic has shoes. What about poor Tails and Knuckles? :(

If you can fix at least the first two issues (though the third is definitely important), this is good for releases.

frozenLake 09-07-2014 01:34 AM

I seem to be unable to reproduce bug number 2, And I will be right back with the update to fix up number 1.

Edit: Number 1 has been fixed on the wad side of things. I take no responsibility for the vanilla sprites. Also, special cases for Super Forms in Team gametypes and Power Stars has been added.

Charybdizs 09-07-2014 09:19 PM

Weird, I can't reproduce it anymore either.

'sall good now then.


Presenting: Sonic's New Shoes
coming to an SRB2 Community near you!

Sonixox 09-07-2014 09:35 PM

Really nice!I was waiting for someone to make it in a long time, great job.

frozenLake 09-07-2014 11:59 PM

Support for Tails has been added: Expect to see Support for Knuckles and version 1.0 soon.

Xkower8181 09-08-2014 02:25 PM

That's damn great! I always wanted to have a cyan tails with green shoes just like my oc :)

r543 09-08-2014 05:22 PM

Oh, so this got released ?
I would call it more secondcolor, because it's more that than anything else.
It's still possible to see a bit of the red, but that can't be fixed.

A character(megaman) that was built to support both colors like that(and had the sprites split up in 2 parts) would probably work great, but this doesn't fully work with shields or opengl, so it might not be a good idea.

frozenLake 09-08-2014 07:12 PM

Fun Fact: Its only called shoe color in the title of the thread due to the fact that the secondcolor for all characters is the shoes, currently. Also, If you have a character wad in releases that you would like support for, give me a word in PM's so I may be able to add it after 1.0 is released, which should fix the bug with shields and add support for Knuckles.

Phantom-blade 09-08-2014 11:58 PM

Quote:

Originally Posted by Xkower8181 (Post 760278)
That's damn great! I always wanted to have a cyan tails with green shoes just like my oc :)

That is called a recolour. Technically a OC is an official character and the word your looking for is FC (fan character) but your saying that you are a fan character.

FCs is a original with original stuff. A recolour is a complete edit/pallete changed original character. (For e.g: Orange Sonic with Blue gloves and pants (America)/Trousers (British).

742mph 09-09-2014 12:28 AM

Quote:

Originally Posted by Phantom-blade (Post 760327)
That is called a recolour. Technically a OC is an official character and the word your looking for is FC (fan character) but your saying that you are a fan character.

OC = Original Character

frozenLake 09-09-2014 12:52 AM

Update, Support for Sharp is added! (and said method could also be used for other characters with extra frames)

http://www.gfycat.com/SadSlimAmazonparrot

Also note that the name of the mod has changed, due to the addition of Sharp.

Puppyfaic 09-09-2014 05:05 AM

Thank you kindly :3

Xkower8181 09-09-2014 01:04 PM

Quote:

Originally Posted by Nomekop (Post 760331)
Update, Support for Sharp is added! (and said method could also be used for other characters with extra frames)

http://www.gfycat.com/SadSlimAmazonparrot

Also note that the name of the mod has changed, due to the addition of Sharp.

I don't exepected a support for Sharp but it's kinda funny.

Phantom-blade 09-09-2014 07:26 PM

Quote:

Originally Posted by 742mph (Post 760329)
OC = Original Character

I knew what OC meant... I just said Official for no apparent reason.

frozenLake 09-14-2014 05:40 PM

Added another bug to the known bugs: Bug reports are actually very important, as I don't know everything that can go wrong with this! So please, post any bugs you happen to find.
Edit: Added development zip, which has an updated version that is to be bug tested, but is unknown stability wise.

MotorRoach 09-14-2014 07:52 PM

I actually like the idea of this WAD. It would probably apply very well to some designs (such as Megaman or Mario characters).

frozenLake 09-14-2014 07:55 PM

Mario is actually why I have the special cases for Mario Powerups.

Shadon 09-14-2014 09:15 PM

Well this is a neat little feature. I like changing shoe colors. I mean, it puts us one step closer to tumblr-style recolor porn RP servers, but it still looks neat. I'd love to see something along these lines make it into 1.3.

frozenLake 09-14-2014 09:30 PM

I actually highly doubt that this will make it into 1.3, as all supported characters have to have a complete copy of the frames made in order to support color changing of the second area. Its a similar reason as to why custom characters don't have custom nights graphics. (Although I bet one could make that work with Lua.)

edit: (wow how did /both/ of us type 1.3 instead of 2.3?)


All times are GMT. The time now is 06:24 AM.

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