View Full Version : Disable Portals
CrAsHOvErRide
October 28th, 2009, 08:39 PM
If I remember correctly there was a command that disabled portals so the whole map was visible at all times. Or am I wrong? :iamafag:
chrisk123999
October 28th, 2009, 09:27 PM
You can remove fog. But there is no "remove portals." You could use the clipping distance hack, if that's what your aiming for.
Skarma
October 28th, 2009, 09:57 PM
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.
CrAsHOvErRide
October 29th, 2009, 09:57 AM
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?
Skarma
October 29th, 2009, 04:09 PM
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
CrAsHOvErRide
October 29th, 2009, 04:37 PM
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!
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.