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


    Commander keen in wolf3d?

    Share

    PicNic
    Veteran
    Veteran

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

    Commander keen in wolf3d?

    Post by PicNic on 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
    Veteran
    Veteran

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

    Re: Commander keen in wolf3d?

    Post by PicNic on 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?

    WLHack
    Senior Member
    Senior Member

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

    Re: Commander keen in wolf3d?

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

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

    WLHack
    Senior Member
    Senior Member

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

    Re: Commander keen in wolf3d?

    Post by WLHack on 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
    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: Commander keen in wolf3d?

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

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



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

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

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

    Re: Commander keen in wolf3d?

    Post by ronwolf1705 on 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
    Bring em' On!
    Bring em' On!

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

    Re: Commander keen in wolf3d?

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




    WLHack
    Senior Member
    Senior Member

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

    Re: Commander keen in wolf3d?

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

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

    Re: Commander keen in wolf3d?

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

    oh.. ok.

    Airslide
    Bring em' On!
    Bring em' On!

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

    Re: Commander keen in wolf3d?

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




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

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

    Number of posts : 332
    Age : 41
    Registration date : 2007-03-25

    Re: Commander keen in wolf3d?

    Post by giftmacher on 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
    Bring em' On!
    Bring em' On!

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

    Re: Commander keen in wolf3d?

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




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

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

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



    Wolf3d Haven
    Minute Logic Blog

    Airslide
    Bring em' On!
    Bring em' On!

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

    Re: Commander keen in wolf3d?

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

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




    PicNic
    Veteran
    Veteran

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

    Re: Commander keen in wolf3d?

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

    How you know that admin? you can't even code.

    WLHack
    Senior Member
    Senior Member

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

    Re: Commander keen in wolf3d?

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

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

    Re: Commander keen in wolf3d?

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

    Oh.. but is it possible?

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

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

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

    Re: Commander keen in wolf3d?

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

    WLHack
    Senior Member
    Senior Member

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

    Re: Commander keen in wolf3d?

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

    WLHack
    Senior Member
    Senior Member

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

    Re: Commander keen in wolf3d?

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

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

    PicNic
    Veteran
    Veteran

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

    Re: Commander keen in wolf3d?

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

    Ok...

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

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

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

    Re: Commander keen in wolf3d?

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

    bf?

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

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

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

    Re: Commander keen in wolf3d?

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

    haha, bf107 :tongue:

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

    Battlefield running animation?

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

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

    Re: Commander keen in wolf3d?

    Post by Sponsored content Today at 12:17 pm


      Current date/time is Thu Dec 08, 2016 12:17 pm