Results 1 to 5 of 5

Thread: SP weapon sounds

  1. #1
    Private
    Join Date
    Jan 2015
    Posts
    112
    Thanks
    22
    Thanked 32 Times in 17 Posts

    SP weapon sounds

    Hey guys,
    I mostly mod MP so I have no idea how weapon sounds work in SP. I've made a new weapon with a new firesound and a new soundaliases file. The sound is perfectly fine in MP but there is no firing sound in SP. Anyone got a solution to this?

  2. #2
    Private
    Join Date
    Jan 2015
    Posts
    112
    Thanks
    22
    Thanked 32 Times in 17 Posts
    Nevermind, it was just a careless mistake that I should have found before posting here.

  3. #3
    Assadministrator kung foo man's Avatar
    Join Date
    Jun 2012
    Location
    trailerpark
    Posts
    2,011
    Thanks
    2,102
    Thanked 1,084 Times in 753 Posts
    Just explain what was wrong nonetheless ;D
    timescale 0.01

  4. #4
    Private
    Join Date
    Jan 2015
    Posts
    112
    Thanks
    22
    Thanked 32 Times in 17 Posts
    I only put the weapon's sound file in the "sound" folder. It should have been in "sound\weapons\fal"

  5. The Following User Says Thank You to the_law For This Useful Post:

    Mitch (24th April 2015)

  6. #5
    Private
    Join Date
    Jan 2015
    Posts
    112
    Thanks
    22
    Thanked 32 Times in 17 Posts
    Just discovered another reason why sounds may not work properly in SP.
    In the soundaliases files, each sound has a line of its own, which looks something like this:

    Code:
    weap_shotgun_fire_pump_plr,,weapons/shotgun/wpnfire_shotgun1.wav,0.91,0.97,wpnplyr,0.95,1.05,500000,,local,,,,0.85,all_mp,,,,weapon2,,,,0.2
    OR

    Code:
    weap_kar98k_sniper_fire_plr,,weapons/kar98k/kar98_sniper.wav,0.78,0.86,wpnplyr,0.95,1.05,500000,,local,,,,0.85,!toujane !elalamein !eldaba,,,,,,,,0.2

    In the first example, you can see "all_mp" near the end. This makes it work only in Multiplayer. All you have to do is remove that and it should play in Singleplayer as well (as I learned the hard way).
    The second example contains a section near the end that looks like this: "!toujane !elalamein !eldaba" This excludes the sound from certain SP maps. Once again, just remove that section and you'll be fine.

  7. The Following 3 Users Say Thank You to the_law For This Useful Post:

    kung foo man (29th April 2015),Mitch (29th April 2015),Ni3ls (29th April 2015)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •