worldmapformat.txt 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. - World Map editing for SuperTux -
  2. http://supertux.lethargik.org/
  3. Last update: September 4, 2004
  4. This document describes how to edit a world map.
  5. = EDITING WORLDMAP TILES =
  6. To edit a World Map, please use FlexLay. Thought it might have problems with
  7. the editing of level and special tiles, since it isn't sync with CVS.
  8. = INTRODUCTION =
  9. These things are always changing, so if even 0.1.x has something like something
  10. described here, it might have a different name or be used in a different way.
  11. Stuff prefixed by a ';' are comments.
  12. ; This is a comment! :)
  13. = MAKING THE HOLE FOR A LEVEL =
  14. ; Opening level group
  15. (level
  16. ; X and Y position [NECESSARY]
  17. (x 10)
  18. (y 14)
  19. ; Filename of the level [NECESSARY]
  20. (name "file_name.stl")
  21. ; Flip the level vertically - default: false
  22. (vertical-flip #t)
  23. ; Show this text file after completing this level
  24. (extro-filename "filename")
  25. ; Go to this world after completing this level
  26. (next-worldmap "worldmap.stwt)
  27. ; Exit world map after completing this level
  28. (quit-worldmap #t)
  29. ; Disable auto walking after completing the level - default: false
  30. (auto-path #f)
  31. ) ; end of level group
  32. = AVAILABLE SPECIAL TILES =
  33. ; Opening special-tile group
  34. (special-tile
  35. ; X and Y position [NECESSARY]
  36. (x 10)
  37. (y 14)
  38. ; Add a message tile. You can also use this together with a teleporter.
  39. (map-message "Hello World!"
  40. ; Instead of showing a fix message, show while the player
  41. ; passes by [NEEDS: map-message]- default: false
  42. (passive-message #t)
  43. ; Apply action only in this/these direction(s) [WORKS FOR: passive-message] -
  44. ; default: true for all - possible values: north/south/east/west.
  45. ; More than one can be used with a separator or not
  46. (apply-to-direction "north-east")
  47. ; Add a teleporter tile to
  48. (teleport-to-x 20)
  49. (teleport-to-y 13)
  50. ; Don't show this tile [WORKS FOR: teleporter, map-message]
  51. (invisible-tile #t)
  52. ) ; end of special-tile group
  53. - SuperTux developers