Advertisement
smc_gamer

SML Overworld File Format r1

Mar 9th, 2012
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.70 KB | None | 0 0
  1. [header]
  2. name=Overworld File Format
  3. author=smc_gamer
  4. project=This will be used for projects later on, for now this field is useless.
  5. start=0,0 // The top-left corner of the overworld
  6. size=1024,1024 // The size of the overworld
  7. [/header]
  8.  
  9. [static] // Static tiles
  10. 1,5,32,32
  11. // 1: The tile's number in this file. Increments for every tile.
  12. // 5: The tile's ID number, used to load the configuration for it.
  13. // 32: The tile's X-position on the worldmap.
  14. // 32: The tile's Y-position on the worldmap.
  15. 2,13,128,512
  16. [/static]
  17.  
  18. [anim] // Animated tiles
  19. 1,18,64,192 // Same format as the static tiles, but the IDs here refer to a different set of tiles. Subject to change.
  20. 2,36,128,384
  21. [/anim]
  22.  
  23. [scenery]
  24. [/scenery]
  25.  
  26. [path] // Path tiles
  27. 1,892,12,24,yes // Same format as above. The "yes" and "no" determine if the tile is revealed.
  28. 2,457,24,48,no
  29. [/path]
  30.  
  31. [level] // Level tiles
  32. 1,30,16,64,yes,level1.lvl,Level Display Name,Coins Collected
  33. // This one's a bit odd. The first four numbers are number, ID, position, and revealed state, same as above.
  34. // The "level1.lvl" is the path to the level, and the "Level Display Name" is what will be used on the borders.
  35. // "Coins Collected" actually refers to the number of Yoshi Coins/Star Coins/Whatever the collectable is. It will be saved after the end of every level, and will be tied to the eventual "projects" field.
  36. [/level]
  37.  
  38. [music] // Music tiles
  39. 1,world_music1.mp3,82,28 // Roughly the same as a static tile, but with the music's filename as opposed to an ID.
  40. [/music]
  41.  
  42. // Revision 1, published 3/9/2012.
  43. // I'll add WorldPlayer stuff when I have that determined.
  44. // Oh, and the actual code won't support comments, unless any of you want it to.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement