Page 1 of 1

Vibro sword

Posted: Sun Sep 21, 2014 12:13 pm
by jojo3450
So I wanted to give a Wookie a sword and it crashes here is the error log. thanks for the help :bowdown:
here is the link http://www.gametoast.com/viewtopic.php?f=64&t=7219
Hidden/Spoiler:
[code]Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\Weapon.cpp(2044)
Weapon "weap_inf_vibrosword" missing geometry "all_weap_inf_vibroblade"

Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\WeaponMelee.cpp(3191)
WeaponMelee "weap_inf_vibrosword" invalid combo definition file ""

Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\WeaponMelee.cpp(3196)
WeaponMelee[weap_inf_vibrosword]::ComboAnimationBank invalid params "rep_hero_ep3obiwan"[/code]

Re: Vibro sword

Posted: Sun Sep 21, 2014 12:44 pm
by Indytotof
jojo3450 wrote:So I wanted to give a Wookie a sword and it crashes here is the error log. thanks for the help :bowdown:
here is the link http://www.gametoast.com/viewtopic.php?f=64&t=7219
Hidden/Spoiler:
[code]Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\Weapon.cpp(2044)
Weapon "weap_inf_vibrosword" missing geometry "all_weap_inf_vibroblade"

Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\WeaponMelee.cpp(3191)
WeaponMelee "weap_inf_vibrosword" invalid combo definition file ""

Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\WeaponMelee.cpp(3196)
WeaponMelee[weap_inf_vibrosword]::ComboAnimationBank invalid params "rep_hero_ep3obiwan"[/code]
You need to add the "all_weap_inf_vibroblade.msh" in the msh folder and add this "human_sabre melee rep_hero_aalya" (this is an exemple) in the .odf file of your weapon and add "AnimationName : whateveranimationyouwant" to the .odf of your unit and find all you need in the stock "animation" folder and whatever "munged" folder.

Re: Vibro sword

Posted: Sun Sep 21, 2014 1:28 pm
by jojo3450
I did do all that before and munged but didnt work here is my odf
Hidden/Spoiler:
[code][WeaponClass]

ClassLabel = "melee"
GeometryName = "all_weap_vibroblade.msh"
[Properties]

GeometryName = "all_weap_inf_vibroblade"
ComboAnimationBank = "rep_hero_ep3obiwan"
// ^put your .combo file //here

DeflectEffect = "com_sfx_sabredeflect"
DeflectSound = "imp_weap_lightsabre_deflect"

FirePointName = "hp_fire"
LightSaberLength = "1.0"
LightSaberWidth = "0.08"
//LightSaberTexture = "lightshadowsabre"
//LightSaberTrailColor = "240 250 45 128"

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 = "imp_weap_lightsabre_hit"
OnSound = "com_inf_saber_ambient"
TurnOnSound = "com_inf_saber_on"
TurnOffSound = "com_inf_saber_off"

MuzzleFlash = "med_muzzle_flash"
Discharge = "med_smoke_effect"

AutoTurnScreenDist = 0.05
AutoPitchScreenDist = 0.2

ShieldScale = "5.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 = "1"
TargetDroid = "1"
TargetVehicle = "0"
TargetBuilding = "0" [/code]
I put the rep_hero_ep3obiwan.combo in the odf section
and in the munged I put all the obi wan stuff what am I missing thanks for the help

Re: Vibro sword

Posted: Sun Sep 21, 2014 1:40 pm
by hunpeter12
So you have the vibrosword msh in the msh folder of your side? Hm, I don't see what's wrong.
Try doing a manual clean then remunge.

Re: Vibro sword

Posted: Sun Sep 21, 2014 2:13 pm
by jojo3450
can some try it quick to see what I am doing wrong thanks :bowdown:

Re: Vibro sword

Posted: Sun Sep 21, 2014 2:27 pm
by Kingpin
jojo3450 wrote:
Hidden/Spoiler:
[code][WeaponClass]

ClassLabel = "melee"
GeometryName = "all_weap_vibroblade.msh"
[Properties]

GeometryName = "all_weap_inf_vibroblade"
That is your problem. One instance is "all_weap_vibroblade.msh", and the other is "all_weap_inf_vibroblade". They should be "example.msh" and "example". Those do not match.

Re: Vibro sword

Posted: Sun Sep 21, 2014 2:46 pm
by jojo3450
thanks that was the problem :bowdown: