View Single Post
  #1  
Old 06-23-2007, 06:49 PM
ArushenP2P ArushenP2P is offline
Graal Developer
ArushenP2P's Avatar
Join Date: Feb 2006
Location: Oakland, Calif. USA
Posts: 336
ArushenP2P is on a distinguished road
Send a message via AIM to ArushenP2P
I think I might know your problem. When you add a tile which format/style is the tileset looking like.

The First one is the format Era uses and is used for "addtiledef" scripts. The one classic uses is "addtiledef2". So if your using the tileset Era is using. It'll probably look like this.

NPC Code:

//NPC made by Unknown
//Tiles
if (created && playerenters) {addtiledef tileset_name.ext,#L,0;}



Replace tileset_name.ext to a similar tileset for example. "tileset_era-summer.png"
#L is current level, and 0 is the mode of the addtiledef which in case Era is
using. If it's still not working than switch the 0 to 1. That should help, PM me if it doesn't work.

I prefer using the tileset type Era is using because it's easy to script with. Addtiledef2 requires the x,y coordinates
and I suck at those.

Last edited by ArushenP2P; 06-23-2007 at 06:53 PM.. Reason: I need to explain more :X
Reply With Quote