Hardpoint blades have no texture :(

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
OGEB1103

Hardpoint blades have no texture :(

Post by OGEB1103 »

I'm trying to make some blades that come off the bones but i'm not sure how to get the textures to show on them (lightsaber) :(
This is the weapon odf for now(i'm gonna change somethings once i get this to work)

Code: Select all

[WeaponClass]

ClassLabel      = "melee"
ClassParent		= "com_weap_inf_lightsaber"

[Properties]

ExplosionName = "imp_weap_hero_sidious_exp"

ComboAnimationBank  = "human_sabre melee rep_hero_aalya"

NumDamageEdges = "2"

AttachedFirePoint	= "bone_l_calf 0.0 0.0 0.0 0.0 0.0 0.0"
DamageEdgeLength	= "0.5"
DamageEdgeWidth		= "0.1"
DamageEdgeTexture       = "bluelightsabre"

AttachedFirePoint	= "bone_r_calf 0.0 0.0 0.0 0.0 0.0 0.0"
DamageEdgeLength	= "0.5"
DamageEdgeWidth		= "0.1"
DamageEdgeTexture       = "bluelightsabre"
Someone plz help, preferably a dev![/code]
User avatar
Teancum
Jedi Admin
Jedi Admin
Posts: 11080
Joined: Wed Sep 07, 2005 11:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set
Location: Indiana

RE: Hardpoint blades have no texture :(

Post by Teancum »

If it's a new side you need to copy bluelightsabre.tga to your side.
OGEB1103

RE: Hardpoint blades have no texture :(

Post by OGEB1103 »

No it is just a modified rep side, when i give her normal sabers they show up but not these?
OGEB1103

RE: Hardpoint blades have no texture :(

Post by OGEB1103 »

Can anybody help me!!!!!!
Note: was supposed to put forearm not calf cos i want these to come off the arms.
PAN-Fnord

RE: Hardpoint blades have no texture :(

Post by PAN-Fnord »

Everything you do for those blades should be the same as a normal blade except the FirePoint - Glow texture, lightsabre texture, etc. (Isn't it LightsabreTexture or something instead of DamageEdgeTexture?) If you take a normal blade that you have seen work and just change the one line to turn it into an AttachedFirePoint blade, it should still work. If that is not the case, then yeah, attached firepoints don't display.

A bit of history - Maul was one of the first Jedi created, which is why he has AttachedFirePoint. Every Jedi (and Wampa etc) after that had custom invisible geometry for the lightsabre created, which turned out to work a lot better. :^) So if AFP doesn't have a texture, it's because it was never used except in that case.

Mike Z
OGEB1103

RE: Hardpoint blades have no texture :(

Post by OGEB1103 »

ok thanks ill try that
Post Reply