Archvile
Register | User Profile | Member List | F.A.Q | Privacy Policy | New Blog | Search Forums | Forums Home
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Classic Doom > Doom Editing > Noobish question concerning key binding
 
Author
All times are GMT. The time now is 05:24. Post New Thread    Post A Reply
Fenriswolf
Junior Member


Posts: 236
Registered: 06-08


Hello,
Following problem (ZDoom):
I want that the key you have to press to jump is automatically set in my custom wad, for examle that when you press "/" you jump.
By default, the setting is "PAD_Y"... I have actually no idea what this is and I have pressed all keys on my keyboard and nothing caused jumping. Of course I could change this in the "customize controls" section but is there any way to do this binding automatically for you Wad? I guess if it is possible it has to do something with the KEYCONF lump? How could this look like?
Thank you!

Old Post 10-13-12 14:57 #
Fenriswolf is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
Gez
Why don't I have a custom title by now?!


Posts: 11121
Registered: 07-07



Fenriswolf said:
I guess if it is possible it has to do something with the KEYCONF lump?

Correct; you'll want to use defaultbind.

Old Post 10-13-12 15:00 #
Gez is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
Fenriswolf
Junior Member


Posts: 236
Registered: 06-08


Thank you so far, but sorry, I am a tough customer...
I already looked on ZDoom wiki before posting here but I did not really understand how to use this. So I have my KEYCONF lump in the wad but what exactly has to be in it?
I tried:

defaultbind m=+jump

and several other variations but it won't work :(

Old Post 10-13-12 15:07 #
Fenriswolf is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
Gez
Why don't I have a custom title by now?!


Posts: 11121
Registered: 07-07


KEYCONF are actually series of console commands, so you'll have to use this syntax:

code:
defaultbind m "+jump"


If it doesn't work, three things to check:
1. Is jumping actually allowed in the map you're playing?
2. Is the m key already bound to something else?
3. Is there already another key bound to "+jump"?

Old Post 10-13-12 16:04 #
Gez is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
Fenriswolf
Junior Member


Posts: 236
Registered: 06-08


I doesn't work :(
Going through your checklist:
- yes it is, at least i can jump in it when binding the key manually in the menue
- no i don't think so
- yes, as i said it is binded to "PAD_Y" but I don't know what this is. Can I somehow delete this setting in the KEYCONF and define a new one?

Old Post 10-13-12 17:31 #
Fenriswolf is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
Fenriswolf
Junior Member


Posts: 236
Registered: 06-08


Sorry for bumping this, but isn't there anything I can do?
To specify the problem:

- How can I delete a control setting with KEYCONF and create a new one
- What is PAD_Y control?

Old Post 10-15-12 18:22 #
Fenriswolf is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
Phendrena
Junior Member


Posts: 180
Registered: 09-12


I'm curious as to why you want to specify a keymap anyway?? If I was going to play your wad then I'd want to use my own keymapping config. As for PAD_Y that sounds like it's a joypad button.

Why don't you just remap the keys directly in ZDoom when you start the game?? Surely it's easier as you can clear and remap as you want.

Dave

Old Post 10-15-12 18:50 #
Phendrena is offline Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Fenriswolf
Junior Member


Posts: 236
Registered: 06-08



Phendrena said:
I'm curious as to why you want to specify a keymap anyway?? If I was going to play your wad then I'd want to use my own keymapping config. As for PAD_Y that sounds like it's a joypad button.

Why don't you just remap the keys directly in ZDoom when you start the game?? Surely it's easier as you can clear and remap as you want.

Dave



OPk, so I'll explain why I want to achieve this: I made a little stand-alone-game using ZDoom. Since this runs as ZDoom-Heretic, there is no jumping possible by default. now since i passed this wad file to a few games with a copy of zdoom, many of them came to me with questions like: " know i have to jump in this situation, but it is not possible..." and so on. Of course I could say everyone of them: "you have to select a jump key under Options => Customize Controls" - but I think this is a bit dull, because it is practically a stand-alone-game using ZDoom engine, so I think if you are starting the game you should immidiately be able to control the player figure like it is required and you should not be forced to set new controls before you are playing the game. and as I know the people I gave the wad file I know many of them won't read the readme so there will be lots of confusion concerning this thing. So I think, it would just be the best to preset a key for jumping, If someone wants to change it, he can do so later on but it should be possible without any editing.

Old Post 10-16-12 18:30 #
Fenriswolf is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
All times are GMT. The time now is 05:24. Post New Thread    Post A Reply
 
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Classic Doom > Doom Editing > Noobish question concerning key binding

Show Printable Version | Email this Page | Subscribe to this Thread

 

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are OFF
[IMG] code is ON
 

< Contact Us - Doomworld >

Powered by: vBulletin Version 2.2.5
Copyright ©2000, 2001, Jelsoft Enterprises Limited.