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
impspy
Captain
Posts: 493 Joined: Wed Dec 31, 2008 1:54 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Pax Empiricae; check WIP
Post
by impspy » Mon Aug 10, 2009 11:14 am
I cannot get the froce pike for my Royal Guard to show up ingame.
Forcepike ODF:
Code: Select all
[WeaponClass]
ClassLabel = "melee"
ClassParent = "com_weap_inf_lightsaber"
[Properties]
HitEffect = "com_sfx_sabrehit"
GeometryName = "imp_force_pike"
ComboAnimationBank = "human_sabre melee imp_inf_royalguard"
NumDamageEdges = "3"
FirePointName = "hp_fire1"
LightSaberLength = "1.0"
LightSaberWidth = "0.02"
LightSaberTexture = "pikelightsabre"
LightSaberTrailColor = "0 0 0 0"
AttachedFirePoint = "bone_l_calf 1.0 0.0 0.0 0.35 0.0 0.0"
DamageEdgeLength = "0.5"
DamageEdgeWidth = "0.1"unit ODF:
The msh and teh tga files are in the MSH folder.
Fiodis
Master of the Force
Posts: 4145 Joined: Wed Nov 12, 2008 9:27 pm
Projects :: Rannoch + Tientia + Tools Programming
Post
by Fiodis » Mon Aug 10, 2009 11:26 am
Does it crash? Error log messages?
impspy
Captain
Posts: 493 Joined: Wed Dec 31, 2008 1:54 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Pax Empiricae; check WIP
Post
by impspy » Mon Aug 10, 2009 12:05 pm
There is no crash; the game starts fine and you can play as him, except the weapon msh doesn't appear. ( the attack moves and damage are there though.)
and here is the error log
http://www.filefront.com/14246005/BFront2.log
(sorry it's really big...)
Fiodis
Master of the Force
Posts: 4145 Joined: Wed Nov 12, 2008 9:27 pm
Projects :: Rannoch + Tientia + Tools Programming
Post
by Fiodis » Mon Aug 10, 2009 12:12 pm
You could post it in Hide tags.
Comes out as
And though it's probably unrelated, you may want to take care of
Code: Select all
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\WeaponCannon.cpp(1272)
Weapon "all_weap_FC-1_Flechette_Launche" missing secondary ordnance "0"
And here is the one that gives you trouble:
Code: Select all
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\Weapon.cpp(2044)
Weapon "imp_weap_Force_Pike" missing geometry "imp_force_pike"
I had something similar a while back, and that was because the name of my mesh started with a number. Check to make sure the name of your mesh is referenced correctly and does not start with a number.
impspy
Captain
Posts: 493 Joined: Wed Dec 31, 2008 1:54 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Pax Empiricae; check WIP
Post
by impspy » Mon Aug 10, 2009 12:34 pm
thanks Fiodis! it's fixed