Home Technical Talk

Trouble exporting Dota models for Source SDK

polycounter lvl 8
Offline / Send Message
Esuka polycounter lvl 8
So this is my first time developing anything for a Valve product. It seems to me that only a valve SDK or game would be able to read the shaders correctly, so I wanted to export the files and test them in the Alien Swarm SDK. Unfortunately, despite finding a tutorial (http://www.northcapestudios.com/blog/?p=45#Part1) When I get to the point of exporting through stuidomdl.exe, all I get is an error message.
> Executing: C: \Program Files (x86)\ConTEXT\ConExec.exe "C: \Program Files (x86)\Steam\steamapps\ninjababy5\sourcesdk\bin\ep1\bin\studiomdl.exe" "C: \Users\Geoff\Documents\maya\projects\default\silencer.qc"

Warning: falling back to auto detection of vproject directory.
Unable to find gameinfo.txt. Solutions:

1. Read http://www.valve-erc.com/srcsdk/faq.html#NoGameDir
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 http://www.valve-erc.com/srcsdk/faq.html#NoGameDir
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.


> Execution finished.
To be honest, I'm not convinced this would work. I don't think the .qc file even contains the material directories necessary to get the textures and shaders loaded on the model.
$modelname "C: \Users\[name]\Documents\maya\projects\default\silencer_export_test.mdl"

$scale 1
$surfaceprop "default"
$keyvalues { "prop_data" { "base" "Wooden.Large" } }
$body "Body" "silencer_export_test"
$sequence idle "silencer_export_test_idle" loop fps 1
$collisionmodel "silencer_export_test_phy.smd"
{
$mass 1
$concave
}
I was hoping to get this model done in time for the polycount contest on Monday night, but at this rate it's not going to happen. Any insight you can shed would be very much appreciated.
Sign In or Register to comment.