Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Level Design (https://forums.graalonline.com/forums/forumdisplay.php?f=6)
-   -   Tiledef problem (https://forums.graalonline.com/forums/showthread.php?t=84363)

DazJenova 02-23-2009 04:13 PM

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.

BlueMelon 02-23-2009 07:29 PM

// 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

cyan3 02-23-2009 08:50 PM

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 (Post 1468857)
// 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;



DazJenova 02-24-2009 12:07 AM

Fixed it, apparently .png isn't loading for me offline so i saved it as a gif tile and it loads correct, thanks anyways.

cbk1994 02-24-2009 12:18 AM

Quote:

Originally Posted by DazJenova (Post 1468894)
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.

cyan3 02-24-2009 01:24 AM

Quote:

Originally Posted by cbk1994 (Post 1468896)
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.

DazJenova 02-24-2009 02:58 PM

Quote:

Originally Posted by cyan3 (Post 1468911)
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.

cyan3 02-24-2009 08:59 PM

Quote:

Originally Posted by DazJenova (Post 1469043)
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.


All times are GMT +2. The time now is 12:30 AM.

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