Quick D2R Guide on Act1 Outdoor Fog Edits

We will open up modding section ones the remaster of original Diablo 2 game is released. Until then we open up a section to discuss the upcoming title.
User avatar
pairofdocs
Posts: 7
Joined: Sat Feb 20, 2021 5:11 pm
United States of America

Quick D2R Guide on Act1 Outdoor Fog Edits

Post by pairofdocs » Sun Aug 15, 2021 1:07 am

Hi PK,

I'm posting a simple D2R guide after getting motivation from Kingpin on the Discord

Json files are in D2R\Data\hd\env\vis\ and can be extracted with CascView
There are 6 outdoor jsons:
  • act1_outdoors_dawn1.json
  • act1_outdoors_dawn2.json
  • act1_outdoors_day.json
  • act1_outdoors_dusk1.json
  • act1_outdoors_dusk2.json
  • act1_outdoors_night.json
Setting the depthFogColor to 1,1,1 and depthFogDensity to 0 will remove the fog effect in act1

Code: Select all

"depthFogColor": {"x": 1, "y": 1, "z": 1},
"depthFogDensity": 0,
Launch your game with -direct -txt

I first noticed how fog was not present when I entered a hut in act1's wilderness. The grass looked greener and I wanted to remove the grayness from my outdoor areas.
With this json edit the grass and environment looks more vivid and less gray.

Default outdoors env settings:
Image

depthFogDensity at 0:
Image

A markdown version of the guide is here https://gist.github.com/pairofdocs/f52e ... 3f21739cac

Happy Moddin'

User avatar
pairofdocs
Posts: 7
Joined: Sat Feb 20, 2021 5:11 pm
United States of America

Re: Quick D2R Guide on Act1 Outdoor Fog Edits

Post by pairofdocs » Sun Aug 15, 2021 3:01 am

Additional instructions on how to get the game data files in their proper places before using -direct -txt


Credit to pbsim#2468 on discord
extract the data CASC contents to the game dir and then it finally worked
Image

Once the CASC data has been added, editing the json files and launching Game.exe with parameters -direct -txt will launch D2R with the modded files loaded.

For an explanation on what `-direct -txt` does, see the modding guide https://d2mods.info/forum/viewtopic.php?t=63972 and https://diablo.fandom.com/wiki/Game_com ... attributes

Return to “Diablo II Resurrected Discussion”