What Is Wrong With This Qc !!!


mXed.dk
03-03-2004, 09:36 AM
here it is !!!

// Output .MDL
$modelname "C:\mdl-compiler\gleis_sign.mdl"

// Directory of .SMD
$cd "C:\mdl-compiler\"

// Directory of .BMP
$cdtexture "C:\mdl-compiler\"
$cliptotextures

// Write textures into a ???T.mdl
// $externaltextures

$scale 1.0

// 1 hit boxes
$hbox 0 "joint1" 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000


// bodygroups: use relative path from $cd
$bodygroup gleis_sign
{
studio "gleis_sign_1"
studio "gleis_sign_2"
studio "gleis_sign_3"
studio "gleis_sign_4"
}

// sequences: all sequences are in $cd
$sequence idle "idle" fps 1

Trp. Jed
03-03-2004, 01:17 PM
Add quotes?

// bodygroups: use relative path from $cd
$bodygroup "gleis_sign"
{
studio "gleis_sign_1"
studio "gleis_sign_2"
studio "gleis_sign_3"
studio "gleis_sign_4"
}

- Jed

mXed.dk
03-04-2004, 06:04 AM
it still dont work

Trp. Jed
03-04-2004, 06:41 AM
No base body group?

$body "base" "basic"

$bodygroup "gleis_sign"
{
studio "gleis_sign_1"
studio "gleis_sign_2"
studio "gleis_sign_3"
studio "gleis_sign_4"
}


- Jed

Trigger
03-04-2004, 05:06 PM
Have you tried to compile it in a dos window or through a batch file so that you can just see what the error is?

MaRzY
03-04-2004, 06:30 PM
What is it your trying to compile, is it a single vertex...:), because looking at your hitbox sizes, something appears odd. Try deleting this line from your QC file, then try.

$hbox 0 "joint1" 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000

Good luck...:).

mXed.dk
03-05-2004, 11:03 AM
mayby im useing a wrong compiler
im useing studiomdl

my qc. file now looks like this

// Output .MDL
$modelname "C:\mdl-compiler\gleis_sign.mdl"

// Directory of .SMD
$cd "C:\mdl-compiler\"

// Directory of .BMP
$cdtexture "C:\mdl-compiler\"
$cliptotextures

// Write textures into a ???T.mdl
// $externaltextures

$scale 1.0

$body "base" "basic"

// bodygroups: use relative path from $cd
$bodygroup "gleis_sign"
{
studio "gleis_sign_1"
studio "gleis_sign_2"
studio "gleis_sign_3"
studio "gleis_sign_4"
}

// sequences: all sequences are in $cd
$sequence idle "idle" fps 1

molotov_billy
03-07-2004, 02:54 AM
Originally posted by mXed.dk
mayby im useing a wrong compiler
im useing studiomdl

my qc. file now looks like this

// Output .MDL
$modelname "C:\mdl-compiler\gleis_sign.mdl"

// Directory of .SMD
$cd "C:\mdl-compiler\"

// Directory of .BMP
$cdtexture "C:\mdl-compiler\"
$cliptotextures

// Write textures into a ???T.mdl
// $externaltextures

$scale 1.0

$body "base" "basic"

// bodygroups: use relative path from $cd
$bodygroup "gleis_sign"
{
studio "gleis_sign_1"
studio "gleis_sign_2"
studio "gleis_sign_3"
studio "gleis_sign_4"
}

// sequences: all sequences are in $cd
$sequence idle "idle" fps 1

Instead of

$bodygroup "gleis_sign", try

$bodygroup studio

Leave out the $body base stuff, and see if that will compile.

Other than that, what kind of error message are you getting?

Also, unless you really need a custom hitbox (player models, basically), just delete those hitbox lines. The compiler automatically does it.

mXed.dk
03-07-2004, 09:35 AM
i get no error thats wired about it
it runs and then its done, no error
but no model is createt

mXed.dk
03-07-2004, 09:52 AM
now it gives me error but only for 1/1000 sek
pretty hard to see .....
but i think got it

*****ERROR*****

grabing bmp "C:\mdl-compiler\/gleis_sign_1.bmp"

or something like that .....

Trp. Jed
03-07-2004, 02:58 PM
Well basically its telling you that you that it cant find a texture.

*Tip* when running studiomdl from DOS try this:

studiomdl.exe your.qc > log.txt

That will write all the text from the compile to a text file called log.txt which you can read with notepad.

- Jed

mXed.dk
03-08-2004, 05:30 AM
how do i start it in dos ??

i normaly just drag the qc file into it

Trp. Jed
03-08-2004, 09:45 AM
Oh lord...

Start -> Run

then in the box type cmd then hit O.K.

You'll need to navigate to the folder where you QC, SMD's, BMP and Studiomdl is. I would put them in something like c:\compile.

So to get there type

cd c:\compile

And hit return.

Then type the command in my last message.

- Jed

mXed.dk
03-09-2004, 12:04 PM
i found the prob ....
my skins was 16bit
and the needed to be 8bit

so thats in order .....
but now the models looks like crap .....

Day of Defeat Forum Archive created by Neil Jedrzejewski.

This in an partial archive of the old Day of Defeat forums orignally hosted by Valve Software LLC.
Material has been archived for the purpose of creating a knowledge base from messages posted between 2003 and 2008.