Phase one darktrooper no melee damage

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
skelltor
Sith
Sith
Posts: 1431
Joined: Fri Dec 11, 2009 6:24 pm
Projects :: BFSM
Games I'm Playing :: SWBFII
xbox live or psn: skelltor95
Location: minisnowta
Contact:

Phase one darktrooper no melee damage

Post by skelltor »

Ok so in bfsm I am using the phase 1 darktrooper but it causes no damage with its wrist blade. I don't know what to do other melee units on the same map work fine and he used to work I made a quick change to his weapon odf and now it doesn't work. Unfortinatly I didn't make a back up of his weapon. Can anyone please help me?

Here is his weapon odf
Hidden/Spoiler:
[WeaponClass]

ClassLabel = "melee"
ClassParent = "com_weap_inf_vibroblade"

[Properties]

GeometryName = "cis_weap_inf_sbdroidmuzzle"
ComboAnimationBank = "human_sabre melee all_hero_luke_jedi"

NumDamageEdges = "2"

OffhandFirePointName = "hp_fire1 bone_r_forearm"
LightSaberLength = "0.0"
LightSaberWidth = "0.0"
LightSaberTexture = "clear"
LightSaberTrailColor = "clear"

HitSound = "imp_weap_lightsabre_hit"
DeflectEffect = "com_sfx_sabredeflect"
DeflectSound = "imp_weap_lightsabre_deflect"
OnSound = "nosound"
TurnOnSound = "nosound"
TurnOffSound = "nosound"
weapon parent odf
Hidden/Spoiler:
[WeaponClass]

ClassLabel = "melee"

[Properties]
HUDTag = "hud_lightsaber"
RoundsPerClip = "0"
ReloadTime = "0.0"

LockOnRange = "60.0"
LockTime = "0.4"
AutoAimSize = "1.0"

MinRange = "0"
OptimalRange = "2.0"
MaxRange = "4"

HitEffect = "com_sfx_sabrehit"
AddHitEffect = "com_sfx_bif"
AddHitEffect = "com_sfx_zap"
AddHitEffect = "com_sfx_blammo"
AddHitEffect = "com_sfx_pow"

HitSound = "vibro_crash"
DeflectEffect = ""
DeflectSound = ""
OnSound = ""
TurnOnSound = ""
TurnOffSound = ""

MuzzleFlash = "med_muzzle_flash"
Discharge = "med_smoke_effect"

AutoTurnScreenDist = 0.05
AutoPitchScreenDist = 0.2

ShieldScale = "0.5"
HealthScale = "1.0"
PersonScale = "1.0"
AnimalScale = "1.0"
DroidScale = "1.0"
ArmorScale = "0.8"
VehicleScale = "0.5"
BuildingScale = "0.5"

TargetPerson = "1"
TargetAnimal = "1"
TargetDroid = "1"
TargetVehicle = "0"
TargetBuilding = "0"
If there are anyother files that would help please let me know BTW it uses icemembers model.
User avatar
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

Re: Phase one darktrooper no melee damage

Post by DarthD.U.C.K. »

maybe the problem is that you told the odf the weapon has two damageedges but only specified one. every edge(=blade) needs a firepoint and information about the lenght width, texture and color.
User avatar
skelltor
Sith
Sith
Posts: 1431
Joined: Fri Dec 11, 2009 6:24 pm
Projects :: BFSM
Games I'm Playing :: SWBFII
xbox live or psn: skelltor95
Location: minisnowta
Contact:

Re: Phase one darktrooper no melee damage

Post by skelltor »

Ok so your saying to change the NumDamageEdges to 1?
User avatar
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

Re: Phase one darktrooper no melee damage

Post by DarthD.U.C.K. »

yes, or add another blade :P
User avatar
skelltor
Sith
Sith
Posts: 1431
Joined: Fri Dec 11, 2009 6:24 pm
Projects :: BFSM
Games I'm Playing :: SWBFII
xbox live or psn: skelltor95
Location: minisnowta
Contact:

Re: Phase one darktrooper no melee damage

Post by skelltor »

Ok thx munging now *crosses fingers*

EDIT it doesn't work :(
here is my error log
http://textbin.com/5r187
Post Reply