A Community discussion forum for Halo Custom Edition, Halo 2 Vista, Portal and Halo Machinima

Home  Search Register  Login Member ListRecent Posts
  
 
»Forums Index »Halo Custom Edition (Bungie/Gearbox) »Halo CE General Discussion »Bypassing Max Draw Distance with OpenSauce

Author Topic: Bypassing Max Draw Distance with OpenSauce (9 messages, Page 1 of 1)
Moderators: Dennis

DeadHamster
Joined: Jun 8, 2014


Posted: Apr 3, 2018 07:33 PM    Msg. 1 of 9       
I know that HAC2 had enabled this, as did a tool by a FleetAdmiralBacon.


I have geometry that spans a distance longer than the maximum draw distance allowed by Halo. It's the span of the bridge; on one side is CityScape, the other has a collection of aesthetic buildings with a Covenant Corvette overhead. When in the city, the corvette begins to cull geometry at a linear rate, showing that it's reached the rendering limit for distance.


As this has been done by others, it must be possible. Anyone know how I could start about looking into increasing this?


SomeFan
Joined: Sep 3, 2017

Discordapp: SomeFan#0171


Posted: Apr 5, 2018 11:43 PM    Msg. 2 of 9       
not that i know anything but i remember a tool that did this, seems i way to start is using "cheat engine" to modify memory addresses. so ya hope fully some who knows how will respond. maybe 002 can make chimera do this? he's already depreciated many functions of HAC2, why not this.


altis94
Joined: Oct 5, 2012

What doesn't ban me makes me stronger


Posted: Apr 6, 2018 05:07 AM    Msg. 3 of 9       
What if you put things that are far away into the sky model?


SBB_Michelle
Joined: Nov 4, 2015

Floof


Posted: Apr 7, 2018 06:34 PM    Msg. 4 of 9       
This chimera script I made a while ago quadruples the render distance. I don't suggest increasing it more than that as weird artifacts might show up.

It's a global script: https://cdn.discordapp.com/attachments/399989043498319872/423149982112022530/render_distance.lua


EmmanuelCD
Joined: Jan 7, 2015

End my suffering


Posted: Apr 7, 2018 11:21 PM    Msg. 5 of 9       
Quote: --- Original message by: SBB_Michelle
This chimera script I made a while ago quadruples the render distance. I don't suggest increasing it more than that as weird artifacts might show up.

It's a global script: https://cdn.discordapp.com/attachments/399989043498319872/423149982112022530/render_distance.lua


Theres any none LUA versión of this?


Slap Happy
Joined: Feb 2, 2009

Life ain't fair, buy a helmet.


Posted: Apr 8, 2018 04:58 PM    Msg. 6 of 9       
Sapp lua version of Michelles chimera script:


-- Render Distance X 4
-- Quadruples render distance for sapp servers running halo ce/pc
-- Created by H® Shaft, adapted from Chimera script by SBB_Michelle

api_version = "1.10.0.0"

function OnScriptLoad()
register_callback(cb['EVENT_GAME_START'], "OnNewGame")
if get_var(0, "$gt") ~= "n/a" then
OnNewGame()
end
end

function OnScriptUnload()
safe_write(true)
write_int(0x637D18, 1024)
safe_write(false)
end

function OnNewGame()
safe_write(true)
write_int(0x637D18, 4096)
safe_write(false)
end

function OnError(Message)
print(debug.traceback())
end


Edited by Slap Happy on Apr 8, 2018 at 04:59 PM
Edited by Slap Happy on Apr 8, 2018 at 05:01 PM


DeadHamster
Joined: Jun 8, 2014


Posted: Apr 8, 2018 05:29 PM    Msg. 7 of 9       
Quote: --- Original message by: SBB_Michelle
This chimera script I made a while ago quadruples the render distance. I don't suggest increasing it more than that as weird artifacts might show up.

It's a global script: https://cdn.discordapp.com/attachments/399989043498319872/423149982112022530/render_distance.lua


Much appreciated. Do you have any other bits like this?


SBB_Michelle
Joined: Nov 4, 2015

Floof


Posted: Apr 9, 2018 01:50 PM    Msg. 8 of 9       
Idk why you would make a sapp lua script for something that is entirely visual. Also, since you used the same pointer you are now editing a memory address which we don't know what it is on the server executable of halo.

Not to be a butt, but that doesn't strike me as particularly smart.

edit: I said a naughty word.
Edited by SBB_Michelle on Apr 9, 2018 at 01:53 PM


EmmanuelCD
Joined: Jan 7, 2015

End my suffering


Posted: Apr 9, 2018 10:59 PM    Msg. 9 of 9       
Quote:
function OnScriptUnload()
safe_write(true)
write_int(0x637D18, 1024)
safe_write(false)
end


So this function is for writing a new value in the pointer?

I found this very similar to Matlab Code

Edit, lol I ask an none lua versión because i didnt read it was a chimera script

Edited by EmmanuelCD on Apr 9, 2018 at 11:05 PM

 

 
Previous Older Thread    Next newer Thread







Time: Mon October 15, 2018 6:18 PM 235 ms.
A Halo Maps Website