Forum Thread
  Posts  
compiling model (Forums : 3D Modeling & Animating : compiling model) Locked
Thread Options
Aug 16 2009 Anchor

well i have made a very simple shelve model, and simple texture. Using XSI mod tool with source engine.
Ive exported them to smd's (phys, and skeletal anim, and reference) and am tryin to build a qc file for them. I went to the valvedeveloper website to find an answer and i found a sample qc file and did the replacing to make it for my model.
heres my qc file

$modelname "props_sdk\shelves.mdl"
$body mybody "shelves-ref.smd"
$staticprop
$surfaceprop wood
$cdmaterials "models\props_sdk"

$sequence idle "shelves-idle.smd" loop fps 15

$collisionmodel "shelves-phys.smd" { $concave }
$keyvalues
{
prop_data
{
base Wooden.Small
dmg.bullets 0
explosive_damage 100
explosive_radius 50
}
}


due to how much cannonfodders studiocompiler blows and never fucking works no matter HOW much i change the stupid appid bull ect ive moved on to jeds guistudio. but whenever i click compile it says this line...

ERROR: f:\program files\steam\steamapps\gagetmaniac\sourcesdk\bin\ep1\bin\shelves.qc(1): - bad command $

im workin so hard and gettin so far with my mod and this is a huge wall that needs to move.

Aug 16 2009 Anchor

Its better to use a batch file. Here, copy this into notepad, and save it as 'whatevercompile.bat'

For the .BAT file

@echo off
"&#xso;urcesdk%\..\..\..\steam.exe"
"&#xso;urcesdk%\bin\ep1\bin\studiomdl.exe" -game "&#xso;urcesdk%\..\..\pikachu370\half-life 2 deathmatch\hl2mp" %1
pause

Change the paths on that to you mod or game. THEN you need to drag the .qc file onto the .bat file and the compile log should show up and do its thing.

ANd here is a nice .QC i use

QC file ( this is a nice one, you should use it for statics)

$modelname "props\modelnemae\.mdl"
$cdmaterials "models\props\"
$scale 1
$staticprop
$body studio ""
$sequence idle "" fps 1
$collisionmodel "" {
$convex

}

Aug 16 2009 Anchor

okay thnx for the qc ill def use it, but for that bat file you were sayin can you send me the one you use? i find it is easier to know what to place into the file when i see another copy, i can make the file so its set to my settings just need to know what to place in the ...
one more thing, in that qc the first line says "props/modelname/.mdl
should that last / be there?

Aug 17 2009 Anchor

AH, yeah the '/' shouldnt be there. And for the .bat its very simple. just copy all of this :

@echo off
"&#xso;urcesdk%\..\..\..\steam.exe"
"&#xso;urcesdk%\bin\ep1\bin\studiomdl.exe" -game "&#xso;urcesdk%\..\..\pikachu370\half-life 2 deathmatch\hl2mp" %1

pause

And paste it into a notepad file. And when you save the notepad, save it as whatever name you want but put .bat at the end. This wll make it a batch file not a notepad file.

Aug 17 2009 Anchor

okay thanks man

alright its not working, when i drag the qc to the bat file it flashes the DOS window for not even full second and closes.

Aug 18 2009 Anchor

Did you make sure you changed all the paths in the .bat file? also that .bat is set up for ep1 compiling tools not ob.

Aug 18 2009 Anchor

well thats my point, studiocompiler isnt working at all, doesnt start at all. ive done the //tools apps id part and nothing works. still says same nosteamappid shit

Aug 19 2009 Anchor

Ah i see what you mean. Hmm ive had that before but cant remember why or how it was fixed. Perhaps someone else can shed light on the subject, or check the steam forums.

Aug 20 2009 Anchor

hah yeh rite everyone on here always complain noob noob noob, just trying to effin learn shit. thnx dude
ill still use the qc file you sent cause that works, this site isnt good for gettin help, kinda but not rlly

Reply to thread
click to sign in and post

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.