Difference between revisions of "User:Lexar/3d Model Viewer Tools"

From Team Fortress Wiki
Jump to: navigation, search
(added center of model calculator)
(adding some info. Now off to re-compile some models for the list.)
 
Line 1: Line 1:
 +
==Setting up StudioCompiler==
 +
 +
Studio Compiler is riddled with initial setup issues. Here are the things you need to know.
 +
 +
'''Never''' use the find folder location button, all this does is crash the program/stops it instantly without error message. Instead, you need to copy the directories and paste them into the text boxes.
 +
 +
Here are screenshots of my settings to give you ideas on what they have to be.
 +
 +
(screenshots shortly)
 +
 +
==Centering Calculator==
 +
 +
To use this, you required a 3d modeling program to get the co-ordinates of some vertices and punch some numbers in.
 +
 +
Examples of what co-ordinates are needed will be shown on the calculator page.
 +
 +
Keep in mind that i have not tested this calculator on everything so it only worked based on my re-compiles that i have done.
 +
 +
I have made a direct center of model calculator [https://dl.dropboxusercontent.com/u/32668357/wiki_stuff/center_calculator/index.html here]
 +
 +
follow what it tells you and it will give you the co-ords for idle.smd to get that sweet center.
 +
 
==Easy Compiling mdldecompiler.qc==
 
==Easy Compiling mdldecompiler.qc==
  
Neodement with help from others had made a simple batch script for compiling with qc script file.
+
Neodement with (what i can gather) some help from others had made a simple batch script for compiling with qc script file.
  
 
<pre>
 
<pre>
Line 13: Line 35:
  
 
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.
 
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 [https://dl.dropboxusercontent.com/u/32668357/wiki_stuff/center_calculator/index.html here]
 
 
follow what it tells you and it will give you the co-ords for idle.smd to get that sweet center.
 

Latest revision as of 09:57, 22 July 2014

Setting up StudioCompiler

Studio Compiler is riddled with initial setup issues. Here are the things you need to know.

Never use the find folder location button, all this does is crash the program/stops it instantly without error message. Instead, you need to copy the directories and paste them into the text boxes.

Here are screenshots of my settings to give you ideas on what they have to be.

(screenshots shortly)

Centering Calculator

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

Examples of what co-ordinates are needed will be shown on the calculator page.

Keep in mind that i have not tested this calculator on everything so it only worked based on my re-compiles that i have done.

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.

Easy Compiling mdldecompiler.qc

Neodement with (what i can gather) some 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.