A few Weapon Questions...

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
theultimat
Lieutenant General
Lieutenant General
Posts: 679
Joined: Sun Apr 13, 2008 1:39 pm
Location: UK

A few Weapon Questions...

Post by theultimat »

Ok, I have two questions (well, problems) with my weapons:
1) I have attempted to change the sound on a weapon. The problem is, now when I play, there is no sound. Where do I put the .wav file?
2)I also tried to change the rifle's ***_ord file. Now, when the rifle fires, the bullets are invisible.

Also, where can I get Dann's ODF Guide for Dummies, as it would be a really big help. Thanks.

EDIT:
Oh yeah, below is the edited rifle's odf. And, if you haven't already guessed, I'm trying to make a machine gun.
Hidden/Spoiler:
[WeaponClass]
ClassParent = "com_weap_inf_rifle"
GeometryName = "rep_weap_inf_rifle.msh"

[Properties]
GeometryName = "rep_weap_inf_rifle"
HighResGeometry = "rep_1st_weap_inf_rifle"
OrdnanceName = "rep_weap_inf_chaingun_ord"
FirePointName = "hp_fire"

//******************************************************
//*************** SOUND ****************
//******************************************************

MuzzleFlash = "small_muzzle_flash"
FlashColor = "80 80 255 255"
FlashLength = 0.025
FlashColor = "100 100 255 255"
FlashLength = 0.025
FlashLightColor = "220 220 255 175"
FlashLightRadius = "2.0"
FlashLightDuration = "0.25"
Discharge = "small_smoke_effect"


FireSound = "machinegun"
ReloadSound = "com_weap_inf_reload_med"
ChangeModeSound = "com_weap_inf_equip_med"
FireEmptySound = "com_weap_inf_ammo_empty"
WeaponChangeSound = "com_weap_inf_equip_med"
JumpSound = "com_weap_inf_rifle_mvt_jump"
LandSound = "com_weap_inf_rifle_mvt_land"
RollSound = "com_weap_inf_rifle_mvt_roll"
//ProneSound = "com_weap_inf_rifle_mvt_lie"
SquatSound = "com_weap_inf_rifle_mvt_squat"
//StandSound = "com_weap_inf_rifle_mvt_getup"
User avatar
Fluffy_the_ic
Hoth Battle Chief
Hoth Battle Chief
Posts: 3223
Joined: Thu Jan 24, 2008 7:03 pm
xbox live or psn: fluffytherc
Location: she/her
Contact:

Re: A few Weapon Questions...

Post by Fluffy_the_ic »

I always thought it had to say .wav for sound and .ord dor ordnance...
theultimat
Lieutenant General
Lieutenant General
Posts: 679
Joined: Sun Apr 13, 2008 1:39 pm
Location: UK

Re: A few Weapon Questions...

Post by theultimat »

The original odf file didn't have that in. :|
User avatar
Teancum
Jedi Admin
Jedi Admin
Posts: 11080
Joined: Wed Sep 07, 2005 11:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set
Location: Indiana

Re: A few Weapon Questions...

Post by Teancum »

You have to build a custom sound side for custom weapon sounds. Check the FAQ thread for info on how to.
theultimat
Lieutenant General
Lieutenant General
Posts: 679
Joined: Sun Apr 13, 2008 1:39 pm
Location: UK

Re: A few Weapon Questions...

Post by theultimat »

I tried to follow that, but I got confused :cry: . Could someone please write it here? Thanks.
User avatar
Teancum
Jedi Admin
Jedi Admin
Posts: 11080
Joined: Wed Sep 07, 2005 11:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set
Location: Indiana

Re: A few Weapon Questions...

Post by Teancum »

Where exactly did you get confused? (so we know where to explain things)
theultimat
Lieutenant General
Lieutenant General
Posts: 679
Joined: Sun Apr 13, 2008 1:39 pm
Location: UK

Re: A few Weapon Questions...

Post by theultimat »

He said there was a MODIDgcw.req. I couldn't find that anywhere.
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: A few Weapon Questions...

Post by Caleb1117 »

Maybe search Data_ABC for ABCgcw.req?
Post Reply