Hello. Today I wanted to compile my model but something went wrong and this writed to me in studiomdl:
qdir: "c:\users\lukac\desktop\prop porting\rifle\"
gamedir: "C:\Program Files\Steam\SteamApps\common\GarrysMod\garrysmod\"
g_path: "C:\Users\Lukac\Desktop\Prop porting\rifle\compile.qc"
Building binary model files...
Working on "compile.qc"
WARNING: $modelname key has slash as first character. Removing.
ERROR: c:\users\lukáč\desktop\prop porting\rifle\compile.qc(7): - could not load file '/rifle.smd'
ERROR: Aborted Processing on 'models//rifle.smd'
WARNING: Leaking 1 elements
If someone know what to do just write. Thanks
Remove the double slashes in file paths, I guess studiomdl doesn't like that.
I removed this but now : qdir: "c:\users\lukáč\desktop\prop porting\rifle\"
gamedir: "C:\Program Files\Steam\steamapps\common\team fortress 2\tf\"
g_path: "C:\Users\Lukáč\Desktop\Prop porting\rifle\compile.qc"
Building binary model files...
Working on "compile.qc"
ERROR: c:\users\lukáč\desktop\prop porting\rifle\compile.qc(7): - could not load file '/rifle.smd'
ERROR: Aborted Processing on 'models/rifle.mdl'
WARNING: Leaking 1 elements