Graal Forums  

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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 02-23-2009, 04:13 PM
DazJenova DazJenova is offline
Ex Manager of Era
DazJenova's Avatar
Join Date: Feb 2006
Location: Newcastle, England
Posts: 245
DazJenova is an unknown quantity at this point
Send a message via AIM to DazJenova Send a message via MSN to DazJenova
Tiledef problem

Hey guys after developing alot on Era Dev with a new tileset era_tileset-betasummer.png everything was working fine. Now when i load the tileset in editor it completely screws up the screen with black lines. I don't understand why the tileset is not loading in editor anymore, any help would be appreciated thanks.
Reply With Quote
  #2  
Old 02-23-2009, 07:29 PM
BlueMelon BlueMelon is offline
asdfg
BlueMelon's Avatar
Join Date: Sep 2008
Posts: 1,481
BlueMelon is a splendid one to beholdBlueMelon is a splendid one to beholdBlueMelon is a splendid one to beholdBlueMelon is a splendid one to behold
// NPC made by DT
if (created) {removetiledefs;
}
if (playertouchsme) {
}

then---------------------------------------------------
// NPC made by unknown
if (created) {removetiledefs;
addtiledef tileset_era01-summer.png,,1; }
if (playertouchsme) {
}


^ ^ ^ thats what i used to reset the era tiles, Maybe try replacing tileset_era01-summer.png with your tile set? I dont know :S
__________________
http://i.imgur.com/OOJbW.jpg
Reply With Quote
  #3  
Old 02-23-2009, 08:50 PM
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
I've had that problem before. All I had to do was manually download the tiledef image and place it in the tiles folder.

Quote:
Originally Posted by BlueMelon View Post
// NPC made by DT
if (created) {removetiledefs;
}
if (playertouchsme) {
}

then---------------------------------------------------
// NPC made by unknown
if (created) {removetiledefs;
addtiledef tileset_era01-summer.png,,1; }
if (playertouchsme) {
}


^ ^ ^ thats what i used to reset the era tiles, Maybe try replacing tileset_era01-summer.png with your tile set? I dont know :S
That would work but I see no reason why you'd need if (playertouchsme) in the script.

I usually do it like this.

PHP Code:
removetiledefs
PHP Code:
//#CLIENTSIDE
if (created) {
removetiledefs;
addtiledef tileset_era01-summer.png,,1;

Reply With Quote
  #4  
Old 02-24-2009, 12:07 AM
DazJenova DazJenova is offline
Ex Manager of Era
DazJenova's Avatar
Join Date: Feb 2006
Location: Newcastle, England
Posts: 245
DazJenova is an unknown quantity at this point
Send a message via AIM to DazJenova Send a message via MSN to DazJenova
Fixed it, apparently .png isn't loading for me offline so i saved it as a gif tile and it loads correct, thanks anyways.
Reply With Quote
  #5  
Old 02-24-2009, 12:18 AM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Quote:
Originally Posted by DazJenova View Post
Fixed it, apparently .png isn't loading for me offline so i saved it as a gif tile and it loads correct, thanks anyways.
You saved it as a 24-bit PNG is my guess. Make sure you continue to use the 24-bit online; make a separate copy for offline use.
__________________
Reply With Quote
  #6  
Old 02-24-2009, 01:24 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 cbk1994 View Post
You saved it as a 24-bit PNG is my guess. Make sure you continue to use the 24-bit online; make a separate copy for offline use.
We really need better support for the levels editor. I don't even mind if an online editor is implemented. at least we'd have an up to date editor to work with.
Reply With Quote
  #7  
Old 02-24-2009, 02:58 PM
DazJenova DazJenova is offline
Ex Manager of Era
DazJenova's Avatar
Join Date: Feb 2006
Location: Newcastle, England
Posts: 245
DazJenova is an unknown quantity at this point
Send a message via AIM to DazJenova Send a message via MSN to DazJenova
Quote:
Originally Posted by cyan3 View Post
We really need better support for the levels editor. I don't even mind if an online editor is implemented. at least we'd have an up to date editor to work with.
Problem with that is people will abuse it and hackers will find a way to add their own scritps using the online editor which has happened before.
Reply With Quote
  #8  
Old 02-24-2009, 08:59 PM
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 DazJenova View Post
Problem with that is people will abuse it and hackers will find a way to add their own scritps using the online editor which has happened before.
I don't really see how it would be any different from using the Client RC. However the editor should restricted for levels with rw rights.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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:52 PM.


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