Dark Trooper

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
Kingpin
Jedi
Jedi
Posts: 1096
Joined: Fri Sep 13, 2013 7:09 pm
Projects :: The Sith Wars II
Location: Denver, CO
Contact:

Dark Trooper

Post by Kingpin »

I am using Icemember's Dark Trooper Phase 1, and would like it to have a melee attack. However, I don't know how to get the range as if it were its built-in sword. Any ideas?
MileHighGuy
Jedi
Jedi
Posts: 1194
Joined: Fri Dec 19, 2008 7:58 pm

Re: Dark Trooper

Post by MileHighGuy »

If you're using a .combo weapon the relevant lines are:

Code: Select all

        DamageLength(0.8);
        DamageWidth(0.1);
damagelength is the length of the edge coming from the melee weapon's hp_fire hardpoint.

damagewidth is the width of a sphere coming from the end of the damagelength edge.

They are defined for each attack so you'll have to change them all.
Post Reply