Chaosforge Forum

DoomRL => Discussion => Topic started by: Deathwind on February 15, 2011, 00:48

Title: Config format question
Post by: Deathwind on February 15, 2011, 00:48
Is there a reason you changed the format of the config files for this version? Just asking as it took me a while to reconstruct most my previous configuration, a little warning would have been nice. (if it was posted and I didn't see it sorry in advance)
Title: Re: Config format question
Post by: ParaSait on February 15, 2011, 01:16
KK wants to make as much as possible work on LUA.
Title: Re: Config format question
Post by: thelaptop on February 15, 2011, 01:30
KK wants to make as much as possible work on LUA.
This has the ability to create custom key mappings since each mapped key can become a function in LUA that can thus do a few things at one go.
Title: Re: Config format question
Post by: Kornel Kisielewicz on February 15, 2011, 10:18
0.9.9.3 BETA 1 has already the possibility of chaining commands. Aaand, write custom commands, like binding a medkit usage under "m".

Probably before 1.0.0 is out you could use a function in the config file to write a whole DoomRL playing bot ;)
Title: Re: Config format question
Post by: rchandra on February 15, 2011, 10:48
A little thing that I really like in the new config files is being able to bind the same function to multiple keys. That way I can keep things as I like them, and if a guest is playing they don't need to learn or change my keys.
Title: Re: Config format question
Post by: AStranger on February 15, 2011, 14:15
...Aaand, write custom commands, like binding a medkit usage under "m"...
I like the idea of custom commands, being able to create a binding to use your smallest medpack then another binding to use your largest would a great benefit during speed runs. Hell, I'd even bind the nuke to a key, anything to save me a couple of seconds. Maybe the phases too...
Title: Re: Config format question
Post by: 007bistromath on February 18, 2011, 20:53
Yeah, I have no idea what to do with this at all. I keep trying different ways of using that command line thing, and either nothing happens at all, or it horfs a bunch junk at me about the file I'm telling it to look at not being a table. I have no clue how to change anything.

I just want to use the mp3 music and put myself on the right side of the starting level. I don't have any programs that can open these things. lua stuff is supposed to be a backend, why are you making me deal with this?
Title: Re: Config format question
Post by: rchandra on February 18, 2011, 21:11
can't you just open the file in notepad or whatever and edit it?  the file is very similar to the old config.ini.

http://notepad-plus-plus.org/ for a nice alternative, I just right-click on a file and say "open in notepad++", but it shouldn't be needed.  It does colour-code the parts of the file though :)
Title: Re: Config format question
Post by: 007bistromath on February 18, 2011, 21:28
...I'm not sure why I didn't think of using notepad.

Not my day, I think.
Title: Re: Config format question
Post by: Kornel Kisielewicz on February 18, 2011, 21:31
Just remember to use lowercase true and false (this will be documented).

Also there is a high possibility that we will have normal configuration accessible from the menu in some later version.