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 12-19-2005, 11:58 AM
RavenofEarth RavenofEarth is offline
Registered User
RavenofEarth's Avatar
Join Date: Jan 2005
Posts: 86
RavenofEarth is on a distinguished road
Send a message via AIM to RavenofEarth
Tileset problem.

Alrighty, how should I start this off. Okay, let me explain. I'm trying to upload a custom tileset to my server, I have set it to 256(8 bit) colour, I have saved it under .png. As far as coding goes, the level you enter, there is an NPC;

//#CLIENTSIDE
if (created||playerenters) addtiledef2 anzell_tiles.png,#L,0,0;

well, Apprently, it dislikes my tiles, because it wont show them when I uploaded them, and if they have a different name, such as a name of another server's tileset, then they show. I haven't a clue what's wrong.

Please help.

-Takezo
__________________


Last edited by RavenofEarth; 12-19-2005 at 06:27 PM..
Reply With Quote
  #2  
Old 12-19-2005, 12:16 PM
xAndrewx xAndrewx is offline
Registered User
xAndrewx's Avatar
Join Date: Sep 2004
Posts: 5,260
xAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud of
Is this online or offline?
__________________
Reply With Quote
  #3  
Old 12-19-2005, 12:17 PM
RavenofEarth RavenofEarth is offline
Registered User
RavenofEarth's Avatar
Join Date: Jan 2005
Posts: 86
RavenofEarth is on a distinguished road
Send a message via AIM to RavenofEarth
Both, It seems to me, that if I used a different server's tileset, they show, so I erase them from my server, upload my tileset, no show. and the png is Indexed 8bit too. I just don't get it.
__________________


Last edited by RavenofEarth; 12-19-2005 at 04:50 PM..
Reply With Quote
  #4  
Old 12-19-2005, 06:26 PM
RavenofEarth RavenofEarth is offline
Registered User
RavenofEarth's Avatar
Join Date: Jan 2005
Posts: 86
RavenofEarth is on a distinguished road
Send a message via AIM to RavenofEarth
Here's the tileset that I am apparently having issues with.

__________________

Reply With Quote
  #5  
Old 12-19-2005, 08:50 PM
haunter haunter is offline
Registered User
haunter's Avatar
Join Date: Mar 2001
Posts: 7,989
haunter is on a distinguished road
Make sure that you're saving your tileset as an 8-bit PNG without transparency.
Reply With Quote
  #6  
Old 12-19-2005, 11:05 PM
RavenofEarth RavenofEarth is offline
Registered User
RavenofEarth's Avatar
Join Date: Jan 2005
Posts: 86
RavenofEarth is on a distinguished road
Send a message via AIM to RavenofEarth
They are being saved at 8 bit and no transparencies.
__________________

Reply With Quote
  #7  
Old 12-19-2005, 11:05 PM
Magadal Magadal is offline
Banned
Join Date: Jan 2005
Location: Germany
Posts: 942
Magadal will become famous soon enough
Quote:
Originally Posted by RavenofEarth
Here's the tileset that I am apparently having issues with.


Umm pics1.png?O.o
Reply With Quote
  #8  
Old 12-19-2005, 11:12 PM
RavenofEarth RavenofEarth is offline
Registered User
RavenofEarth's Avatar
Join Date: Jan 2005
Posts: 86
RavenofEarth is on a distinguished road
Send a message via AIM to RavenofEarth
No, if you looked more carefully, on the far bottom right corner, I've made a few edits, in fact, I've been making a few since I posted that.
__________________

Reply With Quote
  #9  
Old 12-20-2005, 03:33 AM
haunter haunter is offline
Registered User
haunter's Avatar
Join Date: Mar 2001
Posts: 7,989
haunter is on a distinguished road
It might be a problem with where you've saved the .png then... You should also be using {} brackets on your code, but that shouldn't be causing your problem.
Reply With Quote
  #10  
Old 12-20-2005, 04:50 AM
RavenofEarth RavenofEarth is offline
Registered User
RavenofEarth's Avatar
Join Date: Jan 2005
Posts: 86
RavenofEarth is on a distinguished road
Send a message via AIM to RavenofEarth
saved them in the tiles folder on my server, and in webgifs. O_o
__________________

Reply With Quote
  #11  
Old 12-20-2005, 04:59 AM
haunter haunter is offline
Registered User
haunter's Avatar
Join Date: Mar 2001
Posts: 7,989
haunter is on a distinguished road
Quote:
Originally Posted by RavenofEarth
saved them in the tiles folder on my server, and in webgifs. O_o
Hrm... What version of graal are you using? I know that in V4 tiles are now saved in graal/levels/tiles instead of webgifs... not sure if that would cause any problem though.

Maybe it's you code... I can't be certian though, it's been so long since I used any of this stuff D:

NPC Code:
//#CLIENTSIDE
if (created) {
addtiledef2 anzell_tiles.png,#L,0,0;
}



That should work. 0.o;

If you're changing the entire tileset you could just use addtiledef though.
Reply With Quote
  #12  
Old 12-20-2005, 12:24 PM
RavenofEarth RavenofEarth is offline
Registered User
RavenofEarth's Avatar
Join Date: Jan 2005
Posts: 86
RavenofEarth is on a distinguished road
Send a message via AIM to RavenofEarth
Well, this is odd, now, I get a totally black set. As if the tilesets were all coloured black. And if I do addtiledef, the screen goes all wigged out. Lots of colours.
__________________


Last edited by RavenofEarth; 12-20-2005 at 12:43 PM..
Reply With Quote
  #13  
Old 12-20-2005, 12:46 PM
WanDaMan WanDaMan is offline
Master Tux
WanDaMan's Avatar
Join Date: Aug 2002
Location: England, United Kingdom
Posts: 5,571
WanDaMan is a jewel in the roughWanDaMan is a jewel in the rough
Send a message via MSN to WanDaMan
Add
NPC Code:
removetiledefs; 


above the script.

Also, instead of #L add the level name including the format. Example:
Quote:
wandaman_level.nw
When in offline mode check that the level is in the same directory as the tileset.

Edit:
Try this, you're using addtiledef2
NPC Code:

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

__________________
V$:CONFL16T
Reply With Quote
  #14  
Old 12-20-2005, 12:48 PM
haunter haunter is offline
Registered User
haunter's Avatar
Join Date: Mar 2001
Posts: 7,989
haunter is on a distinguished road
Quote:
Originally Posted by RavenofEarth
Well, this is odd, now, I get a totally black set. As if the tilesets were all coloured black. And if I do addtiledef, the screen goes all wigged out. Lots of colours.
Are you certian that you're using the correct syntax when using addtiledef rather than addtiledef2?
Reply With Quote
  #15  
Old 12-20-2005, 01:11 PM
RavenofEarth RavenofEarth is offline
Registered User
RavenofEarth's Avatar
Join Date: Jan 2005
Posts: 86
RavenofEarth is on a distinguished road
Send a message via AIM to RavenofEarth
You know...I feel really stupid right now, Thanks WanDaMan, It happens that my levels weren't saved in the same folder in offline mode. I have to test the other tilesets now.


Edit: They all work now, Thank everyone who tried helping!
__________________

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 11:15 PM.


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