The Forum is up for sale: XeNTaX Forum looking for new owner

Call of Duty series - Disable portalling (vis)?

Coders and would-be coders alike, this is the place to talk about programming.
Post Reply
CoDEmanX
ultra-n00b
Posts: 7
Joined: Thu Nov 12, 2009 6:39 am

Call of Duty series - Disable portalling (vis)?

Post by CoDEmanX »

Hello Xentax-members,

i look for a way to disable the ingame portalling of Call of Duty 4 and above.
I wonder if it's possible, it would be really useful for the modding community - the stock maps could be remade for other titles of the franchise.

there is no dvar to turn off portalling. But there is an interesting one: r_singlecell
If enabled, only the portal the player is in will be drawn.

What i want is the opposite, show all cells at the same time in order to snapshot the map (3d ripper dx).
Does anybody know how to achieve this? Maybe Assambly-experts or memory hackers?

Might there be a single byte, specifying the number of cells drawn, which could be replaced by 9999?
Or DLL-injection to intercept the portal functions... ?

Thanks in advance!
0xFAIL
VVIP member
VVIP member
Posts: 50
Joined: Fri Oct 21, 2011 10:59 am
Has thanked: 7 times
Been thanked: 20 times

Re: Call of Duty series - Disable portalling (vis)?

Post by 0xFAIL »

Is 'portalling' something like 'only displaying seen, predefined chunks'? Never heard that word before...

Maybe the game is using LOD (Level Of Deail) for each chunk, I guess each chunk has its own LOD level
I would set if LOD = 0 to hide it/unload it.
Maybe you can try fiddling with LOD commands (if there are any)
Post Reply