View topic - [SOLVED] hotkeys for ships



All times are UTC + 1 hour


Post new topic Reply to topic  [ 8 posts ] 
Author Message
PostPosted: 08 Jun 2012, 16:48 

Joined: 20 Oct 2009, 12:04
Hi to all!

For some reason hotkeys like "z for mex" or "x for energy" does not work for ships.
For t1 and t2 ships too.

They works for commander even if he is under water but not for ships.

Any ideas why they don't work? How to fix it?
I have no ideas but this is very annoying.

Currently, bindings are written in ba768/luaui/widgets/cmd_building_hotkeys.lua
like: "bind z buildunit_armmex"

I can understand if it was: "commander -> build arm ground mex" but real binding string does not contains unit type and even mex type (commander can build water mex).

So.. need help!


Last edited by jamerlan on 13 Jun 2012, 15:15, edited 1 time in total.

Top
 Offline Profile  
 
 Post subject: Re: hotkeys for ships
PostPosted: 08 Jun 2012, 16:50 

Joined: 20 Oct 2009, 12:04
Oh.. I have one idea: maybe there is another widget that prevents these hotkeys for ships?

How mex type changes when we moving cursor from water to ground? Or from ground to water? It also changes radar to sonar etc.. Maybe problem in this widget.


Top
 Offline Profile  
 
 Post subject: Re: hotkeys for ships
PostPosted: 09 Jun 2012, 02:42 
User avatar

Joined: 07 Dec 2008, 02:35
It's simple: Ships can't build anything that is on the hotkey (It's all land units), so the hotkey doesn't do anything.

Solutions are all modside:
- Add land variant to ships buildorders (odd)
- Add underwater variant to toggle (which would then need to be toggled through for units that can build both)
- Merge land and underwater variants into single unit


Top
 Offline Profile  
 
 Post subject: Re: hotkeys for ships
PostPosted: 09 Jun 2012, 08:55 
Tournaments Moderator
User avatar

Joined: 08 Dec 2007, 17:39
Location: UK - England
I'm confused by this discussion. Can't you just use Context Build? I setup my sea binds years ago and I use context build too which works fine for me.


Top
 Offline Profile  
 
 Post subject: Re: hotkeys for ships
PostPosted: 09 Jun 2012, 09:23 

Joined: 20 Oct 2009, 12:04
Niobium, sorry, I can't understand what you mean. "It's all land units" - do you mean that ships are land units? I think that commander is land unit too and he can build.

Is it game related bug or engine bug?

Jazcash: can you share your bindings? What is Context Build?


Top
 Offline Profile  
 
 Post subject: Re: hotkeys for ships
PostPosted: 09 Jun 2012, 09:48 
Tournaments Moderator
User avatar

Joined: 08 Dec 2007, 17:39
Location: UK - England
jamerlan wrote:
Jazcash: can you share your bindings? What is Context Build?


Attachment:
gui_context_build.lua [2.79 KiB]
Downloaded 89 times


Attachment:
uikeys.txt [3.18 KiB]
Downloaded 18 times


Top
 Offline Profile  
 
 Post subject: Re: hotkeys for ships
PostPosted: 09 Jun 2012, 10:17 
Moderator
User avatar

Joined: 26 Oct 2007, 15:21
Added all underwater stuff to binds.


Top
 Offline Profile  
 
PostPosted: 13 Jun 2012, 15:17 

Joined: 20 Oct 2009, 12:04
Thanks to all for fixing it! I tested it already (copy-pasted to widgets directory from SVN) and it works! :-)


Top
 Offline Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Site layout created by Roflcopter et al.