Please or Register to create posts and topics.

Model not compiling

Hello!

I'm trying to compile a custom model but I've tried GUIStudioMDL and StudioCompiler but neither work.

I was wondering if anybody had came across the same problem and might perhaps have a solution to it.

Here's the contents of the QC file:

Code: Select all
$cd "modelsnpcspersonality_sphere"
$modelname "npcs/personality_sphere/personality_sphere_stasis.mdl"
$model "default" "personality_sphere_model.dmx.smd"

$lod 15
{
  replacemodel "personality_sphere_model.dmx" "lod1_personality_sphere_model.dmx"
}
$lod 25
{
  replacemodel "personality_sphere_model.dmx" "lod2_personality_sphere_model.dmx"
}
$cdmaterials ""
$texturegroup skinfamilies
{
   {"models/npcs/personality_sphere/personality_sphere_stasis.vmt"
"models/npcs/personality_sphere/personality_sphere_glass.vmt"
}
}
$hboxset "default"
$hbox 0 "sphere_root" -12.602  -14.559  -15.954  12.602  14.559  16.482
$hbox 0 "eyeball_pistons_backjoint_06" -0.479  -1.014  -1.171  5.180  1.014  1.171
$hbox 0 "eyeball_pistons_backjoint_05" -0.479  -1.014  -1.171  5.180  1.014  1.171
$hbox 0 "handle_upper" -1.471  -1.526  -12.943  5.231  8.285  12.943
$hbox 0 "axel_center_y" -10.029  -10.022  -15.246  3.183  10.022  15.246
$hbox 0 "axel_center_x" -14.249  -9.958  -9.958  0.000  9.958  9.958
$hbox 0 "axel_center_z" -15.395  -15.815  -10.747  13.004  15.815  10.747
$hbox 0 "eyeball_pistons_backjoint_01" -0.479  -1.014  -1.171  5.180  1.014  1.171
$hbox 0 "eyeball_pistons_backjoint_03" -0.479  -1.014  -1.171  5.180  1.014  1.171
$hbox 0 "eyeball_pistons_backjoint_02" -0.479  -1.014  -1.171  5.192  1.014  1.171
$hbox 0 "eyeball_pistons_backjoint_04" -0.479  -1.014  -1.171  5.180  1.014  1.171
$hbox 0 "handle_lower" -1.471  -8.285  -12.943  5.231  1.471  12.943
$hbox 0 "bandY_joint" -14.988  -1.759  -14.988  11.702  1.816  14.988
$hbox 0 "cog_rotation" 0.000  -2.057  -2.057  3.194  2.057  2.057
$hbox 0 "eyeball_eye" 0.000  -9.953  -9.953  14.389  9.953  9.953
$hbox 0 "eyelight_aimjoint" 0.000  -5.809  -5.809  11.036  5.809  5.809
$hbox 0 "eyelid_lower_compress_01" 0.000  0.000  -6.202  14.408  5.708  6.202
$hbox 0 "eyelid_upper_compress01" 0.000  0.000  -6.202  14.408  5.852  6.202
$hbox 0 "eyelid_upper_main" 0.000  -0.021  -6.202  14.909  1.947  6.202
$hbox 0 "eyelid_upper_compress02" 0.000  0.000  -5.946  12.918  9.465  5.946
$hbox 0 "eyelid_lower_main" 0.000  -0.021  -6.202  14.909  1.947  6.202
$hbox 0 "eyelid_lower_compress_02" 0.000  0.000  -5.946  12.918  9.465  5.946
$hbox 0 "bandZ_joint" -14.988  -14.988  -1.816  11.702  14.988  1.759
$attachment "eyes" "inner_aperture" 6.99 0.00 0.06 rotate -0.00 0.00 0.00
$attachment "crush_spark_attach_01" "sphere_root" 6.52 -0.97 -14.79 rotate -0.00 0.00 0.00
$attachment "spark_attach" "sphere_root" 6.87 -10.41 12.56 rotate -0.00 0.00 0.00
$attachment "crush_spark_attach_02" "sphere_root" -4.22 6.07 14.87 rotate -0.00 0.00 0.00
$attachment "forward" "sphere_root" 17.85 0.00 0.00 rotate -0.00 0.00 0.00
$attachment "cable_attach_01" "sphere_root" -14.65 0.00 3.00 rotate -0.00 0.00 0.00
$attachment "cable_attach_02" "sphere_root" -14.65 0.00 -3.00 rotate -0.00 0.00 0.00
$includemodel "npcs/personality_sphere/personality_sphere_animation.mdl"
$surfaceprop "default"
$keyvalues  {  }
$illumposition 0.264 -0.243 0.039
$sequence BindPose "BindPose" fps 30.00

As you probably can see from the QC file, I'm compiling a modified personality core.

If anybody could figure how to compile a model for Portal 2, please tell me!

P.S. Valve sucks for breaking the Source SDK, -_-

oh my god please HELP ME

please

It doesn't work because your SMD is called "personality_sphere_model.dmx.smd".
Those LODs try to replace the file called "personality_sphere_model.dmx". Because of that . before dmx it thinks the file is called .dmx, not .dmx.smd.
You must add the .smd at the end, or it searches for two different files!

Btw. studiomdl should tell you about this ("Can't find file bla...").

You also should post your compile log next time. Those programs should output it. Otherwise use my stupid little StudioMDL GUI, it definetively outputs it.
http://skotty.skoter.de/files/Programmi ... DL-GUI.exe

Still not working.

Here's the compile log from StudioMDL

Code: Select all
Created command line: "C:Program Files (x86)SteamSteamAppscommonSource SDK Base 2013 Singleplayerbinstudiomdl.exe" -game "C:Program Files (x86)SteamSteamAppscommonSource SDK Base 2013 Singleplayerhl2" -notxbox C:UserstecsperkDesktoppersonality_spheremodelsnpcspersonality_spheredecompilemdldecompiler.qc

WARNING: AppFramework : Unable to load module p4lib.dll!
qdir:    "c:userstecsperkdesktoppersonality_spheremodelsnpcspersonality_spheredecompile"
gamedir: "C:Program Files (x86)SteamSteamAppscommonSource SDK Base 2013 Singleplayerhl2"
g_path:  "C:UserstecsperkDesktoppersonality_spheremodelsnpcspersonality_spheredecompilemdldecompiler.qc"
Building binary model files...
Working on "mdldecompiler.qc"
ERROR: c:userstecsperkdesktoppersonality_spheremodelsnpcspersonality_spheredecompilemdldecompiler.qc(3): - could not load file 'modelsnpcspersonality_sphere/personality_sphere_model.dmx.smd'
ERROR: Aborted Processing on 'npcs/personality_sphere/personality_sphere_stasis.mdl'
WARNING: Leaking 1 elements

oh my god please HELP ME

please

Whats do difficult to understand about

Code: Select all
ERROR: c:userstecsperkdesktoppersonality_spheremodelsnpcspersonality_spheredecompilemdldecompiler.qc(3): - could not load file 'modelsnpcspersonality_sphere/personality_sphere_model.dmx.smd'

?