Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ; Super Mario Limitless overworld file format (.wld)
- ; Will be kept as much like INI files as possible (static, anim, scenery, and path will probably not)
- ; {Braces} represent material that is still being decided
- ; General world info
- [world]
- name = World 1 ; Specified in world editor
- author = smc_gamer/Joey ; Specified in world editor
- project = Super Mario Project ; Project that file will be associated with
- start = 0,0 ; The top-left corner of the overworld
- size = 1024,1024 ; The size of the overworld
- ; List of static tiles, tile number increments by tile and ID is used to associate tile with its config
- [static]
- 5,32,32 ; ID #, x-position, y-position
- 13,128,512
- \custom\worldtile1.cfg,256,1024 ; Custom tiles use a filepath to config file
- ; List of animated tiles, same format but IDs refer to a different set of tiles
- [anim]
- 18,64,192
- 36,128,384
- \custom\worldatile1.cfg,256,768
- ; {To be completed}
- [scenery]
- ; Path tiles
- ; Indexes are being kept for paths, players, and level tiles because they are also used in the save file
- [path]
- 0,12,24,5 ; ID, X position, Y position, exit number (Path tiles use a different ID space)
- 1,24,48,5
- \custom\path1.cfg,48,96,5
- 4,64,128,5
- [player]
- 0,64,64 ; WorldPlayers use separate ID space
- ; WorldPlayers use the above coords only when starting for the first time, after that it's the save file that stores coords
- ; Starting coords must be on a path tile or it won't work
- \custom\worldplayer1.cfg,128,128
- ; Level tiles {we can write these like tiles (confusing), or we can write them like an INI (longer)}
- ; not yet finalized
- [level]
- id = 30 ; Level tile ID
- position= 640,480
- path = level1.lvl ; Relative path to level, by default it should be in same directory as world file
- display = Green Grass Stuff ; Level's display name
- exits = 2 ; The number of exits this level has
- exitdata= 0u,1d ; The number of this exit, and the directions that the each exit begins revealing tiles in (u=up, d=down, and so on)
- revealOn= 5 ; The exit that, when triggered, reveals this tile
- id = \custom\leveltile.cfg
- position= 1280,720
- reveal = no
- path = level2.lvl
- display = Explosions and Whatnot
- exits = 1
- exitdata= 2l
- revealOn= 8
- ; Music tiles {setting the music to the world file would eliminate the need for multiple INI sections}
- [music]
- source = world_music1.mp3 ; Music file {MP3 and WAV should be supported}
- x = 82 ; X position {not necessary if music is set to world file}
- y = 28 ; Y position
- ; Revision 10, published 7/8/2012 by Celarix.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement