Team Fortress Wiki talk:3D Models

From Team Fortress Wiki
Jump to: navigation, search

Fashnek's Hats

Graphical versions moved: User:Fashnek/3D_Models

Sober Stuntsman

Magnanimous Monarch

Benefactor's Kanmuri

Humanitarian's Hachimaki

El Jefe

Frontline Field Recorder

Ghastlier Gibus

Ghastlierest Gibus

Ghastly Gibus

Hero's Hachimaki

Tam O' Shanter

Mask of the Shaman

Mask of the Shaman

--Fashnek 11:40, 8 November 2011 (PST)

List of finished weapons?

How about you make a list below the required weapons list for the weapons, that have been completed? Freakie 08:21, 7 September 2011 (PDT)

Well there's a list over here but I guess I could add them in later. User Moussekateer signature sprite.pngMoussekateer·talk 08:30, 7 September 2011 (PDT)
Why not add the list at some point and then list to the list article itself as well? Freakie 08:59, 7 September 2011 (PDT)

For moving

Dalokohs: RED · BLU · RED bitten · Blu bitten
Steak: Normal · Bitten i-ghost 06:43, 9 September 2011 (PDT)

Alt Axtinguisher · Alt Ubersaw RED · Alt Ubersaw BLU · Fists i-ghost 06:20, 10 September 2011 (PDT)

Pictogram tick.png Done User Moussekateer signature sprite.pngMoussekateer·talk 09:17, 10 September 2011 (PDT)

Portal 2 studiomdl

If you have it, use it. It's much faster and more stable than the ep1 studiomdl. It's located in /common/portal 2/bin, so your studiocompiler should look like this. i-ghost 03:32, 2 October 2011 (PDT)

Instead of {{c|info}}...

I think instead of showing the Pictogram info.png Info icon with rollover popup text, it should show "Click and drag to rotate the image. More info." above the image, as to be more clear.-Rocket Ship BBQ 14:10, 2 October 2011 (PDT)

I agree. Dragonsbrethren 17:38, 2 October 2011 (PDT)

Pictogram tick.png Done  –  Epic Eric (T | C) 17:44, 2 October 2011 (PDT)

I question the need for this at all. It's likely to confuse those who are new to the Wiki, and requires a lot of foreknowledge and setting up anyway so anyone who has the required software and such to use it will know how to already. I know it's handy to point out which items are ready for the 3D viewer but once they're all done it won't be necessary to remind people on every single page. » Cooper Kid (blether) • (contreebs) 16:47, 4 October 2011 (PDT)
The text will be replaced by a more appropriate icon soon. User Moussekateer signature sprite.pngMoussekateer·talk 16:57, 4 October 2011 (PDT)


Perhaps, clicking on the image should lead to either a larger, rotatable image, or a static image, like the old images. I find it frustrating being forced to look at the weapon at that size. -Rocket Ship BBQ 15:37, 9 October 2011 (PDT)

I'm afraid the images wouldn't look that great larger, because they're jpegs generated for that size. The old static weapon images will be added to the galleries when I can get around to it... User Moussekateer signature sprite.pngMoussekateer·talk 15:40, 9 October 2011 (PDT)


What are the exact requirements for viewing the finished immages? The computers in the lab I moniter seemingly meet and fail the requirements at random. Eligitine 08:39, 13 October 2011 (PDT)

You just need a modern browser with javascript enabled. If it fails the infobox should fall back to a static image. User Moussekateer signature sprite.pngMoussekateer·talk 10:56, 13 October 2011 (PDT)


Would it be possible to add a weapon sound feature in the future? Rolandius 06:11, 15 October 2011 (PDT)

As in the various sounds that the weapon can make? This was discussed in-depth a while ago, we came to the consensus that:
  • it was unnecessary as the weapon demonstration offers the same functionality
  • the Wiki is not a database or a clone of the GCFs which are available to every TF2 player. We filter information so only that which is 'useful' is on the wiki.
This isn't the right place to discuss it at any rate. i-ghost 06:19, 15 October 2011 (PDT)

3D Hat Project

I just looked at the first hat finished for the 3D Models project, and I have to say that I'm not really sure this is how it should be done. The hat alone doesn't give you a good idea of how it would look on the Heavy. Considering that hats are purely cosmetic, an accurate visual example of how it looks in-game is pretty important.

Before the project goes forward any further, I think that hats and misc items should be shown in these 3D boxes as they appear in-game; on the characters. I'm not sure how much extra work it would take to do this, but seeing as the wiki has always put quality before ease I think it should at the very least be considered. FlotsamX 01:33, 16 October 2011 (PDT)

Oh I agree, the 3D hats won't be replacing the current 2D images. We have something else in mind. User Moussekateer signature sprite.pngMoussekateer·talk 12:40, 17 October 2011 (PDT)
Curiosity killed the cat: What is that "something else"? :P —User Rocket Ship BBQ Awesomepyro.pngRocket Ship BBQ talkcontribs 19:18, 17 October 2011 (PDT)
A hat painting studio of sorts, the exact format of which hasn't been determined yet. User Moussekateer signature sprite.pngMoussekateer·talk 19:24, 17 October 2011 (PDT)
So, any progress on that hat painting studio? Upgrade 02:47, 28 February 2012 (PST)

Error Code

Been troubleshooting this error for a while, anyone know what's going on?

C:\Wiki Stuff\Moussekateer-3D-Models-automaton-f91e4e4>python

Error compiling Cython file:
            PyObject* base

        # Note: This syntax (function definition in pxd files) is an
        # experimental exception made for __getbuffer__ and __releasebuffer__
        # -- the details of this may change.
        def __getbuffer__(ndarray self, Py_buffer* info, int flags):

C:\Python26\lib\site-packages\Cython\Includes\numpy.pxd:190:8: Compiler crash in

ModuleNode.body = StatListNode(numpy.pxd:17:0)
StatListNode.stats[6] = StatListNode(numpy.pxd:28:5)
StatListNode.stats[0] = CDefExternNode(numpy.pxd:28:5,
    include_file = u'numpy/arrayobject.h')
CDefExternNode.body = StatListNode(numpy.pxd:29:4)
StatListNode.stats[6] = CClassDefNode(numpy.pxd:174:4,
    as_name = u'ndarray',
    class_name = u'ndarray',
    in_pxd = True,
    module_name = u'numpy',
    objstruct_name = u'PyArrayObject',
    typedef_flag = 1,
    visibility = u'extern')
