Graal Forums  

Go Back   Graal Forums > Development Forums > Graphic Design
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 11-03-2008, 06:46 PM
Ngoc999 Ngoc999 is offline
Registered User
Ngoc999's Avatar
Join Date: Oct 2008
Posts: 20
Ngoc999 is an unknown quantity at this point
Exclamation Need Help With Tiles!

I Need Help!!

I Created An Tile But I Dunno How To Open It In Graal Editor Someone Help Me???
Reply With Quote
  #2  
Old 11-03-2008, 07:06 PM
Soala Soala is offline
Ideas on Fire
Soala's Avatar
Join Date: Jun 2007
Location: In my head
Posts: 3,208
Soala is a jewel in the roughSoala is a jewel in the rough
Why so much caps ?

Simply use a script like

function onCreated()
{

addtiledef("thetilesetname.png,#L,0);

}

replace with 1 if your tileset is type1.

You should visit the graal bible for lot of tips.
Reply With Quote
  #3  
Old 11-03-2008, 07:22 PM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
Ok, first off, tilesets in the editor(or any graphics, for that matter) will not work unless they are indexed. If you have photoshop, open the image up and go to image>mode>index and click ok. If you don't have photoshop, I don't know how to help you there. Saving it in MSPaint though, will not index the image and will instead save it as 24bit(which the Editor can not render).

Otherwise, you want to do something similar to what alex said... but I'll guide you through the steps. His won't be able to be used offline, in the editor, though.

addtiledef imagename.png,levelprefix,0;

Now imagename.png is, of course the image of the tileset.
levelprefix is the prefix of the levels you want the tileset applied to. For example, if you have a gmap full of levels named city_a01, city_a02, city_a03 and so on, you can simply do:

addtiledef citytileset.png,city_,0;

That will make the tileset work for every level that starts with city_. If you want it applied specifically to a level...

addtiledef citytileset.png,city_a01,0;

Will apply it only to the level city_a01, no where else.
Reply With Quote
  #4  
Old 11-03-2008, 09:09 PM
DarkIceX DarkIceX is offline
(Developer)
Join Date: May 2002
Location: Canada
Posts: 125
DarkIceX is on a distinguished road
Quote:
Originally Posted by DustyPorViva View Post
If you don't have photoshop, I don't know how to help you there.
Download Irfanview and open the tileset in irfanview.

From there you can decrease the color depth to 8-bit and save and it will work in editor.
__________________

Bloodvayne
Reply With Quote
  #5  
Old 11-04-2008, 04:09 PM
Ngoc999 Ngoc999 is offline
Registered User
Ngoc999's Avatar
Join Date: Oct 2008
Posts: 20
Ngoc999 is an unknown quantity at this point
?? stil dunno if i created the tile where i have the put the tile in?? i tried function onCreated()
{

addtiledef("thetilesetname.png,#L,0);

}

And it still wont work if i change the name to the tiles name .... i think the problem is i dunno where to put the tile ???
Reply With Quote
  #6  
Old 11-04-2008, 04:19 PM
Deas_Voice Deas_Voice is offline
Deas
Deas_Voice's Avatar
Join Date: Jun 2007
Location: Sweden
Posts: 2,264
Deas_Voice is a jewel in the roughDeas_Voice is a jewel in the rough
Send a message via AIM to Deas_Voice Send a message via MSN to Deas_Voice Send a message via Yahoo to Deas_Voice
is this offline or online?
__________________
.
WTF is real life, and where do I Download it?
There is no Real Life, just AFK!
since 2003~
I Support~
ღAeonღ | ღTestbedღ | ღDelteriaღ

if you are going to rep me, don't be an idiot, leave your name!
I got nothing but love for you
Reply With Quote
  #7  
Old 11-04-2008, 04:29 PM
Chompy Chompy is offline
¯\(º_o)/¯
Chompy's Avatar
Join Date: Sep 2006
Location: Norway
Posts: 2,815
Chompy is just really niceChompy is just really niceChompy is just really nice
Send a message via MSN to Chompy
Quote:
Originally Posted by Deas_Voice View Post
is this offline or online?
Read the first post :o It's offline.
__________________
Reply With Quote
  #8  
Old 11-04-2008, 05:35 PM
Ngoc999 Ngoc999 is offline
Registered User
Ngoc999's Avatar
Join Date: Oct 2008
Posts: 20
Ngoc999 is an unknown quantity at this point
omgosh do anybody knows it?? X_X
Reply With Quote
  #9  
Old 11-04-2008, 05:41 PM
Chompy Chompy is offline
¯\(º_o)/¯
Chompy's Avatar
Join Date: Sep 2006
Location: Norway
Posts: 2,815
Chompy is just really niceChompy is just really niceChompy is just really nice
Send a message via MSN to Chompy
Just one question, did you create one tile, as a 16x16 image or a whole tileset?
__________________
Reply With Quote
  #10  
Old 11-04-2008, 05:52 PM
Ngoc999 Ngoc999 is offline
Registered User
Ngoc999's Avatar
Join Date: Oct 2008
Posts: 20
Ngoc999 is an unknown quantity at this point
i created a whole tileset
Reply With Quote
  #11  
Old 11-04-2008, 05:57 PM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
Did you read my post?
Reply With Quote
  #12  
Old 11-04-2008, 06:05 PM
Ngoc999 Ngoc999 is offline
Registered User
Ngoc999's Avatar
Join Date: Oct 2008
Posts: 20
Ngoc999 is an unknown quantity at this point
ye but i dunno how to do it?? x_X
Reply With Quote
  #13  
Old 11-05-2008, 04:47 PM
Ngoc999 Ngoc999 is offline
Registered User
Ngoc999's Avatar
Join Date: Oct 2008
Posts: 20
Ngoc999 is an unknown quantity at this point
can anybody help me x_X?!
Reply With Quote
  #14  
Old 11-05-2008, 04:57 PM
Darlene159 Darlene159 is offline
Administrator
Darlene159's Avatar
Join Date: Aug 2001
Location: Florida
Posts: 12,470
Darlene159 has much to be proud ofDarlene159 has much to be proud ofDarlene159 has much to be proud ofDarlene159 has much to be proud ofDarlene159 has much to be proud ofDarlene159 has much to be proud of
Quote:
Originally Posted by Ngoc999 View Post
can anybody help me x_X?!
What are the properties of the tileset image?
__________________
FORUM RULES
GRAAL BIBLE (Lots of useful info)
INFO ABOUT REPUTATIONS.
INFO ABOUT INFRACTIONS.
HOW TO APPLY FOR THE NON-GRAAL RELATED FORUM (<<READ THOROUGHLY!)

SUPPORT: http://support.toonslab.com

NOTE: YOU ARE RESPONSIBLE FOR YOUR OWN POSTS.
READ>THINK>POST
Reply With Quote
  #15  
Old 11-05-2008, 05:13 PM
Ngoc999 Ngoc999 is offline
Registered User
Ngoc999's Avatar
Join Date: Oct 2008
Posts: 20
Ngoc999 is an unknown quantity at this point
if i can ask why u need the properties xD??
Reply With Quote
  #16  
Old 11-05-2008, 05:44 PM
Cloven Cloven is offline
Delteria
Cloven's Avatar
Join Date: Dec 2006
Location: Florida, United States
Posts: 542
Cloven has a spectacular aura about
Send a message via AIM to Cloven
Quote:
Originally Posted by Ngoc999 View Post
if i can ask why u need the properties xD??
Asking for help only to ask why somebody needs information to help you is rather foolish and ungrateful, don't you think?
Reply With Quote
  #17  
Old 11-05-2008, 05:50 PM
Rufus Rufus is offline
Registered User
Join Date: Jun 2004
Location: United Kingdom
Posts: 4,698
Rufus has much to be proud ofRufus has much to be proud ofRufus has much to be proud ofRufus has much to be proud ofRufus has much to be proud ofRufus has much to be proud of
Can you upload your tileset? I have a feeling that it might have been saved wrong.
__________________
Quote:
Originally Posted by Loriel View Post
Seriously, you have ****-all for content and you're not exactly pulling in new developer talent, angling for prestigious titles should be your last concern.
Reply With Quote
  #18  
Old 11-05-2008, 06:02 PM
Darlene159 Darlene159 is offline
Administrator
Darlene159's Avatar
Join Date: Aug 2001
Location: Florida
Posts: 12,470
Darlene159 has much to be proud ofDarlene159 has much to be proud ofDarlene159 has much to be proud ofDarlene159 has much to be proud ofDarlene159 has much to be proud ofDarlene159 has much to be proud of
Quote:
Originally Posted by Ngoc999 View Post
if i can ask why u need the properties xD??
So we can make sure it is saved right in order to work.
__________________
FORUM RULES
GRAAL BIBLE (Lots of useful info)
INFO ABOUT REPUTATIONS.
INFO ABOUT INFRACTIONS.
HOW TO APPLY FOR THE NON-GRAAL RELATED FORUM (<<READ THOROUGHLY!)

SUPPORT: http://support.toonslab.com

NOTE: YOU ARE RESPONSIBLE FOR YOUR OWN POSTS.
READ>THINK>POST
Reply With Quote
  #19  
Old 11-05-2008, 06:03 PM
Soala Soala is offline
Ideas on Fire
Soala's Avatar
Join Date: Jun 2007
Location: In my head
Posts: 3,208
Soala is a jewel in the roughSoala is a jewel in the rough
You don't need to ask why Darlene needs properties, just right click the image, click properties and tell us more about it, for exemple if the image is 8bits (in details)
This can help us to help you
Reply With Quote
  #20  
Old 11-06-2008, 06:29 PM
Ngoc999 Ngoc999 is offline
Registered User
Ngoc999's Avatar
Join Date: Oct 2008
Posts: 20
Ngoc999 is an unknown quantity at this point
i putted this at the npc in graal ed

//#CLIENTSIDE
if (created) {
removetiledefs;
addtiledef ngc.png,,0;
}


And If I Try It I Only Get Black Lines In The Editor
Reply With Quote
  #21  
Old 11-06-2008, 06:30 PM
Rufus Rufus is offline
Registered User
Join Date: Jun 2004
Location: United Kingdom
Posts: 4,698
Rufus has much to be proud ofRufus has much to be proud ofRufus has much to be proud ofRufus has much to be proud ofRufus has much to be proud ofRufus has much to be proud of
Quote:
Originally Posted by Rufus View Post
Can you upload your tileset? I have a feeling that it might have been saved wrong.
...
__________________
Quote:
Originally Posted by Loriel View Post
Seriously, you have ****-all for content and you're not exactly pulling in new developer talent, angling for prestigious titles should be your last concern.
Reply With Quote
  #22  
Old 11-06-2008, 06:32 PM
Ngoc999 Ngoc999 is offline
Registered User
Ngoc999's Avatar
Join Date: Oct 2008
Posts: 20
Ngoc999 is an unknown quantity at this point
???
Reply With Quote
  #23  
Old 11-06-2008, 06:34 PM
Rufus Rufus is offline
Registered User
Join Date: Jun 2004
Location: United Kingdom
Posts: 4,698
Rufus has much to be proud ofRufus has much to be proud ofRufus has much to be proud ofRufus has much to be proud ofRufus has much to be proud ofRufus has much to be proud of
Quote:
Originally Posted by Ngoc999 View Post
???
When you reply click "Manage Attachments" then "Browse" and find your tileset image, click "Open" then "Upload" then "Close this Window" then reply.
__________________
Quote:
Originally Posted by Loriel View Post
Seriously, you have ****-all for content and you're not exactly pulling in new developer talent, angling for prestigious titles should be your last concern.
Reply With Quote
  #24  
Old 11-09-2008, 09:49 PM
DuBsTeRmAn DuBsTeRmAn is offline
Era Manager
DuBsTeRmAn's Avatar
Join Date: Sep 2007
Location: The Netherlands
Posts: 1,367
DuBsTeRmAn is an unknown quantity at this point
Send a message via MSN to DuBsTeRmAn
Just to tell u all, This is someone i know. We are both dutch, Someone bought him a server as Birthday-present, But he doenst know anything about scripting etc. This guy is not really known with those things, It is hard for him to understand. If i am right he never did anything like developing.
__________________
Name
Reply With Quote
  #25  
Old 11-09-2008, 09:56 PM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
Quote:
Originally Posted by DuBsTeRmAn View Post
Just to tell u all, This is someone i know. We are both dutch, Someone bought him a server as Birthday-present, But he doenst know anything about scripting etc. This guy is not really known with those things, It is hard for him to understand. If i am right he never did anything like developing.
I figured as much... it might be easier if he found a friend to help him personally with all this stuff.
Reply With Quote
  #26  
Old 11-10-2008, 09:00 AM
DuBsTeRmAn DuBsTeRmAn is offline
Era Manager
DuBsTeRmAn's Avatar
Join Date: Sep 2007
Location: The Netherlands
Posts: 1,367
DuBsTeRmAn is an unknown quantity at this point
Send a message via MSN to DuBsTeRmAn
I personally dont really know alot about those things, All i can is LAT lol
__________________
Name
Reply With Quote
  #27  
Old 11-10-2008, 09:20 AM
Tigairius Tigairius is offline
The Cat
Tigairius's Avatar
Join Date: Jan 2007
Location: Missouri, USA
Posts: 4,240
Tigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant future
Quote:
Originally Posted by Ngoc999 View Post
i putted this at the npc in graal ed

//#CLIENTSIDE
if (created) {
removetiledefs;
addtiledef ngc.png,,0;
}


And If I Try It I Only Get Black Lines In The Editor
Save the tileset as a .gif, then use gif2mng (in your graal folder) to convert it to png again. If you don't have gif2mng, you can download it from the dev package on the login server (same way you downloaded level editor).

To convert the .gif image to a .png image using gif2mng, simply drag and drop the image on top of the program and it will output the new file in the same folder that the program is in. After you've converted your image, make sure the image is in the same folder as your Graal editor program.

If you post your tileset image I can convert it to the correct format for you without a loss of image quality.
__________________


“Shoot for the moon. Even if you miss, you'll land among the stars.”
Reply With Quote
  #28  
Old 11-10-2008, 07:35 PM
Deas_Voice Deas_Voice is offline
Deas
Deas_Voice's Avatar
Join Date: Jun 2007
Location: Sweden
Posts: 2,264
Deas_Voice is a jewel in the roughDeas_Voice is a jewel in the rough
Send a message via AIM to Deas_Voice Send a message via MSN to Deas_Voice Send a message via Yahoo to Deas_Voice
Quote:
Originally Posted by DuBsTeRmAn View Post
I personally dont really know alot about those things, All i can is LAT lol
why dident u tell me then? >_>
__________________
.
WTF is real life, and where do I Download it?
There is no Real Life, just AFK!
since 2003~
I Support~
ღAeonღ | ღTestbedღ | ღDelteriaღ

if you are going to rep me, don't be an idiot, leave your name!
I got nothing but love for you
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 12:40 AM.


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