> >For the .9X versions of Enigma, the easiest and best way to add levels is > to add a level pack - it >sure beats messing with existing level packs. No > editing of existing files is required, just drop >in new ones in a new > folder. > >See some examples here: > >http://www.angelfire.com/jazz/pretzel/Enigma/
On 1/22/06, Space man <[EMAIL PROTECTED]> wrote: > I added the new files to their own new folder, but they don't show up in > Enigma! I am using 0.92! Per working examples, add a file called index.lua to your new folder. In the index.lua, place one line: enigma.AddLevelPack( "levels/your-folder-name/index.txt", "Title of added level pack") Additionally, add a file to your new folder called index.txt; in it add a line for each level you've added to your folder: { file=your-folder-name/newlevel1 name="Level One" author="Name Author Here" easymode=1} { file=your-folder-name/newlevel2 name="Level Two" author="Name Author Here"} If the level has an easy mode, or you have scoring stored when the level was elsewhere in another folder, add additional data fields. The advantage of doing this is that you do not need to edit any existing files, but you will have to create the two files (index.lua and index.txt) per each level pack, with a line in index.txt per each added level. There's also a way to start a single level or list of levels without including them into any level pack by way of a command line parameter - nice for play-testing a level... Hope that helps. Karen _______________________________________________ Enigma-devel mailing list Enigma-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/enigma-devel