Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Future Improvements (https://forums.graalonline.com/forums/forumdisplay.php?f=10)
-   -   .replacecolor(int,int) (https://forums.graalonline.com/forums/showthread.php?t=85486)

DustyPorViva 05-07-2009 02:00 PM

.replacecolor(int,int)
 
obj.replacecolor(#000000,#FFFFFF)
Applies to images and gani's alike. Replaces any instance of the first color(hex value) with the second in the object.

Also, a gani command:

REPLACECOLOR int #000000 #FFFFFF

While on the topic of gani commands, the ability to do something like...
COLOREFFECT {0,1,2,3} 1 1 1 .5
to apply the effect to all sprites in the array. This should be applied to all gani commands.

Crow 05-07-2009 02:20 PM

Agree with everything you said. This would be an awesome addition, especially when it comes to user-based customization. Users love to customize their stuff.

[email protected] 05-07-2009 05:58 PM

I'd also like support for ganis to support these
HTML Code:

REPLACECOLOR player.attr[#]

Admins 05-07-2009 09:09 PM

It's mainly for the bodies?

DustyPorViva 05-07-2009 09:49 PM

Quote:

Originally Posted by Stefan (Post 1490085)
It's mainly for the bodies?

Well it'd also be cool to be able to change the color of simple hairs and such. I know BI uses an extensive body system and each item(hair,skin,coat,belt) and such has multiple color variations which this would be useful for.

cbk1994 05-07-2009 10:04 PM

Awesome idea.

xXziroXx 05-08-2009 02:04 AM

I completely agree with this suggestion, would be extremely useful.

Twinny 05-08-2009 02:22 AM

I requested this ages ago....didn't even get an official response :p

Inverness 05-08-2009 03:45 AM

/signed

Stryke 05-10-2009 12:20 AM

Excellent suggestion.

[email protected] 06-23-2009 07:09 PM

Hell yeah, please. Thanks

zokemon 06-26-2009 12:14 AM

Haha, I was thinking of making a suggestion like this recently too. Not like it hasn't been thought of million times before though.

Still, it should be done!

I was thinking more of a replacepallete function or so (replaces a certian palette index with another color). In terms of efficiency, I think this might be better. It would only worked for indexed images though.

DustyPorViva 06-26-2009 12:16 AM

Quote:

Originally Posted by zokemon (Post 1501758)
Haha, I was thinking of making a suggestion like this recently too. Not like it hasn't been thought of million times before though.

Still, it should be done!

I was thinking more of a replacepallete function or so (replaces a certian palette index with another color). In terms of efficiency, I think this might be better. It would only worked for indexed images though.

Problem is working with images when it comes in terms of gani's tends to be a pain in the ass. I thought it'd be easier to just replace any instance of the color in the gani itself(or image) rather than fiddling around with images in the gani and such.

Inverness 08-31-2009 04:29 AM

I'd like to know if this feature is in the next version of Graal.

Rufus 10-26-2009 11:05 PM

Quote:

Originally Posted by Inverness (Post 1520005)
I'd like to know if this feature is in the next version of Graal.

Yeah, I kind of need it so I'd like to know too.


All times are GMT +2. The time now is 10:50 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.