CClassDefNode.body = StatListNode(numpy.pxd:175:8)
StatListNode.stats[1] = StatListNode(numpy.pxd:190:8)
StatListNode.stats[0] = DefNode(numpy.pxd:190:8,
    modifiers = [...]/0,
    name = u'__getbuffer__',
    num_required_args = 3,
    reqd_kw_flags_cname = '0',
    used = True)

Compiler crash traceback from this point on:
  File "", line 173, in Cython.Compiler.Visitor.TreeVisitor._visitchil
d (Cython\Compiler\Visitor.c:3558)
  File "C:\Python26\lib\site-packages\Cython\Compiler\", l
ine 1620, in visit_FuncDefNode
  File "C:\Python26\lib\site-packages\Cython\Compiler\", line 337, in an
  File "C:\Python26\lib\site-packages\Cython\Compiler\", line 4401, in a
  File "C:\Python26\lib\site-packages\Cython\Compiler\", line 4442, in a
  File "C:\Python26\lib\site-packages\Cython\Compiler\", line 348, i
n analyse_temp_boolean_expression
  File "C:\Python26\lib\site-packages\Cython\Compiler\", line 7148,
in analyse_types
  File "C:\Python26\lib\site-packages\Cython\Compiler\", line 5854,
in analyse_types
AttributeError: 'SizeofVarNode' object has no attribute 'check_type'
C:\Users\Soverign/.pyxbld\temp.win32-2.6\Release\pyrex\_imgpie.c(1) : fatal erro
r C1189: #error :  Do not use this file, it is the result of a failed Cython com
Traceback (most recent call last):
  File "", line 1, in <module>
    import mouse, Image, ImageGrab, os, subprocess, math, imgpie, threading
  File "C:\Wiki Stuff\Moussekateer-3D-Models-automaton-f91e4e4\", line
9, in <module>
    from _imgpie import *
  File "C:\Python26\lib\site-packages\pyximport\", line 335, in load
  File "C:\Python26\lib\site-packages\pyximport\", line 189, in load

  File "C:\Python26\lib\site-packages\pyximport\", line 183, in load
    so_path = build_module(name, pyxfilename, pyxbuild_dir)
  File "C:\Python26\lib\site-packages\pyximport\", line 167, in buil
  File "C:\Python26\lib\site-packages\pyximport\", line 85, in pyx_to
  File "C:\Python26\lib\distutils\", line 975, in run_commands
  File "C:\Python26\lib\distutils\", line 995, in run_command
  File "C:\Python26\lib\site-packages\Cython\Distutils\", line 135,
in run
  File "C:\Python26\lib\distutils\command\", line 340, in run
  File "C:\Python26\lib\site-packages\Cython\Distutils\", line 143,
in build_extensions
  File "C:\Python26\lib\distutils\command\", line 499, in build_exte
  File "C:\Python26\lib\distutils\", line 533, in compile
    raise CompileError(msg)
ImportError: Building module failed: ['CompileError: command \'"C:\\Program File
s (x86)\\Microsoft Visual Studio 9.0\\VC\\BIN\\cl.exe"\' failed with exit status

C:\Wiki Stuff\Moussekateer-3D-Models-automaton-f91e4e4>

Aubron 12:34, 17 October 2011 (PDT)

Please try to download the script ready python folder linked on the project page at the top. Some people have been having the same issue you described. Extract the Python folder somewhere and run the script as so:

C:\<patchtopythonfolder>\python User Moussekateer signature sprite.pngMoussekateer·talk 12:40, 17 October 2011 (PDT)

Alright, that solved the problem, but my final render came out pretty rough. Any ideas what would cause the distortion? Aubron 14:05, 17 October 2011 (PDT)

If the hat doesn't look like that in HLMV then it's probably the script being too fast for your computer. Look for the lines mouse.sleep(0.1) in the script and change that number to a larger value. User Moussekateer signature sprite.pngMoussekateer·talk 14:20, 17 October 2011 (PDT)
The hat doesn't look like that, but it has a jigglebone that jiggles when the file is opened, something I thought might be the problem. Is there any way to disable that? Thanks for all the help. Aubron 14:58, 17 October 2011 (PDT)
I guess it's possible to open the model in a 3D modelling program, remove the bone, remove everything related to it in the QC, recompile, and shoot the 3D pics. Or what Mousse said below.  –  Epic Eric (T | C) 15:02, 17 October 2011 (PDT)
Ah then that would be the problem. As you'll notice the model doesn't vertical/horizontal rotate around the center of the hat. You should read the guide on recompiling the models so that they're centered on the project page. One sideeffect of recompiling them is that the jigglebones will be removed. User Moussekateer signature sprite.pngMoussekateer·talk 15:03, 17 October 2011 (PDT)

Offset map syntax

What's syntax of offset maps? SiPlus 03:34, 28 October 2011 (PDT)

The Holiday Punch - idle.smd fixed

Hi y'all. I was going to try and give 3D image-making a shot. I got pretty far and had everything set up for the process, but Python didn't want to cooperate. It was throwing me syntax errors, and i sat for 3 hours straight and looked for solutions.

Anyways, here's to someone more expereienced; a fixed idle.smd with the pose all set, plus the rest of the decompiled stuff. [1]

Soda Popper needs redone

New model and textures... but you already knew that, right? » Cooper Kid (blether) • (contreebs) 17:44, 9 February 2012 (PST)

Adding the 3D Models for Hats

I see that Fashnek is raring to go with several hats already under his belt. Is there a holdup with adding them to the pages or are we waiting for all the hats to be finished before adding them? --Upgrade 01:00, 17 February 2012 (PST) #3D Hat Project I believe they want to make a painting template. So we need to wait. Atlas

MONOCOLUS and Horseman needs a 3D Model too.

All the classes got one, I think Halloween NPCs need one too. Atlas 13:52, 4 May 2012 (PDT)


I want to put a 3D picture of a weapon on my website. Is there way to copy/paste the code onto thw website? Thanks. Gooball60 16:12, 5 June 2012 (PDT)

You can find the relevant code here and in the 3d viewer templates. User Moussekateer signature sprite.pngMoussekateer·talk 16:17, 5 June 2012 (PDT)
I'm confused (I'm kind of a noob at this :P) How do I get the 3d picture (the one on every weapon page) onto the website? And what does that code do? Gooball60 19:38, 5 June 2012 (PDT)
The code is written with the wiki in mind, but it isn't too difficult to refactor it over. I don't think any of us have the time or inclination for this though, that would be something you need to figure out. User Moussekateer signature sprite.pngMoussekateer·talk 18:55, 6 June 2012 (PDT)

