It is currently Fri May 31, 2024 5:40 am



studiomdl.exe -game "C:\Program Files (x86)\Steam\steamapps\common\left 4 dead 2\left4dead2"





super_gun wrote:Whenever I try this, Windows tells me "A file cannot contain any of the following characters" I am right clicking on the studiomdl.exe and than adding that line right after "studiomdl.exe" Any ideas? Thanks!
super_gun wrote:Now using GUIstudiomdl. I'm getting an error when compiling my model,
ERROR: Illegal Static prop with no vertices specified
ERROR: Aborted Processing on 'C:/Documents and Settings/Joel/Desktop/Compile/bridge_model.mdl'

Seems you're trying to edit the program name. That drops the error you mention. That's wrong.
You have to create a windows file shorcut, and then, right click on it, properties, and then add the -game parameter in the Target texbox.
$modelname "C:/Documents and Settings/Joel/Desktop/Compile/bridge_model.mdl"
$scale 1
$surfaceprop "default"
$keyvalues { "prop_data" { "base" "Wooden.Large" } }
$body "Body" "bridge_model"
$sequence idle "bridge_model_idle" loop fps 1
$sequence idle "bridge_model_idle" loop fps 30
$collisionmodel "bridge_model_phy.smd"
{
$mass 1
$concave
}
$modelname "C:/Documents and Settings/Joel/Desktop/Compile/Box/box.mdl"
$scale 1
$surfaceprop "default"
$keyvalues { "prop_data" { "base" "Wooden.Large" } }
$body "Body" "box"
$sequence idle "box_idle" loop fps 1
$collisionmodel "box_phy.smd"
{
$mass 1
$concave
}
writing C:\Program Files\Steam\steamapps\common\left 4 dead 2\left4dead2\models/C:/Documents and Settings/Joel/Desktop/Compile/Box/box.mdl:
Error opening C:\Program Files\Steam\steamapps\common\left 4 dead 2\left4dead2\models/C:/Documents and Settings/Joel/Desktop/Compile/Box/box.mdl! (Check for write enable)
which I just laugh at because it's so absurd that valve would make this that difficult.ERROR: Model Name "C:/Program Files/Steam/steamapps/common/left 4 dead 2/left4dead2/models/Box/box.mdl" Too Big, 83 Characters, Max 63 Characters

C:\Program Files\Steam\steamapps\common\left 4 dead 2\sdk_content\materialsrc\models\my_models\C:\Program Files\Steam\steamapps\common\left 4 dead 2\sdk_content\modelsrc\my_models\C:\Program Files\Steam\steamapps\common\left 4 dead 2\left4dead2\materials\models\my_models\C:\Program Files\Steam\steamapps\common\left 4 dead 2\left4dead2\models\my_models\$modelname "my_models\bridge_model.mdl"
$cdmaterials "models\my_models"
$surfaceprop default
$scale 1
$body body "bridge_model.smd"
$sequence idle "bridge_model_idle.smd" loop fps 30
$collisionmodel "bridge_model_phy.smd"
{
$mass 1
$concave
}
$keyvalues { "prop_data" { "base" "Wooden.Large" } }





Users browsing this forum: No registered users