Hey, I'm back! Did'ja miss me?
I'm just wrapping up a project, and I'm putting up a WIP soon. But I was just curious, would it be possible to map a punching anim to the crouch button (who crouches, anyway?) to some sort of melee attack?
Obviously you can change the anim, but what about damage?
Melee?
Moderator: Moderators
-
Press_Tilty
- Chief Warrant Officer

- Posts: 331
- Joined: Fri Jun 04, 2010 10:57 pm
- Projects :: Korsava IV - Pre WIP
- Location: Seattle Area
-
THEWULFMAN
- Space Ranger
- Posts: 5557
- Joined: Tue Aug 17, 2010 3:30 pm
- Projects :: Evolved 2
- Location: Columbus, Ohio
- Contact:
Re: Melee?
Press_Tilty wrote:Hey, I'm back! Did'ja miss me?
I'm just wrapping up a project, and I'm putting up a WIP soon. But I was just curious, would it be possible to map a punching anim to the crouch button (who crouches, anyway?) to some sort of melee attack?
Obviously you can change the anim, but what about damage?
Sorta, but it would not work properly. YesObviously you can change the anim,
Sorry, but uh in regard to the damage.but what about damage?
no
- Fiodis
- Master of the Force

- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
Re: Melee?
If you're using a combo, actually it's yes to both of those. Look at Maul's kick for an example of a melee attack like that.THEWULFMAN wrote:Sorta, but it would not work properly. YesObviously you can change the anim,Sorry, but uh in regard to the damage.but what about damage?
no
-
THEWULFMAN
- Space Ranger
- Posts: 5557
- Joined: Tue Aug 17, 2010 3:30 pm
- Projects :: Evolved 2
- Location: Columbus, Ohio
- Contact:
Re: Melee?
True, but thats not what he asking. He wants to turn the crouch button into a melee attack button, which you can not do that.Fiodis wrote:If you're using a combo, actually it's yes to both of those. Look at Maul's kick for an example of a melee attack like that.THEWULFMAN wrote:Sorta, but it would not work properly. YesObviously you can change the anim,Sorry, but uh in regard to the damage.but what about damage?
no
- Fiodis
- Master of the Force

- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
Re: Melee?
In other words, you can turn the crouch button into an attack button.Fiodis wrote:If you're using a combo, actually it's yes to both of those.
-
THEWULFMAN
- Space Ranger
- Posts: 5557
- Joined: Tue Aug 17, 2010 3:30 pm
- Projects :: Evolved 2
- Location: Columbus, Ohio
- Contact:
Re: Melee?
Really, hmm, maybe you are right. I guess the .combo does have some control over crouch as your lightsaber disapears when you crouch. Idk. I will believe it when I see it. Sorry for the slight misunderstanding Fiodis. "runs off to look into this"Fiodis wrote:In other words, you can turn the crouch button into an attack button.Fiodis wrote:If you're using a combo, actually it's yes to both of those.
- Fiodis
- Master of the Force

- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
Re: Melee?
No, no, it's my fault as well. I should have clarified. Sorry about that.
In the combo you can set various buttons to trigger transitions from one state to the next. An example would be the following:
This would be in a Jedi's idle state, and it's telling the game that when you press the primary fire button you transition to the ATTACK1 state (first saber swing). You can replace any transition button with any of the following:
The second parameter in the Button(); part of the transition is how you press the button. Options for that are:
I've used these before to make a superjedi with a fair arsenal of hidden attacks to suddenly unleash.
Only he couldn't jump or crouch or run, but who needs that when you can suddenly go into lightsaber-porcupine mode?
In the combo you can set various buttons to trigger transitions from one state to the next. An example would be the following:
Code: Select all
Transition("ATTACK1")
{
If()
{
Break(); // all transitions are breaking if Duration is 0
Posture("Stand", "Crouch");
Button("Fire", "Press");
}
}Code: Select all
Fire
FireSecondary
Jump
Sprint
Crouch
Reload ---> This one has doubtful effects. It's worked sometimes when I've tried it, but not every time - maybe whether or not the unit has a gun as well as a melee weapon affects this.
FireBoth (Fire and FireSecondary together)Code: Select all
Tap
DoubleTap
Hold (Button pressed, held down briefly, then released)
Down (Whenever the button is down; this can pass for all other types)
Last edited by Fiodis on Fri Feb 18, 2011 9:02 pm, edited 1 time in total.
-
THEWULFMAN
- Space Ranger
- Posts: 5557
- Joined: Tue Aug 17, 2010 3:30 pm
- Projects :: Evolved 2
- Location: Columbus, Ohio
- Contact:
Re: Melee?
This is awesome, I am getting better at .combo files, I will experiment around with this, should be fun. what idiot ever crouches as a jedi :plokoon: anyway, only infantry need to do that. :clone:
