Source 2/Docs/Porting Legacy Content: Difference between revisions
m (THE OWL moved page Source 2/Porting Legacy Content/en to Source 2/Docs/Porting Legacy Content/en) |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{ | {{Language subpage}} | ||
Source 1 models, materials, maps, and all of it's content is completely different to how Source 2 handles the same files. These files are now unsupported, but with some built-in tools and some know-how, you can learn to import Source content to Source 2. | Source 1 models, materials, maps, and all of it's content is completely different to how {{Source 2|3.1}} handles the same files. These files are now unsupported, but with some built-in tools and some know-how, you can learn to import Source content to {{Source 2|3.1}}. | ||
== Some Context and Preamble == | == Some Context and Preamble == | ||
Source 2 uses new file formats for it's content. Maps are now .VMAP instead of .VMF, materials are now .VMAT instead of .VMT, models are now .VMDL instead of .MDL. See the pattern yet? Almost every file used in Source 1 is now some form of .v___. Some of them haven't changed much, like .VCFG files are just old-school .CFG files from Source 1 renamed. But what is unique about these files is that for models, maps, materials, sounds, etc. they all use a compiled version of said file. | {{Source 2|3.1}} uses new file formats for it's content. Maps are now .VMAP instead of .VMF, materials are now .VMAT instead of .VMT, models are now .VMDL instead of .MDL. See the pattern yet? Almost every file used in Source 1 is now some form of .v___. Some of them haven't changed much, like .VCFG files are just old-school .CFG files from Source 1 renamed. But what is unique about these files is that for models, maps, materials, sounds, etc. they all use a compiled version of said file. | ||
Take for instance the .vmat file. If you open a .vmat file inside of your 'Half-Life Alyx/content' directory, it will be in plain-text and can be edited. However, find that same material in 'Half-Life Alyx/game' and it will become a .VMAT_C file. Think of .VMAT as just a plain-text version of .VMAT_C, which is the real material file loaded by the engine. So, if you're making new content or have the sources of the Source 1 content, you should probably just convert your content using the regular paths, as it's much easier to retain your ideal look with the new GUI tools Source 2 offers. | Take for instance the .vmat file. If you open a .vmat file inside of your 'Half-Life Alyx/content' directory, it will be in plain-text and can be edited. However, find that same material in 'Half-Life Alyx/game' and it will become a .VMAT_C file. Think of .VMAT as just a plain-text version of .VMAT_C, which is the real material file loaded by the engine. So, if you're making new content or have the sources of the Source 1 content, you should probably just convert your content using the regular paths, as it's much easier to retain your ideal look with the new GUI tools {{Source 2|3.1}} offers. | ||
== Guides For Converting Content == | == Guides For Converting Content == | ||
Valve has an internal tool to help facilitate Source 1 content to Source 2, but we unfortunately are not given access to this tool. However, the community has come up with some clever workarounds using the conversion processes available in the engine and tools itself. | Valve has an internal tool to help facilitate Source 1 content to {{Source 2|3.1}}, but we unfortunately are not given access to this tool. However, the community has come up with some clever workarounds using the conversion processes available in the engine and tools itself. | ||
Source2Converter builds off of SourceIO and allows mass porting for models and their textures. | Source2Converter builds off of SourceIO and allows mass porting for models and their textures. | ||
* [https://github.com/REDxEYE/Source2Converter REDxEYE's Source2Converter] | * [https://github.com/REDxEYE/Source2Converter REDxEYE's Source2Converter] | ||
You can also port from Source 1 using these methods | You can also port from Source 1 using these methods | ||
* [[Half-Life: | * [[Half-Life: Alyx_Workshop Tools/Importing Source 1 Models|Importing .MDL Files]] | ||
* [[Half-Life: | * [[Half-Life: Alyx_Workshop Tools/Importing Source 1 Materials|Converting .VMT to .VMAT Files]] | ||
* [[Half-Life: | * [[Half-Life: Alyx_Workshop Tools/Importing Source 1 Maps|Importing .VMF Files]] | ||
If you'd like to port over your own content to {{Source 2|3.1}}, modeling and material creation guides are here: | |||
* [[Half-Life: Alyx Workshop Tools/Modeling|Modeling and Using ModelDoc]] | |||
* [[Dota 2 Workshop Tools/Materials|Materials in Dota 2 (still applicable to HL:A)]] | |||
[[Category:Half-Life: Alyx Workshop Tools]] | [[Category:Half-Life: Alyx Workshop Tools]] | ||
[[Category:Source 2]] | [[Category:{{Source 2|3.1}}]] | ||
{{Cleanup}} |
Revision as of 22:37, 8 June 2023
Source 1 models, materials, maps, and all of it's content is completely different to how Source 2 handles the same files. These files are now unsupported, but with some built-in tools and some know-how, you can learn to import Source content to Source 2.
Some Context and Preamble
Source 2 uses new file formats for it's content. Maps are now .VMAP instead of .VMF, materials are now .VMAT instead of .VMT, models are now .VMDL instead of .MDL. See the pattern yet? Almost every file used in Source 1 is now some form of .v___. Some of them haven't changed much, like .VCFG files are just old-school .CFG files from Source 1 renamed. But what is unique about these files is that for models, maps, materials, sounds, etc. they all use a compiled version of said file.
Take for instance the .vmat file. If you open a .vmat file inside of your 'Half-Life Alyx/content' directory, it will be in plain-text and can be edited. However, find that same material in 'Half-Life Alyx/game' and it will become a .VMAT_C file. Think of .VMAT as just a plain-text version of .VMAT_C, which is the real material file loaded by the engine. So, if you're making new content or have the sources of the Source 1 content, you should probably just convert your content using the regular paths, as it's much easier to retain your ideal look with the new GUI tools Source 2 offers.
Guides For Converting Content
Valve has an internal tool to help facilitate Source 1 content to Source 2, but we unfortunately are not given access to this tool. However, the community has come up with some clever workarounds using the conversion processes available in the engine and tools itself.
Source2Converter builds off of SourceIO and allows mass porting for models and their textures.
You can also port from Source 1 using these methods
If you'd like to port over your own content to Source 2, modeling and material creation guides are here:
[[Category:Source 2]]

For help, see the VDC Editing Help and Wikipedia cleanup process. Also, remember to check for any notes left by the tagger at this article's talk page.