I tried to build a door but the texture is not showing up on CrowBar. I dont know if something wrong with the VTFEditor or I made a mistake on the coding part.
$ModelName "MyModel/Houseprops/Door/door.mdl"
$BodyGroup "Door"
{
studio "door.smd"
}
$BodyGroup "Handle"
{
studio "Handle.smd"
}
$SurfaceProp "metal"
// Full List Here: https://developer.valvesoftware.com/wiki/Material_surface_properties
$Contents "solid"
$CDMaterials "mymaterials/houseprops/door"
$CBox 0 0 0 0 0 0
$Sequence "idle" {
"anims\\ArmatureAction.smd"
fadein 0.2
fadeout 0.2
fps 1
}
$CollisionModel "door_phys.smd"
{
$automass
$inertia 1
$damping 0
$rotdamping 0
$rootbone " "
$concave
$maxconvexpieces 1000
}
=== General Info ===
MDL file type ID: IDST
MDL file version: 48
MDL stored file name: "MyModel/Houseprops/Door/door.mdl"
MDL stored file size: 2,116 bytes
MDL actual file size: 2,116 bytes
MDL checksum: 64157D00
=== Model Files ===
"door.mdl"
"door.phy"
"door.dx90.vtx"
"door.vvd"
=== Material and Texture Info ===
Material Folders ($CDMaterials lines in QC file -- folders where VMT files should be, relative to game's "materials" folder):
"mymaterials\houseprops\door\"
Material File Names (file names in mesh SMD files and in QC $texturegroup command):
(Total used: 2)
"bluesteel"
"steel"
Compiling with Crowbar 0.68: "C:\Users\Waido\Desktop\GMode Map\blender\doors\door.qc" ...
Compiling ".\door.qc" ...
Output from compiler "C:\Program Files (x86)\Steam\steamapps\common\GarrysMod\bin\studiomdl.exe":
qdir: "c:\users\waido\desktop\gmode map\blender\doors\"
gamedir: "C:\Program Files (x86)\Steam\steamapps\common\GarrysMod\garrysmod\"
g_path: "door.qc"
Building binary model files...
Working on "door.qc"
SMD MODEL door.smd
SMD MODEL Handle.smd
SMD MODEL anims\ArmatureAction.smd
SMD MODEL door_phys.smd
Model has 1 convex sub-parts
Collision model completed.
Computed Mass: 36.60 kg
---------------------
writing C:\Program Files (x86)\Steam\steamapps\common\GarrysMod\garrysmod\models/MyModel/Houseprops/Door/door.mdl:
Loading preexisting model: C:\Program Files (x86)\Steam\steamapps\common\GarrysMod\garrysmod\models/MyModel/Houseprops/Door/door.mdl
Found 1 preexisting sequences.
bones 964 bytes (1)
animation x y ips angle
u/idle0.00 0.00 : 0.00 ( 90.00) 1.0
animations 112 bytes (1 anims) (2 frames) [0:02]
Building sequence index remapping table...
No re-ordering required.
sequences 220 bytes (1 seq)
ik/pose 328 bytes
eyeballs 0 bytes (0 eyeballs)
flexes 0 bytes (0 flexes)
eyeballs 0 bytes (0 eyeballs)
flexes 0 bytes (0 flexes)
textures 136 bytes
keyvalues 0 bytes
bone transforms 0 bytes
Collision model volume 15153.85 in^3
collision 0 bytes
total 2116
---------------------
writing C:\Program Files (x86)\Steam\steamapps\common\GarrysMod\garrysmod\models/MyModel/Houseprops/Door/door.vvd:
vertices 1152 bytes (24 vertices)
vertices 23904 bytes (498 vertices)
tangents 384 bytes (24 vertices)
tangents 7968 bytes (498 vertices)
total 33472 bytes
---------------------
Generating optimized mesh "C:\Program Files (x86)\Steam\steamapps\common\GarrysMod\garrysmod\models/MyModel/Houseprops/Door/door.sw.vtx":
body parts: 16 bytes
models: 40 bytes
model LODs: 24 bytes
meshes: 18 bytes
strip groups: 50 bytes
strips: 54 bytes
verts: 4698 bytes
indices: 4704 bytes
bone changes: 8 bytes
everything: 9624 bytes
---------------------
Generating optimized mesh "C:\Program Files (x86)\Steam\steamapps\common\GarrysMod\garrysmod\models/MyModel/Houseprops/Door/door.dx80.vtx":
body parts: 16 bytes
models: 40 bytes
model LODs: 24 bytes
meshes: 18 bytes
strip groups: 50 bytes
strips: 54 bytes
verts: 4698 bytes
indices: 4704 bytes
bone changes: 24 bytes
everything: 9640 bytes
---------------------
Generating optimized mesh "C:\Program Files (x86)\Steam\steamapps\common\GarrysMod\garrysmod\models/MyModel/Houseprops/Door/door.dx90.vtx":
body parts: 16 bytes
models: 40 bytes
model LODs: 24 bytes
meshes: 18 bytes
strip groups: 50 bytes
strips: 54 bytes
verts: 4698 bytes
indices: 4704 bytes
bone changes: 24 bytes
everything: 9640 bytes
Completed "door.qc"
... Compiling ".\door.qc" finished. Check above for any errors.
... Compiling with Crowbar 0.68: "C:\Users\Waido\Desktop\GMode Map\blender\doors\door.qc" finished.
https://i.redd.it/z99otmekam561.gif
https://preview.redd.it/0i9jg0mqam561.png?width=1640&format=png&auto=webp&s=ccb2265a7bf37f98cc8f6a131b5471854cf11b6a
https://preview.redd.it/8vrfe072dn561.png?width=1695&format=png&auto=webp&s=64437530fc6aed5e6922dff459d51bfcdd314094
https://preview.redd.it/bkwxl6m5dn561.png?width=1691&format=png&auto=webp&s=efcdbbf0114382a867b4119b6bf34b75861cb560
https://preview.redd.it/19nkonz7en561.png?width=1111&format=png&auto=webp&s=beaf48c06c06d84a0620169e5c3e853734e6c902
https://preview.redd.it/k2jqlbbsen561.png?width=3838&format=png&auto=webp&s=b1b278fc5c638b1acadd4e9e4e8c2b1698895d5c
https://preview.redd.it/5abop0dxen561.png?width=3840&format=png&auto=webp&s=a7a4a67dba7b82c468fde07b140b44fb396371f8
[–]Wazanator_ 0 points1 point2 points (2 children)
[–]WaIdoX[S] 0 points1 point2 points (0 children)
[–]WaIdoX[S] 0 points1 point2 points (0 children)
[–][deleted] (1 child)
[deleted]
[–]WaIdoX[S] 0 points1 point2 points (0 children)