red leader79
19 years ago
I wanted to make a sound for generals to make the chinese gattling cannon, all gattling weapons, and the comanche's minigun (as it should actually be) i want to know how to make a sound for the miniguns revving up, like an electric whirring sound, then a loop fire for the gun. Just to be clear, i want the coding for this (with assumed names) and not how to record these sounds.
UserPostedImage
Sponsor
CommieDog
19 years ago
This should work:
AudioEvent YourGattlingWeapon
  Sounds      = revup1 revup2 ; multiple entries means that a sound will be chosen at random
  Attack      = fire1 fire2 fire3
  Decay       = revdown1 revdown2 ; enter "none" if you don't wish to have a sound for the gun as it stops firing and spinning
  PitchShift  = -5  5
  VolumeShift = -10
  Limit       = 2
  Volume      = 90
  Control     = loop all random
  Priority    = low
  Type        = world shrouded everyone
End
Then in Weapon.ini, add your new sound for the FireSound= tag and add the FireSoundLoopTime= tag, setting the value equal to that for the DelayBetweenShots= tag so that the sounds and the weapon will trigger at the same interval.
UserPostedImage 
CommieDog: Because someone has to do your dirty work for you