1. Updated Resource Submission Rules: All model & skin resource submissions must now include an in-game screenshot. This is to help speed up the moderation process and to show how the model and/or texture looks like from the in-game camera.
    Dismiss Notice
  2. DID YOU KNOW - That you can unlock new rank icons by posting on the forums or winning contests? Click here to customize your rank or read our User Rank Policy to see a list of ranks that you can unlock. Have you won a contest and still havn't received your rank award? Then please contact the administration.
    Dismiss Notice
  3. We have recently started the 16th edition of the Mini Mapping Contest. The theme is mini RPG. Do check it out and have fun.
    Dismiss Notice
  4. Choose your ride to damnation in the 5th Special Effect Contest Poll.
    Dismiss Notice
  5. The winners of the 13th Techtree Contest have been announced!
    Dismiss Notice
  6. The 13th Music Contest Poll is up! Vote for the best tracks in this symphony of frost and flame.
    Dismiss Notice
  7. Race against the odds and Reforge, Don't Refund. The 14th Techtree Contest has begun!
    Dismiss Notice
  8. Check out the Staff job openings thread.
    Dismiss Notice
Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.

[Solved] Trigger is not playing a 3d sound

Discussion in 'Triggers & Scripts' started by Qrom Bellascream, Jan 13, 2017.

  1. Qrom Bellascream

    Qrom Bellascream

    Joined:
    Apr 5, 2013
    Messages:
    150
    Resources:
    0
    Resources:
    0
    • ANELE
      • Events
        • Unit - A unit Starts the effect of an ability
      • Conditions
        • Or - Any (Conditions) are true
          • Conditions
            • (Ability being cast) Equal to Suicide Vest (Goblin Sapper)
            • (Ability being cast) Equal to Suicide Vest rebel
      • Actions
        • Sound - Play JIHADI501 <gen> at 100.00% volume, attached to (Triggering unit)
        • Special Effect - Create a special effect at (Position of (Triggering unit)) using Objects\Spawnmodels\Other\NeutralBuildingExplosion\NeutralBuildingExplosion.mdl
        • Special Effect - Destroy (Last created special effect)


    The trigger is as simple as that, but for some reason the 3d sound doesn't get played. The minimal distance for the sound is 600, and max is 10000.
     
  2. Pyrogasm

    Pyrogasm

    Joined:
    Feb 27, 2007
    Messages:
    3,700
    Resources:
    1
    Spells:
    1
    Resources:
    1
    You mean if you cast it three times the first two times the sound plays but not the third time? What about after the third time?
     
  3. Qrom Bellascream

    Qrom Bellascream

    Joined:
    Apr 5, 2013
    Messages:
    150
    Resources:
    0
    Resources:
    0
    I mean, it used to work always as 2d waw sound before making it a 3d mp3 sound, as in dimensions. Is there something different I should be doing since it now is a 3d sound?
     
  4. Pyrogasm

    Pyrogasm

    Joined:
    Feb 27, 2007
    Messages:
    3,700
    Resources:
    1
    Spells:
    1
    Resources:
    1
    Oh oops, missed the d in 3d. Does it have the 3d sound flag checked in the sound editor? I believe sounds also don't play the very first time you try so it could just be that (needs to preload the sound). Try doing it more than once to see if the sound plays afterward. Also your camera has to be over the 3d sound point (or within range).
     
  5. Qrom Bellascream

    Qrom Bellascream

    Joined:
    Apr 5, 2013
    Messages:
    150
    Resources:
    0
    Resources:
    0
    3d sound flag has been checked, I also added a time elapsed of 1 second that would play all the 3d sounds used, but still doesn't work.
     
  6. Qrom Bellascream

    Qrom Bellascream

    Joined:
    Apr 5, 2013
    Messages:
    150
    Resources:
    0
    Resources:
    0
    Alright, got it working. Looks like custom 3d sounds need to be mono, not stereo.