Vibroblade Problem

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
Alpha

Vibroblade Problem

Post by Alpha »

This is the ODF for the Vibroblade I'm using (Vibroblade.msh):

Code: Select all

[WeaponClass]

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

GeometryName = "Vibroblade"
ComboAnimationBank = "kiadimundi"

//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" 
The ODF is titled: jed_weap_sithsaber.odf

And this is the ODF for the trooper using it (jed_sith_01.odf):

Code: Select all

[GameObjectClass]
ClassParent         = "rep_inf_default"
GeometryName            = "jed_inf_sith.msh"

[Properties]

GeometryName        = "jed_inf_sith"
GeometryLowRes      = "jed_inf_sith_low1"
OverrideTexture     = "jed_inf_sith01"
AnimationName		= "kiadimundi"


MaxHealth           = 1300.0

WEAPONSECTION = 1
WeaponName         = "jed_weap_sithsaber"
WeaponAmmo         = 4

WEAPONSECTION = 2
WeaponName         = "rep_weap_inf_thermaldetonator"
WeaponAmmo         = 4
WeaponChannel      = 1

VOUnitType        	= 121
What is wrong? I know the Vibroblade is causing the crash, but why?
Darth_Z13
Jedi High Council
Jedi High Council
Posts: 2275
Joined: Sat Jun 17, 2006 9:51 am
xbox live or psn: Xanthius Wylon
Location: Canada

RE: Vibroblade Problem

Post by Darth_Z13 »

Maybe because the saber has it's ammo set to 4? :)
MasterSaitek009
Black Sun Slicer
Posts: 619
Joined: Wed Aug 23, 2006 4:10 pm

RE: Vibroblade Problem

Post by MasterSaitek009 »

Change this line:

Code: Select all

ComboAnimationBank = "kiadimundi"

To this line:

Code: Select all

ComboAnimationBank  = "human_sabre melee rep_hero_kiyadi"

Then make sure you have the "rep_hero_kiyadi.combo" file in you odf folder.

As far as ammo goes I have found it doesn't really matter what you have it set for with lightsabers. :wink:
Alpha

RE: Vibroblade Problem

Post by Alpha »

"rep_hero_kiyadi.combo"

Where can I find this file in the assets?


EDIT: Nevermind, duh.

EDIT2: How do I remove the *vroom* sound when the unit swings the vibroblade?
MasterSaitek009
Black Sun Slicer
Posts: 619
Joined: Wed Aug 23, 2006 4:10 pm

RE: Vibroblade Problem

Post by MasterSaitek009 »

I also can't figure that out. I've tried making those sound spaces blank and various other things that I thought would work, but...... the sound is still there. :(
Alpha

RE: Vibroblade Problem

Post by Alpha »

Hmm...another problem, I've been working with a secondary weapon, but I can't find why it's crashing...because I don't have the debug modtools exe file any more. Could someone send it to me?
Caleb1117
2008 Most Original Avatar
Posts: 3096
Joined: Sun Aug 20, 2006 5:55 pm
Projects :: No Mod project currently.
xbox live or psn: No gamertag set
Location: X-Fire: caleb1117 ಠ_ಠ

RE: Vibroblade Problem

Post by Caleb1117 »

To remove the sound, I think you delete the sound line of the sound you want gone.
It worked for me.
The_Emperor
Supreme Galactic Ruler
Posts: 2118
Joined: Sat Dec 10, 2005 6:30 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Waaaaay over there.

RE: Vibroblade Problem

Post by The_Emperor »

I'm posting this twice now, but the swing sounds are in the COMBO files. Open them with wordpad, search for sound, and replace/delete what's behind it. repeat that untill you've had all sounds.
Alpha

RE: Vibroblade Problem

Post by Alpha »

Thanks, guys. I'll try that, but I still need another bf2_modtools.exe.
Post Reply