STEAM GROUP
Blender Source Tools BleST
STEAM GROUP
Blender Source Tools BleST
443
IN-GAME
2,534
ONLINE
Founded
8 November, 2013
All Discussions > Help > Topic Details
How to create .phy file in Blender 2.8?
How to create .phy file in Blender 2.8?

Like this :
https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=1828890891
< >
Showing 1-8 of 8 comments
Zappy 8 Aug, 2019 @ 11:46am 
Make a mesh object (or several) where each batch of vertices is only attached to a single bone, preferably with a low-ish polycount, then export it as a DMX or SMD mesh.
Feel free to import a ragdoll physics mesh (for example from a de-compiled Source model) to see what sort of design you could try to make it look like for it to work right.

Then, if it's for a single-bone physics mesh, load that DMX or SMD in the QC file using $CollisionModel. If it's for a multi-bone ragdoll thing, use $CollisionJoints instead.
Malovato Budet 8 Aug, 2019 @ 12:32pm 
Ok, then how convert .smd to .phy?
Last edited by Malovato Budet; 8 Aug, 2019 @ 12:32pm
Zappy 8 Aug, 2019 @ 12:58pm 
Originally posted by Malovato Budet:
Ok, then how convert .smd to .phy?
Compile the Source model, in the same manner as if the model didn't have any physics mesh for it. It gets "converted" into a PHY file at the same time as the rest of the QC, DMX, SMD, et cetera files get compiled into MDL, VVD, and VTX files.
Malovato Budet 13 Aug, 2019 @ 1:45am 
I tried to do it, but the compiler show an error
Zappy 13 Aug, 2019 @ 5:26am 
Originally posted by Malovato Budet:
I tried to do it, but the compiler show an error
Please try to compile the model again, copy the entirety of the model compile log, and paste it here for us/me to see (preferably between [code] and [/code]).
Malovato Budet 13 Aug, 2019 @ 7:52am 
Originally posted by Zappy:
Originally posted by Malovato Budet:
I tried to do it, but the compiler show an error
Please try to compile the model again, copy the entirety of the model compile log, and paste it here for us/me to see (preferably between [code] and [/code]).

Compiling TGA: materialsrc\backpack\workshop\player\items\heavy\hatt\hatt.tga - Compilation successful. Compiling VTF: materials\backpack\workshop\player\items\heavy\hatt\hatt.vtf input file: d:/steam/steamapps/common/team fortress 2/tf/workshop/content/materialsrc/backpack/workshop/player/items/heavy/hatt/hatt output directory: d:/steam/steamapps/common/team fortress 2/tf/materials/backpack\workshop\player\items\heavy\hatt config file d:/steam/steamapps/common/team fortress 2/tf/workshop/content/materialsrc/backpack/workshop/player/items/heavy/hatt/hatt.txt SUCCESS: Vtf file created - Compilation successful. Compiling VMT: materials\backpack\workshop\player\items\heavy\hatt\hatt.vmt CTargetVMT::Compile OK! - materials\backpack\workshop\player\items\heavy\hatt\hatt.vmt Compiling TGA: materialsrc\backpack\workshop\player\items\heavy\hatt\hatt_large.tga - Compilation successful. Compiling VTF: materials\backpack\workshop\player\items\heavy\hatt\hatt_large.vtf input file: d:/steam/steamapps/common/team fortress 2/tf/workshop/content/materialsrc/backpack/workshop/player/items/heavy/hatt/hatt_large output directory: d:/steam/steamapps/common/team fortress 2/tf/materials/backpack\workshop\player\items\heavy\hatt config file d:/steam/steamapps/common/team fortress 2/tf/workshop/content/materialsrc/backpack/workshop/player/items/heavy/hatt/hatt_large.txt SUCCESS: Vtf file created - Compilation successful. Compiling VMT: materials\backpack\workshop\player\items\heavy\hatt\hatt_large.vmt CTargetVMT::Compile OK! - materials\backpack\workshop\player\items\heavy\hatt\hatt_large.vmt Compiling TGA: materialsrc\models\workshop\player\items\heavy\hatt\hatt_color.tga - Compilation successful. Compiling VTF: materials\models\workshop\player\items\heavy\hatt\hatt_color.vtf input file: d:/steam/steamapps/common/team fortress 2/tf/workshop/content/materialsrc/models/workshop/player/items/heavy/hatt/hatt_color output directory: d:/steam/steamapps/common/team fortress 2/tf/materials/models\workshop\player\items\heavy\hatt config file d:/steam/steamapps/common/team fortress 2/tf/workshop/content/materialsrc/models/workshop/player/items/heavy/hatt/hatt_color.txt SUCCESS: Vtf file created - Compilation successful. Compiling VMT: materials\models\workshop\player\items\heavy\hatt\hatt.vmt CTargetVMT::Compile OK! - materials\models\workshop\player\items\heavy\hatt\hatt.vmt Compiling DMX: models\workshop\player\items\heavy\hatt\hatt.dmx - Compilation successful. Compiling DMX: models\workshop\player\items\heavy\hatt\hatt_lod1.dmx - Compilation successful. Compiling QC: models\workshop\player\items\heavy\hatt\hatt.qc - Compilation successful. Compiling MDL: models\workshop\player\items\heavy\hatt\hatt.mdl all paths:d:\steam\steamapps\common\team fortress 2\tf\custom\workshop\;d:\steam\steamapps\common\team fortress 2\tf\tf2_textures.vpk;d:\steam\steamapps\common\team fortress 2\tf\tf2_sound_vo_english.vpk;d:\steam\steamapps\common\team fortress 2\tf\tf2_sound_misc.vpk;d:\steam\steamapps\common\team fortress 2\tf\tf2_misc.vpk;d:\steam\steamapps\common\team fortress 2\hl2\hl2_textures.vpk;d:\steam\steamapps\common\team fortress 2\hl2\hl2_sound_vo_english.vpk;d:\steam\steamapps\common\team fortress 2\hl2\hl2_sound_misc.vpk;d:\steam\steamapps\common\team fortress 2\hl2\hl2_misc.vpk;d:\steam\steamapps\common\team fortress 2\tf\;d:\steam\steamapps\common\team fortress 2\hl2\;d:\steam\steamapps\common\team fortress 2\tf\download\ qdir: "d:\steam\steamapps\common\team fortress 2\tf\workshop\content\models\workshop\player\items\heavy\hatt\" gamedir: "d:\steam\steamapps\common\team fortress 2\tf\" g_path: "d:\steam\steamapps\common\team fortress 2\tf\workshop\content\models\workshop\player\items\heavy\hatt\hatt.qc" Building binary model files... Working on "hatt.qc" ERROR: d:\steam\steamapps\common\team fortress 2\tf\workshop\content\models\workshop\player\items\heavy\hatt\hatt.qc(5): - could not load file 'Collision1.smd' ERROR: Aborted Processing on 'workshop/player/items/heavy/hatt/hatt.mdl' CTargetMDL::Compile Failed - d:\steam\steamapps\common\team fortress 2\tf\models\workshop\player\items\heavy\hatt\hatt.mdl WARNING: CTargetZIP::Compile - Target 3 Compile Failed

It's a TF2 workshop items compiler

Problem in QC file with $CollisionModel, without this command all works good
Last edited by Malovato Budet; 13 Aug, 2019 @ 7:56am
Zappy 13 Aug, 2019 @ 7:58am 
Originally posted by Malovato Budet:
- ERROR: d:\steam\steamapps\common\team fortress 2\tf\workshop\content\models\workshop\player\items\heavy\hatt\hatt.qc(5): - could not load file 'Collision1.smd' -
This line says that on/around the 5th line in the QC file, you have a reference to "Collision1.smd", but that file doesn't exist beside the QC file.
Malovato Budet 13 Aug, 2019 @ 8:14am 
Thank you so much! All works fine
< >
Showing 1-8 of 8 comments
Per page: 1530 50

All Discussions > Help > Topic Details
Date Posted: 8 Aug, 2019 @ 11:33am
Posts: 8