Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 04-30-2007, 04:58 PM
theHAWKER theHAWKER is offline
**FLIP OUT**
theHAWKER's Avatar
Join Date: Mar 2006
Location: canada, vancouver
Posts: 768
theHAWKER is an unknown quantity at this point
Tiles set help...

I want to use my tile set but it wont work in editor x.x
is there like a list of ruels you have to folow to make ur tile set work in editor?
i know it has to be in the graal folder and i know i already have the script for adding it right, but it still wont work x.x
__________________
**FLIP OUT**
Reply With Quote
  #2  
Old 04-30-2007, 05:21 PM
JkWhoSaysNi JkWhoSaysNi is offline
Ruler of the graalaxy
Join Date: Feb 2005
Location: Great Britain
Posts: 488
JkWhoSaysNi is on a distinguished road
Send a message via ICQ to JkWhoSaysNi
You have to make it a 256 colour, indexed image to work in the editor.
__________________

Coming soon (Hopefully:P)
Reply With Quote
  #3  
Old 04-30-2007, 06:35 PM
Sum41Freeeeek Sum41Freeeeek is offline
Future Coder
Join Date: Feb 2004
Location: New York
Posts: 376
Sum41Freeeeek is on a distinguished road
Send a message via AIM to Sum41Freeeeek
Make sure it's in your "tiles" folder.
Make sure it's 8bit
and finally, make sure it's indexed (pretty much what the guy above me said)

If you have photoshop it should be easy.
__________________
Frankie Cassini: ex-Era LAT
Quote:
Originally Posted by brakk View Post
omg just go to your room and draw a pony then

**** the chicken wings!
Reply With Quote
  #4  
Old 04-30-2007, 09:45 PM
godofwarares godofwarares is offline
Webmaster
godofwarares's Avatar
Join Date: Dec 2006
Location: Florida
Posts: 552
godofwarares is on a distinguished road
Send a message via ICQ to godofwarares Send a message via AIM to godofwarares Send a message via MSN to godofwarares Send a message via Yahoo to godofwarares
Quote:
Originally Posted by Sum41Freeeeek View Post
Make sure it's in your "tiles" folder.
Make sure it's 8bit
and finally, make sure it's indexed (pretty much what the guy above me said)

If you have photoshop it should be easy.
It doesn't have to be in the "tiles" folder, It works just fine in the same folder as the level itself.

More to the point, It just has to be 8 Bit (256 Colors) for it to work offline.
__________________
What signature? I see no signature?
Reply With Quote
  #5  
Old 04-30-2007, 09:49 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 godofwarares View Post
It just has to be 8 Bit (256 Colors) for it to work offline.
If the image is .png, however if you use .gif it will work at first time (Does that for me..)
__________________
Reply With Quote
  #6  
Old 04-30-2007, 10:25 PM
zokemon zokemon is offline
That one guy...
zokemon's Avatar
Join Date: Mar 2001
Location: Sonoma County, California
Posts: 2,925
zokemon is a jewel in the roughzokemon is a jewel in the rough
Send a message via ICQ to zokemon Send a message via AIM to zokemon Send a message via MSN to zokemon Send a message via Yahoo to zokemon
Keep in mind though that the 256/8-bit rule only applys to offline tilesets.

Also my best advise for getting it to work would be to go into your Graal folder on your computer and into levels/tiledefs/
Find the text file that says tiledefs<your server name here>.txt
Rename that file to tiledefsOffline.txt
If tiledefsOffline.txt already exists, just delete it.
Restart your editor and things should be just like how they are online.
__________________
Do it with a DON!
Reply With Quote
  #7  
Old 05-01-2007, 01:11 AM
theHAWKER theHAWKER is offline
**FLIP OUT**
theHAWKER's Avatar
Join Date: Mar 2006
Location: canada, vancouver
Posts: 768
theHAWKER is an unknown quantity at this point
yes, but waht if i want it to have a better bit rate x.x
__________________
**FLIP OUT**
Reply With Quote
  #8  
Old 05-01-2007, 01:13 AM
killerogue killerogue is offline
Registered Omega
killerogue's Avatar
Join Date: Apr 2006
Location: United States
Posts: 1,920
killerogue is on a distinguished road
Send a message via AIM to killerogue Send a message via MSN to killerogue
Quote:
Originally Posted by theHAWKER View Post
yes, but waht if i want it to have a better bit rate x.x
Errr, what?
__________________


REMEMBER, IF YOU REP ME, LEAVE A NAME!

Quote:
Originally Posted by haunter View Post
Graal admins don't die. They go to hell and regroup.
Quote:
Originally Posted by Inverness View Post
Without scripters, your graphics and levels wouldn't do anything but sit there and look pretty.
Reply With Quote
  #9  
Old 05-01-2007, 01:17 AM
theHAWKER theHAWKER is offline
**FLIP OUT**
theHAWKER's Avatar
Join Date: Mar 2006
Location: canada, vancouver
Posts: 768
theHAWKER is an unknown quantity at this point
like, i want it to look better...
__________________
**FLIP OUT**
Reply With Quote
  #10  
Old 05-01-2007, 01:41 AM
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
I suppose you want more colors? Ah... new technology.
Anyways, first, to make sure it's not your script and it's your image. Just pop an NPC in the level and set the image of the NPC as the tileset. If the image is correctly saved and will work in editor, it will load. If it loads, but doesn't add the tileset, it may be your script.
To clear it up, first delete tiledefsoffline.txt in your tiledefs folder, and try the script again.

As for more colors in an indexed png. You can't... but. You can add the tileset template as the tileset, and divide the tilesets into different parts, and add them via addtiledef2.
Reply With Quote
  #11  
Old 05-01-2007, 01:46 AM
JkWhoSaysNi JkWhoSaysNi is offline
Ruler of the graalaxy
Join Date: Feb 2005
Location: Great Britain
Posts: 488
JkWhoSaysNi is on a distinguished road
Send a message via ICQ to JkWhoSaysNi
Quote:
Originally Posted by theHAWKER View Post
like, i want it to look better...
The actual game supports better quality. Make a 8bit version for the editor and a higher quality one to use online.
__________________

Coming soon (Hopefully:P)
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 08:42 PM.


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