Hey all!
I'm trying to compile a model for my Umbara Map, but i can't seem to get the textures on the model.
Here's my .qc
$modelname "props\Umbara_Plant_01.mdl"
$body mybody "Umbara_Plant_01.smd"
$staticprop
$surfaceprop combine_metal
$cdmaterials "models\props"
$sequence idle "Umbara_Plant_01.smd"
$collisionmodel "Umbara_Plant_01.smd" { $concave }
I have my VMT and VTF in the gmod/gmod/materials/props. they're the same name as the model.
i think it's down to the Multiple UVs in blender not having the same name as The model.
does source support multiple UV's? all i could find was some old thread with the same issue and a cryptic answer.
Here's the View log in crowbar
Getting model data for "Umbara_Plant_01.mdl" ...
=== General Info ===
MDL file type ID: IDST
MDL file version: 48
MDL stored file name: "props\Umbara_Plant_01.mdl"
MDL stored file size: 1,760 bytes
MDL actual file size: 1,760 bytes
MDL checksum: 3A2EBD93
=== Model Files ===
"Umbara_Plant_01.mdl"
"Umbara_Plant_01.phy"
"Umbara_Plant_01.dx90.vtx"
"Umbara_Plant_01.vvd"
=== Material and Texture Info ===
Material Folders ($CDMaterials lines in QC file -- folders where VMT files should be, relative to game's "materials" folder):
"models\props\"
Material File Names (file names in mesh SMD files and in QC $texturegroup command):
(Total used: 1)
"Umbara_Plant_01"
... Getting model data for "Umbara_Plant_01.mdl" finished.
Here's the Compile Log from the .qc in crowbar
Compiling with Crowbar 0.56: "D:\Mapping Stuff\Gmod\Umbara - Assets\AssetsPreQC\Umbara_Plant_01\Umbara_Plant_01.qc" ...
Compiling ".\Umbara_Plant_01.qc" ...
Output from compiler "D:\SteamLibrary\steamapps\common\GarrysMod\bin\studiomdl.exe":
qdir: "d:\mapping stuff\gmod\umbara - assets\assetspreqc\umbara_plant_01\"
gamedir: "D:\SteamLibrary\steamapps\common\GarrysMod\garrysmod\"
g_path: "Umbara_Plant_01.qc"
Building binary model files...
Working on "Umbara_Plant_01.qc"
SMD MODEL Umbara_Plant_01.smd
WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!!
WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!!
WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!!
WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!!
WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!!
WARNING: Error with convex elements of Umbara_Plant_01.smd, building single convex!!!!
Model has 6 convex sub-parts
Collision model completed.
---------------------
writing D:\SteamLibrary\steamapps\common\GarrysMod\garrysmod\models/props\Umbara_Plant_01.mdl:
bones 964 bytes (1)
animation x y ips angle
@idle 0.00 0.00 : inf ( 90.00) 0.0
animations 112 bytes (1 anims) (1 frames) [0:00]
sequences 220 bytes (1 seq)
ik/pose 164 bytes
eyeballs 0 bytes (0 eyeballs)
flexes 0 bytes (0 flexes)
textures 72 bytes
keyvalues 0 bytes
bone transforms 0 bytes
Collision model volume 882.22 in^3
collision 0 bytes
total 1760
---------------------
writing D:\SteamLibrary\steamapps\common\GarrysMod\garrysmod\models/props\Umbara_Plant_01.vvd:
vertices 25824 bytes (538 vertices)
tangents 8608 bytes (538 vertices)
total 34496 bytes
---------------------
Generating optimized mesh "D:\SteamLibrary\steamapps\common\GarrysMod\garrysmod\models/props\Umbara_Plant_01.sw.vtx":
body parts: 8 bytes
models: 20 bytes
model LODs: 12 bytes
meshes: 9 bytes
strip groups: 25 bytes
strips: 27 bytes
verts: 4842 bytes
indices: 4956 bytes
bone changes: 16 bytes
everything: 9939 bytes
---------------------
Generating optimized mesh "D:\SteamLibrary\steamapps\common\GarrysMod\garrysmod\models/props\Umbara_Plant_01.dx80.vtx":
body parts: 8 bytes
models: 20 bytes
model LODs: 12 bytes
meshes: 9 bytes
strip groups: 25 bytes
strips: 27 bytes
verts: 4842 bytes
indices: 4956 bytes
bone changes: 16 bytes
everything: 9939 bytes
---------------------
Generating optimized mesh "D:\SteamLibrary\steamapps\common\GarrysMod\garrysmod\models/props\Umbara_Plant_01.dx90.vtx":
body parts: 8 bytes
models: 20 bytes
model LODs: 12 bytes
meshes: 9 bytes
strip groups: 25 bytes
strips: 27 bytes
verts: 4842 bytes
indices: 4956 bytes
bone changes: 16 bytes
everything: 9939 bytes
Completed "Umbara_Plant_01.qc"
Crowbar: Moved compiled model file "D:\SteamLibrary\steamapps\common\GarrysMod\garrysmod\models\props\Umbara_Plant_01.dx80.vtx" to "D:\Mapping Stuff\Gmod\Umbara - Assets\models\props"
Crowbar: Moved compiled model file "D:\SteamLibrary\steamapps\common\GarrysMod\garrysmod\models\props\Umbara_Plant_01.dx90.vtx" to "D:\Mapping Stuff\Gmod\Umbara - Assets\models\props"
Crowbar: Moved compiled model file "D:\SteamLibrary\steamapps\common\GarrysMod\garrysmod\models\props\Umbara_Plant_01.mdl" to "D:\Mapping Stuff\Gmod\Umbara - Assets\models\props"
Crowbar: Moved compiled model file "D:\SteamLibrary\steamapps\common\GarrysMod\garrysmod\models\props\Umbara_Plant_01.phy" to "D:\Mapping Stuff\Gmod\Umbara - Assets\models\props"
Crowbar: Moved compiled model file "D:\SteamLibrary\steamapps\common\GarrysMod\garrysmod\models\props\Umbara_Plant_01.sw.vtx" to "D:\Mapping Stuff\Gmod\Umbara - Assets\models\props"
Crowbar: Moved compiled model file "D:\SteamLibrary\steamapps\common\GarrysMod\garrysmod\models\props\Umbara_Plant_01.vvd" to "D:\Mapping Stuff\Gmod\Umbara - Assets\models\props"
Crowbar: Deleted empty temporary compile folder "D:\SteamLibrary\steamapps\common\GarrysMod\garrysmod\models\props"
... Compiling ".\Umbara_Plant_01.qc" finished. Check above for any errors.
... Compiling with Crowbar 0.56: "D:\Mapping Stuff\Gmod\Umbara - Assets\AssetsPreQC\Umbara_Plant_01\Umbara_Plant_01.qc" finished.
It doesn't mention anything about UVs, just the two dimensional error? is this what's causing it?
Holy SHIT, this is a first for me, I throw around this thread when I don't want to explain textures are collision meshes because it's probably the thread that I put the most effort into, it talks about someone having issues with 2 things: textures and physics, exactly what this thread is about.
The OP of the thread has the exact 2 problems that you do, and they got fixed here, so if you follow the same steps you should be able to fix them too, ask further questions in this thread:
Just ported a model but 2 issues occured
Thanks man!
i have solved the 2- dimensional geometry. (I Realized that the model wasn't big enough for hammer, so i scaled it up and that fixed the issue)
it appears that the texturing issue is caused by having Multiple Materials on the model, but i have no clue how to fix it.
It doesn't appear to be the multiple materials on the physical model, it looks like something's up in my .qc or .vmt files (I have renamed all the names and stuff just in case it was that)
Here's the .QC .SMD .VMT and .VMF if someone wants to take a look
Here's the .QC
$modelname "props\Umbara_Plant_Test.mdl"
$body mybody "Umbara_Plant_Test.smd"
$staticprop
$surfaceprop "Umbara_Plant_Test"
$cdmaterials "Materials/Models/Umbara_Plant_Test"
$sequence idle "Umbara_Plant_Test.smd"
$collisionmodel "Umbara_Plant_Test.smd" { $concave }
My .VMT and .VTF are in Gmod/gmod/materials/Models
Here's my .VMT
VertexLitGeneric
{
$basetexture "Models/Umbara_Plant_Test"
}
Currently, In Blender my Materials and Textures are named the same as the Model. Could it be the name of the Layer in the .VTF? I'm honestly clueless. when i went into the text editor for the .VMT the material that was being applied wasn't the one that i had applied in blender.
I'm not certain whats causing the issue. Is it something in the .QC or .VMT?
Edited
$cdmaterials "Materials/Models/Umbara_Plant_Test"
to
$cdmaterials "Models/Umbara_Plant_Test"
Renamed Umbara_Plant_Test.vmt to 01___Default.vmt
Changed 01___Default.vmt code to
VertexLitGeneric
{
$basetexture "models/Umbara_Plant_Test/Umbara_Plant_Test"
}
HawkenRouge.zip
Sorry, you need to Log In to post a reply to this thread.