• Crowbar error could not load file 'package.mdl'
    7 replies, posted
Hi , I need help to compile a model in crowbar but is giving an error. Here's my log PS: I am learning to use notepad ++ , jed 's half life model viewer and crowbar. Compiling with Crowbar 0.33.0.0: "C:\Users\Lucas\Desktop\package\package.qc" ... Compiling ".\package.qc" ... qdir: "c:\users\lucas\desktop\package\" gamedir: "C:\Program Files (x86)\Steam\steamapps\common\Source SDK Base 2013 Multiplayer\hl2\" g_path: "package.qc" Building binary model files... Working on "package.qc" SMD MODEL ref.smd SMD MODEL idle.smd ERROR: c:\users\lucas\desktop\package\package.qc(342): - could not load file 'package.mdl' ERROR: Aborted Processing on 'package.mdl' ... Compiling with Crowbar 0.33.0.0: "C:\Users\Lucas\Desktop\package\package.qc" finished.
Here is the .QC /* ============================================================================== QC script generated by Half-Life MDL Decompiler 1.2 2003, Kratisto. Based on code from Valve's HL SDK. package.mdl Original internal name: "package.mdl" ============================================================================== */ $modelname "package.mdl" $cdmaterials "models/package" $scale 1.0 $bbox 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 $cbox 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 $eyeposition 0.000000 0.000000 0.000000 //reference mesh(es) $body "body" "ref" // 1 hit box(es) $hbox 0 "paket" -9.720000 0.000000 -6.580000 9.830000 2.280000 5.840000 // 1 animation sequence(s) $sequence "idle" "idle" fps 1 // End of QC script. $collisionmodel "package.mdl" { $mass 15 $inertia 1 $damping 0 $rotdamping 0 $concave
[QUOTE=lucasxgta;49309894]log ... ERROR: c:\users\lucas\desktop\package\package.qc(342): - could not load file 'package.mdl' ... [/QUOTE] i dunno about line number 342, but... [QUOTE=lucasxgta;49310934]qc ... $collisionmodel "package.mdl" ... [/QUOTE] is not correct.
I changed $ collisionmodel " package.mdl " to $ collisionmodel " idle.smd" but now the following error appears ERROR: c: \ users \ lucas \ desktop \ package \ package.qc ( 343) : - bad command $ mass ERROR: Aborted Processing on ' package.mdl '
Here is the new .QC /* ============================================================================== QC script generated by Half-Life MDL Decompiler 1.2 2003, Kratisto. Based on code from Valve's HL SDK. package.mdl Original internal name: "package.mdl" ============================================================================== */ $modelname "package.mdl" $cdmaterials "models/package" $scale 1.0 $bbox 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 $cbox 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 $eyeposition 0.000000 0.000000 0.000000 //reference mesh(es) $body "body" "ref" // 1 hit box(es) $hbox 0 "paket" -9.720000 0.000000 -6.580000 9.830000 2.280000 5.840000 // 1 animation sequence(s) $sequence "idle" "idle" fps 1 // End of QC script. $collisionmodel "idle.smd" $mass 15 $inertia 1 $damping 0 $rotdamping 0 $concave
Change this: [QUOTE=lucasxgta;49315717] $collisionmodel "idle.smd" [/QUOTE] To this: [QUOTE=lucasxgta;49315717] $collisionmodel "ref.smd" [/QUOTE]
[QUOTE=A-06;49317159]Change this: To this:[/QUOTE] still the same error.
missing curly brackets aroung the collisionmodel definition. for further 'fixes' consult this [URL="https://developer.valvesoftware.com/wiki/Category:QC_Commands"]dev wiki page[/URL] and follow the guides on there howto compile a model. before asking some other whatever about howto to not have a clue typoing a qc. know what to do first. ;)
Sorry, you need to Log In to post a reply to this thread.