Announcement

Collapse
No announcement yet.

weapon sounds

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • replied
    I think MakeNoise just alerts nearby bots. They don't actually "hear" the sounds players hear, so they need to be "told" when something goes boom.

    Leave a comment:


  • replied
    i just found this line in some code, went back and found it in the shock rifle.

    Code:
    Instigator.MakeNoise(1.0);
    maybe that has something to do with it, the minigun as far as i know doesn't use that. any thoughts?

    Leave a comment:


  • replied
    Originally posted by Xyx
    Try:
    Code:
        firingsound=WeaponSounds.ShockRifle.WhateverItsNamed
    None of that 'Sound' or 'SoundGroup' typecasting.
    no worky

    should i be playing the winding sound? i wouldn't think that would matter tho.

    Leave a comment:


  • replied
    It sounds weird, but maybe the sound effect is called natively for the minigun. It works ok for a weapon based off of the Assault Rifle.

    There are a set of functions in minigunfire which I'm not sure what they are for.

    function PlayPreFire() {}
    function PlayStartHold() {}
    function PlayFiring() {}
    function PlayFireEnd() {}
    function StartFiring();
    function StopFiring();

    Leave a comment:


  • replied
    Try:
    Code:
        firingsound=WeaponSounds.ShockRifle.WhateverItsNamed
    None of that 'Sound' or 'SoundGroup' typecasting.

    Leave a comment:


  • replied
    tried it have i, worked it has not.

    Leave a comment:


  • replied
    Have you tried:

    Code:
    FiringSound=SoundGroup'WeaponSounds.ShockRifle.ShockRifleFire'
    From what I can see, the shockrifle fire uses a procedural sound within a soundgroup whilst the minigun uses a regular sound file (not in a group).

    Leave a comment:


  • replied
    than why don't they work when i use the other sound file? I mean it's pretty cool that it's a silent weapon but that's not what i want. :P

    Leave a comment:


  • replied
    Re: weapon sounds

    For all I know, the part after the '=' is interchangeable.

    Leave a comment:


  • started a topic weapon sounds

    weapon sounds

    how do i play other weapon's sounds in other weapons.

    i'm trying to play the shock rifle's sound in the minigun but the minigun fire uses:

    firingsound=sound'whatevertheheckthe.soundfileis';

    and the shockrifle fire uses

    firesound=soundgroup'whatevertheheckit.is'

    how do i interchange these i've tried just using the other directory and it doesn't work.?
Working...
X