[Request] Gadget to bind "C" to capture command
Moderator: Moderators
- Forboding Angel
- Evolution RTS Developer
- Posts: 14673
- Joined: 17 Nov 2005, 02:43
[Request] Gadget to bind "C" to capture command
Basically I want to unbind c to possess and rebind it to the capture command. I know about half of how to do it, but I don't know how to bind to engine commands.
Re: [Request] Gadget to bind "C" to capture command
Spring.SendCommands "bind blah blah"
And there are other ways, too.
And there are other ways, too.
-
- Moderator
- Posts: 2464
- Joined: 12 Oct 2007, 09:24
Re: [Request] Gadget to bind "C" to capture command
Use uikeys.txt.
There are 2 ways to look at Evo:
1. A game that players install with a 1 click installer. In this case you can package your installer with your own uikeys.txt
2. A 'mod' for the Spring engine which players install with something like SD. In this case rebinding capture would annoy players as the players are likely to play many games.
Anyway if you still want to go ahead with rebinding the answer is lurker's "Spring.SendCommands" along with part of my uikeys.txt.
(Disclaimer, uikeys from 0.73 so c may no longer be bound to controlunit)
There are 2 ways to look at Evo:
1. A game that players install with a 1 click installer. In this case you can package your installer with your own uikeys.txt
2. A 'mod' for the Spring engine which players install with something like SD. In this case rebinding capture would annoy players as the players are likely to play many games.
Anyway if you still want to go ahead with rebinding the answer is lurker's "Spring.SendCommands" along with part of my uikeys.txt.
Code: Select all
unbind Any+c controlunit
bind c capture
bind shift+c capture