View Single Post
  #7  
Old 12-16-2004, 08:00 PM
Raelyn Raelyn is offline
the Professional.
Raelyn's Avatar
Join Date: Sep 2003
Location: Zormite
Posts: 964
Raelyn will become famous soon enough
Quote:
Originally Posted by calum
NPC Code:

removetiledefs;
addtiledef <image>,<levelnamestart>,<type>;


put that in a npc in the level or a weapon.
image = the image of the new tileset
levelnamestart = the name/part of the name of the level you wish to use the tileset with
type = Two most common types for setting which tile does what are 0 (default tileset) or 1 for the common new tileset (probably the one you want)
I know how to script it, but;

addtiledef <image>,<levelnamestart>,<type>;

requires a type, as you say above, 0 is default, 1 is the new one, but how do you make it tiles_inside.png?

The formatting is different for that, isn't it?
__________________
*Don't let the door hit you on the way out.*
Reply With Quote