Page 1 of 1
Melee Attacks
Posted: Sun Sep 14, 2008 10:25 pm
by Clowneater
I have played a few maps before where units could melee attack with their gun. I was wonder how simle/complicated this is to do in a map. If it is simple enough, I'd like to have in my map I'm working on.
Re: Melee Attacks
Posted: Sun Sep 14, 2008 11:05 pm
by woner11
Very simple. Just assign the unit a lightsaber. Go into the lightsaber's odf. Change the msh to that of the gun you want. Put a "//" minuse the quotes in front of all the lines involving texture and color. Then wala you are fini!

Re: Melee Attacks
Posted: Sun Sep 14, 2008 11:39 pm
by Clowneater
Nice! That puts me in business.
Edit: If I do that, can I make it so that the unit only swings one way rather than complicated chains of swings?
Re: Melee Attacks
Posted: Sun Sep 14, 2008 11:43 pm
by woner11
If you read the jedi creation docs it explains those knds of animations, but you might be able to do it by going into the munged folder i your side, opening the anim file with notepad and removing all the additional attacks (attack 2 and 3).
Re: Melee Attacks
Posted: Mon Sep 15, 2008 12:58 pm
by MetalcoreRancor
Open .combo, NOT the .anim file from Munged. Once in the .combo, go to the Idle state (first state mentioned) and remove any state transitions you don't want. Then go to ATTACK1 state, and remove the transition to ATTACK2. There you have 1 single attack.
Re: Melee Attacks
Posted: Mon Sep 15, 2008 6:40 pm
by Clowneater
Which munged folder should I look for to do this? Would it be in animations?
Re: Melee Attacks
Posted: Mon Sep 15, 2008 7:13 pm
by woner11
My bad.

The combo is in the odf folder.