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
- id = 65 ; Lockable Level Tile entry
- position= 1280,720
- path = level3.lvl
- display = Cliche Water Cave
- exits = 0
- exitdata= smb3 ; Point of distinction between standard and SMB3-style level tiles
- revealOn= -1 ; If set to -1, it's always revealed
- [pipe]
- id = 5 ; Pipe tile ID
- position = 160, 80
- display = Pipe to the Sky Dimension
- section = 3 ; Which section this pipe leads to
- destination = 1600, 900 ; Where on the world this pipe leads to
- revealOn = 6 ; Which exit reveals this tile (-1 for always revealed)
- id = \custom\pipetile.cfg
- position = 320, 240
- display = Pipe to The End
- section = 5 ; Cross-section pipes will only work when the worlds are part of a project
- destination = 1234, 5678
- revealOn = 293
- ; 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 12, published 8/9/2012 by Celarix.
- ; Version Alpha 0.04a, Build 13 (12w32a)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement