Results 1 to 6 of 6

Thread: Disable Portals

  1. #1

    Disable Portals

    If I remember correctly there was a command that disabled portals so the whole map was visible at all times. Or am I wrong?
    Reply With Quote

  2. #2
    Chris chrisk123999's Avatar
    Join Date
    May 2009
    Location
    Florida, USA
    Posts
    646

    Re: Disable Portals

    You can remove fog. But there is no "remove portals." You could use the clipping distance hack, if that's what your aiming for.
    Reply With Quote

  3. #3
    Codesaurus Skarma's Avatar
    Join Date
    Apr 2009
    Location
    Columbus, OH
    Posts
    227

    Re: Disable Portals

    Portals cannot be disabled, this is fundamentals of how BSP is done and how the geometry is rendered to screen. To render the entire BSP, you will need to change the far clipping distance which is set in the projection matrix.
    Reply With Quote

  4. #4

    Re: Disable Portals

    Quote Originally Posted by chrisk123999 View Post
    You can remove fog. But there is no "remove portals." You could use the clipping distance hack, if that's what your aiming for.
    The hack also relies on a dev command. Anyone knows which one?
    Reply With Quote

  5. #5
    Codesaurus Skarma's Avatar
    Join Date
    Apr 2009
    Location
    Columbus, OH
    Posts
    227

    Re: Disable Portals

    Weren't you the one who wrote that application? I don't know anything about debugging .net apps, but I opened it in ildasm and in your writememory() func, I found a few addresses.

    0x00637D28 holds the far clipping distance in HaloCE, which you change from 1024.0f to 2500.0f.

    Also an address 0x400001D0, which is the beginning of the cache, you change that to 0x3DCCCCCD? Not sure what that is. Some precision float?

    I checked out all the references in Olly to the far clipping distance address, a total of 4, none of them a part of a console command. It's set with 2 of the references and the other 2 are a part of the rendering process.

    Hope that helps
    Reply With Quote

  6. #6

    Re: Disable Portals

    I did not write it it was AdmiralBacon...but thanks for digging out those addresses!

    I guess you are right I was mistaken and he looked the value up in the HEK probably somewhere. Thanks again!
    Reply With Quote

Thread Information

Users Browsing this Thread

There are currently 2 users browsing this thread. (0 members and 2 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •