STEAM GROUP
Crowbar [Source Engine Modding Tool] CrowbarTool
STEAM GROUP
Crowbar [Source Engine Modding Tool] CrowbarTool
1,268
IN-GAME
7,697
ONLINE
Founded
26 October, 2013
Language
English
This topic has been locked
heinous 7 Sep, 2015 @ 5:42am
[NOTABUG] bug? suddenly only outputs to game directory
i was even in the middle of a project so it was working fine even last night. i have crowbar set up to output at subfolder of qc this entire time. now, suddenly, it outputs only to the model location dictated inside the qc. yes, the "Output Folder" is still checked and the "Subfolder" option is still selected. I restarted the computer. I even downloaded a new copy of crowbar. Nothing.
Last edited by ZeqMacaw; 15 Sep, 2015 @ 8:26pm
< >
Showing 1-4 of 4 comments
ZeqMacaw 15 Sep, 2015 @ 8:18am 
Hmm. Are you still seeing the issue? I have not been able to get Crowbar to mess up as you described.
heinous 15 Sep, 2015 @ 4:08pm 
hello, so this may be a smaller problem than i thought, but yes i am still seeing this issue, i will explain.

i tried a few other qc's after posting and they worked fine again, but when i went back to the problematic qc it remained exporting to only the game directory. looks like for some reason it is only doing it to that one qc and even then it only happened after i exported it like 5 times just fine prior.

i retried again just now and the problematic qc is still doing the same thing. i also just tried renaming a copy of the qc, and it did nothing either.

the qc is below if it matters, but i cannot imagine why since it was working midway.

// Created by Crowbar 0.29.0.0 $ModelName "\weapons\w_models\w_golf_ball\w_golf_ball.mdl" $BodyGroup "Body" { studio "w_golf_ball_reference.smd" } $SurfaceProp "metal" $Contents "solid" $MaxEyeDeflection 90 $CDMaterials "\models\workshop\weapons\w_golf_ball\" $CBox 0 0 0 0 0 0 $BBox -4.25 -4.25 -4.25 4.25 4.25 4.25 //$DefineBone "baseball_reference.polymsh" "" 0 0 0 0 0 89.999983 0 0 0 0 0 0 $Sequence "idle" { "w_golf_ball_idle.smd" fadein 0.2 fadeout 0.2 fps 30 loop } $CollisionModel "w_golf_ball_physics.smd" { $mass 5 $inertia 1 $damping 0 $rotdamping 0 }
Last edited by ZeqMacaw; 15 Sep, 2015 @ 8:15pm
ZeqMacaw 15 Sep, 2015 @ 8:25pm 
I noticed the $ModelName command has a backward slash "\" at the start of the MDL file name, which usually means absolute path instead of relative. So, I tried a simple test to see if that slash causes the problem, and it does. Remove the first slash; the compiler does unexpected things when there is a slash or backward slash at the start of the file name.

In other words, to fix the issue you've been seeing, change from:
$ModelName "\weapons\w_models\w_golf_ball\w_golf_ball.mdl"
to this:
$ModelName "weapons\w_models\w_golf_ball\w_golf_ball.mdl"

This gives me the idea that Crowbar can give a warning to the user that the $ModelName has a problematic slash at the start, when the user tries to compile the QC.

:)
heinous 15 Sep, 2015 @ 9:42pm 
i never knew that. this is very good and important to know lol. i run into some qc's that use forward slash while others use backwards slash and just presumed it's all interchangable. thank you for looking into this.
< >
Showing 1-4 of 4 comments
Per page: 1530 50

Date Posted: 7 Sep, 2015 @ 5:42am
Posts: 4