Link is down

The mediafire link for the preinstalled version of python is down, can someone who has the version please upload it to dropbox?

NeonHeights 10:10, 28 June 2012 (PDT)

Uh oh, someone keel little link. I'll upload it again when I get home later. User Moussekateer signature sprite.pngMoussekateer·talk 10:14, 28 June 2012 (PDT)

Saving to computer?

I want to save a 3D weapon to my computer, but how do I do this so I can rotate it like on the wiki? It'd be cool to do so Xeoxer 02:26, 19 July 2012 (PDT)

  • Please somebody answer!!! Xeoxer 08:18, 13 August 2012 (PDT)
The 3D models make use of CSS and Javascript, so you won't be able to use them without a browser. You'd have to copy all the Javascript, wikicode and generate your own webpage. User Moussekateer signature sprite.pngMoussekateer·talk 08:46, 13 August 2012 (PDT)

New weapon configs

Scorch Shot File:User JerryPL Scorch Shot 1 3D.jpg:

  • HLMVModelRegistryKey: 'models.weapons.c_models.c_scorch_shot.c_scorch_shot.mdl'
  • rotationOffset: 7.000000
  • initialTranslation: (59.797905, 0.000000, 1.081310)

Rainblower (done once, but still needs another redo):

  • HLMVModelRegistryKey: 'models.weapons.c_models.c_rainblower.c_rainblower.mdl'
  • rotationOffset: 28.000000
  • initialTranslation: (215.001099, 0.000000, -2.824112)
  • REDVMTFile: C:\Program Files (x86)\Steam\steamapps\xerox1710\team fortress 2\tf\materials\models\weapons\c_items\c_rainblower.vmt',
  • BLUVMTFile: C:\Program Files (x86)\Steam\steamapps\xerox1710\team fortress 2\tf\materials\models\weapons\c_items\c_rainblower_blue.vmt',

Pictogram tick.png Done Beggar's Bazooka (already in place):

  • HLMVModelRegistryKey: 'models.weapons.c_models.c_dumpster_device.c_dumpster_device.mdl'
  • rotationOffset: -10.000000
  • initialTranslation: (120.935852, 0.000000, 4.499184)

Pictogram comment.png ! Hitman's Heatmaker File:JerryPL Hitman's Heatmaker 3D.jpg - it got screwed up but image & offset map are fine:

  • HLMVModelRegistryKey: 'models.weapons.c_models.c_pro_rifle.c_pro_rifle.mdl'
  • rotationOffset: -7.000000
  • initialTranslation: (83.201904, 0.000000, 2.442438)
The model isn't centered. If you rotate it 90 degrees (sideways) you can see this

Pictogram tick.png Done Festive Scattergun (already in place) - see: Scattergun

