Please help me with config keys

Discuss Chaos Strikes Back, the "expansion pack" for Dungeon Master.
This forum may contain spoilers.
Forum rules
Please read the Forum rules and policies before posting.
Post Reply
ChioARC
Neophyte
Posts: 3
Joined: Tue Aug 31, 2010 11:21 pm

Please help me with config keys

Post by ChioARC »

Hello.
I read another post here about how to change keys in config.txt but after a lots of trys i cant manage to change keys.
Anyone can help me please?
I want to map direction keys to
W - forward
S - back
A- turn left
D- turn right
Q- move left
E- move right

Thanx a lot in advance!!!
User avatar
Gambit37
Should eat more pies
Posts: 13714
Joined: Wed May 31, 2000 1:57 pm
Location: Location, Location
Contact:

Re: Please help me with config keys

Post by Gambit37 »

RTC or CSBWin?
ChioARC
Neophyte
Posts: 3
Joined: Tue Aug 31, 2010 11:21 pm

Re: Please help me with config keys

Post by ChioARC »

CSBWin :)
User avatar
beowuuf
Archmastiff
Posts: 20687
Joined: Sat Sep 16, 2000 2:00 pm
Location: Basingstoke, UK

Re: Please help me with config keys

Post by beowuuf »

If you minimise the size of the screen (one of the menu options on CSBwin lets you run at x 1 size) you should see the readout behind of each of the actions. Press the keys you want, and you should get the scancode of each key coming up in the background. Use these scancodes in the keys section to redo the keys to how you want.

Can't look at it just now (at work) will try to check it out later
ChioARC
Neophyte
Posts: 3
Joined: Tue Aug 31, 2010 11:21 pm

Re: Please help me with config keys

Post by ChioARC »

i do that but i cant understand what to copy
by example when i press 'w' for my forward movement i got
0077 key -> Ignored
00000057 mscan -> Translated to 0104005c L
00000011 scan -> Ignored

in config i have
key 1 00006b 480000 ; 'k' = move forward
key 1 00004b 480000 ; 'K' = move forward
scan 1 000048 480000 ; Keypad '8' = move forward
key 1 000108 480000 ; SDL Keypad '8' = move forward

also i have
mscan 1 0057 104 5c L ; 'W' = character 2 weapon / first attack

i dont know what value i need to change to my w key works. I suppose to change
key 1 00006b 480000 ; 'k' = move forward with some value to change k for w, so i need to change 1 00006b 480000 for 0104005c L? or 1 000001 01005c L or what?
i see that after code movements keys there is a value to use W key for character 2 weapon / first attack
but the code is mscan 1 0057 104 5c L ; in movement keys there are not a mscan, just a scan, that is the reason to post here, cause i cant understand what and how to change,
and try to fix my keys to play, i play in a notebook so cursor or pad keys are hard to use.
I try to play with RTC dungeon master, but i lost a lot of stuff from my inventory when i reload a game, so im trying CSB

Thanx a lot in advance
User avatar
Gambit37
Should eat more pies
Posts: 13714
Joined: Wed May 31, 2000 1:57 pm
Location: Location, Location
Contact:

Re: Please help me with config keys

Post by Gambit37 »

Sorry, I can't help with this as I don't use CSBWin these days and your descriptions of the config file sounds terribly complicated. Only a programmer could have come up with that ;-)
User avatar
Adamo
Italodance spammer
Posts: 1534
Joined: Fri Apr 22, 2005 11:59 am
Location: Poland
Contact:

Re: Please help me with config keys

Post by Adamo »

hey ChioARC!
Check out these threads:
http://www.dungeon-master.com/forum/vie ... 46&t=23961
http://www.dungeon-master.com/forum/vie ... 46&t=26270
Notebook.. well.. I use a num-keyboard via USB port, it doesn`t cost much, and is perfect for playing most games.
Spoiler
(\__/) (\__/) (\__/) (\__/) (\__/) (\__/) (\__/) (\__/) (\__/) (\__/) (\__/) (\__/)
Spoiler
(@.@) (@.@) (@.@) (@.@) (@.@) (@.@) (@.@) (@.@) (@.@) (@.@) (@.@) (@.@)
Spoiler
(>s<) (>s<) (>s<) (>s<) (>s<) (>s<) (>s<) (>s<) (>s<) (>s<) (>s<) (>s<)
User avatar
Paul Stevens
CSBwin Guru
Posts: 4318
Joined: Sun Apr 08, 2001 6:00 pm
Location: Madison, Wisconsin, USA

Re: Please help me with config keys

Post by Paul Stevens »

Soory I have neglected you.
I will post a complete config.txt for
you later today. I will even test it
before posting......no extra charge.
bctb107
Neophyte
Posts: 1
Joined: Thu Jan 06, 2011 7:13 am

Re: Please help me with config keys

Post by bctb107 »

The file config.txt is the main configuration file. It is where you configure most of Kore's behavior.

Entries in this file follows two distict formats, the key-value and the block format. The key-value format is outright simple. Each line contains a configuration key as the first word, followed by the value:

Code: Select all



    Syntax:

        <config key> <value>


The block format, on the other hand, follows the similar concept, but additional attributes enclosed in curly brackets "{ }" extend the block config option's meaning:

Code: Select all



    Syntax:

        <config key> <value> {
        	<attribute1> <value1>
        	<attribute2> <value2>
        }


Post Reply