Home / Forums / Modders Corner / Mafia Editing / Mafia mods / Exporting models from Souce engine-based games.

Exporting models from Souce engine-based games.

Home / Forums / Modders Corner / Mafia Editing / Mafia mods / Exporting models from Souce engine-based games.

1 replies
13 years, 7 months ago
#6852

This tutorial about how to convert models from Source engine-based games such Half-Life 2 and L4D.

 

First, if you want to export models from one of this games, you must have:

 

1) Game (Half-Life 2, S:S, Day of Defeat: Source, L4D, Vampire: The Masquarade, etc.);

2) Noesis;

3) Textures converter

4) Hex Workshop.

 

Lets work!:

 

1) You nust known, that models are placed in “Models” ?nd textures for them placed in “MaterialsModels [model name]”. Models have *.MDL format but you must extract all files with name of *.MDL. VALVe make a renders of the models with same names as *.MDL in models directory.

 

2) Open your *.MDL in Hex Workshop and find “IDST”. After “IDST” you must see the “,” (IDST,). If after “IDST” you see “0” or “1”, you must replace it to “,”. Save your worl and exit.

 

[img]/applications/core/interface/imageproxy/imageproxy.php?img=http://s43.radikal.ru/i101/1206/ad/eda599998238t.jpg&key=838f8609aebc6b523e84f80a0c43c5c8c0b6b232152f994769fdc5bcb6b75959[/img]

 

3) Run Noesis and push “File -> Open”. Chose your *.MDL

 

[img]/applications/core/interface/imageproxy/imageproxy.php?img=http://s018.radikal.ru/i504/1206/a1/34cd60be3928t.jpg&key=510ad4372220d43fb9ecf0488dfcd6b5413cc0ef350378db82bb8ba02fcf512b[/img]

 

4) Push “File” ? chose “Export from preview“. Model will be exported to *.OBJ.

 

[img]/applications/core/interface/imageproxy/imageproxy.php?img=http://i067.radikal.ru/1206/41/4342ce8586fet.jpg&key=950e3ecf59f8c878e01491e34344561574a370385ff3ad55b18660262c23d763[/img]

 

5) Import your model to 3D Studio Max.

 

6) Now you must work wuth textures. Open the “MaterialModels” directory and find the *.VTF with name, same to your *.MDL. Now, run texture converter and open tour *.VTF. After that push “File -> Export” and texture will be saved in *.TGA.

 

[img]/applications/core/interface/imageproxy/imageproxy.php?img=http://s017.radikal.ru/i402/1206/00/4d1f935aef2ft.jpg&key=a5314c62c76650ce408048455f816d4f04b3936a725a41d191d7d3b95ef61a42[/img]

 

7) Now convert your *.TGA to *.BMP and use Flip Vertically on your texture.

 

bigeyes.gif Use your *.BMP on a model in 3DS Max and export scene to *.3DS.

 

Result in Zmodeler:

 

[img]/applications/core/interface/imageproxy/imageproxy.php?img=http://s019.radikal.ru/i601/1206/c6/78e49fb0d00et.jpg&key=eed815570421f0043655b81f09ea4f5ce62b6c319c8e2e66f301899652c078b2[/img]

 

That is all. Thanks for attentionbiggrin.png” data-emoticon=”” srcset=”/wp-content/uploads/invision_emoticons/biggrin@2x.png 2x” width=”20″ height=”20″>

13 years, 7 months ago
#12996

Thanks for this tutorial, very useful!

  • You must be logged in to reply to this topic.