Game Development Community

Alternative key for attack: off hand rifle butting / melee swipe (resolved)

by 000 · in Torque 3D Professional · 11/11/2012 (1:08 am) · 2 replies

I'm looking to do a melee attack with an alternative button press, similar to games with a quick rifle butt, melee swipe or the like. I already have the melee setup and am having some difficulty figuring out the command to call the attack (i.e: in default.bind.cs: moveMap.bind(keyboard, "the button", the command that would do the attack);).

I was working on modifying this TGE resource for offhand grenade throwing but am having difficulty translating it over to a weapon fire.

Any help would be appreciated and (as always) credited in what I'm working on.

EDIT: I've successfully implemented this via the resources posted in this thread.

#1
11/15/2012 (9:09 pm)
Still chipping away, no such luck.
#2
12/09/2012 (6:28 pm)
There's been a few topics regarding this that I've been tinkering with but no results as of yet. Any help would be appreciated.