Page 1 of 1

A few Weapon Questions...

Posted: Fri Jul 11, 2008 1:21 pm
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"

Re: A few Weapon Questions...

Posted: Fri Jul 11, 2008 1:49 pm
by Fluffy_the_ic
I always thought it had to say .wav for sound and .ord dor ordnance...

Re: A few Weapon Questions...

Posted: Fri Jul 11, 2008 2:23 pm
by theultimat
The original odf file didn't have that in. :|

Re: A few Weapon Questions...

Posted: Fri Jul 11, 2008 2:32 pm
by Teancum
You have to build a custom sound side for custom weapon sounds. Check the FAQ thread for info on how to.

Re: A few Weapon Questions...

Posted: Sat Jul 12, 2008 7:05 am
by theultimat
I tried to follow that, but I got confused :cry: . Could someone please write it here? Thanks.

Re: A few Weapon Questions...

Posted: Sat Jul 12, 2008 8:49 am
by Teancum
Where exactly did you get confused? (so we know where to explain things)

Re: A few Weapon Questions...

Posted: Sat Jul 12, 2008 9:03 am
by theultimat
He said there was a MODIDgcw.req. I couldn't find that anywhere.

Re: A few Weapon Questions...

Posted: Sun Jul 13, 2008 10:19 am
by Caleb1117
Maybe search Data_ABC for ABCgcw.req?