Go Back   Steam Users' Forums > Steam Tool Discussions > Source Art & Sound Design

Reply
 
Thread Tools Display Modes
Old 03-23-2017, 10:14 AM   #1
J4CQ-UZ1
 
 
 
Join Date: Mar 2017
Reputation: 14
Posts: 4
Red face Desperate for help compiling custom model

So I'm about ready to blow my brains out over this.

I'm trying to make a custom model for CS:GO for the first time but I can't get it to compile properly.

All my files are here:
https://1drv.ms/f/s!AoLSvBS9qT0f2ngYvUM464Gd0QNI

The model was made in blender, I've been using Crowbar to compile.

This is my QC
Code:
$modelname		"Fission/warhead.mdl"
$body mybody	"warhead.smd"
$staticprop
$SurfaceProp "metal"
$cdmaterials	"cs_fission"
$scale			1

$sequence idle	"idle.smd" loop fps 1

$collisionmodel	"warhead_col.smd" { 
	$automass
	$concave
}

$keyvalues
{
   "prop_data"
   {
       "base"  "Metal.Large"
   }
}
And The Compile Log:
Code:
Compiling with Crowbar 0.30.0.0: "C:\Users\jacqu_000\Documents\MAPS\cs_fission\Missile\warhead.qc" ...

  Compiling ".\warhead.qc" ...
    qdir:    "c:\users\jacqu_000\documents\maps\cs_fission\missile\"
    gamedir: "C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\csgo\"
    g_path:  "warhead.qc"
    Building binary model files...
    Working on "warhead.qc"
    SMD MODEL warhead.smd
    SMD MODEL idle.smd
    SMD MODEL warhead_col.smd
    Processing LOD for material: warhead_texture
    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: 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: 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: 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: 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: 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: 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)!!!
    Model has 1 convex sub-parts
    Collision model completed.
    Computed Mass: 0.01 kg
    ---------------------
    writing C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\csgo\models/cs_fission/warhead.mdl:
    Loading preexisting model: C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\csgo\models/cs_fission/warhead.mdl
       Found 1 preexisting sequences.
    bones          896 bytes (1)
       animation       x       y       ips    angle
    animations     116 bytes (1 anims) (1 frames) [0:01]
    Building sequence index remapping table...
    No re-ordering required.
    sequences      220 bytes (1 seq) 
    hdr@058FF70C=7A000200
    ik/pose        164 bytes
    eyeballs         0 bytes (0 eyeballs)
    flexes           0 bytes (0 flexes)
    hdr@058FF70C=7A000200
    textures        72 bytes
    keyvalues      140 bytes
    hdr@058FF708=7A000398
    hdr@058FF70C=7A000200
    bone transforms        0 bytes
    bone flex driver       0 bytes
    bodygroup presets       0 bytes
    Collision model volume 1.00 in^3
    collision        0 bytes
    total         1820
    ---------------------
    writing C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\csgo\models/cs_fission/warhead.vvd:
    vertices     17472 bytes (364 vertices)
    tangents      5824 bytes (364 vertices)
    total        23360 bytes
    ---------------------
    Generating optimized mesh "C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\csgo\models/cs_fission/warhead.dx90.vtx":
    body parts:         8 bytes
    models:            20 bytes
    model LODs:        12 bytes
    meshes:             9 bytes
    strip groups:      33 bytes
    strips:            35 bytes
    verts:           3276 bytes
    indices:         2376 bytes
    bone changes:      16 bytes
    everything:      5809 bytes
    
    Completed "warhead.qc"
    CDynamicFunction: Loading library 'Kernel32.dll' (74FA0000)
    CDynamicFunction: Lookup of 'TryEnterCriticalSection' in 'Kernel32.dll': 778DC8B0
    CDynamicFunction: Closing library 'Kernel32.dll' (74FA0000)
  ... Compiling ".\warhead.qc" finished. Check above for any errors.

... Compiling with Crowbar 0.30.0.0: "C:\Users\jacqu_000\Documents\MAPS\cs_fission\Missile\warhead.qc" finished.
Please help
Thanks

Last edited by J4CQ-UZ1: 03-24-2017 at 03:48 AM.
J4CQ-UZ1 is offline  
Reply With Quote
Old 04-01-2017, 04:03 PM   #2
J4CQ-UZ1
 
 
 
Join Date: Mar 2017
Reputation: 14
Posts: 4
Here's a tip:

Name your collision model

MODELNAME_phys NOT MODELNAME_col
J4CQ-UZ1 is offline   Reply With Quote
Old 04-10-2017, 05:22 AM   #3
J4CQ-UZ1
 
 
 
Join Date: Mar 2017
Reputation: 14
Posts: 4
Texture is all black. Any advice?
J4CQ-UZ1 is offline   Reply With Quote
Old 04-10-2017, 08:50 AM   #4
taz-ed
 
Join Date: Nov 2008
Reputation: 121
Posts: 2,789
in the .smd file the textures are called warhead_texture your .vmt has to be named that as well
taz-ed is offline   Reply With Quote
Old 04-11-2017, 09:53 AM   #5
J4CQ-UZ1
 
 
 
Join Date: Mar 2017
Reputation: 14
Posts: 4
Quote:
Originally Posted by taz-ed View Post
in the .smd file the textures are called warhead_texture your .vmt has to be named that as well
Thank you so much! It worked!!!
J4CQ-UZ1 is offline   Reply With Quote
Reply

Go Back   Steam Users' Forums > Steam Tool Discussions > Source Art & Sound Design


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT -7. The time now is 02:36 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Site Content Copyright Valve Corporation 1998-2015, All Rights Reserved.