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


    [code]Death guad trick

    Share

    WLHack
    Senior Member
    Senior Member

    Male
    Number of posts : 792
    Age : 27
    Location : Finland
    Registration date : 2007-03-26

    [code]Death guad trick

    Post by WLHack on Mon Jun 04, 2007 10:03 pm

    Open WL_Act2.C and searach for this block
    of code:

    Code:

    /*
    ===============
    =
    = SpawnDeadGuard
    =
    ===============
    */

    void SpawnDeadGuard (int tilex, int tiley)
    {
       SpawnNewObj (tilex,tiley,&s_grddie4);
       new->obclass = inertobj;
    }

    Now change the "&s_grddie4" to "&s_grddie1" (withouh quotes).
    And there you go..

    Now if you place the death guard near the player.
    Instead of the death guard you will see the guard actually dying.

    Dark_wizzie
    I am Death Incarnate!
    I am Death Incarnate!

    Male
    Number of posts : 5087
    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: [code]Death guad trick

    Post by Dark_wizzie on Mon Jun 04, 2007 10:07 pm

    very nice. can we do it with ss, too?



    Wolf3d Haven
    Minute Logic Blog

    WLHack
    Senior Member
    Senior Member

    Male
    Number of posts : 792
    Age : 27
    Location : Finland
    Registration date : 2007-03-26

    Re: [code]Death guad trick

    Post by WLHack on Mon Jun 04, 2007 10:26 pm

    Yes.
    Though you have to define SS
    to have his own "death guard"-tile.

    PicNic
    Veteran
    Veteran

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

    Re: [code]Death guad trick

    Post by PicNic on Mon Jun 04, 2007 11:39 pm

    heh.. nice find.. but isn't it lame? heh

    ronwolf1705
    Hardcore Wolfer
    Hardcore Wolfer

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

    Re: [code]Death guad trick

    Post by ronwolf1705 on Tue Jun 05, 2007 3:40 am

    Very nice! I use this in the first level of Sonder. It looks like you killed him. It is more realistic. Nice effect! Smile

    Dark_wizzie
    I am Death Incarnate!
    I am Death Incarnate!

    Male
    Number of posts : 5087
    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: [code]Death guad trick

    Post by Dark_wizzie on Tue Jun 05, 2007 5:04 pm

    imagine putting dead guards all around you when you begin a level ^^



    Wolf3d Haven
    Minute Logic Blog

    drchainsaw
    Bring em' On!
    Bring em' On!

    Male
    Number of posts : 192
    Location : UK
    Hobbie : Wolf3D
    Registration date : 2007-04-01

    Re: [code]Death guad trick

    Post by drchainsaw on Wed Jun 06, 2007 4:13 am

    So simple but very effective Cool



    Mods;
    Castle Hasselhoff
    Nazis With Attitude
    Hitler's Ark

    Dark_wizzie
    I am Death Incarnate!
    I am Death Incarnate!

    Male
    Number of posts : 5087
    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: [code]Death guad trick

    Post by Dark_wizzie on Wed Jun 06, 2007 6:25 am

    @drchainsaw wrote:So simple but very effective Cool
    i should have said that ^^



    Wolf3d Haven
    Minute Logic Blog

    PicNic
    Veteran
    Veteran

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

    Re: [code]Death guad trick

    Post by PicNic on Wed Jun 06, 2007 7:04 am

    Admin wrote:
    @drchainsaw wrote:So simple but very effective Cool
    i should have said that ^^

    I already said that. Cool

    drchainsaw
    Bring em' On!
    Bring em' On!

    Male
    Number of posts : 192
    Location : UK
    Hobbie : Wolf3D
    Registration date : 2007-04-01

    Re: [code]Death guad trick

    Post by drchainsaw on Wed Jun 06, 2007 7:38 am

    Admin wrote:
    @drchainsaw wrote:So simple but very effective Cool
    i should have said that ^^

    I know I'm great with words Wink



    Mods;
    Castle Hasselhoff
    Nazis With Attitude
    Hitler's Ark

    PicNic
    Veteran
    Veteran

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

    Re: [code]Death guad trick

    Post by PicNic on Wed Jun 06, 2007 1:12 pm

    No, I already said it so you took it of me! good with words? HAHA! Cool
    Cool Cool

    drchainsaw
    Bring em' On!
    Bring em' On!

    Male
    Number of posts : 192
    Location : UK
    Hobbie : Wolf3D
    Registration date : 2007-04-01

    Re: [code]Death guad trick

    Post by drchainsaw on Wed Jun 06, 2007 1:22 pm

    Wolfenstein3D Fan wrote:No, I already said it so you took it of me! good with words? HAHA! Cool
    Cool Cool

    You said it was lame scratch



    Mods;
    Castle Hasselhoff
    Nazis With Attitude
    Hitler's Ark

    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: [code]Death guad trick

    Post by Airslide on Wed Jun 06, 2007 4:36 pm

    Neat, I figured this out while fiddling with things in the code just the other night...lol

    BTW, any progress on player height yet? I'm getting nowhere...




    Dark_wizzie
    I am Death Incarnate!
    I am Death Incarnate!

    Male
    Number of posts : 5087
    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: [code]Death guad trick

    Post by Dark_wizzie on Wed Jun 06, 2007 5:01 pm

    nobody's progress is going anywhere ^^



    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: [code]Death guad trick

    Post by Airslide on Thu Jun 07, 2007 6:34 am

    lol....I got sprites to go down, but they appear closer, which is my main problem....then I have to figure out how to do this with walls....of course, if you're using floor/ceilings, then you can't jump without bumping your head anyways.....we'll end up making larger walls, someone will figure out how to make ceilings at different heights, and pretty soon we'll have a simulated doom engine Very Happy




    ronwolf1705
    Hardcore Wolfer
    Hardcore Wolfer

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

    Re: [code]Death guad trick

    Post by ronwolf1705 on Thu Jun 07, 2007 8:08 am

    Would be fun to let the player take damage by bumping their head.

    PicNic
    Veteran
    Veteran

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

    Re: [code]Death guad trick

    Post by PicNic on Thu Jun 07, 2007 8:38 am

    @ronwolf1705 wrote:Would be fun to let the player take damage by bumping their head.


    nah.. would suck

    @drchainsaw.. nvm

    Jonathan
    Sturmgewehr
    Sturmgewehr

    Male
    Number of posts : 44
    Registration date : 2007-03-25

    Re: [code]Death guad trick

    Post by Jonathan on Thu Jul 05, 2007 6:23 pm

    interesting

    Sponsored content

    Re: [code]Death guad trick

    Post by Sponsored content Today at 8:36 am


      Current date/time is Mon Sep 26, 2016 8:36 am