This article's documentation is for the "GoldSrc" engine. Click here for more information.

StudioMDL (GoldSrc): Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(fleshed out page with more info)
m (Reverted edits by Nesciuse (talk) to last revision by SirYodaJedi)
Tag: Rollback
 
(14 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Dead end|date=January 2024}}
{{LanguageBar}}
{{langsp}}
{{gldsrc topicon}}
{{draft}}
{{tabs|StudioMDL|goldsrc=1|source=1}}
 
{{stub}}
StudioMDL is the commandline compiler for GoldSrc modelfiles.  You can either run it via the command line or drag and drop a .[[QC]] file onto it, or ideally use {{Crowbar|4.1}} as your GUI.
{{studiomdl|4|linkto=gldsrc}} is the commandline compiler for GoldSrc [[MDL (GoldSrc)|MDL models]].  You can either run it via the command line or drag and drop a .[[QC]] file onto it, or ideally use {{Crowbar|4.1}} as your GUI.


==Command line arguments==
==Command line arguments==
Line 12: Line 12:


==History==
==History==
* 2002 - [[Half-Life SDK]] release (cannot compile Counter-Strike models or use 9-wayblends)
* 2002 - {{hlsdk|2}} release (cannot compile Counter-Strike models or use 9-wayblends)
* 2003 - Counter-Strike version, allows for compilation of 9-way blending feature
* 2003 - {{cs|2}} version, allows for compilation of 9-way blending feature
* 2003 - Day Of Defeat version adds support for Masked transparency and Additive ''$texrender'' modes for textures
* 2003 - {{dod|2}} version adds support for Masked transparency and Additive ''$texrendermode''s for textures
* 2011 - Xash3d studiomdl adds support for Xash3d specific features and texture tiling
* 2011 - {{xash|2}} studiomdl adds support for Xash3d-specific features and texture tiling. Not recommended for vanilla GoldSrc.
* 2017 - "DoomMusic" version has better UV accuracy, and adds bone preservation feature
* 2017 - "DoomMusic" version has better UV accuracy, and adds bone preservation feature. It automatically pads npot textures to the next power of two to prevent pre-2019 builds of GoldSrc from rescaling the textures.
* 2016~2019 - Sven-Coop compiler allows for UV accuracy, UV tiling, bone and attachment preservation features, sven specific features like higher texture & chrome mode sizes. Also added additional $texrender mode commands.  Can be used for regular halflife as long as you don't use the higher resolution features
* 2016~2019 - {{scsdk|2}} compiler allows for UV accuracy, UV tiling, bone and attachment preservation features, sven specific features like higher texture & chrome mode sizes. Also added additional $texrendermode commands.  Can be used for vanilla GoldSrc as long as you don't use the higher resolution features
:{{bug|hidetested=1|Newer versions of Sven Co-op StudioMDL have a bug which results in rotated or otherwise misaligned cboxes. The 2018 version, which does not suffer from this bug, can be found [https://www.the303.org/backups/sven_studiomdl_2019.rar here (direct download)].<!-- Yes, the filename says 2019, but the actual EXE's help text says 2018. The 2019 build suffers from the aforementioned bug-->}}


==External Links==
==External Links==

Latest revision as of 07:21, 20 May 2025

English (en)Translate (Translate)

Stub

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

StudioMDL StudioMDL is the commandline compiler for GoldSrc MDL models. You can either run it via the command line or drag and drop a .QC file onto it, or ideally use Crowbar Crowbar as your GUI.

Command line arguments

  • -t <texture.bmp> : Globally replaces all textures in model with specified one.
  • -r Tags reversed normals in compile output console; example: triangle reversed (0.748195 0.949818 0.839380)
  • -a <angle> : set vertex normal blend angle override.
  • -h Dump hitbox information to compile console; example: $hbox 0 "atm" -10.49 -15.81 0.00 10.49 15.81 91.87

History

  • 2002 - Half-Life SDK Half-Life SDK release (cannot compile Counter-Strike models or use 9-wayblends)
  • 2003 - Counter-Strike Counter-Strike version, allows for compilation of 9-way blending feature
  • 2003 - Day of Defeat Day of Defeat version adds support for Masked transparency and Additive $texrendermodes for textures
  • 2011 - Xash3D Xash3D studiomdl adds support for Xash3d-specific features and texture tiling. Not recommended for vanilla GoldSrc.
  • 2017 - "DoomMusic" version has better UV accuracy, and adds bone preservation feature. It automatically pads npot textures to the next power of two to prevent pre-2019 builds of GoldSrc from rescaling the textures.
  • 2016~2019 - Sven Co-op SDK Sven Co-op SDK compiler allows for UV accuracy, UV tiling, bone and attachment preservation features, sven specific features like higher texture & chrome mode sizes. Also added additional $texrendermode commands. Can be used for vanilla GoldSrc as long as you don't use the higher resolution features
Icon-Bug.pngBug:Newer versions of Sven Co-op StudioMDL have a bug which results in rotated or otherwise misaligned cboxes. The 2018 version, which does not suffer from this bug, can be found here (direct download).

External Links