Page 1 of 1

lance doesn't show up ingame

Posted: Thu Aug 06, 2009 2:17 pm
by Executer94
I add the msh of a lance from the BF1 asset to a melee weapon and the soldiers only move the hands without the weapon

here is my odf:
Hidden/Spoiler:
[WeaponClass]

ClassLabel = "melee"
ClassParent = "com_weap_inf_lightsaber"

[Properties]

GeometryName = "gam_weap_inf_weequayaxe"
ComboAnimationBank = "human_sabre melee cis_hero_darthmaul"


NumDamageEdges = "3"
FirePointName = "hp_fire1"
LightSaberLength = "1.0"
LightSaberWidth = "0.8"

FirePointName = "hp_fire2"
LightSaberLength = "1.0"
LightSaberWidth = "0.08"

AttachedFirePoint = "bone_l_calf 1.0 0.0 0.0 0.35 0.0 0.0"
DamageEdgeLength = "0.5"
DamageEdgeWidth = "0.1"



MinRange = "0"
OptimalRange = "3.5"
MaxRange = "5"

HitSound = "com_weap_inf_grenade_bounce"

OnSound = "overrideparentsound"
TurnOnSound = "overrideparentsound"
TurnOffSound = "overrideparentsound"

Re: lance doesn't show up ingame

Posted: Thu Aug 06, 2009 2:20 pm
by AQT
Is the weapon msh even in your side's MSH folder?

Re: lance doesn't show up ingame

Posted: Thu Aug 06, 2009 2:21 pm
by Executer94
yes of course

EDIT: that is the option msh data:

-nocollision -nogamemodel



maybe i've just to remove the last one

Re: lance doesn't show up ingame

Posted: Thu Aug 06, 2009 2:29 pm
by AQT
That would make sense. Try it out. I just had a look at the GAM side from the BF1 assets and there is no msh called "gam_weap_inf_weequayaxe" but there is a "gam_1st_weap_inf_weequayaxe." Did you rename it?

Re: lance doesn't show up ingame

Posted: Thu Aug 06, 2009 2:43 pm
by Executer94
yes i did

Re: lance doesn't show up ingame

Posted: Thu Aug 06, 2009 2:46 pm
by AQT
Okay... so did removing the -nogamemodel line from the msh.option file solve the problem or what?

Re: lance doesn't show up ingame

Posted: Thu Aug 06, 2009 2:50 pm
by Executer94
no

I've tested it a few secounds ago.
No change