View Single Post
  #15  
Old 05-16-2002, 03:41 AM
Thak2 Thak2 is offline
:]
Join Date: Mar 2001
Location: BC
Posts: 1,344
Thak2 is on a distinguished road
Send a message via AIM to Thak2
Quote:
Originally posted by davidpsy
addtiledef image,levelstart,type;specifys the tiles images for all levels that start with 'levelstart' (0-standard type,1-new order)

addtiledef2 image,levelstart,x,y; replaces parts of the tiles image


i dont under stand how these will turn a npc in to a tile you can use in a level how do i use it

levelstart?????
Add this into an npc in a level named new8.nw:

addtiledef2 egg.png,new,0,0;

From that, you can look to the tiles at the side, and see an egg in the top left corner. The 'new' part means that the egg will have replaced those topleft tiles in all levels starting with 'new'.

You can lay the egg down as an other tile now, so just edit that code for your purpose. If you still don't understand, just tinker around with it, you'll eventually understand.
Reply With Quote