Melee attacks

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
User avatar
bobfinkl
Rebel Colonel
Rebel Colonel
Posts: 593
Joined: Sun Jul 13, 2008 9:01 am
Projects :: Lots of unreleased stuff
Games I'm Playing :: Life
xbox live or psn: No gamertag set
Location: The quaint little city gametoast.

Melee attacks

Post by bobfinkl »

I know I posted a topic about this a while ago, but I've tried getting a melee attack that isn't from the weapon itself working but I haven't been successful.

So how would I go about making a melee attack that uses the primary weapon that you are using's model and then bashes you're opponent with it?

Thanks in advance
MetalcoreRancor
Brigadier General
Brigadier General
Posts: 628
Joined: Thu Jun 07, 2007 11:13 am
Projects :: No Mod project currently.
Games I'm Playing :: swbf origin
xbox live or psn: No gamertag set

Re: Melee attacks

Post by MetalcoreRancor »

Take the PUSH odf from common, give the _ord a geometry of the weapon, and lower its push range so its about 3 or less.

You'll need to munge a new .anim with the melee animation you want, renamed to human_rifle_stand_shoot_secondary_full.msh or something like that.
User avatar
bobfinkl
Rebel Colonel
Rebel Colonel
Posts: 593
Joined: Sun Jul 13, 2008 9:01 am
Projects :: Lots of unreleased stuff
Games I'm Playing :: Life
xbox live or psn: No gamertag set
Location: The quaint little city gametoast.

Re: Melee attacks

Post by bobfinkl »

Ok well I have the weapon working, but I don't know how I'm supposed to add in the animations. I know how to munge them but I don't know which parts of the animations do what, and I don't know how to get the weapon to use the animations that I would munge.
Post Reply