Materialsub.cfg: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "{{DISPLAYTITLE:materialsub.cfg}}{{stub}} {{code|cfg/materialsub.cfg}} is a KeyValues file which, when the {{mono|-replacematerials}} parameter is used by VBSP, causes the materials defined in the VMF to be swapped out in the compiled BSP. {{confirm|Does this occur before or after material map compile flags are parsed?}} == Syntax == {{empty section}} Category:File formats Category:Plain text files")
 
No edit summary
Line 2: Line 2:
{{code|cfg/materialsub.cfg}} is a [[KeyValues]] file which, when the {{mono|-replacematerials}} parameter is used by [[VBSP]], causes the materials defined in the VMF to be swapped out in the compiled BSP.
{{code|cfg/materialsub.cfg}} is a [[KeyValues]] file which, when the {{mono|-replacematerials}} parameter is used by [[VBSP]], causes the materials defined in the VMF to be swapped out in the compiled BSP.
{{confirm|Does this occur before or after [[material map compile flags]] are parsed?}}
{{confirm|Does this occur before or after [[material map compile flags]] are parsed?}}
{{codenote|Keyvalue handling occurs in [https://github.com/ValveSoftware/source-sdk-2013/blob/master/src/utils/vbsp/materialsub.cpp materialsub.cpp].}}
== Syntax ==
== Syntax ==
{{empty section}}
{{empty section}}

Revision as of 08:36, 29 March 2025

Stub

This article or section is a stub. You can help by expanding it.

cfg/materialsub.cfg is a KeyValues file which, when the -replacematerials parameter is used by VBSP, causes the materials defined in the VMF to be swapped out in the compiled BSP.

Confirm:Does this occur before or after material map compile flags are parsed?
Cpp.pngCode:Keyvalue handling occurs in materialsub.cpp.

Syntax

Empty

This article or section is empty. You can help by adding it.