Chaosforge Forum

  • April 19, 2024, 21:22
  • Welcome, Guest
Please login or register.



Login with username, password and session length
Pages: [1]

Author Topic: Config format question  (Read 3729 times)

Deathwind

  • Colonel
  • *
  • Offline Offline
  • Posts: 505
  • HMP Angel of Patience 0.9.9.4
    • View Profile
Config format question
« 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)
Logged
v.997 [16/5/2/0/0]

ParaSait

  • Baffen :P
  • Elder
  • Lieutenant General
  • *
  • *
  • Offline Offline
  • Posts: 1229
  • Happy Little Boozer
    • View Profile
    • MPSF
Re: Config format question
« Reply #1 on: February 15, 2011, 01:16 »

KK wants to make as much as possible work on LUA.
Logged
[18|7|3|0|0|0] [MED:13/43] [SPE:36/67] [ASM:11/40]

Check out my epic youtube channel!
Currently playing The Bard's Tale and System Shock 2 (coop with GrAV1t)!

thelaptop

  • Chaos Fanatic!
  • Grand Inquisitor
  • Apostle
  • *
  • *
  • Offline Offline
  • Posts: 2530
    • View Profile
Re: Config format question
« Reply #2 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.
Logged
I computed, therefore I was.

Kornel Kisielewicz

  • God Hand
  • Apostle
  • *
  • *
  • Offline Offline
  • Posts: 4562
    • View Profile
    • http://chaosforge.org/
Re: Config format question
« Reply #3 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 ;)
Logged
at your service,
Kornel Kisielewicz

rchandra

  • Elder
  • Major
  • *
  • *
  • Offline Offline
  • Posts: 359
    • View Profile
Re: Config format question
« Reply #4 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.
Logged
0.9.9.1-4: Arch-Vile Br. General [25/25/17/5/1]
0.9.9.5-7: Hell Baron Major [ 21 16 12 4 1 0 ]

AStranger

  • First Lieutenant
  • *
  • Offline Offline
  • Posts: 233
  • Cyberdemon Blade
    • View Profile
Re: Config format question
« Reply #5 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...
Logged
[24|23|20|18|13] v.0.9.9.3
[17|10|8|5|2] v.0.9.9.2
[15|11|10|6|3] v.0.9.9.1
[18|17|14|10|6] v.0.9.9

007bistromath

  • Backer
  • First Lieutenant
  • *
  • *
  • Offline Offline
  • Posts: 221
    • View Profile
Re: Config format question
« Reply #6 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?
« Last Edit: February 18, 2011, 20:54 by 007bistromath »
Logged

rchandra

  • Elder
  • Major
  • *
  • *
  • Offline Offline
  • Posts: 359
    • View Profile
Re: Config format question
« Reply #7 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 :)
« Last Edit: February 18, 2011, 21:14 by rchandra »
Logged
0.9.9.1-4: Arch-Vile Br. General [25/25/17/5/1]
0.9.9.5-7: Hell Baron Major [ 21 16 12 4 1 0 ]

007bistromath

  • Backer
  • First Lieutenant
  • *
  • *
  • Offline Offline
  • Posts: 221
    • View Profile
Re: Config format question
« Reply #8 on: February 18, 2011, 21:28 »

...I'm not sure why I didn't think of using notepad.

Not my day, I think.
Logged

Kornel Kisielewicz

  • God Hand
  • Apostle
  • *
  • *
  • Offline Offline
  • Posts: 4562
    • View Profile
    • http://chaosforge.org/
Re: Config format question
« Reply #9 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.
Logged
at your service,
Kornel Kisielewicz
Pages: [1]