How do you make a unit punch? [Solved]
Moderator: Moderators
- agzilla123
- First Lance Corporal

- Posts: 135
- Joined: Sun Aug 03, 2008 11:20 am
How do you make a unit punch? [Solved]
As the title of this thread implies, I want to know how to make a unit punch. It does not have to be elaborate, as I believe that the punch used in Battlefront Extreme is just a grenade though without the grenade.
So:
1. How would you set up the odf files to take away the actually image of the grenade flying, and replace it with damage done when the fist comes into contact with a unit?
2. Besides changing animations, is there a way to make a more elaborate punching motion? Was it included in the original assets? Has someone made one?
3. I downloaded some nice looking vibro knuckles from Wazmol69's asset pack. How would I add these into the odf files to make them appear in the game?
Any help would be appreciated.
So:
1. How would you set up the odf files to take away the actually image of the grenade flying, and replace it with damage done when the fist comes into contact with a unit?
2. Besides changing animations, is there a way to make a more elaborate punching motion? Was it included in the original assets? Has someone made one?
3. I downloaded some nice looking vibro knuckles from Wazmol69's asset pack. How would I add these into the odf files to make them appear in the game?
Any help would be appreciated.
-
Master_Ben
- Lieutenant General

- Posts: 675
- Joined: Wed Nov 12, 2008 9:50 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Watching your PC over your shoulder. No, the other sholder....
Re: How do you make a unit punch?
I would look at a lightsaber and use the lines that calls it a melee weapon and stuff to get the damage, and put that into a copied grenade odf. Then I'd remove the code:agzilla123 wrote: 1. How would you set up the odf files to take away the actually image of the grenade flying, and replace it with damage done when the fist comes into contact with a unit?
Code: Select all
OffHandWeapon= 1agzilla123 wrote: 2. Besides changing animations, is there a way to make a more elaborate punching motion? Was it included in the original assets? Has someone made one?
You might want to try d/ling the clone assassin files, the open stance and first attack would look pretty sweet if you put them into a custom. combo file, maybe? I dunno, you might have to create a custom combo for #1 anyway (because of melee weapons.)
If you d/l the assassin, then look at the on and off hand stuff in its odf, copy it into yours, and change the geometry to the vibro knuckles. If not, do the same thing with :greeny: .agzilla123 wrote: 3. I downloaded some nice looking vibro knuckles from Wazmol69's asset pack. How would I add these into the odf files to make them appear in the game?
Note: for the combo thing, If you don't already have it here's a combo tut:
http://www.gametoast.com/forums/viewtop ... 64&t=12361
- Fiodis
- Master of the Force

- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
Re: How do you make a unit punch?
Alternatively, would it be possible to reskin a lightsaber blade to make it invisible, then reskin the lightsaber handle the same way? In game, it'd look like the guy was punching (sort of), but the downside it that the punch would damage things not neccesarily near it (since the invisible blade is doing the real damage, not the fist).
The upside is that it's skinning, which I always thought of as easier than COMBO files. But that could just be me.
The upside is that it's skinning, which I always thought of as easier than COMBO files. But that could just be me.
-
Master_Ben
- Lieutenant General

- Posts: 675
- Joined: Wed Nov 12, 2008 9:50 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Watching your PC over your shoulder. No, the other sholder....
Re: How do you make a unit punch?
I don't thinkk you could rekin the handle, But you could use the existing lightsaber combo if you didn't want to make a new one.
- AceMastermind
- Gametoast Staff

- Posts: 3285
- Joined: Mon Aug 21, 2006 6:23 am
- Contact:
-
Master_Ben
- Lieutenant General

- Posts: 675
- Joined: Wed Nov 12, 2008 9:50 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Watching your PC over your shoulder. No, the other sholder....
Re: How do you make a unit punch?
Lol thanks Ace. 
- DarthD.U.C.K.
- Master of the Force

- Posts: 6027
- Joined: Wed Sep 27, 2006 11:05 am
- Location: Duckburg, Germany
Re: How do you make a unit punch?
there is a tutorial about making a secondary "knife" on syths battlefrontprojecttopic too
-
RogueKnight
- Space Ranger
- Posts: 2512
- Joined: Sat Nov 22, 2008 1:50 pm
- Projects :: Life. Work.
- xbox live or psn: No gamertag set
- Location: Washington, US
Re: How do you make a unit punch?
It would be impossible to skin something invisible (Correct me if I'm wrong). Skinning something "invisible" would just result in a unskinned lightsaber model showing up, not an invisible one.
EDIT: Please tell me if I'm being a complete idiot.
EDIT: Please tell me if I'm being a complete idiot.
- Maveritchell
- Jedi Admin

- Posts: 7366
- Joined: Mon Aug 21, 2006 11:03 pm
Re: How do you make a unit punch?
You're not being an idiot but you are wrong. If a model is flagged for transparency (can accept alpha channels), then any model (with the right texture) can be transparent. We have a post in the FAQ about it.DarthRogueKnight wrote:It would be impossible to skin something invisible (Correct me if I'm wrong). Skinning something "invisible" would just result in a unskinned lightsaber model showing up, not an invisible one.
EDIT: Please tell me if I'm being a complete idiot.
- agzilla123
- First Lance Corporal

