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


    [HELP] Static Objects

    Share

    Raziel
    Seasoned Wolfer
    Seasoned Wolfer

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

    [HELP] Static Objects

    Post by Raziel on 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.




    STORMING THE FRONT WITH A SCHMEISSER IN HAND!
    Raziel A.

    Dark_wizzie
    I am Death Incarnate!
    I am Death Incarnate!

    Male
    Number of posts : 5090
    Age : 22
    Location : USA or Tawain
    Job : Student, Part time Cactuar fanatic
    Hobbie : Planting Cactuars.
    Message : I made this forum when I was 13 High on Drugs
    Registration date : 2007-03-24

    Re: [HELP] Static Objects

    Post by Dark_wizzie on 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

    WLHack
    Senior Member
    Senior Member

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

    Re: [HELP] Static Objects

    Post by WLHack on 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
    Hardcore Wolfer
    Hardcore Wolfer

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

    Re: [HELP] Static Objects

    Post by ronwolf1705 on 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.




    Raziel
    Seasoned Wolfer
    Seasoned Wolfer

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

    Re: [HELP] Static Objects

    Post by Raziel on 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.




    STORMING THE FRONT WITH A SCHMEISSER IN HAND!
    Raziel A.

    Sponsored content

    Re: [HELP] Static Objects

    Post by Sponsored content Today at 6:03 pm


      Current date/time is Wed Dec 07, 2016 6:03 pm