Wolf3d Haven Forum

Please log in or register. Smile
Wolf3d Haven Forum

A friendly Wolfenstein 3D community, about Wolfenstein 3D, the game that gave birth to first person shooters...


    What is the Fart Sound in the Original Wolf3d Called?

    Share

    jayngo26
    Spear of Destiny
    Spear of Destiny

    Male
    Number of posts : 643
    Age : 136
    Location : Random
    Job : Partime Evil Semi-Genius Plotting To Take Over Half The World. Partime Undead Charged With Keeping the Darkness Dark
    Hobbie : Staying Out Of Sunlight
    Message : Wolfenstein:Umbrella Beginnings Episode 2 released! Download now!

    Registration date : 2008-08-09

    What is the Fart Sound in the Original Wolf3d Called?

    Post by jayngo26 on Fri Jan 22, 2010 2:49 pm

    Ok. I have a funny question to ask. Remember the fart sound that some of the dying guards made in wolf3d? Well, I want to know what it's called in the code. WL_ACT2.C lists off DEATHSCREAM1SND-DEATHSCREAM9SND. I am wondering which one is the fart sound. If you open up ChaosEdit and play all the audio lines, the fart sound shows up in there. I want to replace that with a new sound, but don't know which one of the DEATHSCREAMSND to use in the code. Help me find the fart sound name!

    EDIT: Thought I might add one more thought. I want to replace the fart sound, but don't want to use it as a guard death sound. I want to use it as a collectible item pickup sound. So, what code would I need to change so the guards dying won't accidentally use my item pickup sound?!?



    http://jayngoware.com/

    WLHack
    Senior Member
    Senior Member

    Male
    Number of posts : 798
    Age : 28
    Location : Finland
    Registration date : 2007-03-26

    Re: What is the Fart Sound in the Original Wolf3d Called?

    Post by WLHack on Fri Jan 22, 2010 3:32 pm

    If I remember right - it was DEATHSCREAM6SND and the code
    called it when player was in secret level...

    If you want to use it as a pickup sound you just need to go
    A_DeathScream in wl_act_2 and remove the lines in that says
    something like this... Now you can use that sound in other purposes.

    Code:
    #ifndef UPLOAD
    #ifndef SPEAR
        if (mapon==9 && !US_RndT()) //Might differ in your code...
            PlaySoundLocActor(DEATHSCREAM6SND,ob);
    #endif
    #endif



    Hammer: I can see it now: you and the moon - wear a necktie so I'll know you.
    Building a new webpage...

    jayngo26
    Spear of Destiny
    Spear of Destiny

    Male
    Number of posts : 643
    Age : 136
    Location : Random
    Job : Partime Evil Semi-Genius Plotting To Take Over Half The World. Partime Undead Charged With Keeping the Darkness Dark
    Hobbie : Staying Out Of Sunlight
    Message : Wolfenstein:Umbrella Beginnings Episode 2 released! Download now!

    Registration date : 2008-08-09

    Re: What is the Fart Sound in the Original Wolf3d Called?

    Post by jayngo26 on Fri Jan 22, 2010 3:47 pm

    Code:
    #ifndef UPLOAD
    #ifndef SPEAR
        if (mapon==9 && !US_RndT()) //Might differ in your code...
            PlaySoundLocActor(DEATHSCREAM6SND,ob);
    #endif
    #endif

    So, I would just comment this out?: PlaySoundLocActor(DEATHSCREAM6SND,ob);

    My code reads as this:

    Code:
    #ifndef UPLOAD
    #ifndef SPEAR
        if (mapon==9 && !US_RndT())
    #else
        if ((mapon==18 || mapon==19) && !US_RndT())
    #endif
        {
        switch(ob->obclass)
        {
          case mutantobj:
          case guardobj:
          case officerobj:
          case ssobj:
          case seekobj:        //new enemy
          case dogobj:
            PlaySoundLocActor(DEATHSCREAM6SND,ob);
            return;
        }



    http://jayngoware.com/

    WLHack
    Senior Member
    Senior Member

    Male
    Number of posts : 798
    Age : 28
    Location : Finland
    Registration date : 2007-03-26

    Re: What is the Fart Sound in the Original Wolf3d Called?

    Post by WLHack on Sat Jan 23, 2010 1:54 am

    Well you can comment out the whole block starting from the #ifndef UPLOAD
    as it say to play this sound in secret levels...



    Hammer: I can see it now: you and the moon - wear a necktie so I'll know you.
    Building a new webpage...

    filipetolhuizen
    Lucky
    Lucky

    Number of posts : 7
    Age : 34
    Registration date : 2010-03-13

    Re: What is the Fart Sound in the Original Wolf3d Called?

    Post by filipetolhuizen on Sun Mar 14, 2010 9:42 am

    How do I trigger it on the original game?

    PicNic
    Veteran
    Veteran

    Male
    Number of posts : 1584
    Age : 23
    Registration date : 2007-04-16

    Re: What is the Fart Sound in the Original Wolf3d Called?

    Post by PicNic on Sun Mar 14, 2010 10:15 am

    @filipetolhuizen wrote:How do I trigger it on the original game?

    Same question here.

    jayngo26
    Spear of Destiny
    Spear of Destiny

    Male
    Number of posts : 643
    Age : 136
    Location : Random
    Job : Partime Evil Semi-Genius Plotting To Take Over Half The World. Partime Undead Charged With Keeping the Darkness Dark
    Hobbie : Staying Out Of Sunlight
    Message : Wolfenstein:Umbrella Beginnings Episode 2 released! Download now!

    Registration date : 2008-08-09

    Re: What is the Fart Sound in the Original Wolf3d Called?

    Post by jayngo26 on Sun Mar 14, 2010 1:30 pm

    It only occurred on the secret level. That's the way the code was written. I edited my code so I could use a different sound in place of the fart sound. Mutants farting in my mod just didn't work...



    http://jayngoware.com/

    3D_game
    Wolf3d n00b
    Wolf3d n00b

    Male
    Number of posts : 9
    Age : 25
    Registration date : 2010-03-11

    Re: What is the Fart Sound in the Original Wolf3d Called?

    Post by 3D_game on Mon Mar 15, 2010 7:02 pm

    I can't remember which it is. I only remember seeing a comment: DEATHSCREAMXSND // fart.

    Sponsored content

    Re: What is the Fart Sound in the Original Wolf3d Called?

    Post by Sponsored content Today at 12:21 pm


      Current date/time is Sat Dec 10, 2016 12:21 pm