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


    How to make a static object be able to be walked through...

    Share

    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

    How to make a static object be able to be walked through...

    Post by Dark_wizzie on Tue Jan 18, 2011 12:15 pm

    The sprites and whatnot that Wlhack did for me in his exe all those months ago is good. But some objects are wrong. By wrong, I mean, you cannot walk through the pots and pans static objects. It's weird, and it makes one of my levels unfinishable. So does anyone have an *easy* solution to this? Because if I change the exe I might have to re-add those static objects again. (In case you were wondering, it's Sod with Wolf3d objects)



    Wolf3d Haven
    Minute Logic Blog

    Andy
    Seasoned Wolfer
    Seasoned Wolfer

    Number of posts : 280
    Registration date : 2007-12-22

    Re: How to make a static object be able to be walked through...

    Post by Andy on Tue Jan 18, 2011 4:20 pm

    Changing the EXE is the easiest solution, and you won't have to change your maps.

    The static sprites are listed in WL_ACT1.CPP

    Determine which one (??) is your pots and pans, and remove that line's "block" type:

    (SPR_STAT_??, block),

    to

    (SPR_STAT_??),

    and re-compile.

    If you can't change the EXE, you'll have to re-assign the sprites in the VSWAP and use a non-blocking one for the pots and pans.

    Hope this helps,
    Andy

    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: How to make a static object be able to be walked through...

    Post by Dark_wizzie on Thu Jan 20, 2011 11:37 am

    @Andy wrote:Changing the EXE is the easiest solution, and you won't have to change your maps.

    The static sprites are listed in WL_ACT1.CPP

    Determine which one (??) is your pots and pans, and remove that line's "block" type:

    (SPR_STAT_??, block),

    to

    (SPR_STAT_??),

    and re-compile.

    If you can't change the EXE, you'll have to re-assign the sprites in the VSWAP and use a non-blocking one for the pots and pans.

    Hope this helps,
    Andy
    Then I start with a normal Sod source, and then I do some coding. I can do the max static object coding stuff anyhow. Easy as cake. But I think adding the other sprites will be hard. I'd have to re-add them.



    Wolf3d Haven
    Minute Logic Blog

    Thomas
    Veteran
    Veteran

    Male
    Number of posts : 1659
    Age : 25
    Registration date : 2007-09-13

    Re: How to make a static object be able to be walked through...

    Post by Thomas on Thu Jan 20, 2011 12:33 pm

    Place a guard marching into the object right next to it. Oldest trick in the book... These days it's obsolete. Not to mention tacky.

    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: How to make a static object be able to be walked through...

    Post by Dark_wizzie on Fri Jan 21, 2011 11:51 am

    Too bad I can't place a guard to march into pots and pans at every loction, since it'd look weird.



    Wolf3d Haven
    Minute Logic Blog

    Andy
    Seasoned Wolfer
    Seasoned Wolfer

    Number of posts : 280
    Registration date : 2007-12-22

    Re: How to make a static object be able to be walked through...

    Post by Andy on Fri Jan 21, 2011 3:51 pm

    @Wizzie: Just do it where you need it to finish the level.

    @Thomas: nice thinking! cheers

    Sponsored content

    Re: How to make a static object be able to be walked through...

    Post by Sponsored content Today at 5:17 pm


      Current date/time is Sat Sep 24, 2016 5:17 pm