Announcement

Collapse
No announcement yet.

How do i change the Link Gun sound?

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

  • replied
    Ok i do that but then where do i put it? I following a tutorial by Angel Mapper thats made me do this so far: The weapon has its own folder in the UT2004 folder, its got a folder called 'classes' inside, and in side the classes folder, i got about 10 Unreal Script Files. Ill try putting the text document in there and see if it works. Ive been getting better at coding thanks to Angel Mapper Its odd, ive got my weapon to work with Worms2k4 which is like SwitchArsenal but its not showing up in SwitchArsenal. Ill try your tip.

    Leave a comment:


  • replied
    I think you'll have to make a .int file. :bulb:

    Make a new textfile and write :
    Code:
    [Public]
    Object=(Class=class,MetaClass=Engine.Mutator,Name=<MutNoStartingWeapon>.<MutNoStartingWeapon>,<Removes the SG and the AR when (re)spawning.>")
    At least when I made this my mutator showed up on the mutator list...

    Just remove the 'MutNoStartingWeapon''s and add your own stuff in.
    And 'Removes the SG and the AR when (re)spawning.' is the description for the mutator...

    If it showed up on the mut-list for me, I think it should show up on the SwitchWeapon thing too... :bulb:

    Leave a comment:


  • replied
    i managed to get it to fire the way i want but i restarted the whole gun to make some changes. I forgot what i did to get that firing sound so i couldnt get it back. ill try that. What i really wanna know is how to get my weapon to work with Switch Arsenal mutator.

    Leave a comment:


  • replied
    OK... do you mean chanhing hte sounds pitch, sounds volume or to change the whole sound to something else?

    Now I'll teach you how to change it to something else:

    Code:
    defaultproperties
    {
         LinkedFireSound=Sound'WeaponSounds.LinkGun.BLinkedFire'
         LinkedFireForce="BLinkedFire"
         ProjSpawnOffset=(X=25.000000,Y=8.000000,Z=-3.000000)
         FireLoopAnim=
         FireEndAnim=
         FireAnimRate=0.750000
         FireSound=SoundGroup'WeaponSounds*.PulseRifle**.PulseRifleFire***'
         FireForce="TranslocatorFire"
         FireRate=0.200000
         AmmoClass=Class'XWeapons.LinkAmmo'
         AmmoPerFire=2
         ShakeRotMag=(X=40.000000)
         ShakeRotRate=(X=2000.000000)
         ShakeRotTime=2.000000
         ShakeOffsetMag=(Y=1.000000)
         ShakeOffsetRate=(Y=-2000.000000)
         ShakeOffsetTime=4.000000
         ProjectileClass=Class'XWeapons.LinkProjectile'
         BotRefireRate=0.990000
         WarnTargetPct=0.100000
         FlashEmitterClass=Class'XEffects.LinkMuzFlashProj1st'
    }
    The code part that has been bolded, shows you where the sound is (this is a piece off code from 'XWeapons.LinkAltFire' (even if it says alt-fire, it looks like the prim-fire).

    Now open the Sound browser and select in example one of from the 'WeaponSounds' package (I selected 'WeaponSounds.BaseFiringSounds.BShockRifleFire').

    Then add the sounds name like this :
    Code:
    defaultproperties
    {
         LinkedFireSound=Sound'WeaponSounds.LinkGun.BLinkedFire'
         LinkedFireForce="BLinkedFire"
         ProjSpawnOffset=(X=25.000000,Y=8.000000,Z=-3.000000)
         FireLoopAnim=
         FireEndAnim=
         FireAnimRate=0.750000
         FireSound=SoundGroup'WeaponSounds*.BaseFiringSounds**.BShockRifleFire***'
         FireForce="TranslocatorFire"
         FireRate=0.200000
         AmmoClass=Class'XWeapons.LinkAmmo'
         AmmoPerFire=2
         ShakeRotMag=(X=40.000000)
         ShakeRotRate=(X=2000.000000)
         ShakeRotTime=2.000000
         ShakeOffsetMag=(Y=1.000000)
         ShakeOffsetRate=(Y=-2000.000000)
         ShakeOffsetTime=4.000000
         ProjectileClass=Class'XWeapons.LinkProjectile'
         BotRefireRate=0.990000
         WarnTargetPct=0.100000
         FlashEmitterClass=Class'XEffects.LinkMuzFlashProj1st'
    }
    (* = sound's package, ** = sound's group, *** = sound itself)

    Now compile it and try it...

    Hope this helped...

    Leave a comment:


  • replied
    I dont know how to delete my own comments so ignore this.

    Leave a comment:


  • started a topic How do i change the Link Gun sound?

    How do i change the Link Gun sound?

    When someone charges you up with a link gun and you fire it, it makes a different fire sound. I wanna make that the default fire sound. Is this possible? Please help. Edited: Ok i got the fire sound to work!!! But theres no secondary function and now i wanna know how to make it work with SwitchArsenal.
Working...
X