VMDL/MaterialRemap: Difference between revisions
< VMDL
Jump to navigation
Jump to search
mNo edit summary |
Deprecated (talk | contribs) (Added top icons) |
||
Line 2: | Line 2: | ||
|zh-cn=Dota_2_Workshop_Tools:zh-cn/VMDL:zh-cn/MaterialRemap:zh-cn | |zh-cn=Dota_2_Workshop_Tools:zh-cn/VMDL:zh-cn/MaterialRemap:zh-cn | ||
}} | }} | ||
{{Dota 2Tools topicons}} | |||
Material Remap items allow materials to be reassigned. | Material Remap items allow materials to be reassigned. | ||
Revision as of 18:09, 15 May 2020
Template:Otherlang2 Material Remap items allow materials to be reassigned.
Display
- Material remap items are under the "Material Remap List" item in the outliner.

Create
- Use the Model > Add Material Remap menu item.
Edit
- To add a material remap item, select the "Material Remap List" item and press the green "+" button in the property editor.
- To edit a material remap item, select it in the outliner.
Data Structures
The vmdl material remap list data looks like this:
CVMaterialRemapList* m_pMaterialRemapList = &CVMaterialRemapList_0
m_pMaterialRemapList
A pointer to the vmdl's CVMaterialRemapList.
CVMaterialRemapList
A list of CVMaterialRemap elements. Looks like this in the vmdl:
CVMaterialRemapList CVMaterialRemapList_0
{
CVMaterialRemap[] m_vMaterialRemapList =
[
CVMaterialRemap
{
string m_sSearchMaterial = ""
string m_sReplaceMaterial = ""
}
]
}
NodeMaterialGroup_t
Attribute | Friendly Name | Description | Type | Default Value |
---|---|---|---|---|
m_name | Name | Name of the material group | string | |
m_materialList | Materials | A list of material paths ( content relative ) associated with this group | string[] |
