• How to compile models for the source engine.
    174 replies, posted
I whipped up this tutorial out of boredom. [B]IT ONLY SHOWS HOW TO GET AN ALREADY EXPORTED MODEL FILE COMPILED. NOTHING LESS, NOTHING MORE.[/B] My site: [url]http://www.jaanus.cc/flash/tutorial.html[/url] Downloadable: [url]http://www.jaanus.cc/flash/tutorial.exe[/url] Shitty FP embed: [media]http://www.jaanus.cc/flash/tutorial.swf[/media] I'd recommend using the tutorial on my site, because FP's media tags stretch it and make the images look like crap.
This is pure win. Thanks jaanus I loved it. I also appreciated the fact you disabled the context menu (edit: the media tags enabled it again) and didn't used compressed images.
Well, the media tags made the context menu come back. :argh:
Nice, very useful. Err, informative. Thanks... Hmm...
Does it cover the SDK Beta? Or work with the SDK Beta?
It works with any configured SDK.
Weeell, the Beta SDK's studiocompiler.exe refuses to compile the collision models.
Well, I'm using GUIStudioMDL and collision models work perfectly for me.
403 forbidden on GUIStudioMDL
He doesn't like direct linking. Fixing. [b]Edit:[/b] Alright, loads of stuff fixed, going to sleep.
Nice tutorial.
[highlight][b]RAVE BREAAAK!!![/b][/highlight] :dance: Also awesome tutorial
This is absolutely sick!
[QUOTE=funnymonk]This is absolutely sick![/QUOTE] Your mom's sick. :argh: :v:
This should be stickied. Thanks for the tut!
I think my SDK or the old cannonfodder decompiler is gone to hell [code]ERROR: unknown attachment link 'ValveBiped.Anim_Attachment_RH' ERROR: Aborted Processing on 'kittyscript\Heros\spades.mdl'[/code] [code]ERROR: c:\users\bileks\kittyrp-custom models\spades\smds\spades.qc(56): - bad command $mass ERROR: Aborted Processing on 'kittyscript\Heros\spades.mdl'[/code] Great tut man, mind adding a section for my issue? :v:
Jaanus I have a problem i tried to compile in GUI studio mdl and i got some error. Here is the compile log. GUIStudioMDL 2.2/Source - © 2007 Neil 'Jed' Jedrzejewski - [url]http://www.wunderboy.org/[/url] *ERROR* Orange Box tools path is not valid - use "Config" then "Set EP1 Tools Path..." from the menu to set it. Loaded QC file - "C:\Documents and Settings\Svamenzi\Desktop\Noobish folder\poop.qc" Created command line: "C:\Program Files\Steam\steamapps\markotulic\sourcesdk\bin\ep1\bin\studiomdl.exe" -game "c:\program files\steam\steamapps\markotulic\garrysmod\garrysmod" -notxbox "C:\Documents and Settings\Svamenzi\Desktop\Noobish folder\poop.qc" qdir: "c:\documents and settings\svamenzi\desktop\noobish folder\" gamedir: "c:\program files\steam\steamapps\markotulic\garrysmod\garrysmod\" g_path: "poop" Working on "poop.qc" SMD MODEL shovel.smd ERROR: c:\documents and settings\svamenzi\desktop\noobish folder\poop.qc(9): - bad command { ERROR: Aborted Processing on 'models\svamenzi\shovel.mdl' Can you help me?
Post your .qc
haha nice your quite the man with flash as can see from your web impressive :D i never got good at flash :(
I think you forgot to say that if the subdirectory the model goes in doesn't actually exist, you'll get an error. Or didn't you? Lemee recheck
Here you go! $modelname "models\svamenzi\shovel.mdl" $cdmaterials "svamenzi\" $scale 1 $surfaceprop "metal" $sequence idle "shovel.SMD" fps 1 $collisionmodel "shovel.SMD" { $mass 20.0 $inertia 1.00 $damping 0.00 $rotdamping 0.00 }
Oh you have that SDK problem. I had that too, I don't really have any idea how to fix it. [b]Edit:[/b] [QUOTE=i_speel_good]I think you forgot to say that if the subdirectory the model goes in doesn't actually exist, you'll get an error. Or didn't you? Lemee recheck[/QUOTE] Yeah, forgot to say that.
[QUOTE=bOND>>GM]Here you go! $modelname "models\svamenzi\shovel.mdl" $cdmaterials "svamenzi\" $scale 1 $surfaceprop "metal" $sequence idle "shovel.SMD" fps 1 $collisionmodel "shovel.SMD" { $mass 20.0 $inertia 1.00 $damping 0.00 $rotdamping 0.00 }[/QUOTE] Does the folder garrysmod/models/svamenzi exist? If not, try creating it and retry compiling [b]Edit:[/b] [QUOTE=Jaanus]Yeah, forgot to say that.[/QUOTE] Yay, I helped avoid more errors [b]Edit:[/b] At bOND, you can try renaming "noobish folder" to "noobishfolder" and putting it somewhere without spaces in it's filename, like the root C:/noob for example
Ok, it's still not working. Maybe that's because I don't have Orange box?
[QUOTE=bOND>>GM]Should I create them in Garrysmod folder?[/QUOTE] Your subdirectory must be there. Steam/SteamApps/username/garrysmod/garrysmod/models/SUBDIRECTORY
Nice work jaanus
Ok, I made a model in 3ds max, it's simple, i got to export and choose .smd, I downloaded .smd plug-in earlier. I put smd and qc file to same folder, I create folder which is specified in .qc file, and change names in qc to .smd's name. Run GUI studio, load the qc, press compile, and get an error. What should I do? You can see error log, and my .qc file if you go up. [b]EDIT[/b] Error log says that here is a problem with .qc file, but i don't think it's correct, because you guys are pros. Can you make example .qc file and .smd file and give me to try to compile?
It's your SDK's problem. I don't know what causes it, I had it too, but it somehow fixed itself.
I like your flash representation.
Awesome intro music, nice touch.
Sorry, you need to Log In to post a reply to this thread.