- Posts: 135
- Joined: Sun Aug 03, 2008 11:20 am
Re: How do you make a unit punch?
Hi guys, sorry about the late reply.
Any ways, thank you all for the help I really appreciate it. i would have gotten back to you guys sooner but i have had an annoying week of homework.
Thanks again this thread can now be closed.
Any ways, thank you all for the help I really appreciate it. i would have gotten back to you guys sooner but i have had an annoying week of homework.
Thanks again this thread can now be closed.
- agzilla123
- First Lance Corporal

- Posts: 135
- Joined: Sun Aug 03, 2008 11:20 am
Trouble making a melee attack [Solved]
I recently had a thread that asked for help on how to make a melee attack. Well I followed everyone's helpful advice but I ended up really confused.
First of all, I should make it clear that I wan the melee attack (a punch) to be a secondary weapon. tht being said, I now know that it doesn't need a base position animation. I looked at the lightsaber .odf files, but there was not much to use from these files. I only took the properties line and put it into my modified thermal detonator .odf file now called rep_weap_inf_punch, that stated that the new weapon file would be a melee weapon. Here is the current .odf (please excuse the mess):
I am pretty sure this .odf has many problems with it, but I am not sure how to get it working as the tutorials have only confused me.
Any help would be appreciated.
Topics merged -Staff
First of all, I should make it clear that I wan the melee attack (a punch) to be a secondary weapon. tht being said, I now know that it doesn't need a base position animation. I looked at the lightsaber .odf files, but there was not much to use from these files. I only took the properties line and put it into my modified thermal detonator .odf file now called rep_weap_inf_punch, that stated that the new weapon file would be a melee weapon. Here is the current .odf (please excuse the mess):
Hidden/Spoiler:
Any help would be appreciated.
Topics merged -Staff
-
RogueKnight
- Space Ranger
- Posts: 2512
- Joined: Sat Nov 22, 2008 1:50 pm
- Projects :: Life. Work.
- xbox live or psn: No gamertag set
- Location: Washington, US
Re: Trouble making a melee attack.
Well, I'm pretty sure that whatever you do, you need a basepose.
-
Master_Ben
- Lieutenant General

- Posts: 675
- Joined: Wed Nov 12, 2008 9:50 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Watching your PC over your shoulder. No, the other sholder....
Re: Trouble making a melee attack.
But if it's secondary? can you even have it secondary?DarthRogueKnight wrote:Well, I'm pretty sure that whatever you do, you need a basepose.
- DarthD.U.C.K.
- Master of the Force

- Posts: 6027
- Joined: Wed Sep 27, 2006 11:05 am
- Location: Duckburg, Germany
Re: Trouble making a melee attack.
mastersaitek once uploaded a "hit" weapon... i cant find the odf though >.<
maybe somebody still has it..
your odf cant work, you cant give a meeleweapon a grenade as parent^^
maybe somebody still has it..
your odf cant work, you cant give a meeleweapon a grenade as parent^^
- agzilla123
- First Lance Corporal

- Posts: 135
- Joined: Sun Aug 03, 2008 11:20 am
Re: Trouble making a melee attack.
I realize that mastersaitek had something like what I want, but i could not find it as well.
As for the parent in the .odf, what can I change it to that will make it work? Putting the lightsaber .odf name will not help me in my predicament and I cannot thing of any other parent melee weapon.
As for the parent in the .odf, what can I change it to that will make it work? Putting the lightsaber .odf name will not help me in my predicament and I cannot thing of any other parent melee weapon.
-
AQT
- Gametoast Staff

- Posts: 4910
- Joined: Sat Nov 03, 2007 4:55 pm
- Location: SoCal, USA
Re: Trouble making a melee attack.
You won't need a ClassParent since you already have a ClassLabel. You also won't need the GeometryName line. Is this melee attack explosive? If not, remove the OrdnanceName line. You should set the RoundsPerClip to "0" for infinite hits unless you really want only one. Go to the com_weap_inf_lightsaber.odf file and copy and paste the "reasonable" parts into your own .odf file and that's all.
-
MasterSaitek009
- Black Sun Slicer
- Posts: 619
- Joined: Wed Aug 23, 2006 4:10 pm
Re: Trouble making a melee attack.
I had it uploaded before... Just when did Filetoast go down???
imp_weap_inf_punch
Just make sure that the WeaponChannel is set to 1.
imp_weap_inf_punch
Just make sure that the WeaponChannel is set to 1.
- agzilla123
- First Lance Corporal

- Posts: 135
- Joined: Sun Aug 03, 2008 11:20 am
Re: Trouble making a melee attack.
Thanks MasterSaitek009, this is outstanding!
Ok, this thread can now be closed, and thanks for the help everyone.
Ok, this thread can now be closed, and thanks for the help everyone.
