Wolf3d Haven Forum

Please log in or register. Smile

Join the forum, it's quick and easy

Wolf3d Haven Forum

Please log in or register. Smile

Wolf3d Haven Forum

Would you like to react to this message? Create an account in a few clicks or log in to continue.
Wolf3d Haven Forum

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


5 posters

    What is the Fart Sound in the Original Wolf3d Called?

    jayngo26
    jayngo26
    Spear of Destiny
    Spear of Destiny


    Male
    Number of posts : 643
    Age : 144
    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? Empty What is the Fart Sound in the Original Wolf3d Called?

    Post by jayngo26 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! What is the Fart Sound in the Original Wolf3d Called? Icon_biggrin

    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/
    avatar
    WLHack
    Senior Member
    Senior Member


    Male
    Number of posts : 800
    Age : 35
    Location : Finland
    Registration date : 2007-03-26

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

    Post by WLHack 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
    jayngo26
    Spear of Destiny
    Spear of Destiny


    Male
    Number of posts : 643
    Age : 144
    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? Empty Re: What is the Fart Sound in the Original Wolf3d Called?

    Post by jayngo26 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/
    avatar
    WLHack
    Senior Member
    Senior Member


    Male
    Number of posts : 800
    Age : 35
    Location : Finland
    Registration date : 2007-03-26

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

    Post by WLHack 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
    filipetolhuizen
    Lucky
    Lucky


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

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

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

    How do I trigger it on the original game?
    PicNic
    PicNic
    Veteran
    Veteran


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

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

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

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

    Same question here.
    jayngo26
    jayngo26
    Spear of Destiny
    Spear of Destiny


    Male
    Number of posts : 643
    Age : 144
    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? Empty Re: What is the Fart Sound in the Original Wolf3d Called?

    Post by jayngo26 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... What is the Fart Sound in the Original Wolf3d Called? Icon_cool



    http://jayngoware.com/
    avatar
    3D_game
    Wolf3d n00b
    Wolf3d n00b


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

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

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

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

    Sponsored content


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

    Post by Sponsored content


      Current date/time is Fri Nov 08, 2024 11:19 am