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
giftmacher
ronwolf1705
6 posters

    Commander keen in wolf3d?

    PicNic
    PicNic
    Veteran
    Veteran


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

    Commander keen in wolf3d? Empty Commander keen in wolf3d?

    Post by PicNic Sat May 26, 2007 11:18 pm

    Heh, Look what I found in 'WL_PLAY.C':

    //
    // TRYING THE KEEN CHEAT CODE!
    //
    if (Keyboard[sc_B] &&
    Keyboard[sc_A] &&
    Keyboard[sc_T])
    {
    ClearMemory ();
    CA_CacheGrChunk (STARTFONT+1);
    ClearSplitVWB ();
    VW_ScreenToScreen (displayofs,bufferofs,80,160);

    Message("Commander Keen is also\n"
    "available from Apogee, but\n"
    "then, you already know\n"
    "that - right, Cheatmeister?!");
    PicNic
    PicNic
    Veteran
    Veteran


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

    Commander keen in wolf3d? Empty Re: Commander keen in wolf3d?

    Post by PicNic Sat May 26, 2007 11:27 pm

    oh and also:

    #define BJRUNSPEED 2048
    #define BJJUMPSPEED 680

    IN WL_ACT2.

    so it is possible to jump?
    avatar
    WLHack
    Senior Member
    Senior Member


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

    Commander keen in wolf3d? Empty Re: Commander keen in wolf3d?

    Post by WLHack Sun May 27, 2007 2:53 am

    Yes... But it would be just skipping few tiles...
    I can post the tutorial later.
    avatar
    WLHack
    Senior Member
    Senior Member


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

    Commander keen in wolf3d? Empty Re: Commander keen in wolf3d?

    Post by WLHack Sun May 27, 2007 2:55 am

    Oh, the basic Idea would be like this:
    "playerx & playery = playerx & playery + 3"
    "set_movement_speed = BJJUMPSPEED"
    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

    Commander keen in wolf3d? Empty Re: Commander keen in wolf3d?

    Post by Dark_wizzie Sun May 27, 2007 6:29 am

    uh huh and...what?
    all i get is about jumping or something.



    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

    Commander keen in wolf3d? Empty Re: Commander keen in wolf3d?

    Post by WLHack Sun May 27, 2007 6:52 am

    Well... Jumping could be usefull feature.
    Imagine trapdoors that kills the player if he steps on them,
    but if player jumps he can avoid them.
    ronwolf1705
    ronwolf1705
    Hardcore Wolfer
    Hardcore Wolfer


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

    Commander keen in wolf3d? Empty Re: Commander keen in wolf3d?

    Post by ronwolf1705 Sun May 27, 2007 7:04 am

    WLHack wrote:Well... Jumping could be usefull feature.
    Imagine trapdoors that kills the player if he steps on them,
    but if player jumps he can avoid them.

    Is it jumping as in height difference or is it jumping as in you move a few tiles, like thrusting except going in the other way?
    Airslide
    Airslide
    Bring em' On!
    Bring em' On!


    Male
    Number of posts : 115
    Age : 30
    Location : Central Valley [Formerly Bay Area] (California USA)
    Job : Student
    Hobbie : Indie Game Development
    Registration date : 2007-05-17

    Commander keen in wolf3d? Empty Re: Commander keen in wolf3d?

    Post by Airslide Sun May 27, 2007 8:55 am

    I would think its moving a few tiles, the rendering engine wouldn't know how to handle the player going up/down.



    Commander keen in wolf3d? Marchtowarsigez7
    avatar
    WLHack
    Senior Member
    Senior Member


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

    Commander keen in wolf3d? Empty Re: Commander keen in wolf3d?

    Post by WLHack Sun May 27, 2007 9:13 am

    @Ron: More like thrusting but other way...
    @Airslide: Well... I think Wolf engine is capable of making
    up and down movement (with viewheigh I suppose)...
    but that would cost too much memory...
    PicNic
    PicNic
    Veteran
    Veteran


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

    Commander keen in wolf3d? Empty Re: Commander keen in wolf3d?

    Post by PicNic Sun May 27, 2007 9:39 am

    oh.. ok.
    Airslide
    Airslide
    Bring em' On!
    Bring em' On!


    Male
    Number of posts : 115
    Age : 30
    Location : Central Valley [Formerly Bay Area] (California USA)
    Job : Student
    Hobbie : Indie Game Development
    Registration date : 2007-05-17

    Commander keen in wolf3d? Empty Re: Commander keen in wolf3d?

    Post by Airslide Sun May 27, 2007 9:43 am

    WL_Hack - I've tried fiddling with up/down before, but really you'd first have to get the walls taller (very difficult) for it to really seem useful...and then you'd have to make things passable while jumping, and modify the rendering engine to accept jumping, and it starts getting really messy....and then we'll look like ROTT Razz



    Commander keen in wolf3d? Marchtowarsigez7
    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

    Commander keen in wolf3d? Empty Re: Commander keen in wolf3d?

    Post by Dark_wizzie Sun May 27, 2007 3:32 pm

    airslide is right.
    i didnt even knoiw wofl3d is capable of jumping.



    Wolf3d Haven
    Minute Logic Blog
    giftmacher
    giftmacher
    Seasoned Wolfer
    Seasoned Wolfer


    Number of posts : 345
    Age : 48
    Registration date : 2007-03-25

    Commander keen in wolf3d? Empty Re: Commander keen in wolf3d?

    Post by giftmacher Sun May 27, 2007 3:52 pm

    Admin wrote:i didnt even knoiw wofl3d is capable of jumping.

    Of course. I you ever played the original episode 1, you must have seen bj jumping and yelling "yeah" after defeating hans grosse Smile
    Airslide
    Airslide
    Bring em' On!
    Bring em' On!


    Male
    Number of posts : 115
    Age : 30
    Location : Central Valley [Formerly Bay Area] (California USA)
    Job : Student
    Hobbie : Indie Game Development
    Registration date : 2007-05-17

    Commander keen in wolf3d? Empty Re: Commander keen in wolf3d?

    Post by Airslide Sun May 27, 2007 4:41 pm

    Ah yes, that's it, I beleive thats the speed assigned to the BJ object at the end of the episode. Forgot all about it Smile



    Commander keen in wolf3d? Marchtowarsigez7
    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

    Commander keen in wolf3d? Empty Re: Commander keen in wolf3d?

    Post by Dark_wizzie Sun May 27, 2007 5:14 pm

    that wasnt REALLY BJ jumping. that was a computer animation.



    Wolf3d Haven
    Minute Logic Blog
    Airslide
    Airslide
    Bring em' On!
    Bring em' On!


    Male
    Number of posts : 115
    Age : 30
    Location : Central Valley [Formerly Bay Area] (California USA)
    Job : Student
    Hobbie : Indie Game Development
    Registration date : 2007-05-17

    Commander keen in wolf3d? Empty Re: Commander keen in wolf3d?

    Post by Airslide Sun May 27, 2007 6:17 pm

    That's not the point....its still considered his 'jump' at the end.



    Commander keen in wolf3d? Marchtowarsigez7
    PicNic
    PicNic
    Veteran
    Veteran


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

    Commander keen in wolf3d? Empty Re: Commander keen in wolf3d?

    Post by PicNic Mon May 28, 2007 1:06 am

    How you know that admin? you can't even code.
    avatar
    WLHack
    Senior Member
    Senior Member


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

    Commander keen in wolf3d? Empty Re: Commander keen in wolf3d?

    Post by WLHack Mon May 28, 2007 6:01 am

    Admin is right... It was only computer animation...
    If you check the WL_Act2.C, you notice that its basically
    an actor that is moved to certain point and then played the
    jumping animation...

    And yes the BJJUMPSPEED was preferring to the jumping animation.
    PicNic
    PicNic
    Veteran
    Veteran


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

    Commander keen in wolf3d? Empty Re: Commander keen in wolf3d?

    Post by PicNic Mon May 28, 2007 6:52 am

    Oh.. but is it possible?
    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

    Commander keen in wolf3d? Empty Re: Commander keen in wolf3d?

    Post by Dark_wizzie Mon May 28, 2007 6:11 pm

    HAHA im right!!!
    anyways, its cool to have wlhack back me up Cool
    jumping, as wlhack said before, is possiable, but it will take a whole lotta' memory.



    Wolf3d Haven
    Minute Logic Blog
    PicNic
    PicNic
    Veteran
    Veteran


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

    Commander keen in wolf3d? Empty Re: Commander keen in wolf3d?

    Post by PicNic Tue May 29, 2007 2:00 am

    Admin wrote:HAHA im right!!!
    anyways, its cool to have wlhack back me up Cool
    jumping, as wlhack said before, is possiable, but it will take a whole lotta' memory.

    who says you're right?

    oh and as you can see:

    #define BJRUNSPEED 2048
    #define BJJUMPSPEED 680

    there is Jumpspeed, so how fast you jump. this can't be the amination..
    avatar
    WLHack
    Senior Member
    Senior Member


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

    Commander keen in wolf3d? Empty Re: Commander keen in wolf3d?

    Post by WLHack Tue May 29, 2007 3:05 am

    @Angelo: Look at the WL_Act2.C,
    and search for BJ VICTORY...

    You will find something similar to the enemy moving
    defines...

    Then that "actor" calls function named T_BJJump that looks
    like this:

    Code:

    /*
    ===============
    =
    = T_BJJump
    =
    ===============
    */

    void T_BJJump (objtype *ob)
    {
       long    move;

       move = BJJUMPSPEED*tics;
       MoveObj (ob,move);
    }

    The most interesting thing is, it calls definition "BJJUMPSPEED"
    that is: BJJUMPSPEED 680...

    That definition is to set the speed of movement in animation
    (aka. for the pictures of BJ jumping in the air and with his arms
    stretched).


    If you ever have finished the first episode of Wolf3D, you
    understand it refers to the BJ Victory run animation...
    avatar
    WLHack
    Senior Member
    Senior Member


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

    Commander keen in wolf3d? Empty Re: Commander keen in wolf3d?

    Post by WLHack Tue May 29, 2007 3:25 am

    I mean how fast the "jumping BJ" animation will move forward,
    while showing the frames.
    PicNic
    PicNic
    Veteran
    Veteran


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

    Commander keen in wolf3d? Empty Re: Commander keen in wolf3d?

    Post by PicNic Tue May 29, 2007 4:00 am

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

    Commander keen in wolf3d? Empty Re: Commander keen in wolf3d?

    Post by Dark_wizzie Tue May 29, 2007 5:42 pm

    basically, what wlhack meant (i think)
    is that the 'bf running' animation at end of an espode is actually an animation.
    thats what i belive, too.
    though if someone comes up with stuff like jumping and stuff, it wil be cool. (ps, this topic is already mentioned on the sticky in this section. maybe you should be posting there)



    Wolf3d Haven
    Minute Logic Blog
    PicNic
    PicNic
    Veteran
    Veteran


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

    Commander keen in wolf3d? Empty Re: Commander keen in wolf3d?

    Post by PicNic Wed May 30, 2007 12:30 am

    bf?
    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

    Commander keen in wolf3d? Empty Re: Commander keen in wolf3d?

    Post by Dark_wizzie Wed May 30, 2007 5:41 pm

    that bf107 thingy? i forgot the number.
    remember? the video game you play?



    Wolf3d Haven
    Minute Logic Blog
    PicNic
    PicNic
    Veteran
    Veteran


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

    Commander keen in wolf3d? Empty Re: Commander keen in wolf3d?

    Post by PicNic Thu May 31, 2007 12:33 am

    haha, bf107 👅

    BF2 and bf2142, But what you talked about it then? heh

    Battlefield running animation?
    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

    Commander keen in wolf3d? Empty Re: Commander keen in wolf3d?

    Post by Dark_wizzie Thu May 31, 2007 7:02 pm

    arg, it apears i said what i meant wrong. what i was saying was that the animation of bj jumping in truimp was an animation.



    Wolf3d Haven
    Minute Logic Blog

    Sponsored content


    Commander keen in wolf3d? Empty Re: Commander keen in wolf3d?

    Post by Sponsored content


      Current date/time is Wed Nov 13, 2024 4:58 pm