Vibro sword

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
jojo3450
Rebel Warrant Officer
Rebel Warrant Officer
Posts: 317
Joined: Fri Jul 18, 2014 12:29 am
Projects :: No Mod project currently.
Games I'm Playing :: starwarsBattlefront2
xbox live or psn: No gamertag set

Vibro sword

Post 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]
Indytotof
Chief Warrant Officer
Chief Warrant Officer
Posts: 348
Joined: Fri Jun 06, 2014 6:58 am
Projects :: SWBF2 Sides Overhaul Mod
Games I'm Playing :: Battlefront 2
xbox live or psn: No gamertag set
Location: Senlis, France

Re: Vibro sword

Post 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.
jojo3450
Rebel Warrant Officer
Rebel Warrant Officer
Posts: 317
Joined: Fri Jul 18, 2014 12:29 am
Projects :: No Mod project currently.
Games I'm Playing :: starwarsBattlefront2
xbox live or psn: No gamertag set

Re: Vibro sword

Post 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
hunpeter12
Command Sergeant Major
Command Sergeant Major
Posts: 260
Joined: Mon Apr 18, 2011 2:53 pm
Projects :: Underground City The Complex [WIP]
Games I'm Playing :: SWBF2

Re: Vibro sword

Post 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.
jojo3450
Rebel Warrant Officer
Rebel Warrant Officer
Posts: 317
Joined: Fri Jul 18, 2014 12:29 am
Projects :: No Mod project currently.
Games I'm Playing :: starwarsBattlefront2
xbox live or psn: No gamertag set

Re: Vibro sword

Post by jojo3450 »

can some try it quick to see what I am doing wrong thanks :bowdown:
User avatar
Kingpin
Jedi
Jedi
Posts: 1096
Joined: Fri Sep 13, 2013 7:09 pm
Projects :: The Sith Wars II
Location: Denver, CO
Contact:

Re: Vibro sword

Post 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.
jojo3450
Rebel Warrant Officer
Rebel Warrant Officer
Posts: 317
Joined: Fri Jul 18, 2014 12:29 am
Projects :: No Mod project currently.
Games I'm Playing :: starwarsBattlefront2
xbox live or psn: No gamertag set

Re: Vibro sword

Post by jojo3450 »

thanks that was the problem :bowdown:
Post Reply