2020-05-24 16:11:16 +02:00
|
|
|
|
[DrawDistance_v208]
|
2020-04-29 19:52:45 +02:00
|
|
|
|
moduleMatches = 0xE159AE91
|
|
|
|
|
.origin = codecave
|
2020-05-24 15:45:35 +02:00
|
|
|
|
|
2020-04-29 19:52:45 +02:00
|
|
|
|
##object clip
|
2020-06-06 02:01:20 +02:00
|
|
|
|
0x100DD06C = .float 2.5 #3.0
|
2020-04-29 19:52:45 +02:00
|
|
|
|
#0x025F0554 = nop #same as setting 0x100DD06C to 0. Fix this when instruction supported.
|
|
|
|
|
#0x025F02F4 = nop #
|
|
|
|
|
#stage clip
|
2020-06-06 02:01:20 +02:00
|
|
|
|
0x100DFEC4 = .float 6.0
|
|
|
|
|
#0x100DFEC8 = .float 6.0
|
2020-05-24 15:45:35 +02:00
|
|
|
|
##stage clip update
|
2020-06-06 02:01:20 +02:00
|
|
|
|
0x100DFECC = .float 6.0
|
|
|
|
|
0x100DFED8 = .float 6.0
|
|
|
|
|
0x100DFEDC = .float 6.0
|
|
|
|
|
0x100DFEE0 = .float 6.0
|
2020-05-24 15:45:35 +02:00
|
|
|
|
|
2020-05-24 16:11:16 +02:00
|
|
|
|
0x100FF060 = .float 0.99 # force high mip / texture lod
|
2020-05-24 15:45:35 +02:00
|
|
|
|
0x100DD8C4 = .float 9900.0 # some smoke / particles
|
|
|
|
|
|
2020-05-25 19:27:19 +02:00
|
|
|
|
# shadow draw distance (more like boundary)
|
2020-06-06 02:01:20 +02:00
|
|
|
|
0x10000B20 = .float 8500.0
|
|
|
|
|
0x10000B24 = .float 40000.0
|
2020-05-31 13:49:08 +02:00
|
|
|
|
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
|
2020-05-25 19:27:19 +02:00
|
|
|
|
|
2020-06-06 02:01:20 +02:00
|
|
|
|
#Replace army mid LOD with high LOD
|
|
|
|
|
#0x022BD744 = li r12, 0
|
2020-04-29 19:52:45 +02:00
|
|
|
|
#fov
|
2020-05-24 15:45:35 +02:00
|
|
|
|
#0x10006FD0 = .float 0.015 #fov .float 0.017453292 # DATA XREF: CActFunc::GetViewParameter((PLAYER_ID,S_VIEW_PARAM &,uint))+194o
|
|
|
|
|
# scatter light (fog)
|
|
|
|
|
#0x1001CA64 = .float 2.5 # 2.0 default, 4.0 dark
|
2020-04-29 19:52:45 +02:00
|
|
|
|
#NPC text lod
|
2020-05-24 15:45:35 +02:00
|
|
|
|
#0x1009E134 = .float -8.0 #flt_1009E134: .float -1.0 # DATA XREF: CActModuleModelCommon::fGetMipLodBias(const(void))+4Co
|
|
|
|
|
#0x1009E138 = .float 0.0 #flt_1009E138: .float 0.0 # DATA XREF: CActModuleModelCommon::fGetMipLodBias(const(void)):loc_22BF3FCo
|
2020-04-29 19:52:45 +02:00
|
|
|
|
##dist from link
|
2020-05-24 15:45:35 +02:00
|
|
|
|
#0x100962BC = .float 0.25 #flt_100962BC: .float 0.0
|
2020-04-29 19:52:45 +02:00
|
|
|
|
|