Dunno if that has been posted before.
Simply put that into your entity iteration.
current offset:
You can also disable the fog outside of the map with DT_Local::m_skybox3d.fog.enable = 0x184.
I didn't do it because the fog outside of the map doesn't matter anyways.
Simply put that into your entity iteration.
Code:
if (sClassname.find("FogController") != std::string::npos)
{
static DWORD dwFogEnable = source_engine::StaticData::pBaseClient->GetNetvarOffset("DT_FogController", "m_fog.enable");
*(byte*)(pBaseEntity + dwFogEnable) = 0;
continue;
}Code:
m_fog.enable = 0xA0CI didn't do it because the fog outside of the map doesn't matter anyways.
Aucun commentaire:
Enregistrer un commentaire