This article relates to the game "Dota 2". Click here for more information.
This article relates to the SDK/Workshop Tools for "Dota 2 Workshop Tools". Click here for more information.
This article's documentation is for Source 2. Click here for more information.

VMDL/Internal External References: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Added top icons)
(Rewrite Template:Lang to Template:LanguageBar. This action was performed by a bot.)
 
(6 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{otherlang2
{{LanguageBar|Dota 2 Workshop Tools/VMDL/Internal External References}}
|zh-cn=Dota_2_Workshop_Tools:zh-cn/VMDL:zh-cn/Internal_External_References:zh-cn
}}
{{Dota 2Tools topicons}}
{{Dota 2Tools topicons}}
A VMDL can store data ''internally'' or ''externally''.
A VMDL can store data ''internally'' or ''externally''.
Line 10: Line 8:


== Using Model Editor ==
== Using Model Editor ==
When an item is "made external" in [[Dota 2 Workshop Tools/Model Editor|Model Editor]] via an Outliner right-click menu option, that data is written out as a separate file and the VMDL then references that new file.  
When an item is "made external" in {{mdledit|1}} via an Outliner right-click menu option, that data is written out as a separate file and the VMDL then references that new file.  


{{shortpagetitle}}
{{shortpagetitle}}
[[Category:VMDL]]
[[Category:VMDL]]
[[Category:Dota 2 Workshop Tools]]
[[Category:Dota 2 Workshop Tools]]

Latest revision as of 17:41, 18 July 2025

English (en)Translate (Translate)

A VMDL can store data internally or externally.

An internal reference is written into the VMDL file, while an external reference is a content-relative path to the external file.

Making data external is useful when you want to share data between models. For example, if there are characters with shared attachments, each of the character VMDL files can refer to an external attachment list. When that attachment list is edited all VMDL files that refer to it will get updated.

Using Model Editor

When an item is "made external" in Model Editor via an Outliner right-click menu option, that data is written out as a separate file and the VMDL then references that new file.