View unanswered posts | View active topics It is currently Sat Dec 28, 2024 4:47 am



Reply to topic  [ 4 posts ] 
 Keybinding 
Author Message
User avatar

Joined: Thu Mar 25, 2010 12:39 pm
Posts: 25
Reply with quote
Post Keybinding
Is it possible to make a mod for the game where you can keybind orders?

For example I usually get a light + grenade launcher and drop them with a box, however setting this order up usually take a while and if I press something wrong or forget a part of the order, like not selecting the proper delivery system, the order is more or less a waste of cash. However if I all needed to do was to press 1, and I'd get straight to the placement of the order, it would make the game much easier to play.

Does anyone know if this kind of addition to the game is possible?


Sun Mar 28, 2010 3:52 am
Profile
REAL AMERICAN HERO
User avatar

Joined: Sat Jan 27, 2007 10:25 pm
Posts: 5655
Reply with quote
Post Re: Keybinding
Not directly, but you could (mostly) easily simulate the effect with some lua scripting.

Basically, make a lua controlled actor that moves along the ground like the point designator, and when you press 'fire' create a dropcrate above the scene at the position of the designator. Time delay optional. Then just have the 1 key spawn the actor.

You'd need a global lua controller, probably a brain, to do it, but it'd be pretty easy.


Sun Mar 28, 2010 4:21 am
Profile
User avatar

Joined: Sun Jul 13, 2008 9:57 am
Posts: 4886
Location: some compy
Reply with quote
Post Re: Keybinding
That or just carefully set up the preset beforehand. Or do you mean as the first purchase of each map? The presets system is still relatively vestigial, presets aren't carried on once you close the game (or is it each map? idk, point holds) but they're useful for getting lots of the same thing in one game.
However I suppose that point is redundant if you only have one favorite loadout, as they're carried on between purchases anyway...
Wow that whole post was redundant, smallified for those that don't want the clutter :P What paul proposed was closest to what you want I suppose, but you'll need some lua knowledge first.


Sun Mar 28, 2010 4:51 am
Profile WWW
User avatar

Joined: Mon Mar 16, 2009 10:50 pm
Posts: 2175
Location: Neverwhere
Reply with quote
Post Re: Keybinding
Button macros?


Sun Mar 28, 2010 6:05 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 4 posts ] 

Who is online

Users browsing this forum: No registered users


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 © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.025s | 15 Queries | GZIP : Off ]