• StudioCompiler Error "ERROR: 'EXCEPTION_ACCESS_VIOLATION' (assert: 1)"
    4 replies, posted
I am trying to compile this one .smd model to .mdl. But, whenever I try, this comes up: [CODE]C:/Program Files (x86)/Steam/steamapps/its_nota_secret/sourcesdk/bin/ep1/bin/studiomdl.exe -game "C:\Program Files (x86)\Steam\steamapps\its_nota_secret\garrysmod\garrysmod_old" "C:\Users\Alex\Desktop\Games n Stuff\Everything Workshop\Everything Garry's Mod\Camera Pack\Video Camera\compiler.qc" qdir: "c:\users\alex\desktop\games n stuff\everything workshop\everything garry's mod\camera pack\video camera\" gamedir: "C:\Program Files (x86)\Steam\steamapps\its_nota_secret\garrysmod\garrysmod_old\" g_path: "compiler" Working on "compiler.qc" SMD MODEL cameraTV.smd ERROR: 'EXCEPTION_ACCESS_VIOLATION' (assert: 1) ERROR: Aborted Processing on 'models\itsnotasecret\vidcam.mdl' StudioMDL Thread complete [/CODE] This is the .qc: [CODE]$modelname "models\itsnotasecret\vidcam.mdl" $cdmaterials "itsnotasecret\" $scale 1 $surfaceprop "metal" $sequence idle "cameraTV.smd" fps 1 $collisionmodel "cameraTV.smd" { $mass 100.0 $inertia 1.00 $damping 0.00 $rotdamping 0.00 }[/CODE] Is there any solution to this? I have already searched the internet for a solution, but I had no luck.
Does the "garrysmod\garrysmod_old\models\itsnotasecret\" folder actually exist?
[QUOTE=SergerantJoe;41688925]Does the "garrysmod\garrysmod_old\models\itsnotasecret\" folder actually exist?[/QUOTE] Yes, it does. [editline]2nd August 2013[/editline] bump
[QUOTE=SergerantJoe;41688925]Does the "garrysmod\garrysmod_old\models\itsnotasecret\" folder actually exist?[/QUOTE] That would result in a very different error specifying that the path was non-existent. What's wrong is that you don't have a $model line, so studiomdl is spitting its generic "What the hell is going on" error at you. Edit your QC to look like this: [CODE]$modelname "models\itsnotasecret\vidcam.mdl" $scale 1.0 $model "vidcam" "cameraTV.smd" $cdmaterials "itsnotasecret\" $surfaceprop "metal" $sequence idle "cameraTV.smd" fps 1 $collisionmodel "cameraTV.smd" { $mass 100.0 $inertia 1.00 $damping 0.00 $rotdamping 0.00 }[/CODE] You need to make sure you have a $modelname (which you do) [b]and[/b] a $model or $body line. That is what references the actual visible model, so without it, you get this error. Also something to note, $scale [i]must always be[/i] before any $model lines, and if it's just going to be 1.0 (100%), you don't even need to put it.
[QUOTE=Squiddy;41689763]That would result in a very different error specifying that the path was non-existent. What's wrong is that you don't have a $model line, so studiomdl is spitting its generic "What the hell is going on" error at you. Edit your QC to look like this: [CODE]$modelname "models\itsnotasecret\vidcam.mdl" $scale 1.0 $model "vidcam" "cameraTV.smd" $cdmaterials "itsnotasecret\" $surfaceprop "metal" $sequence idle "cameraTV.smd" fps 1 $collisionmodel "cameraTV.smd" { $mass 100.0 $inertia 1.00 $damping 0.00 $rotdamping 0.00 }[/CODE] You need to make sure you have a $modelname (which you do) [b]and[/b] a $model or $body line. That is what references the actual visible model, so without it, you get this error. Also something to note, $scale [i]must always be[/i] before any $model lines, and if it's just going to be 1.0 (100%), you don't even need to put it.[/QUOTE] Worked like a charm! Thanks alot!
Sorry, you need to Log In to post a reply to this thread.