Graal Forums  

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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 10-12-2007, 12:05 AM
Horrified Horrified is offline
Rediculously inactive
Join Date: Jul 2007
Posts: 961
Horrified is on a distinguished road
Send a message via ICQ to Horrified Send a message via AIM to Horrified Send a message via MSN to Horrified Send a message via Yahoo to Horrified
addtiledef problem

Anyone know why this doesn't load the tiles?

It's correct to my knowledge...but it won't load the tiles. I made sure they were in Graal/Levels/Tiles, and they were. But it won't load. Not really sure what to make of it.

NPC Code:
addtiledef relic_tileset1.png,#L,1;

Reply With Quote
  #2  
Old 10-12-2007, 12:27 AM
cyan3 cyan3 is offline
Registered User
cyan3's Avatar
Join Date: Nov 2005
Location: England
Posts: 2,919
cyan3 has a brilliant futurecyan3 has a brilliant futurecyan3 has a brilliant futurecyan3 has a brilliant futurecyan3 has a brilliant futurecyan3 has a brilliant futurecyan3 has a brilliant future
Try this.

PHP Code:
//#CLIENTSIDE
if (created) {
removetiledefs;
addtiledef relic_tileset1.png,#L,1;

Reply With Quote
  #3  
Old 10-12-2007, 12:32 AM
Horrified Horrified is offline
Rediculously inactive
Join Date: Jul 2007
Posts: 961
Horrified is on a distinguished road
Send a message via ICQ to Horrified Send a message via AIM to Horrified Send a message via MSN to Horrified Send a message via Yahoo to Horrified
Quote:
Originally Posted by cyan3 View Post
Try this.

PHP Code:
//#CLIENTSIDE
if (created) {
removetiledefs;
addtiledef relic_tileset1.png,#L,1;

Doesn't seem to work either.

Perhaps someone else could try on there own editor to see if maybe it's just mine ****ing up?
Reply With Quote
  #4  
Old 10-12-2007, 12:36 AM
cyan3 cyan3 is offline
Registered User
cyan3's Avatar
Join Date: Nov 2005
Location: England
Posts: 2,919
cyan3 has a brilliant futurecyan3 has a brilliant futurecyan3 has a brilliant futurecyan3 has a brilliant futurecyan3 has a brilliant futurecyan3 has a brilliant futurecyan3 has a brilliant future
Quote:
Originally Posted by Horrified View Post
Doesn't seem to work either.

Perhaps someone else could try on there own editor to see if maybe it's just mine ****ing up?
I just used this and it load's Pisco2 with no problems.
PHP Code:
//#CLIENTSIDE
if (created) {
removetiledefs;
addtiledef picso2.png,,0;

I also used another tileset and it works fine also.

PHP Code:
//#CLIENTSIDE
if (created) {
removetiledefs;
addtiledef revolutions_tileset_new.png,,0;

Reply With Quote
  #5  
Old 10-12-2007, 12:40 AM
Horrified Horrified is offline
Rediculously inactive
Join Date: Jul 2007
Posts: 961
Horrified is on a distinguished road
Send a message via ICQ to Horrified Send a message via AIM to Horrified Send a message via MSN to Horrified Send a message via Yahoo to Horrified
Quote:
Originally Posted by cyan3 View Post
I just used this and it load's Pisco2 with no problems.
PHP Code:
//#CLIENTSIDE
if (created) {
removetiledefs;
addtiledef picso2.png,,0;

I also used another tileset and it works fine also.

PHP Code:
//#CLIENTSIDE
if (created) {
removetiledefs;
addtiledef revolutions_tileset_new.png,,0;

those are type "0" though.

Might be a problem with type "1", so try the tileset I gave you (relic's)?
Reply With Quote
  #6  
Old 10-12-2007, 12:43 AM
cyan3 cyan3 is offline
Registered User
cyan3's Avatar
Join Date: Nov 2005
Location: England
Posts: 2,919
cyan3 has a brilliant futurecyan3 has a brilliant futurecyan3 has a brilliant futurecyan3 has a brilliant futurecyan3 has a brilliant futurecyan3 has a brilliant futurecyan3 has a brilliant future
Quote:
Originally Posted by Horrified View Post
those are type "0" though.

Might be a problem with type "1", so try the tileset I gave you (relic's)?
It works with no problems.
Attached Thumbnails
Click image for larger version

Name:	Relictile.jpg
Views:	222
Size:	156.6 KB
ID:	43054  
Reply With Quote
  #7  
Old 10-12-2007, 04:19 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
If the tileset is over 256KB (correct me if I'm wrong), you can't load it in editor. It also has to be an 8-bit png.
__________________


“Shoot for the moon. Even if you miss, you'll land among the stars.”
Reply With Quote
  #8  
Old 10-12-2007, 11:53 AM
Crow Crow is offline
ǝɔɐɹq ʎןɹnɔ
Crow's Avatar
Join Date: Dec 2006
Location: Germany
Posts: 5,153
Crow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond repute
Theres no limitation in the editor. Has to be 8bit, and you shouldnt leave the second parameter blank.
Reply With Quote
  #9  
Old 10-12-2007, 02:59 PM
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 Crow View Post
Theres no limitation in the editor. -- and you shouldnt leave the second parameter blank.
Yes there is a limitation.

Leaving the second parameter blank doesn't really matter.
__________________


“Shoot for the moon. Even if you miss, you'll land among the stars.”
Reply With Quote
  #10  
Old 10-12-2007, 06:17 PM
Angel_Light Angel_Light is offline
Varia Developer
Angel_Light's Avatar
Join Date: Nov 2005
Location: Knoxville, TN
Posts: 1,684
Angel_Light is on a distinguished road
Send a message via AIM to Angel_Light Send a message via MSN to Angel_Light
leaving the 2nd parameter blank in GS1 doesn't matter actually talking compiling speed it's faster I believe. Also Tig I tested the limit cause I never heard of it. Seems to not apply to my editor I loaded a tiledef that was 312KB 8bits
__________________
Deep into the Darkness peering...
Reply With Quote
  #11  
Old 10-12-2007, 06:57 PM
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 Angel_Light View Post
312KB 8bits
It might be a larger limit then.
__________________


“Shoot for the moon. Even if you miss, you'll land among the stars.”
Reply With Quote
  #12  
Old 10-12-2007, 08:42 PM
Angel_Light Angel_Light is offline
Varia Developer
Angel_Light's Avatar
Join Date: Nov 2005
Location: Knoxville, TN
Posts: 1,684
Angel_Light is on a distinguished road
Send a message via AIM to Angel_Light Send a message via MSN to Angel_Light
Quote:
Originally Posted by Tigairius View Post
It might be a larger limit then.
more likely. :P
__________________
Deep into the Darkness peering...
Reply With Quote
  #13  
Old 10-12-2007, 09:36 PM
Malinko Malinko is offline
Unholy Nation
Join Date: Mar 2004
Location: Massachusetts, U.S.A.
Posts: 1,782
Malinko is on a distinguished road
Send a message via AIM to Malinko
Tigairius is correct; it has to be an 8-bit image. I don't think there is a size limit, but to be real, how big could an image be if it's an 8-bit png file? Around 500kb, plus or minus a few kb?

Try this: open your Graal folder, then the levels folder, then file the folder called "tiledefs;" inside the folder, there will be text files. Find the text file "tiledefsOffline.txt" and delete it. You can safely delete all the text files in there if you wish, they will re-appear/re-download once you visit the playerworld again, but if you want to be specific for the editor, delete tiledefsOffline.txt and then open the level you want with the addtiledef script, which should load the tileset.
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 06:23 AM.


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