This article's documentation is for anything that uses the Source engine. Click here for more information.

$minlod: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Setting bug notice hidetested=1 param on page where the bug might not need tested in param specified)
No edit summary
 
Line 1: Line 1:
{{Dead end|date=January 2024}}
{{Dead end|date=January 2024}}


When the model is built, all LODs that are at higher resolution that the specified one are thrown away and the model is reset to use the specified LOD in their place. This was first used on the XBox 360 to clamp model LODs since the screen resolution was fixed and there was very little memory.
{{This is a|name=$minilod|QC command}} When the model is built, all LODs that are at higher resolution that the specified one are thrown away and the model is reset to use the specified LOD in their place. This was first used on the XBox 360 to clamp model LODs since the screen resolution was fixed and there was very little memory.
{{bug|hidetested=1|Causes the compile to fail with an access violation on Source 2013. Must use another branch, such as HL2, Garry's Mod, etc.}}
{{bug|hidetested=1|Causes the compile to fail with an access violation on Source 2013. Must use another branch, such as HL2, Garry's Mod, etc.}}


Line 9: Line 9:


__NOTOC__
__NOTOC__
[[Category:QC Commands|minlod]]

Latest revision as of 21:38, 18 July 2025

Dead End - Icon.png
This article has no Wikipedia icon links to other VDC articles. Please help improve this article by adding links Wikipedia icon that are relevant to the context within the existing text.
January 2024

$minilod is a QC command available in all Source Source games. When the model is built, all LODs that are at higher resolution that the specified one are thrown away and the model is reset to use the specified LOD in their place. This was first used on the XBox 360 to clamp model LODs since the screen resolution was fixed and there was very little memory.

Icon-Bug.pngBug:Causes the compile to fail with an access violation on Source 2013. Must use another branch, such as HL2, Garry's Mod, etc.

Syntax

$minlod (lod)