Game Development Community

Resolved - Keybindings interfering with chat messages..

by Flybynight Studios · in Torque Game Engine · 07/14/2007 (11:45 am) · 4 replies

So my popup menus are all working great with global action mapping but when I am trying to type a message in my chat hud it actually toggles the popup menus still :/

so for example..

I have globalactionMap bound 'l' (thats an L) to open my quest log menus. Works great but when I type in the chat hud to "Look out" I get "ook out" and the L actually triggers my Quest log..

I've tried messing with movemap and movemapcmd but no luck..

I think this is easy but I've wasted 2 hours on this now :/

Any help?

#1
07/15/2007 (9:03 am)
GlobalActionMap are binds that work all the time, regardless of the currently active GUI (hence, global). Use the MoveMap, it should work. If you make this change and still notice no difference, remember to delete config.cs and wipe all your .dso compiles! You may not be noticing a change because the engine is simply loading the keybinding configuration from your last session.
#2
07/15/2007 (9:17 am)
Thanks correction.. I shouldve clarified what I did with movemap.. I tried it but it wouldnt pop up the menus at all with movemap.. I did delete the DSOs and config file..

I'll give it one more whirl this morning.

Thanks for helping
#3
07/15/2007 (9:29 am)
Thank you for forcing me to relook at the code Correction. A quick scan of my development directory showed up 2 config.cs files... A little more digging and it appears that I had moved the location of the active config.cs file and I was killing the wrong DSOs..

Your assesment was bang on.. delete the DSO for the ACTUAL config.cs = problem fixed.

Thank you for your time.
#4
07/15/2007 (2:36 pm)
Not a problem! I've experienced the same issue before, and I've also had my own difficulties with the default directory structure of Torque and things that appear to be duplicates. I wound up completely reorganizing the whole directory structure for my project. It took a few days of work to understand what did what and should go where, but in the end at least now I know exactly where everything should be and how it should work!