RU
Этот инструмент позволит вам сконвертировать Source модели версий V27-37 из беты Half-Life 2 в версию V48, поддерживаемую релизной версией игры.

Как использовать:
1. Экзешник (.exe файл из данного архива) положите в папку "bin" любой Source 2013 игры (HL2, HL2:DM, TF2, CS:S, Source SDK Base 2013, ...).
2. Синтаксис схож с другими Сурсовскими CMD инструментами: mdlconverter [-game <полный_путь_до_директории_игры>] имяфайла 
(например: mdl37converter -game "C:\Program Files\Steam\steamapps\sourcemods\mod_hl2" "D:\Beta Models\Blah.mdl")
3. Он сработает похожим образом с StudioMDL, скомпилив конечную V48 модель в указанную в пути папку.

Существует возможность редактировать имена activity, имена animevent и настройки animevent. Используйте -actedit, -eventedit и -eventoptionedit соответственно, чтобы включить их. 
Данные параметры запуска понадобятся для того, чтобы правильно настроить работу event'ов у, необходимых для корректной работы модели с релизным кодом NPC. 
Делать это придется в любом случае, т.к. event'ы беты и релиза отличаются (например нужно изменить эвент ACT_COMBINE_STANDING_SMG1 на ACT_RANGE_ATTACK_SMG1)/
Список актуальных для релиза event'ов придется искать и смотреть в самом коде.

Автор - Nicknine

Скачано с www.hl2-beta.ru

----------------------------------------------------------------------------------

EN
This command-line tool allows you to convert Source V27-37 models seen in 2003 leaked build of Half-Life 2 to V48 used by Source 2007 and 2013 branches.

Usage:
1. Put the executable into "bin" folder of any Source 2013 game (HL2, HL2:DM, TF2, CS:S, Source SDK Base 2013, ...).
2. Launch it with following syntax: mdlconverter [-game <full_path_to_mod_dir>] filename (example: mdlconverter -game "C:\Program Files\Steam\steamapps\sourcemods\mod_hl2" "D:\Beta Models\Blah.mdl")
3. It'll work similar to StudioMDL where it will put the resulting V48 model into the specified mod dir with a proper path.

There are edit modes for activity names, animevent names and animevent options, use -actedit, -eventedit and -eventoptionedit switches respectively to enable them. You can use these to fix up the models so they work with retail NPC code (this is something that has to be done either way, you'll have to check the game code to know what to fix, e.g. Combine Soldier needs to have ACT_COMBINE_STANDING_SMG1 changed to ACT_RANGE_ATTACK_SMG1, etc).

For most human models, you need to use -addforwardattachment switch. It takes "eyes" attachment (if found) and copies it into a new "forward" attachment. This is required for head rotation to work on human models.

Changelog:

1.01:
 - Fixed IK rules conversion.
 - Fixed the program terminating if a PHY file is missing.
 
1.02:
 - Fixed sequence auto layers conversion.
 
1.03:
 - Fixed the remaining issues - added shared MDL support, added edit modes.
 
1.04:
 - Added -addforwardattachment launch param.
 
1.05:
 - Merged the program into one executable, added support for V28-32 model versions.
 
1.06:
 - Fixed animations conversion for V31 models.
 
1.07:
 - Added support for V27 models.
 - Fixed IK rules conversion (Combine_Strider.mdl).
 - Fixed hitbox conversion for V28-30 model versions.
 - Fixed hitbox names conversion (not actually used anywhere in the leak so it shouldn't matter).
 
1.08:
 - Fixed hitbox conversion for V30 models.
 - Fixed a bug in string table generation potentially resulting in duplicate entries.
 - Minor fixes to make the output MDL file closer to what StudioMDL produces.
 
 The author is Nicknine
 
 Downloaded from www.hl2-beta.ru