Thread: Addtiledef
View Single Post
  #20  
Old 08-24-2005, 09:21 PM
calani calani is offline
Scriptess
calani's Avatar
Join Date: Aug 2003
Location: asmgarden.gmap
Posts: 606
calani is on a distinguished road
Send a message via AIM to calani
Quote:
Originally Posted by ForgottenLegacy
addtiledef imagename,levelstart,random boolean thing i dont know;
The 'random boolean thing' tells the script whether the tileset is the old format or the new format (classic tileset (pics1.png) versus new order, such as picso.png used on GK)


Also, for the levelstart part, you only need to add the first few characters of the levelname. This is useful for gmaps where all the levels start with the same thing, such as babylon_*.nw or rift_arena1_*.nw
For test levels, or other levels that you only want the addtiledef to work on single levels, add the full name so that it doesn't accidentally load on another level that has a similar name (testleveljo for testleveljo.nw, but it would also work on testleveljohn.nw)
__________________
Reply With Quote