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


4 posters

    [HELP] Static Objects

    Raziel
    Raziel
    Seasoned Wolfer
    Seasoned Wolfer


    Male
    Number of posts : 361
    Age : 36
    Location : Israel
    Hobbie : Blasphemous Noise and Wolfenstein3D
    Registration date : 2007-07-08

    [HELP] Static Objects Empty [HELP] Static Objects

    Post by Raziel Sun Nov 25, 2007 4:46 pm

    Hello folks!

    I was wondering if any of you guys that actually know how to CODE can help me with a little something..
    In the Team Aardwolf mapset Ronwolf changed the code so the the user will be able to put more static objects on the map (More than 390+ objects) and he can also see more than 100 objects at once without crushing the game Razz so, if any of you guys can help me on this one I will really appreciate it. Thanks in advance!

    -Raziel A.



    [HELP] Static Objects Banner10
    STORMING THE FRONT WITH A SCHMEISSER IN HAND!
    Raziel A.
    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

    [HELP] Static Objects Empty Re: [HELP] Static Objects

    Post by Dark_wizzie Sun Nov 25, 2007 5:54 pm

    WHOA! He can DO THAT??? I everyone could use a code like that even if you don't like modding wolf3d Suspect



    Wolf3d Haven
    Minute Logic Blog
    avatar
    WLHack
    Senior Member
    Senior Member


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

    [HELP] Static Objects Empty Re: [HELP] Static Objects

    Post by WLHack Mon Nov 26, 2007 7:56 am

    WolfGW had support for 1000 static objects
    and one of the Wintersturm versions had 700 objects.

    The problem is not increasing the limit but make it balance with
    the other three:
    Code:

    #define MAXACTORS    170              // max number of nazis, etc / map
    #define MAXSTATS      450              // max number of lamps, bonus, etc
    #define MAXDOORS      64              // max number of sliding doors
    #define MAXWALLTILES  90              // max number of wall tiles

    You see all together these four forms 64bit system...
    So when you change one of the four, you have to edit
    the other three too to prevent game from bombing out...

    I believe that the best way to get around is to drop the MaxDoors and Walls a bit
    or then try to edit the source to start using independent values.



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


    Male
    Number of posts : 1252
    Age : 32
    Registration date : 2007-03-26

    [HELP] Static Objects Empty Re: [HELP] Static Objects

    Post by ronwolf1705 Mon Nov 26, 2007 8:44 am

    The problem is that raising the MAXACTORS and MAXSTATS values costs memory, especially the MAXACTORS value costs a lot of memory.

    BTW in WL_DRAW.C you can find the MAXVISABLE value.



    [HELP] Static Objects MMCS0206
    Raziel
    Raziel
    Seasoned Wolfer
    Seasoned Wolfer


    Male
    Number of posts : 361
    Age : 36
    Location : Israel
    Hobbie : Blasphemous Noise and Wolfenstein3D
    Registration date : 2007-07-08

    [HELP] Static Objects Empty Re: [HELP] Static Objects

    Post by Raziel Mon Nov 26, 2007 10:16 am

    Thanks for the help guys, I can't wait to try it and I hope I'll succeed with it Smile
    I just wanted to add more static objects so I could make the game more realistic, especially in the outdoor areas...

    -Raziel A.



    [HELP] Static Objects Banner10
    STORMING THE FRONT WITH A SCHMEISSER IN HAND!
    Raziel A.

    Sponsored content


    [HELP] Static Objects Empty Re: [HELP] Static Objects

    Post by Sponsored content


      Current date/time is Fri Mar 29, 2024 1:02 am