User:Lexar/3d Model Viewer Tools

From Team Fortress Wiki
< User:Lexar
Revision as of 13:35, 21 July 2014 by Lexar (talk | contribs) (added center of model calculator)
Jump to: navigation, search

Easy Compiling mdldecompiler.qc

Neodement with help from others had made a simple batch script for compiling with qc script file.

set mdl="C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\bin"
set tf="C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\tf"

%mdl%\studiomdl.exe -game -nop4 %tf% mdldecompiler.qc

pause

Add the code above into a completely new batch file. Make sure the batch file is located in the same location as the mdldecompiler.qc file, execute and what you have to do is look at the line in the command line saying "WRITING" as this line tells you where to find your newly compiled files.

Centering Calculator

To use this, you required a 3d modeling program to get the co-ordinates of some vertices and punch some numbers in.

I have made a direct center of model calculator here

follow what it tells you and it will give you the co-ords for idle.smd to get that sweet center.