Hello.
I have been trying for four days straight trying to get a static model from blender or 3dsmax into garrysmod. Ultimately, I want to get models into the hammer editor.
I have gone through all these tutorials.
[url]http://www.facepunch.com/showthread.php?t=734991[/url]
[url]http://www.youtube.com/watch?v=-X5QGx2TP_8[/url]
[url]http://www.youtube.com/watch?v=t3DIs1GFvuU[/url]
[url]http://www.gamebanana.com/tuts/168[/url]
[url]http://www.youtube.com/watch?v=kYHxDdeMvFk[/url]
Every one of them I have not been able to complete. Theres a common problem im having with all of them. When it becomes time to compile, theres always an error message that I simply cannot find a way around. I have gone through each one thoroughly.
I dont know a thing about programming. So everythings new to me.
Alright, so let me narrow my problem down. Currently im trying to learn cannonfodder's StudioCompiler. Following this tutorial [url]http://www.gamebanana.com/tuts/168[/url]. The problem is, after I [U]think[/U] i've put everything in correctly I hit compile. I am getting error messages for both the model and material compiles. I will provide as much information as I can. Below are screenshots I have of the cannonfodder window and the error messages.
note: The only game I own is garrys mod.
note: The octopus model has 5 image textures. 4 of them are just flat colors and 1 of them is the skin texture.
help is very appreciated!
[IMG]http://i1120.photobucket.com/albums/l494/luke1131/error3.jpg[/IMG]
[IMG]http://i1120.photobucket.com/albums/l494/luke1131/error6.jpg[/IMG]
[IMG]http://i1120.photobucket.com/albums/l494/luke1131/error5.jpg[/IMG]
[IMG]http://i1120.photobucket.com/albums/l494/luke1131/error.jpg[/IMG]
[IMG]http://i1120.photobucket.com/albums/l494/luke1131/error4.jpg[/IMG]
hey can you try rigging the mannequin model from silent hill? please :)
Well your bigger issues seem to actually be getting the thing to compile in the first place.
Have you tried going trough this tutorial for basic pointers?
Those put forward some basic compiling stuff forward too
[url]https://www.google.com/search?q=mariokart's+guide+to+ragdolling[/url]
[QUOTE=wraithcat;33408285]Well your bigger issues seem to actually be getting the thing to compile in the first place.
Have you tried going trough this tutorial for basic pointers?
Those put forward some basic compiling stuff forward too
[url]https://www.google.com/search?q=mariokart's+guide+to+ragdolling[/url][/QUOTE]
the link you posted goes to a google search and not any tutorial. So im not sure what to do...
i dont know how to rig a model can someone rig the silent hill mannequin to gmod for me please it would be nice if someone would do it cause i dont know how to do it :(
[QUOTE=Luke113;33408563]the link you posted goes to a google search and not any tutorial. So im not sure what to do...[/QUOTE]
Sorry my mistake
[url]http://www.facepunch.com/threads/542906[/url]
[QUOTE=gm_ghosthunt;33408686]i dont know how to rig a model can someone rig the silent hill mannequin to gmod for me please it would be nice if someone would do it cause i dont know how to do it :([/QUOTE]
Go to the requests section to request a model.
I will look through that tutorial. But im not trying to make a ragdoll. Just a static prop.
What im most concerned about is why I keep getting an error messages saying, please select correct HL2 SDK path using the configure button. The top screenshot shows my file paths for the configure options.
Also, why for the textures does it say, unable to create TGA file?? I thought it's suppost to turn them into VTF and VMT files. They are already TGA's.
try making a qc rather than try to autogenerate it then use GUIstudiomdl to compile it, its not that hard
[code]
$modelname "props_sdk\myfirstmodel.mdl"
$body mybody "myfirstmodel-ref.smd"
$staticprop
$surfaceprop combine_metal
$cdmaterials "models\props_sdk"
$sequence idle "myfirstmodel-ref.smd" // no animation wanted, so re-using the reference mesh
$collisionmodel "myfirstmodel-phys.smd" { $concave }[/code]
And use VTFedit to make the textures
And the vmts are quite simple
[code]
"VertexLitGeneric"
{
"$baseTexture" "models\pathtovtf"
}[/code]
ERROR: 'EXCEPTION_ACCESS_VIOLATION' (assert: 1) //try compiling with hlmv open
WARNING: Leaking 1 elements //your trying to compile into a folder that doesn't exist
[QUOTEWARNING: Leaking 1 elements //your trying to compile into a folder that doesn't exist[/QUOTE]
where does it ask me to choose a folder to 'compile' to? It just wants a qc file and a game info directory I think.
btw, everytime I open GUIStudioMDL. It ask me to choose the configs for orangebox tools path and ep1 tools path. I keep setting the paths but once I close the program, it asks for it again. How do I save? Also, ep1 tools path does not work for some reason. The error message says...
game information could not be found in the gameinfo.txt file. The game/mod can't be added to the selection list.
Im choosing this path for it...
C:\Program Files (x86)\Steam\steamapps\skywalker113\sourcesdk\bin\ep1\bin
thanks guys!
re-install the sourcesdk something tells me its corrupted
Firstly, your source sdk tools path should be:
C:\Program Files (x86)\Steam\steamapps\skywalker113\sourcesdk\bin\source2009\bin
Second, you need to create the .mdl's model folders yourself so that GUIStudioMDL can put it in there. See if that'll fix some things...
[quote]
[QUOTE=Luke113;33414628][QUOTEWARNING: Leaking 1 elements //your trying to compile into a folder that doesn't exist[/QUOTE]
where does it ask me to choose a folder to 'compile' to? It just wants a qc file and a game info directory I think.
btw, everytime I open GUIStudioMDL. It ask me to choose the configs for orangebox tools path and ep1 tools path. I keep setting the paths but once I close the program, it asks for it again. How do I save? Also, ep1 tools path does not work for some reason. The error message says...
game information could not be found in the gameinfo.txt file. The game/mod can't be added to the selection list.
Im choosing this path for it...
C:\Program Files (x86)\Steam\steamapps\skywalker113\sourcesdk\bin\ep1\bin
thanks guys![/QUOTE]
The leaking 1 element actually means that it cannot find a file specified.
In this case
SMD MODEL octopussdk.smd
In your QC I recommend you specify a $cd which points to the folder from where the compiler will look for the various SMD, VTA and other filetypes ot use in the compile process.
here's an example Prop QC file
[code]
// indicates the folder in which all your files are
$cd "E:\My scribbles\!3d_projects\!planned\light_props"
// indicates where to compile to
$modelname "kit\props\flat_light.mdl"
// defines the prop is a static prop
$staticprop
//where the model will look for textures (always gamedir\materials)
$cdmaterials "models\kit\props"
$texturegroup skinfamilies
{
{ "light_off" }
{ "light_on" }
}
// defines what SMD to use as the model itself. Body for props, Model for ragdolled meshes
$body light "flat_light_ref.smd"
//default idle animation, always needed
$sequence idle "flat_light_ani.smd" // A default animation is still required
//collision SMD - collisionmodel for a nonragdolled prop, collisionjoints for a ragdolled model
$collisionmodel "flat_light_ref.smd"
[/code]
One more think - the compiler does not have the capacity to create folders itself, you have to make those on your own.
[QUOTE=Treevis121;33419047]Firstly, your source sdk tools path should be:
C:\Program Files (x86)\Steam\steamapps\skywalker113\sourcesdk\bin\source2009\bin[/QUOTE]
I tried C:\Program Files (x86)\Steam\steamapps\skywalker113\sourcesdk\bin\s ource2009\bin. When I hit compile a window called StudioMDL Status pops up and starts to do something. Although now im getting new errors once it starts to compile. I will break down each problem in separate paragraphs. Here is what it says in the window.
[U]C:/Program Files (x86)/Steam/steamapps/skywalker113/sourcesdk/bin/source2009/bin/studiomdl.exe -game "C:\Program Files (x86)\Steam\steamapps\skywalker113\garrysmod" "C:/Program Files (x86)/Steam/steamapps/skywalker113/garrysmod/garrysmod/models/props/octopusSDK/octopusSDK.qc"
WARNING: AppFramework : Unable to load module p4lib.dll!
WARNING: Unable to find
gameinfo.txt. Solutions:
1. Read [url]http://www.valve-erc.com/srcsdk/faq.html#NoGameDir[/url]
2.
Run vconfig to specify which game you're working on.
3. Add -game <path> on the command
line where <path> is the directory that gameinfo.txt is in.
Unable to find gameinfo.txt.
Solutions:
1. Read [url]http://www.valve-erc.com/srcsdk/faq.html#NoGameDir[/url]
2. Run vconfig
to specify which game you're working on.
3. Add -game <path> on the command line
where <path> is the directory that gameinfo.txt is in.
[/U]
[B]1[/B].I tried going to [url]http://www.valve-erc.com/srcsdk/faq.html#NoGameDir[/url]. The only thing I get is a blank white window.
[B]2[/B].On the part where it says 'run vconfig'. I clicked on that application but I get this error message. This error message applies to all of the locations where the vconfig application icon is. except sourcesdk\bin\ep1\bin
[U]MountAppFilesystem() failed:
SteamMountAppfilesystem(4294967295,4294967295,0x4b3fd24) failed with error 4
Bad launch configuration[/U]
when I try to run the vconfig application from the sourcesdk\bin\ep1\bin. I get another error message saying
[U]The program can't start because steam.dll is missing from your computer. Try reinstalling the program to fix this problem.[/U]
[B]3[/B]. The part where it says Add -game <path> on the command line where <path> is the directory that gameinfo.txt is in. I am lost on this part. What command line does it speak of? As far as I know, the cannonfodder studiocompiler did not ask me for a gameinfo.txt
[QUOTE=Treevis121;33419047]Second, you need to create the .mdl's model folders yourself so that GUIStudioMDL can put it in there. See if that'll fix some things[/QUOTE]
Im not sure what you mean. Should it just be a folder called <modelname>.mdl? Where should the folder be placed?
Alright, here we go...
Upon opening up GUIStudioMDL, with the configuration staying the same like I suggested in my previous post, do you see the Target Mod or "GameInfo" path? Click Add, and a new window should appear. Upon viewing that window, you must navigate over to your garrysmod location, being "usernamehere\garrysmod\garrysmod". In there, you will find a text document called "gameinfo". Select that, and click Open. Your Target Mod is now configured...
Now with the .mdl, go into the same place where your gameinfo.txt is located. Open up the folder named models and create a new folder named "props". If that's already there, then open it up and make another new folder named "octopusSDK". Now in GUIStudioMDL, if it's still open, click compile...
Will that fix everything? I can be more thorough if you like.
Don't use the studio compiler.
Just start the source SDK, set the game you want to and drag and drop your QC on top of studiomdl.exe
Also the compiler still cannot find your SMD. Not sure what you're doing with it.
Do you have that octopusSDK_ref.smd in your octopusd folder, or is it on your desktop? If it's not on your desktop, then get it there.
This is fun. :P
[QUOTE=wraithcat;33422928]Don't use the studio compiler.
Just start the source SDK, set the game you want to and drag and drop your QC on top of studiomdl.exe
Also the compiler still cannot find your SMD. Not sure what you're doing with it.[/QUOTE]
When I drag and drop the qc file onto the studiomdl program, a black screen with text shows up for less than a second. Then it automatically closes. I had to capture it with hypercam then take a screenshot of it in order to see it.
[IMG]http://i1120.photobucket.com/albums/l494/luke1131/Untitled-1-2.jpg[/IMG]
I put a folder on my desktop with all of the smd, vtf, and vmt files. Then inputed the location of them in the qc file. What could I be doing wrong?
Ah, now I see what's wrong! Your octopusSDK_ref.smd is trying to be found on the desktop, but it's in your octopusD folder!
Ok, putting the octopusSDK_ref.smd onto the desktop seems to make the studiomdl do somthing else. But it only seems to copy the smd files I already made and put it into arrysmod\garrysmod\models\props\octopusSDK. From my understanding, its suppost to make a mdl file. Im still not able to veiw the model in hlmv.
[IMG]http://i1120.photobucket.com/albums/l494/luke1131/Untitled-2.jpg[/IMG]
[IMG]http://i1120.photobucket.com/albums/l494/luke1131/Untitled-3.jpg[/IMG]
[IMG]http://i1120.photobucket.com/albums/l494/luke1131/Untitled-4.jpg[/IMG]
[editline]24th November 2011[/editline]
Dam. When I try to do it again it doesnt make smds and im getting another error. Again, I had to do surgical work in order to capture this window that only lasted for half a second. Why does it do this??? Whats does it have to hide??
[IMG]http://i1120.photobucket.com/albums/l494/luke1131/Untitled-5.jpg[/IMG]
uh remove the whole texture group segment from the QC will you.
I removed the texture group segment. The studiomdl program seems to stay on the screen now. Although, its not outputing anything. At least to my knowledge. I drag the qc file to a shortcut, the screen pops up for a 5-10 seconds, then closes.
[IMG]http://i1120.photobucket.com/albums/l494/luke1131/Untitled-6.jpg[/IMG]
try to make a batch file that reads
[code]
"pathtostudioMDL.exe" %1
pause
[/code]
And drag and drop the QC on that. Should give you the same window, but it shouldn't close, so it will list the error it encounters.
[QUOTE=wraithcat;33424791]try to make a batch file that reads
[code]
"pathtostudioMDL.exe" %1
pause
[/code]
And drag and drop the QC on that. Should give you the same window, but it shouldn't close, so it will list the error it encounters.[/QUOTE]
It doesnt seem to want to work...
[IMG]http://i1120.photobucket.com/albums/l494/luke1131/Untitled-1-4.jpg[/IMG]
Could someone help please. I really want to start modding this game!
Try doing the following in GUIStudioMDL, maybe? I'm running out of ideas here...