Graal Forums  

Go Back   Graal Forums > Private forums > Graal4 Forums > Graal V4 Main Forum
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 01-28-2006, 09:08 PM
petro1212 petro1212 is offline
Angelus
petro1212's Avatar
Join Date: Mar 2003
Location: The Moon
Posts: 445
petro1212 is on a distinguished road
Send a message via AIM to petro1212 Send a message via MSN to petro1212
Suggestion: default colour system!

Weither this should go into future improvements of graalv4 main forums, well I honestly don't know nor care that much. Anyhow:

Changing the the "default" body color system with preset colors (and the bugged number system wich allows clients to set other colors) and Rick's suggestion thread made me think. Why not change it so that {r,b,g,a} has to be set instead of the current system. That way a bigger range of colours could be used and servers could servers could even create "slide bars" with color levels.

I don't realy think that I have to defend this suggestion nor explain it better since its pretty easy to understand (or atleast for me it is).
It's just way better :P! {And I understand that this will just be alot more manhours for Stefan or whomever will work on it.. but it will be worth it}
__________________
  #2  
Old 01-28-2006, 09:50 PM
haunter haunter is offline
Registered User
haunter's Avatar
Join Date: Mar 2001
Posts: 7,989
haunter is on a distinguished road
Why would you need to change the alpha value of the colour?
  #3  
Old 01-28-2006, 10:31 PM
petro1212 petro1212 is offline
Angelus
petro1212's Avatar
Join Date: Mar 2003
Location: The Moon
Posts: 445
petro1212 is on a distinguished road
Send a message via AIM to petro1212 Send a message via MSN to petro1212
Quote:
Originally Posted by haunter
Why would you need to change the alpha value of the colour?
.. probely cause it would look nice at some occasions.. you always have people that want to be translucent? :P
__________________
  #4  
Old 02-07-2006, 01:59 AM
Tyhm Tyhm is offline
Psionic Youth
Tyhm's Avatar
Join Date: Mar 2001
Location: Babord, West Graal Deaths:1009 Kills:1
Posts: 5,635
Tyhm has a spectacular aura about
Why not just, I dunno, alpha separate the bodies and use the new free rotation system to cut things down, then in the ganis attach the heck out of them?
Kinda hard to explain without pictures, but I dun wanna open PSP, so:
Take for example Body.png, Fung Si Yuan Style.
Belt, shirt, sleeves, hands, shoes.
Remove all the sprites that are just rotations of existing sprites. Now it's much smaller (probably only 3 columns).
Add a bunch more sprites where it's just the belt layer, just the shirt layer, just the sleeves, just the hands, just the shoes. Now it's 5 times as wide.
Cut it down to 3 colors - background, black, and white. Whether this saves any memory is a factor of the .png format, I dunno. (Another idea - add a layer for Outline, then it can be a 2-color png. Ow, my brain...)
Using the attach command, composite all these layers back together in the ganis. Kind of a pain, but if you're making ganis from scratch for your server anyway, you may as well.
Now use GScript2's graphics engine to recolor all the individual layers based on the RGBI passed into the gani.

So yeah, I guess it would be possible to dynamically recolor body's on your own. But just glancing over the method...I'm thinking lag = very yes. Every gani would have 5x4 more integers passed into it...for every player on the server...
__________________
"Whatever," said Bean, "I was just glad to get out of the toilet."

"Power does not corrupt. Fear corrupts, perhaps the fear of a loss of power."- John Steinbeck
"I'm only acting retarded, what's your excuse?" queried the Gord.
- My pet, the Levelup Gnome

http://forums.graalonline.com/forums...&postcount=233
 


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 +2. The time now is 09:25 PM.


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