Advertisement
Excitium

SML Overworld File Format

Apr 3rd, 2012
192
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ; Super Mario Limitless overworld file format (.wld)
  2. ; Will be kept as much like INI files as possible (static, anim, scenery, and path will probably not)
  3. ; {Braces} represent material that is still being decided
  4.  
  5. ; General world info
  6. [header]
  7. name    = World 1             ; Specified in world editor
  8. author  = smc_gamer/Joey      ; Specified in world editor
  9. project = Super Mario Project ; Project that file will be associated with
  10. start   = 0,0                 ; The top-left corner of the overworld
  11. size    = 1024,1024           ; The size of the overworld
  12.  
  13. ; List of static tiles, tile number increments by tile and ID is used to associate tile with its config
  14. [static]
  15. 1,5,32,32                     ; Tile number in file, ID #, x-position, y-position
  16. 2,13,128,512
  17.  
  18. ; List of animated tiles, same format but IDs refer to a different set of tiles
  19. [anim]
  20. 1,18,64,192
  21. 2,36,128,384
  22.  
  23. ; {To be completed}
  24. [scenery]
  25.  
  26. ; Path tiles
  27. [path]
  28. 1,892,12,24,yes               ; The "yes" and "no" determine if the tile is revealed
  29. 2,457,24,48,no
  30.  
  31. ; Level tiles {we can write these like tiles (confusing), or we can write them like an INI (longer)}
  32. [level]
  33. number  = 1                   ; Level number in project
  34. id      = 30                  ; {What is this for?}
  35. x       = 16                  ; X position
  36. y       = 64                  ; Y position
  37. reveal  = yes                 ; Whether level is revealed or not {maybe this should be in save file}
  38. path    = level1.lvl          ; Path to level, by default it should be in same directory as world file
  39. display = Green Grass Stuff   ; Level's display name
  40. coins   = 5                   ; How many special coins are collected {tied to "projects field"}
  41.  
  42. ; Music tiles {setting the music to the world file would eliminate the need for multiple INI sections}
  43. [music]
  44. number  = 1                   ; {What is this for?}
  45. source  = world_music1.mp3    ; Music file {MP3 and WAV should be supported}
  46. x       = 82                  ; X position {not necessary if music is set to world file}
  47. y       = 28                  ; Y position
  48.  
  49. ; Revision 2, published 4/3/2012.
  50. ; WorldPlayer will be added once determined (if necessary).
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement