STEAM 组
Blender Source Tools BleST
STEAM 组
Blender Source Tools BleST
418
游戏中
2,454
在线
成立于
2013 年 11 月 8 日
所有讨论 > Help > 主题详情
Malovato Budet 2019 年 8 月 8 日 上午 11:33
How to create .phy file in Blender 2.8?
How to create .phy file in Blender 2.8?

Like this :
https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=1828890891
< >
正在显示第 1 - 8 条,共 8 条留言
Zappy 2019 年 8 月 8 日 上午 11:46 
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 2019 年 8 月 8 日 下午 12:32 
Ok, then how convert .smd to .phy?
最后由 Malovato Budet 编辑于; 2019 年 8 月 8 日 下午 12:32
Zappy 2019 年 8 月 8 日 下午 12:58 
引用自 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 2019 年 8 月 13 日 上午 1:45 
I tried to do it, but the compiler show an error
Zappy 2019 年 8 月 13 日 上午 5:26 
引用自 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 2019 年 8 月 13 日 上午 7:52 
引用自 Zappy
引用自 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
最后由 Malovato Budet 编辑于; 2019 年 8 月 13 日 上午 7:56
Zappy 2019 年 8 月 13 日 上午 7:58 
引用自 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 2019 年 8 月 13 日 上午 8:14 
Thank you so much! All works fine
< >
正在显示第 1 - 8 条,共 8 条留言
每页显示数: 1530 50

所有讨论 > Help > 主题详情
发帖日期: 2019 年 8 月 8 日 上午 11:33
回复数: 8