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...


2 posters

    Changing the amount of otto's smoke by wolfenstein3D Fan

    PicNic
    PicNic
    Veteran
    Veteran


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

    Changing the amount of otto's smoke by wolfenstein3D Fan Empty Changing the amount of otto's smoke by wolfenstein3D Fan

    Post by PicNic Sat May 05, 2007 11:00 pm

    Here is the code I maded Smile

    Code:
    By: Wolfenstein_3D Fan

    Ever wonder how to change the amount of smoke emitted from Otto's rockets, well this tutorial will show you how

     

    Step 1:

    Open WL_ACT2.C and search for: void A_Smoke (objtype *ob) in the A_Smoke section. You should see something like this:



    =================

    =

    = A_Smoke

    =

    =================

    */

     

    void A_Smoke (objtype *ob)

    {

    GetNewActor ();

    #ifdef SPEAR

    if (ob->obclass == hrocketobj)

    new->state = &s_hsmoke1;

    else

    #endif

    new->state = &s_smoke1;

    new->ticcount = 6;


    In the last line above new->ticcount = 6; you need to change the number 6:

    For example:

    1 = not much smoke

    and

    50= a lot of smoke

    NOTE: Increasing the number above 6 will reduce the total number of guards that can be used without crashing on any level that uses Otto. As a rough guide, for new->ticcount = 10; - a maximum of 140 guards is recommended, and for new->ticcount = 50; - a maximum of 120 guards is recommended.


    Step 2:

    Compile and Link Up! Now there should be a change in the amount of smoke from Otto's rockets if you did this right.

    Dark_wizzie
    Dark_wizzie
    I am Death Incarnate!
    I am Death Incarnate!


    Female
    Number of posts : 5120
    Age : 30
    Location : California, USA
    Job : Investor
    Hobbie : Computers, chess, computer chess, fashion, and philosophy
    Message : I made this forum when I was 13 High on Drugs
    Registration date : 2007-03-24

    Changing the amount of otto's smoke by wolfenstein3D Fan Empty Re: Changing the amount of otto's smoke by wolfenstein3D Fan

    Post by Dark_wizzie Sun May 06, 2007 4:47 pm




    Wolf3d Haven
    Minute Logic Blog
    PicNic
    PicNic
    Veteran
    Veteran


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

    Changing the amount of otto's smoke by wolfenstein3D Fan Empty Re: Changing the amount of otto's smoke by wolfenstein3D Fan

    Post by PicNic Mon May 07, 2007 9:57 am

    how dod I knewthat? :']
    Dark_wizzie
    Dark_wizzie
    I am Death Incarnate!
    I am Death Incarnate!


    Female
    Number of posts : 5120
    Age : 30
    Location : California, USA
    Job : Investor
    Hobbie : Computers, chess, computer chess, fashion, and philosophy
    Message : I made this forum when I was 13 High on Drugs
    Registration date : 2007-03-24

    Changing the amount of otto's smoke by wolfenstein3D Fan Empty Re: Changing the amount of otto's smoke by wolfenstein3D Fan

    Post by Dark_wizzie Mon May 07, 2007 6:45 pm

    hehe. it took the guides from wo9lf3d dome



    Wolf3d Haven
    Minute Logic Blog
    PicNic
    PicNic
    Veteran
    Veteran


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

    Changing the amount of otto's smoke by wolfenstein3D Fan Empty Re: Changing the amount of otto's smoke by wolfenstein3D Fan

    Post by PicNic Sat May 12, 2007 12:40 am

    Admin wrote:hehe. it took the guides from wo9lf3d dome

    huh? I dont understand you, lol

    Sponsored content


    Changing the amount of otto's smoke by wolfenstein3D Fan Empty Re: Changing the amount of otto's smoke by wolfenstein3D Fan

    Post by Sponsored content


      Current date/time is Fri Apr 19, 2024 4:51 am