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)

Crono 10-26-2009 11:50 PM

That would be nice. :]

Inverness 10-27-2009 03:32 AM

Customizable bomies ftw!

Admins 10-27-2009 02:37 PM

It's not really possible to add that anytime soon. It would be easier if you separate the images for each body part and use the normal color-sprite commands.

DustyPorViva 10-27-2009 06:10 PM

Quote:

Originally Posted by Stefan (Post 1534456)
It's not really possible to add that anytime soon. It would be easier if you separate the images for each body part and use the normal color-sprite commands.

Color sprite commands only allow using ATTR's, though, and they run out very fast, especially since GANI code doesn't even allow array's or anything. We have to have one color in each ATTR, for each body part.

fowlplay4 10-27-2009 06:28 PM

I wrote this script to output an avatar image, is there anyway there could be functionality to adjust the body image colors when they are drawn? Currently it would output them with the default colors on the image.

http://forums.graalonline.com/forums...50&postcount=4

Also..

GraalControl.saveimage("urscreenlulz.png");

would be cool too.

Rufus 10-27-2009 07:39 PM

Quote:

Originally Posted by Stefan (Post 1534456)
It's not really possible to add that anytime soon. It would be easier if you separate the images for each body part and use the normal color-sprite commands.

Quote:

Originally Posted by DustyPorViva (Post 1534483)
Color sprite commands only allow using ATTR's, though, and they run out very fast, especially since GANI code doesn't even allow array's or anything. We have to have one color in each ATTR, for each body part.

Yeah, Dusty pretty much explained the reason why this was suggested. We're using up most ATTRs already through different parts, adding colors to them is not possible right now through script and it needs to be else we can't do it. Well we can use images for every single color and recolor every single image to every single shade, but there is no one in the world who is going to sit and recolor masses of images, and it's just more flooding of files on players' hard drives. Unless you have some other idea, it seems we're pretty screwed if this isn't added in some way.

Admins 10-27-2009 08:31 PM

I thought more of using COLOREFFECT or findimg(sprite).red/green/blue/alpha in the gani script.

DustyPorViva 10-27-2009 08:32 PM

Quote:

Originally Posted by Stefan (Post 1534506)
I thought more of using COLOREFFECT or findimg(sprite).red/green/blue/alpha in the gani script.

Well like I said, you can only use ATTR's with COLOREFFECT... and as far as I know, findimg in the gani script is pretty bugged.


All times are GMT +2. The time now is 04:49 AM.

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