Major Joined: 2/28/2017(UTC) Posts: 410 Location: Bangkok Thanks: 63 times Was thanked: 145 time(s) in 127 post(s)
|
I tried to add the plasma gun sound. I have named it plasmagun.wav and placed it in Data/Audio/Sounds/plasmagun.wav
Then I am adding code in SoundEffect.ini as below AudioEvent PlasmaWeapon Sounds = plasma Control= random Priority = normal PitchShift = -2 2 VolumeShift= -15 Limit = 3 Volume = 60 ; MinRange = 200 ; MaxRange = 800 Type = world shrouded everyone End
And I am using this sound for my ranger firesound. Once I am running the game my ranger gun sound now turned completely mute. Did I do something wrong?
;------------------------------------------------------------------------------ Weapon RangerPlasmaRifle PrimaryDamage = 55.0 PrimaryDamageRadius = 2.5 ScatterRadius = 5.0 AttackRange = 120.0 DamageType = PARTICLE_BEAM DeathType = BURNED WeaponSpeed = 999999.0 ; dist/sec DelayBetweenShots = 1200 ; time between shots, msec ClipSize = 0 ; how many shots in a Clip (0 == infinite) ClipReloadTime = 0 ; how long to reload a Clip, msec ;AcceptableAimDelta = 700 ; Don't need to turn at all. AntiSmallMissile = Yes AntiProjectile = Yes ProjectileObject = NONE FireFX = WeaponFX_PlasmaGunFireWithRedTracers FireSound = PlasmaWeapon RadiusDamageAffects = ENEMIES NEUTRALS ALLIES AntiAirborneVehicle = No AntiAirborneInfantry = No AntiGround = Yes End
|
|
|
|
General Joined: 4/10/2014(UTC) Posts: 1,591 Location: Laniakea; Virgo Supercluster; Local Sheet; Local Group; Milky Way Galaxy; Orion–Cygnus Arm; Gould Belt; Local Bubble; Local Interstellar Cloud; Sol System; Sol III; Europe; United Kingdom of Great Britain and Northen Ireland; Great Britain; England; Essex Thanks: 16 times Was thanked: 247 time(s) in 217 post(s)
|
you called the file 'plasmagun' but your audioevent references 'plasma'. |
|
1 user thanked klingondragon for this useful post.
|
|
|
Major Joined: 2/28/2017(UTC) Posts: 410 Location: Bangkok Thanks: 63 times Was thanked: 145 time(s) in 127 post(s)
|
Originally Posted by: Klingondragon you called the file 'plasmagun' but your audioevent references 'plasma'. Thanks but I changed it and name of the file and name in the ini now matched. Sounds still not play in the game :(
|
|
|
|
General Joined: 3/8/2016(UTC) Posts: 1,156 Thanks: 312 times Was thanked: 185 time(s) in 149 post(s)
|
I Already do this at my Counter-Strike Fx Mod where are Sounds Used in Firing where Added ...i Cant find Any error's to your codes since we do the same thing try to made another test where uses another soundFXCode:AudioEvent AwpWeapon
Sounds = awp1
Control = interrupt random
PitchShift = -5 5
VolumeShift = -10
Limit = 3
Volume = 60
Priority = high
Type = world shrouded everyone
End
AudioEvent RealAK47
Sounds = ak47-1 ak47-2
Control= random interrupt
Priority = normal
VolumeShift= -15
PitchShift = -10 10
Limit= 2
Volume=60
Type = world shrouded everyone
End
AudioEvent M4a1Weapon
Sounds = m4a1_unsil-1 m4a1_unsil-2 m4a1_unsil-1
Control= random
Priority = normal
PitchShift = -1 1
VolumeShift= -15
Limit = 3
Volume = 60
Type = world shrouded everyone
End
;In Weapon.INI:
FireSound = M4a1Weapon
Edited by user Friday, March 17, 2017 3:51:02 PM(UTC)
| Reason: Not specified |
|
1 user thanked AdrianeMapMaker for this useful post.
|
|
|
Major Joined: 2/28/2017(UTC) Posts: 410 Location: Bangkok Thanks: 63 times Was thanked: 145 time(s) in 127 post(s)
|
Originally Posted by: adrianemapmaker I Already do this at my Counter-Strike Fx Mod where are Sounds Used in Firing where Added ...i Cant find Any error's to your codes since we do the same thing try to made another test where uses another soundFXCode:AudioEvent AwpWeapon
Sounds = awp1
Control = interrupt random
PitchShift = -5 5
VolumeShift = -10
Limit = 3
Volume = 60
Priority = high
Type = world shrouded everyone
End
AudioEvent RealAK47
Sounds = ak47-1 ak47-2
Control= random interrupt
Priority = normal
VolumeShift= -15
PitchShift = -10 10
Limit= 2
Volume=60
Type = world shrouded everyone
End
AudioEvent M4a1Weapon
Sounds = m4a1_unsil-1 m4a1_unsil-2 m4a1_unsil-1
Control= random
Priority = normal
PitchShift = -1 1
VolumeShift= -15
Limit = 3
Volume = 60
Type = world shrouded everyone
End
;In Weapon.INI:
FireSound = M4a1Weapon
Sound file sound be .wav and must be in the folder >> Data/Audio/Sounds/plasma.wav correct?
|
|
|
|
Major Joined: 2/28/2017(UTC) Posts: 410 Location: Bangkok Thanks: 63 times Was thanked: 145 time(s) in 127 post(s)
|
YAY! Finally I made it. I am using Audacity to open the game sound and I saw a huge difference. First thing first game support only 44100 Hz and Mono type. Mine is 48000 and Stereo so I converted it using Audacity and now it works in the game.
Thanks guys for the help. This is a new for me and many for someone else who might have trouble adding the sound files.
|
1 user thanked mr_hymn_ for this useful post.
|
|
|
Users browsing this topic |
Guest
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.