Making my pickaxe WORK.

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
Par3210
Jedi
Jedi
Posts: 1033
Joined: Sun Jun 14, 2009 10:31 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Owning people in SWBF2
Contact:

Making my pickaxe WORK.

Post 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
Xavious
Sith Master
Sith Master
Posts: 2783
Joined: Mon Jun 12, 2006 3:46 pm

Re: Making my pickaxe WORK.

Post by Xavious »

Is it not showing up, or is ir causing a crash, or what? You never defined exactly what your problem was.
User avatar
Par3210
Jedi
Jedi
Posts: 1033
Joined: Sun Jun 14, 2009 10:31 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Owning people in SWBF2
Contact:

Re: Making my pickaxe WORK.

Post 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!
Xavious
Sith Master
Sith Master
Posts: 2783
Joined: Mon Jun 12, 2006 3:46 pm

Re: Making my pickaxe WORK.

Post 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.
User avatar
Par3210
Jedi
Jedi
Posts: 1033
Joined: Sun Jun 14, 2009 10:31 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Owning people in SWBF2
Contact:

Re: Making my pickaxe WORK.

Post 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
RogueKnight
Space Ranger
Posts: 2512
Joined: Sat Nov 22, 2008 1:50 pm
Projects :: Life. Work.
Games I'm Playing :: League of Legends
xbox live or psn: No gamertag set
Location: Washington, US

Re: Making my pickaxe WORK.

Post 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.
User avatar
Par3210
Jedi
Jedi
Posts: 1033
Joined: Sun Jun 14, 2009 10:31 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Owning people in SWBF2
Contact:

Re: Making my pickaxe WORK.

Post by Par3210 »

okay, thanks
Post Reply