Pictogram comment.png ! Festive Medi Gun (RED version - File:User JerryPL Medi Gun Festive RED 1 3D.jpg, BLU version - File:User JerryPL Medi Gun Festive BLU 3D.jpg - see: Medi Gun

The model tilts the wrong way, should be opposite end
No idea what causes that, the model was downloaded off the repository. I'll look into it, but I can't promise anything.

Pictogram comment.png ! Festive Sniper Rifle (BLU version - File:User JerryPL Sniper Rifle Festive BLU 3D.jpg, RED version - File:User JerryPL Sniper Rifle Festive RED 3D.jpg - see: Sniper Rifle

Funky lighting, why is it all dark?

Soldier emblem RED.png JerryPL Maggots! 10:34, 4 August 2012 (PDT)

Soldier emblem RED.png JerryPL Maggots! 10:08, 5 August 2012 (PDT)
Festive Sniper Rifle is done but I still need the model name. Good job. Don't forget to poot the other model details when you post em. User Moussekateer signature sprite.pngMoussekateer·talk 14:39, 6 August 2012 (PDT)
The Sniper Rifle model name is models\weapons\w_models\w_sniperrifle.mdl with models\player\items\sniper\xms_sniperrifle.mdl in the Weapon slot. Everything else is as on the Weapons subpage. Soldier emblem RED.png JerryPL Maggots! 04:55, 7 August 2012 (PDT)
Also, the Rainblower is done as well with settings given in the original entry. The files are located here RED version and BLU version. Soldier emblem RED.png JerryPL Maggots! 06:03, 7 August 2012 (PDT)
Done. User Moussekateer signature sprite.pngMoussekateer·talk 09:55, 7 August 2012 (PDT)

Botkiller Weapons

Should we give the Botkiller Weapons the same treatment as the Festive weapons? Madsser 08:04, 18 August 2012 (PDT)

Yep yep. User Moussekateer signature sprite.pngMoussekateer·talk 15:25, 18 August 2012 (PDT)

Error Code 2

Every time I try and run I receive the following error:

Traceback (most recent call last):
  File "", line 1, in <module>
    import mouse, Image, os, subprocess, math, imgpie, threading, time
  File "D:\STUFF\tf2\Moussekateer-3D-Models-automaton-adcf68f\", line 3, in <module>
    from _imgpie import *
  File "C:\Python26\lib\site-packages\pyximport\", line 335, in load_module
  File "C:\Python26\lib\site-packages\pyximport\", line 183, in load_module
    so_path = build_module(name, pyxfilename, pyxbuild_dir)
  File "C:\Python26\lib\site-packages\pyximport\", line 167, in build_module
  File "C:\Python26\lib\site-packages\pyximport\", line 85, in pyx_to_dll
  File "C:\PYTHON26\LIB\distutils\", line 975, in run_commands
  File "C:\PYTHON26\LIB\distutils\", line 995, in run_command
  File "C:\Python26\lib\site-packages\Cython\Distutils\", line 135, in run
  File "C:\PYTHON26\LIB\distutils\command\", line 340, in run
  File "C:\Python26\lib\site-packages\Cython\Distutils\", line 143, in build_extensio
  File "C:\PYTHON26\LIB\distutils\command\", line 499, in build_extension
  File "C:\PYTHON26\LIB\distutils\", line 449, in compile
  File "C:\PYTHON26\LIB\distutils\", line 359, in initialize
    vc_env = query_vcvarsall(VERSION, plat_spec)
  File "C:\PYTHON26\LIB\distutils\", line 251, in query_vcvarsall
    raise DistutilsPlatformError("Unable to find vcvarsall.bat")
ImportError: Building module failed: ['DistutilsPlatformError: Unable to find vcvarsall.bat\n']

Skr3wz 16:03, 11 October 2012 (PDT)

You need to have Visual C++ 2008 Express Edition with SP1 installed. User Moussekateer signature sprite.pngMoussekateer·talk 16:06, 11 October 2012 (PDT)
So I installed visual c++ 2008 and then re-ran the program and everything was going fine until the end. I received the error:
Traceback (most recent call last):
  File "", line 312, in <module>
    initialTranslation=(56.494537, 0.000000, 1.646599)
  File "", line 297, in automateDis
TypeError: unbound method waitForAll() must be called with BlendingThread instance as first argument (got nothing instead)

Skr3wz 17:00, 11 October 2012 (PDT)

Rotate template

Just a quick question, what's the status of the model selection template? I noticed a while ago that it's broken for the Bat (among others). Is it currently/actively being fixed by someone? --Org 07:49, 13 March 2013 (PDT)

Latest edit

Just a note to people who use this page: It should hopefully work, but it will be gone over by me or (maybe) Moussekateer to correct stuff. I need to speak to him about it, which will hopefully happen soon. --Omolong (talk) 18:49, 24 June 2013 (PDT)

Reserved Items

Should one person (Folkye) really be allowed reserve 19 items at once? The preceding unsigned comment was added by Zach the Cat (talk) • (contribs)

No, they shouldn't. I will remove their reservations for now. I wouldn't advise anyone to reserve multiple items until they're comfortable they can produce 3D models. User Moussekateer signature sprite.pngMoussekateer·talk 17:32, 7 September 2013 (PDT)

Trouble operating the script

I eventually got python to work after many google searches and such but: I don't see anything in about "item" or "name" much less "itemName". when I run the script HLMV closes itself, is that normal? at the end of the process some sort of error pops up. IOError: [Errno 2] No such file or directory: 'targetimages\\openhlmv.png' sorry if it's something obvious. I just don't understand this completely. Zach the Cat (talk) 08:09, 9 September 2013 (PDT)

First off, make sure you're running As for all the information you need to enter, you'll find it here. You need to find the registry key for the item, along with other information. User Moussekateer signature sprite.pngMoussekateer·talk 11:20, 9 September 2013 (PDT)

Okay the instructions on this page didn't mention using so I've was using bear with me. I put in the information as best as I could (not sure what to do for the sdk launcher). and got another error.

 C:\Users\Zachary\Desktop\TF2 Wiki\3D Models\program files\3D-Models-automaton-ma
Folder name for created images: theapsap
initialTranslation = (29.093202999999999, 0.0, 0.23489199999999999)
initialRotation = (0.0, 0.0, 0.0)
n = 0
xRot = -15, yRot = -180
Traceback (most recent call last):
  File "", line 470, in <module>
    wikiPassword = 'lolno'
  File "", line 274, in automateDis
  File "", line 28, in openHLMV
    subprocess.Popen([pathToHlmv + os.sep + 'hlmv.exe'], stdout=subprocess.PIPE,
  File "C:\Users\Zachary\Desktop\TF2 Wiki\3D Models\program files\Python26clean
- Copy\lib\", line 633, in __init__
    errread, errwrite)
  File "C:\Users\Zachary\Desktop\TF2 Wiki\3D Models\program files\Python26clean
- Copy\lib\", line 842, in _execute_child
WindowsError: [Error 2] The system cannot find the file specified

This time it doesn't mention what file so now I'm even more lost. Zach the Cat (talk) 14:49, 9 September 2013 (PDT)

It can't find hmlv.exe basically. Did you set the pathToHlmv variable to the folder path containing hlmv.exe? User Moussekateer signature sprite.pngMoussekateer·talk 14:37, 9 September 2013 (PDT)

Yes but I messed up somehow and placed "C:C:/Progr..." and as usual it closes hlmv.exe when I launch it. but this time it opened a png file I created with SFM that i had on my desktop, not sure why, got stuck with it clicking "File" then tabbing to the side. Zach the Cat (talk) 14:49, 9 September 2013 (PDT)

Australium Variants

Should the Australium variants, also, be part of the 3D model projects? Just curious to update it. Rescue RangerKSquared 18:12, 18 December 2013 (PST)

Help me, please

Can anybody help? I made some pictures Golden Pan to create 3D model. How to unite them? Archive with pictures here. Max 324 (talk) 19:58, 23 February 2014 (PST)

How did you generate these? Darkid (Talk | Contribs) 19:59, 23 February 2014 (PST)
In TFMV(specially for TF models) I set the specific starting position and each time changed the position of the camera (it changes every 15 degrees)Max 324 (talk) 20:37, 23 February 2014 (PST)


I was just wondering, is there a reason why we don't have 3d models of the cosmetics? The first topic on this page has links to cosmetic pictures. Would it create some sort of format style in the pages or something? Paint Splat 7D4071.png ClockworkSpirit2343

I know there were plans for them a while ago, but as of right now the weapons are far enough behind that it's not reasonable to work on them now. Darkid (Talk | Contribs) 06:07, 24 February 2014 (PST)
Might I also add... The fact that there are over 700 cosmetic items, and the number keeps growing every update, the amount of work to get them all would be substantial. It may or may not be even considered. And of course what darkid pointed out as well. Ashes (talk) 06:57, 24 February 2014 (PST)

.kool's 3D Models


.kool (talk) 11:40, 30 April 2014 (PDT)

Needs to be recompiled with a different rotation. It should rotate around the middle of the model, not the bottom. Darkid (Talk | Contribs) 18:08, 4 July 2014 (PDT)
Here, take this vpk and put it in your custom directory. Open up the equalizer and you will notice its x y z axis are perfectly centered. RED Überneedle.png - Lexar - talk 05:07, 21 July 2014 (PDT)

Compile co-ords

Hello, I was informed there was an issue with the minigun origin axis. I know how to edit this I just don't know how to find the origin axis that this project requires.

Here is an image showing where i have managed to get the axis to.

User Lexar Minigun recompile new axis.png

the axis used to be near the top of the minigun handle but i have tried to center it. Is there any resource for the co-ords required as I can easily change these. RED Überneedle.png - Lexar - talk 01:02, 21 July 2014 (PDT)

Never mind, i have an equation which gives me perfect centering of a model. I will have sent the minigun recompile to darkid by the time anyone reads this. RED Überneedle.png - Lexar - talk 03:58, 21 July 2014 (PDT)

COM Calculator

I have made a small exe which is basically portable and allows you to open smd files and instantly calculates the co-ordinates for the idle.smd.

The app can be found here.

The instructions are given to you on load. I just need to make sure this application works for people before I put it in the tutorial but not only this, it needs to spit out the right co-ordinates and that's what I'm wanting to test. RED Überneedle.png - Lexar - talk 23:05, 25 July 2014 (PDT)

New SFM method

I'm working on a new, far simpler method of making these images that is incredibly easy to set up. It basically involves a template with a premade camera, anchor point, and custom loading models in via SFM, attaching the object model to the dummy model, and then rotating the dummy model as a new pseudo vertex. Images have to be stitched together but positioning is incredibly easy, plus lighting looks way better. Would anyone be interested in this? I'll first create a Snack Attack image to demonstrate the method, of course. Hero lief (talk) 19:16, 27 August 2014 (PDT)

The flat lighting of HLMV is preferred for images on here, the way SFM does lighting would look massively off in comparison to the rest of the images on here. --Omolong (talk) 19:17, 27 August 2014 (PDT)
Using standard SFM lights, yes, that's the case, however with the rig/map I've set up I've actually gotten the lighting to be very similar to HLMV. I mean, it's a little bit off, but for the huge boost to the speed in which these can be churned out, I think it's worth it. Take a look. HLMV SFM Hero lief (talk) 19:28, 27 August 2014 (PDT)
The lighting there is massively different from the HLMV one, it's not very similar at all. --Omolong (talk) 19:31, 27 August 2014 (PDT)
I would actually argue that it's flatter than HLMV, and that it looks better. You be the judge. Hero lief (talk) 19:41, 27 August 2014 (PDT)
Whether or not it's flatter or you think it looks better doesn't really matter, the lighting isn't the same as HLMV's, and that would make it pretty inconsistent with other images. --Omolong (talk) 19:46, 27 August 2014 (PDT)
While that's true, since this SFM method is so streamlined and easy to do, would it not be possible to simply slowly convert all of the main weapon images to this format as a test run? I could do a couple and present them in a cleaner fashion. Plus, doing this would mean the wiki images are more consistent with the actual lighting of the game. Also, here's another comparison from a better angle (HLMV doesn't seem to like head-on angles). Hero lief (talk) 19:57, 27 August 2014 (PDT)
The current system for the 3D images works fine once its set up, it just takes a while. Additionally, people don't have to have SFM on their computer, they only need TF2 and then to download a few things that don't take up that much space. SFM, meanwhile, looks like it's a 15GB download (or at least, it takes up 15GB of space once downloaded), which isn't feasible for some people due to either limited hard drive space or limited downloads. The flat lighting of HLMV is preferable to actually show items and so on, as it gives a cleaner appearance of the item. It's hard to say that the lighting in SFM would be more like the game lighting, as there are many different environments for lighting. It's not just the 3D images that are done in HLMV either, all the paint images and infobox images are done in HLMV. Having one set of images done in SFM and all the other images done in HLMV would just make them look odd and inconsistent. And honestly, in that image you linked, the HLMV shot looks a lot cleaner and shows the details of the weapon easier, the SFM one makes it a lot darker, which makes it harder to see details on the darker areas. While that might not be a huge issue on weapons like the Detonator, it would look a lot worse on weapons that have dark textures, or have models that would mean that the lighting would make the details a lot harder to see. --Omolong (talk) 20:13, 27 August 2014 (PDT)
On size, yes, that is a valid point, though many wiki content creators use SFM anyway. On lighting, that's actually wrong because SFM uses the exact lighting model that TF2 does - after all, it actually is TF2, though a build from 2008. As per other images, this is a valid point, though I'm not sure if it would really be noticeable considering how different those types of images are already. As per detail, I think this is only really the case with the Detonator. Here's a comparison of the minigun. Either way, I was only offering, I wasn't making an executive decision. Hero lief (talk) 20:28, 27 August 2014 (PDT)

Cleaning the Finished weapons

Hey guys, it's great that the 3D Models are getting done and all, but the Finished weapons list is getting really crowded down there. Is there a way to make the list more condensed, like, for example, making just one entry for the completed set (i.e. Rocket Launcher and it's reskins from the same page). Just a thought. Rescue RangerKSquared 18:49, 19 October 2014 (PDT)

I don't think reskins account for that much of the space used, but feel free to try removing them and see what it looks like. Darkid (Talk | Contribs) 19:18, 19 October 2014 (PDT)

HLMV Closes itself

I've tried to use the script, but I'm having the same problem Zach the Cat had higher up in this page. I have my HLMV paths set to the folder where my HLMV.exe is, what am I doing wrong? "C:\Program Files (x86)\Steam\SteamApps\common\Team Fortress 2\bin\hlmv.exe" is what i have it set to. I tried it without the "hlmv.exe" but that gave me a different error entirely.

User Dr.Ocsid Sig2.gifDr. Ocsid 15:41, 19 March 2015 (PDT)

Can you paste your file? Use a service like pastie, or pastebin. Don't forget to remove your password. Darkid (Talk | Contribs) 15:44, 19 March 2015 (PDT)
Here you go: - User Dr.Ocsid Sig2.gifDr. Ocsid 15:48, 19 March 2015 (PDT)
First, change the offsets to 0, not None. Second, you should turn off paint for this project. Third, the VMT files are pointing to moussekateer, probably wrong. Finally, HLMV should point to the folder containing HLMV, not the executable. Darkid (Talk | Contribs) 16:08, 19 March 2015 (PDT)
I did what you said, and it gave me the error that I initially got when removing "hlmv.exe" from the folder path.
File "", line 213 pathToHlmv='C:\Program Files (x86)\Steam\SteamApps\common\Team Fortress 2\bin SyntaxError: EOL while scanning string literal
User Dr.Ocsid Sig2.gifDr. Ocsid 16:15, 19 March 2015 (PDT)
Please use colons (:) to indent your talk messages, it makes the flow of conversation easier to follow.
I'm going to need to see your automatebeta again. At a guess, check the HLMV= line for mismatched quotes. Darkid (Talk | Contribs) 16:17, 19 March 2015 (PDT)
Whoops, I fixed it. I replaced the "\"s with "//"s and it worked. But now, the script just opens the model and then does nothing. - User Dr.Ocsid Sig2.gifDr. Ocsid 16:20, 19 March 2015 (PDT)
Once again, I'll need to look at your automatebeta file. It's rather hard to debug blind. Darkid (Talk | Contribs) 16:22, 19 March 2015 (PDT)
Right, of course, sorry. - User Dr.Ocsid Sig2.gifDr. Ocsid 16:25, 19 March 2015 (PDT)
Hmm, is your cmd window staying open after you run python If so, what output is being shown? Darkid (Talk | Contribs) 16:27, 19 March 2015 (PDT)
Yeah, it is. This is the output it gives me:
Folder name for created images: y
Folder already exists, overwrite files? y\n? y
initialTranslation = (40.32, 0.0, 0.0)
initialRotation = (0.0, 0.0, 0.0)
n = 0
xRot = -15, yRot = -180
Traceback (most recent call last):
  File "", line 492, in <module>
    itemName = 'User DrOcsid MutatedMilk',
  File "", line 327, in automateDis
    whiteBackgroundImages, blackBackgroundImages = paintcycle(paintDict, whiteBa
ckgroundImages, blackBackgroundImages)
  File "", line 305, in paintcycle
    paintHat(dict[colour], REDVMTFiles)
  File "", line 51, in paintHat
    vmt = open(VMTFile, 'rb').read()
TypeError: coercing to Unicode: need string or buffer, NoneType found
Also, I forgot to mention that the black background for HLMV isn't working. Could that have to do with it? - User Dr.Ocsid Sig2.gifDr. Ocsid 16:31, 19 March 2015 (PDT)

────────────────────────────────────────────────────────────────────────────────────────────────────Ok. So you'll need to set paint = False. While you're at it, specify a value for the wikiName and wikiPassword, even if they're just wikiName = .
What do you mean "isn't working"? Do you mean it doesn't switch to a black background, or what? Darkid (Talk | Contribs) 16:33, 19 March 2015 (PDT)

Alright, I did what you said. And by "not working", I mean that the background is white rather than black. It was black the first time I launched HLMV after installing the textures, but now it's white every time. - User Dr.Ocsid Sig2.gifDr. Ocsid 16:37, 19 March 2015 (PDT)
Did you run the script again? What happened? The reason it's a white background is likely because the script is crashing before it gets to the part where it changes the background. Darkid (Talk | Contribs) 16:38, 19 March 2015 (PDT)
After attempting to run the script again, it told me "wikipassword =" is an invalid syntax. I removed it, and the script went along well, and crashed at the same place again. - User Dr.Ocsid Sig2.gifDr. Ocsid 16:43, 19 March 2015 (PDT)
Again, please send me and ideally the error message as well.
The exact syntax would be <code>wikiPassword = '',</code> and <code>wikiUsername = ''</code> note the capitalization and single quotes. Darkid (Talk | Contribs) 16:46, 19 March 2015 (PDT)
Error message is this:
Traceback (most recent call last):
  File "", line 494, in <module>
    wikiPassword = '',
TypeError: automateDis() got an unexpected keyword argument 'wikiName'
User Dr.Ocsid Sig2.gifDr. Ocsid 16:54, 19 March 2015 (PDT)
wikiUsername. Darkid (Talk | Contribs) 16:58, 19 March 2015 (PDT)
...God, I'm an idiot. But even after changing that, the script still crashes after opening the model in HLMV. - User Dr.Ocsid Sig2.gifDr. Ocsid 17:02, 19 March 2015 (PDT)
What's the crash message? Darkid (Talk | Contribs) 17:04, 19 March 2015 (PDT)
Folder name for created images: y
Folder already exists, overwrite files? y\n? y
initialTranslation = (40.32, 0.0, 0.0)
initialRotation = (0.0, 0.0, 0.0)
n = 0
xRot = -15, yRot = -180
Traceback (most recent call last):
  File "", line 494, in <module>
    wikiPassword = '',
  File "", line 360, in automateDis
    for fileName in REDVMTFiles:
TypeError: 'NoneType' object is not iterable
User Dr.Ocsid Sig2.gifDr. Ocsid 17:21, 19 March 2015 (PDT)

──────────────────────────────────────────────────────────────────────────────────────────────────── You removed the RedVMTFiles = [] line, so you should either add it back in or turn off teamColours. Darkid (Talk | Contribs) 17:22, 19 March 2015 (PDT)

Holy crap, finally, it worked. Thanks for your help. - User Dr.Ocsid Sig2.gifDr. Ocsid 17:27, 19 March 2015 (PDT)
A last suggestion: The two models I didn't render are that way because they're hard to figure out. I can work with you tomorrow a bit on how to get them functional, but the vaccinator backpack is a simpler task to tackle. Darkid (Talk | Contribs) 17:29, 19 March 2015 (PDT)
Alright, thanks. - User Dr.Ocsid Sig2.gifDr. Ocsid 17:35, 19 March 2015 (PDT)

I can't get it to work

So I've downloaded all the bunch, configured the and the phython files does nothing. First of all, I can't even use the phython.exe properly to navigate to the file (it always gives me "SyntaxError"), so I drag and drop the file into the phython in order to try. A command-prompt rapidly appears and closes. The command prompt shows this: [[2]]. Here is my
And, oh yea. I had to set-up HLMV to manually find the gameinfo.txt file via a shortcut. My HLMV only works with this extra line: "E:\Jogos\Steam\SteamApps\common\Team Fortress 2\bin\hlmv.exe" -game "E:\Jogos\Steam\SteamApps\common\Team Fortress 2\tf", this is because I had to reinstall my PC and I haven't reinstalled my Steam and games, which in this occasion, no registry keys exists for the paths. I don't know if that affects in some way. I've followed the tutorial on the project page, I haven't read the whole file in details. I may also get the ROT and TRANS from the old 3D Image Soldier that had the Marketing Pose pose. Thanks. User Gabrielwoj Signature 1.pngUser Gabrielwoj Signature 2.png - User Gabrielwoj Signature 3.png 19:45, 20 April 2015 (PDT)

Update, I got it to work. But HLMV crashes when running the .py file. Here is the updated [[3]] (uploaded on Dropbox because Mediafire wasn't working for some reason), along with the command-prompt log: [[4]] . (I updated it once again, but just to make the line 202-219 almost the same as 479-498, the errors were the same. Why those both needs to be edited, by the way?). Also, my password contains numbers, not only letters. Does that affect? User Gabrielwoj Signature 1.pngUser Gabrielwoj Signature 2.png - User Gabrielwoj Signature 3.png 20:18, 20 April 2015 (PDT)
The translation for the last error is: "The system cannot find the specified file". Just wanted to bring that out. 20:32, 20 April 2015 (PDT)
The script is looking for the hlmv.exe file in E:\Jogos\Steam\SteamApps\common\Team Fortress 2\bin. Are you sure that's the right path? Also you only need to update the arguments at the bottom of the script. User Moussekateer signature sprite.pngMoussekateer·talk 20:46, 20 April 2015 (PDT)
Yes, though, there is that info I mentioned about that I need to set up the gameinfo.txt path manually, the shortcut, is located at "E:\Jogos\Steam\SteamApps\common\Team Fortress 2". Well, I was testing the above argument and the program wasn't working (when I typed incorrectly), which is odd. I later fix that by typing it correctly. Thanks for the help. (Edited: Is there any registry key that I can add on regedit to make HLMV find the gameinfo.txt file without using the shortcut method?) User Gabrielwoj Signature 1.pngUser Gabrielwoj Signature 2.png - User Gabrielwoj Signature 3.png 21:04, 20 April 2015 (PDT)
I'm afraid I'm out of the loop, but I was sure there was some way in the tools launcher to permanently set the gameinfo.txt path? Worth a google. User Moussekateer signature sprite.pngMoussekateer·talk 21:19, 20 April 2015 (PDT)
What would be the "tools" launcher? The Source SDK, do you mean? I guess I can try find it on Google, not specifically for HLMV, but for TF2 or Steam. User Gabrielwoj Signature 1.pngUser Gabrielwoj Signature 2.png - User Gabrielwoj Signature 3.png 21:21, 20 April 2015 (PDT)
Well, I've told you via IRC about it, but I'm putting here. The fix for finding HLMV is switch the "\" to "/". Yea, simple as that. And for the HLMV find the gameinfo.txt by its own, I only opened Source SDK, went to "Edit Game Configurations" -> "Edit" -> "OK". I've made this as a test: File:User Gabrielwoj 3DTest.jpg, though, it's not working, and you can see the weird alpha'd Soldier on image as well, I don't know why that happened. User Gabrielwoj Signature 1.pngUser Gabrielwoj Signature 2.png - User Gabrielwoj Signature 3.png 22:30, 20 April 2015 (PDT)
Finally, the image works. Though, I may try again to see if I can fix that weird alpha thing. You can also notice that Soldier keep bumping around when being rotated, is that something from the script itself or I did something wrong? And finally, do you think the resolution is OK? Because my laptop is only 1366x768. I use a monitor to do the HLMV pics, but it seems that the size in the 3D image is fine. Thanks for all the help. User Gabrielwoj Signature 1.pngUser Gabrielwoj Signature 2.png - User Gabrielwoj Signature 3.png 22:36, 20 April 2015 (PDT)
Well, I do know I'm spamming quite a bit, but I'm just posting the stuff that is happening right now. Well, I still get the alpha error thing, but it happens in random takes. So if I re-run the program again, and merge those images, it should look fine (I may try run the script with less other programs open later, I'm just testing). Looks pretty good now, don't you think? File:User Gabrielwoj 3DTest.jpg. The only question I need to know about is my laptop resolution, if it's suitable for this project. On the page, it looks pretty fine, but I'm asking first. As well the bumpy model that I stated earlier. User Gabrielwoj Signature 1.pngUser Gabrielwoj Signature 2.png - User Gabrielwoj Signature 3.png 23:01, 20 April 2015 (PDT)
Done the other skins (Edit: Just throwing here that the alpha issue I was having before didn't happen when I made the BLU image and ÜberCharges for each team):

User Gabrielwoj Signature 1.pngUser Gabrielwoj Signature 2.png - User Gabrielwoj Signature 3.png 07:18, 21 April 2015 (PDT)
(Updated with c_model Rocket Launcher) User Gabrielwoj Signature 1.pngUser Gabrielwoj Signature 2.png - User Gabrielwoj Signature 3.png 08:34, 21 April 2015 (PDT)

Gun Mettle Update - Stock weapons (not the Decorated Weapons)

Valve have updated some of the default textures for the Stock weapons to accommodate the new Decorate system. Perhaps every stock weapon that has at least 1 decorated skin has been changed. For example, the Flamethrower RED/BLU area is now more dark and it has $envmap applied to it, the Stickybomb Launcher reload handle is more brighter, the Medi Gun doesn't have low-quality textures on the healing beam whole (it seems to be polygons now, not just a texture), and etc. I still have the old texture files, so I'll compare them, but it's pretty much confirmed that those textures got updated, but I think we should do every of those weapons just in case (even the smallest detail). And I'm pretty sure that the Australium and Botkiller variants were also updated (since it uses the main weapon for it). The Festives that has lights as a separate model does also count. I may do these soon. User Gabrielwoj Signature 1.pngUser Gabrielwoj Signature 2.png - User Gabrielwoj Signature 3.png 21:32, 26 July 2015 (PDT)

Well, weapons that uses the same stock model but adds an extra model for it (I.e: Backburner, Natascha, Kritzkrieg and possibly more) will also need to be updated. Along with these changes, every Class 3D Image needs to be changed too, since they wear weapons. User Gabrielwoj Signature 1.pngUser Gabrielwoj Signature 2.png - User Gabrielwoj Signature 3.png 21:42, 26 July 2015 (PDT)
Just worth saying that the old textures are still in the game files under tf2_textures_dir.vpk->materials/models/weapons/c_items while the new textures are in tf2_textures_dir.vpk->materials/models/weapons/c_models/c_flamethrower ~/~ c_grenadelauncher (for some reason, they made few changes to the Grenade Launcher, even though no Decorated weapons exist) / c_medigun / c_minigun ~/~ c_pistol ~/~ c_revolver ~/~ c_rocketlauncher ~/~ c_scattergun ~/~ c_shotgun ~/~ c_smg ~/~ c_sniperrifle and c_stickybomb_launcher. User Gabrielwoj Signature 1.pngUser Gabrielwoj Signature 2.png - User Gabrielwoj Signature 3.png 21:49, 26 July 2015 (PDT)
I finished comparing both old and new textures, check this imgur album: [Imgur] .The changes are:
  • Flamethrower: Made the texture darker and added some cubemaps (the Blue lit does not appear on HLMV, for some reason, it shows fine in-game);
  • Scattergun: Darker texture;
  • Pistol: Darker texture, more polished;
  • Shotgun: Brighter texture;
  • Rocket Launcher: More "plastic" texture;
  • Stickybomb Launcher (now has c_model since the Gun Mettle Update): The whole is now completely black, texture got a lot darker and the reloading pin is completely solid;
  • Minigun (now has c_model since the Gun Mettle Update): Suffered very minimal changes. The texture is more brighter in some areas and darker in others (check the sticker on the back);
  • Medi Gun: Darker texture and cubemaps;
  • Sniper Rifle: Completely removed the phong. The whole is completely black, once again;
  • SMG: Darker texture;
  • Revolver: Darker texture;
  • Grenade Launcher (!): Grenade Launcher now has a weird shadow bug. This weapon has no decorated weapons yet.
I also remembered that all cosmetic items that wear weapons would also need to be changed, but the changes are so minimal that the work would be too much. Sure it would be nice to update it, but it's not something important for now. User Gabrielwoj Signature 1.pngUser Gabrielwoj Signature 2.png - User Gabrielwoj Signature 3.png 22:32, 26 July 2015 (PDT)

Are we going to be making more reskin 3d models?

Do we plan to make them, I mean. The festivized weapons don't have 3d models. The skinned and warpaint stuff don't as well. The problem for the warpaints is that there are a lot of variations. Like tiger buffed, depending upon the seed you use when applying it, can look like a white tiger stripes instead of a normal tiger. Graysocks (talk) 13:12, 4 April 2018 (UTC)

I'm not too sure about the warpaints yet, but we definitely are going to add those new festives at some point. Thing is, Darkid and I are the only (partly) active contributors in this project, and since we got other stuff to do progress is slow. If you could lend a hand, that'd be great~ User Wookipan Golden Strawberry.png Wookipan (talk | contribs) 18:41, 4 April 2018 (UTC)
Any weapon that has a static skin, we plan to make. I've been very underwater as of late, but I'm getting back to my wiki TODO. If you add them to the request list on TFW:3D Models#Needed weapons, I'll get to them when I can. Darkid « TalkContribs » 12:21, 7 April 2018 (UTC)
I think most skins (like from gun mettle and toughbreak), and some warpaints have static design. The thing is I think that even the ones with static pattern (like the civil service war paints), MIGHT have randomized scratches and blood stains when they are not factory new. Graysocks (talk) 03:32, 8 April 2018 (UTC)

Engie's Rancho Relaxo chair model


Currently, I am scouring the internet for a 3D model of Engie's chair from the taunt Rancho Relaxo. So far, nothing has been developed. I'm looking for it due to an idea that I had earlier in the morning. If anyone has heard the Torbjörn vs Engineer battle by VideoGameRapBattles Link to video, it seems to offer itself to video ideas. One being a live action version of the song. The model I specifically can't seem to find is the chair model. If anyone knows where I can find the model please let me know. AG Matt (talk) 21:50, 25 September 2019 (UTC)

~AG Matt

"If mapping were easy, it wouldn't be creative."

Steam: AG Matt

I have thought about creating a page for 3D views of taunt props, might get around to doing that sometime. If you want to load up the model yourself in HLMV, search tf_misc_dir.vpk for engys_new_chair - that's what it's called in the files, if I recall correctly. Killicon flaming huntsman.png VasyaTheWizard (talk) • (contributions) 04:09, 26 September 2019 (UTC)
He's actually asking for the source of the 3D model itself, not really a discussion on making 3D images for the taunts. Well, I could help him, but depends on what file type he wants. .obj, perhaps? User Gabrielwoj Signature Icon.png - User Gabrielwoj Signature 1.pngUser Gabrielwoj Signature 2.png - User Gabrielwoj Signature 3.png 16:39, 26 September 2019 (UTC) not doing anything?

I'm using Python 3.9.1. I followed all the instructions, installed all the pips, etc. However, when i run it doesn't do anything, just creates a __pycache__ folder and leaves this

Traceback (most recent call last):
 File "d:\folder\", line 15, in <module>
   from imageprocessor import ImageProcessor
 File "d:\folder\", line 13, in <module>
   from wikitools import wiki
 File "C:\Users\USER\AppData\Local\Programs\Python\Python39\lib\site-packages\wikitools\", line 19, in <module>
   from wiki import *
ModuleNotFoundError: No module named 'wiki'

Ashe (talk) 16:06, 12 February 2021 (UTC)

Just found out that you need Python 2.5+, as wikitools pip isn't compatible with Python 3.
Exaskliri (talk) 16:25, 18 May 2021 (UTC)
Tried again with python 2.7 and it doesn't work either
Traceback (most recent call last):
  File "", line 15, in <module>
    from imageprocessor import ImageProcessor
  File "D:\3D-Models-automaton-master\", line 13, in <module>
    from wikitools import wiki
  File "C:\Users\USER\AppData\Local\Programs\Python\Python36\lib\site-packages\wikitools\", line 19, in <module>
    from wiki import *
ModuleNotFoundError: No module named 'wiki'
I also tried installing the pip 'wiki' and it doesn't work neither again
Also, the Visual C++ compiler link is broken · Ashe (talk) 02:37, 19 May 2021 (UTC)