Page 1 of 1

Making my pickaxe WORK.

Posted: Thu Aug 27, 2009 7:52 am
by Par3210
Hi! I recently got a pickaxe tga and msh from the kind DarthRogueKnight who will be credited (thanks dude! :mrgreen: ) and now I am stuck trying to make whoever wields the pickaxe uses the pickaxe with luke's moves. How do I do this? Here are my odfs just incase I've done the odfs wrong, that might be another thing to fix...
pickaxe_weap_lightsaber odf..
Hidden/Spoiler:
[WeaponClass]

ClassLabel = "melee"
ClassParent = "com_weap_inf_lightsaber"

[Properties]

GeometryName = "pickaxe"
ComboAnimationBank = "human_sabre melee all_hero_luke_jedi"

FirePointName = "hp_fire"
LightSaberLength = "1.0"
LightSaberWidth = "0.08"
LightSaberTexture = ""
LightSaberTrailColor = ""
com_weap_inf_lightsaber odf, also in the same folder as my pickaxe msh, tga and the above 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" // hooya
AddHitEffect = "com_sfx_zap"
AddHitEffect = "com_sfx_blammo"
AddHitEffect = "com_sfx_pow"

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

MuzzleFlash = "med_muzzle_flash"
Discharge = "med_smoke_effect"

AutoTurnScreenDist = 0.05
AutoPitchScreenDist = 0.2

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

TargetPerson = "1"
TargetAnimal = "0"
TargetDroid = "1"
TargetVehicle = "1"
TargetBuilding = "1"
How would I make it work? THANKS A BUNCH!! :D

Re: Making my pickaxe WORK.

Posted: Thu Aug 27, 2009 9:07 am
by Xavious
Is it not showing up, or is ir causing a crash, or what? You never defined exactly what your problem was.

Re: Making my pickaxe WORK.

Posted: Thu Aug 27, 2009 9:14 am
by Par3210
It mentioned in my BF2 log about this:
Hidden/Spoiler:
Message Severity: 2
C:\Battlefront2\main\Battlefront2\Source\Weapon.cpp(2119)
Weapon "pickaxe" missing fire point "hp_fire"

Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\WeaponMelee.cpp(3232)
WeaponMelee: 'pickaxe' FirePoint 'hp_fire' does not exist!

Re: Making my pickaxe WORK.

Posted: Thu Aug 27, 2009 9:19 am
by Xavious
Ask the creator of the model what the fire point name is for the weapon, and replace hp_fire with whatever it really is.

Re: Making my pickaxe WORK.

Posted: Thu Aug 27, 2009 9:20 am
by Par3210
Okay! Thanks! ...
Xavious you've been so much help to me! Thank you ever so much! :thumbs:
Ingame, the author hasn't replied yet...
Hidden/Spoiler:
Image

Re: Making my pickaxe WORK.

Posted: Thu Aug 27, 2009 11:38 am
by RogueKnight
Hm..... this is awkward, because the firepoint appears to be correctly set up in MS3D....

EDIT: *sigh*.... MS3D fails... I sent the model off to Kinetos so he can replace the meshes with actual hardpoints, so make sure you credit him too in the final releases.

Re: Making my pickaxe WORK.

Posted: Thu Aug 27, 2009 11:52 am
by Par3210
okay, thanks