Graal Forums  

Go Back   Graal Forums > Development Forums > Future Improvements
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 09-13-2002, 12:41 PM
Ace Venom Ace Venom is offline
Registered User
Join Date: Jul 2002
Location: hell
Posts: 3
Ace Venom is on a distinguished road
better image support needed!

Graal seriously needs better support for images made in photoshop (PNG format) because I am having a problem with some body's I have been trying to make for my (currently offline) server that I've been working on. everytime I try to make a body, either the transparency doesnt work right (yes, I know how to set a transparency correctly) or the colors on the body wont change & I end up having transparency problems with that!

hmm.... mabey I should have posted this in the bugs section... oh, well....

for example, here's the body I'm trying to use. I've tryed everything. I've saved it as a PNG directly. I've saved it as a gif and transfered it to png through the gif to mng program. I've tryed to use it as a gif by itself as a body. ... it works fine as a gif image, but why wont it work as a body?!?! WTF!?!?!?! please have someone improve on graal with this problem in mind... or if you can help me fix whatever I may have done wrong with the picture...please???
Attached Thumbnails
Click image for larger version

Name:	body20.gif
Views:	150
Size:	12.5 KB
ID:	20580  
__________________
-Ace Venom
Reply With Quote
  #2  
Old 09-13-2002, 07:34 PM
R0b1n-NPC R0b1n-NPC is offline
Registered User
Join Date: Sep 2002
Posts: 397
R0b1n-NPC is on a distinguished road
You could of course...
Try changing the colors from 16.7 Million Colours to Pallete Based.
__________________
- R0bin
Reply With Quote
  #3  
Old 09-14-2002, 12:17 AM
emortylone emortylone is offline
Registered User
Join Date: Apr 2002
Location: Control-NPC
Posts: 834
emortylone is on a distinguished road
LOL... you mean just make higher quality images?
---Shifter
__________________
Quote:
*Stefan: it seems sometimes they hire newbie scripters everywhere x-x
*Stefan: scripters are sometimes like people that draw paintings
*Stefan: all that counts is that it looks nice
Reply With Quote
  #4  
Old 09-14-2002, 02:11 AM
R0b1n-NPC R0b1n-NPC is offline
Registered User
Join Date: Sep 2002
Posts: 397
R0b1n-NPC is on a distinguished road
higher quality = bad.

especially when the colors dont change at all if you use psp5+
and save the png as pallete based with optimized octree.

works fine.
__________________
- R0bin
Reply With Quote
  #5  
Old 09-14-2002, 03:51 AM
aylad aylad is offline
Elven Pride
aylad's Avatar
Join Date: Aug 2002
Location: backwoods, Georgia
Posts: 657
aylad is on a distinguished road
Re: better image support needed!

Quote:
Originally posted by Ace Venom
either the transparency doesnt work right (yes, I know how to set a transparency correctly) or the colors on the body wont change
I don't know how Photoshop works, but my guess is that it's screwing up your palette.

A body image has to have a very selective palette. Use an image editor that is guaranteed not to change the palette of an existing image (Alchemy Mindworks has a good shareware one) and open an existing body, then cut/paste your changes on top of it.

To get Alchemy Mindworks' web address, search for "mindworkshop" on Yahoo and find their PNG/MNG Construction Set Professional download. Hope this helps!
__________________
Green text is IC | http://www.aylad.com/graal/

Don't ask more than once, k?


GK Guides
Reply With Quote
  #6  
Old 09-14-2002, 05:35 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
...well, for one...you're using 47 colors...instead of, um, 7....
__________________
"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
Reply With Quote
  #7  
Old 09-14-2002, 11:07 AM
emortylone emortylone is offline
Registered User
Join Date: Apr 2002
Location: Control-NPC
Posts: 834
emortylone is on a distinguished road
*rolls* GFX... heh, scripting, I can understand that I know you can use customized palets, but you can't have it be read properly under Graal is what you're saying?
---Shifter
__________________
Quote:
*Stefan: it seems sometimes they hire newbie scripters everywhere x-x
*Stefan: scripters are sometimes like people that draw paintings
*Stefan: all that counts is that it looks nice
Reply With Quote
  #8  
Old 09-15-2002, 01:55 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
Load the pallette from body.png, and maintain indexes.
Graal takes the colors by index, so index 0 = background, 1=#C0, 2=#C1, etc., or something like that.

Just because you have a green background doesn't mean Graal's going to psychically know that's what you want for the background, any more than it's supposed to psychically know the armor gray is supposed to be belt and the padding gray is supposed to be coat. It's all just pixels to the exe
__________________
"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
Reply With Quote
  #9  
Old 09-16-2002, 12:41 AM
Com013 Com013 is offline
Registered User
Join Date: Aug 2002
Location: GMT+1
Posts: 381
Com013 is on a distinguished road
I don't think the palette is important, but the color you use.
For example, white is always the coat, blue is always the belt, red the shoes, orange the gloves, and so on.
Graal is recoloring your image and replaces the colors of the image with the colors you specified in #C0 and so on.
Black stays black (although in one version it was replaced by #C5).
Any other color (like green) will be transperent.

I am not sure about this (I never tried) but this could explain your problems with transperency.

The safest way is still to use the palette of body.png and don't change it at all. Nothing can (should) go wrong then.
__________________
Com013
Former Admin of the LAT on Graal The Adventure

e-mail: [email protected]
Reply With Quote
  #10  
Old 09-16-2002, 03:54 AM
Falcor Falcor is offline
Darth Cucumber
Falcor's Avatar
Join Date: Mar 2001
Location: At School
Posts: 2,874
Falcor is on a distinguished road
Send a message via ICQ to Falcor Send a message via AIM to Falcor Send a message via MSN to Falcor Send a message via Yahoo to Falcor
Trust Tyhm... Its Pallet. I made a body for 2k1 and I had to play with the pallet to get transparency and keep it from changing the colors around.
__________________

subliminal message: 1+1=3
Reply With Quote
  #11  
Old 09-16-2002, 02:27 PM
Com013 Com013 is offline
Registered User
Join Date: Aug 2002
Location: GMT+1
Posts: 381
Com013 is on a distinguished road
Quote:
Originally posted by Falcor
Trust Tyhm... Its Pallet. I made a body for 2k1 and I had to play with the pallet to get transparency and keep it from changing the colors around.
Ok. *trusts*
__________________
Com013
Former Admin of the LAT on Graal The Adventure

e-mail: [email protected]
Reply With Quote
Reply


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 03:54 AM.


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