Page 1 of 1

Phase one darktrooper no melee damage

Posted: Sun Feb 13, 2011 3:00 pm
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.

Re: Phase one darktrooper no melee damage

Posted: Sun Feb 13, 2011 3:40 pm
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.

Re: Phase one darktrooper no melee damage

Posted: Sun Feb 13, 2011 3:48 pm
by skelltor
Ok so your saying to change the NumDamageEdges to 1?

Re: Phase one darktrooper no melee damage

Posted: Sun Feb 13, 2011 3:51 pm
by DarthD.U.C.K.
yes, or add another blade :P

Re: Phase one darktrooper no melee damage

Posted: Mon Feb 14, 2011 9:37 am
by skelltor
Ok thx munging now *crosses fingers*

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