Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 26

Thread: cod1-1.4: "script_origin" can't playsound()?

  1. #11
    Assadministrator IzNoGoD's Avatar
    Join Date
    Aug 2012
    Posts
    1,718
    Thanks
    17
    Thanked 1,068 Times in 674 Posts
    try spawning a script_model instead?
    "Does not work" is an error report for a bug between keyboard and chair.

    All hail Artie Effem

  2. #12
    Private
    Join Date
    Mar 2016
    Posts
    18
    Thanks
    0
    Thanked 2 Times in 1 Post
    Quote Originally Posted by IzNoGoD View Post
    try spawning a script_model instead?
    from the first post:

    - i've also tried with "script_model' and the model spawns but...no sound.

  3. #13
    Brigadier General
    Join Date
    Dec 2012
    Posts
    1,012
    Thanks
    440
    Thanked 171 Times in 132 Posts
    Check a louder sound that works for sure, like the Bomb thicking sound of S&D

  4. #14
    Private
    Join Date
    Mar 2016
    Posts
    18
    Thanks
    0
    Thanked 2 Times in 1 Post
    Quote Originally Posted by Ni3ls View Post
    Check a louder sound that works for sure, like the Bomb thicking sound of S&D
    tried the bomb tick sound and a number of other multiplayer sounds, but none of them play via the spawned entity.

  5. #15
    Brigadier General
    Join Date
    Dec 2012
    Posts
    1,012
    Thanks
    440
    Thanked 171 Times in 132 Posts
    Are you sure the model is spawned? Can you set the model to something that is recognizable? Maybe you spawn the model inside the ground and then you will hear nothing

  6. #16
    Private
    Join Date
    Mar 2016
    Posts
    18
    Thanks
    0
    Thanked 2 Times in 1 Post
    Quote Originally Posted by Ni3ls View Post
    Are you sure the model is spawned? Can you set the model to something that is recognizable? Maybe you spawn the model inside the ground and then you will hear nothing
    yes, if trying out "script_model" with setModel() instead of "script_origin", the entity model is visible (a benzine barrel) and it properly despawns on org delete().
    but no sound.
    Last edited by lobolmart; 4th April 2016 at 14:52.

  7. #17
    Brigadier General
    Join Date
    Dec 2012
    Posts
    1,012
    Thanks
    440
    Thanked 171 Times in 132 Posts
    Is it above the ground?

  8. #18
    Private
    Join Date
    Mar 2016
    Posts
    18
    Thanks
    0
    Thanked 2 Times in 1 Post
    Quote Originally Posted by Ni3ls View Post
    Is it above the ground?
    yes, it is.

  9. #19
    Assadministrator IzNoGoD's Avatar
    Join Date
    Aug 2012
    Posts
    1,718
    Thanks
    17
    Thanked 1,068 Times in 674 Posts
    i guess you tried org playsound("american_yes_sir"); already?
    "Does not work" is an error report for a bug between keyboard and chair.

    All hail Artie Effem

  10. #20
    Private
    Join Date
    Mar 2016
    Posts
    18
    Thanks
    0
    Thanked 2 Times in 1 Post
    Quote Originally Posted by IzNoGoD View Post
    i guess you tried org playsound("american_yes_sir"); already?
    yeah, i've tried everything that was proposed here and all sorts of random scenarios that i can think of, including many different sounds and sound alias settings.
    has anyone even gotten the COD1 spawn() entities to playsound() in multiplayer?

    i *do* see that in mods, yet the whole thing seems a bit suspicious.

Tags for this Thread

Posting Permissions

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