enigma-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Enigma-devel] I'm Stupid


From: Karen Pouelle
Subject: Re: [Enigma-devel] I'm Stupid
Date: Mon, 23 Jan 2006 20:36:03 +0000

> >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 <address@hidden> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]