-- [ Picked text/plain from multipart/alternative ] you cannot modify the keyboard config dialog because it's in the GameUI dll...even if you could, you couldn't modify its functionality
I've been working on a GameUI clone which will give all power to modders On 1/14/06, Justin Krenz <[EMAIL PROTECTED]> wrote: > > Sure, I could do that, but I also want to allow the option of the player > setting that command to a different key. I don't want to force the > player to using only one key for the command. The main reason behind my > problem is that I have a commander mode. Some testers have expressed > interest in setting the commander controls to the arrow keys instead of > wasd (the default). To do that right now, you have to edit the > commander specific cfg file. I want the average user to easily be able > to edit it in the keyboard controls. If I put the commander controls in > the keyboard options, then it would definitely not be able to use the > same keys as the infantry movement keys, creating a dilemma. > > Jorge Rodriguez wrote: > > Justin Krenz wrote: > > > >> Has anyone customized the Keyboard Controls in the Options panel into > >> allowing multiple commands to be assigned the same key? I really need > >> to be able to do this for my mod to have different controls when on > foot > >> or in a vehicle. However, even just overriding how the Keyboard > >> Controls panel functions is difficult since it seems that the > >> OptionsDialog panel isn't in the SDK code. I also can't find a way to > >> even get a pointer to OptionsDialog to begin overriding its behavior. > > > > > > Why don't you bind the button to one command, but interpret the command > > a different way programatically depending on the player's situation? > > > > -- > > Jorge "Vino" Rodriguez > > > > > > _______________________________________________ > > To unsubscribe, edit your list preferences, or view the list archives, > > please visit: > > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > > > > > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, > please visit: > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > -- ts2do -- _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

