From 678564d6875307eb3c1558f1a3272e4f194b8fb2 Mon Sep 17 00:00:00 2001 From: getdls <25286924+getdls@users.noreply.github.com> Date: Sun, 31 May 2020 13:49:08 +0200 Subject: [PATCH] Hyrule Warriors - Dyn object shadows, debris improved --- .../patch_drawDistance.asm | 15 +++++++++++++-- .../HyruleWarriors_IncreaseDrawDistance/rules.txt | 2 +- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/Mods/HyruleWarriors_IncreaseDrawDistance/patch_drawDistance.asm b/Mods/HyruleWarriors_IncreaseDrawDistance/patch_drawDistance.asm index 2467f9a8..8e8bcb9b 100644 --- a/Mods/HyruleWarriors_IncreaseDrawDistance/patch_drawDistance.asm +++ b/Mods/HyruleWarriors_IncreaseDrawDistance/patch_drawDistance.asm @@ -20,8 +20,19 @@ moduleMatches = 0xE159AE91 0x100DD8C4 = .float 9900.0 # some smoke / particles # shadow draw distance (more like boundary) -0x10000B20 = .float 8000.0 -0x10000B24 = .float 20000.0 +0x10000B20 = .float 7000.0 +#0x10000B24 = .float 20000.0 +0x100DFF78 = .float 40000.0 #Dyamic object shadows ie rocks, chests etc + +#Grass, debris. Mitigates object pop as groups switces between lods. +0x100DFF50 = .float 20000.0 +0x100DFF54 = .float 40000.0 +0x100DFF58 = .float 150000.0 +0x100DFF5C = .float 200000.0 +0x100DFF60 = .float 300000.0 +0x100DFF64 = .float 500000.0 +0x100DFF68 = .float 800000.0 +0x100DFF6C = .float 80000.0 #fov #0x10006FD0 = .float 0.015 #fov .float 0.017453292 # DATA XREF: CActFunc::GetViewParameter((PLAYER_ID,S_VIEW_PARAM &,uint))+194o diff --git a/Mods/HyruleWarriors_IncreaseDrawDistance/rules.txt b/Mods/HyruleWarriors_IncreaseDrawDistance/rules.txt index 0e67b19f..b5901893 100644 --- a/Mods/HyruleWarriors_IncreaseDrawDistance/rules.txt +++ b/Mods/HyruleWarriors_IncreaseDrawDistance/rules.txt @@ -2,7 +2,7 @@ titleIds = 000500001017D800,000500001017D900,000500001017CD00 name = Increase draw distance path = "Hyrule Warriors/Mods/Increase draw distance" -description = More stuff further away +description = More stuff further away | Experimental, may trigger distant object timers too early. version = 4 ## reminders: