Sidebar

проблемы с компелированием модели

fire64

New member
10.02.07
533
34
проблемы с компелированием модели

не получается скомпилировать модель
пишет что не найдена текстура для глаз хотя текстура есть
вот лог
GUIStudioMDL 2.0/Source - © 2005 Neil 'Jed' Jedrzejewski - http://www.wunderboy.org/

Loaded QC file - "C:\modelsrc\mdldecompiler.qc"

Created command line: C:\SourceSDK\bin\studiomdl.exe -game C:\SourceSDK\hl2 C:\modelsrc\mdldecompiler.qc

qdir: "c:\modelsrc\"
gamedir: "C:\SourceSDK\hl2\"
g_path: "mdldecompiler"
Working on "mdldecompiler.qc"
SMD MODEL C:\modelsrc/child_worker_f1_reference6.smd
VTA MODEL C:\modelsrc/mdldecompiler_expressions.vta
ERROR: c:\modelsrc\mdldecompiler.qc(19): - can't find eyeball texture "eyeball_r" on model
ERROR: Aborted Processing on 'child_worker_f1.mdl'
текстуры лежат в папке C:\SourceSDK\hl2\materials\Models\child_worker_f1

вот содержимое QC файла

$cd "C:\modelsrc"
$modelname "child_worker_f1.mdl"
$model "smdimport" "child_worker_f1_reference6.smd" {
flexfile "mdldecompiler_expressions.vta" {
flex "l_index" frame 5
flex "l_thumb" frame 6
flex "l_middle" frame 7
flex "l_ring" frame 8
flex "l_pinky" frame 9
flex "lid_left" frame 10
flex "lid_right" frame 11
flex "r_index" frame 12
flex "r_middle" frame 13
flex "r_ring" frame 14
flex "r_pinky" frame 15
flex "r_thumb" frame 16
flex "smile" frame 17
}
eyeball righteye joint10 -1.410 -4.120 53.110 eyeball_r 1.000 4.000 bl_pupil_r 0.600
eyeball lefteye joint10 0.810 -4.120 53.110 eyeball_l 1.000 -4.000 bl_pupil_l 0.600
// If you uncomment the following lines the eyes will be closed
// I'm including it anyway in case anyone wants to experiment
// eyelid upper_right "mdldecompiler_expressions.vta" lowerer 4 0.000000 neutral 4 0.000000 raiser 4 0.000000 split 0.1 eyeball righteye
// eyelid lower_right "mdldecompiler_expressions.vta" lowerer 4 0.000000 neutral 4 0.000000 raiser 4 0.000000 split 0.1 eyeball righteye
// If you uncomment the following lines the eyes will be closed
// I'm including it anyway in case anyone wants to experiment
// eyelid upper_left "mdldecompiler_expressions.vta" lowerer 4 0.000000 neutral 4 0.000000 raiser 4 0.000000 split -0.1 eyeball lefteye
// eyelid lower_left "mdldecompiler_expressions.vta" lowerer 4 0.000000 neutral 4 0.000000 raiser 4 0.000000 split -0.1 eyeball lefteye
flexcontroller phoneme Blank "range" 0.000 1.000
flexcontroller phoneme l_index "range" 0.000 1.000
flexcontroller phoneme l_thumb "range" 0.000 1.000
flexcontroller phoneme l_middle "range" 0.000 1.000
flexcontroller phoneme l_ring "range" 0.000 1.000
flexcontroller phoneme l_pinky "range" 0.000 1.000
flexcontroller phoneme lid_left "range" 0.000 1.000
flexcontroller phoneme lid_right "range" 0.000 1.000
flexcontroller phoneme r_index "range" 0.000 1.000
flexcontroller phoneme r_middle "range" 0.000 1.000
flexcontroller phoneme r_ring "range" 0.000 1.000
flexcontroller phoneme r_pinky "range" 0.000 1.000
flexcontroller phoneme r_thumb "range" 0.000 1.000
flexcontroller phoneme smile "range" 0.000 1.000
%l_index = l_index
%l_thumb = l_thumb
%l_middle = l_middle
%l_ring = l_ring
%l_pinky = l_pinky
%lid_left = lid_left
%lid_right = lid_right
%r_index = r_index
%r_middle = r_middle
%r_ring = r_ring
%r_pinky = r_pinky
%r_thumb = r_thumb
%smile = smile
}
$cdmaterials "models\child_worker_f1\"
$hboxset "default"
$hbox 0 "joint1" -6.465 -7.545 -4.995 6.453 5.736 5.619
$hbox 0 "joint2" -3.886 -5.619 0.000 3.066 5.927 12.955
$hbox 0 "joint4" -3.201 -3.878 -2.507 2.823 2.978 12.545
$hbox 0 "joint5" -2.290 -3.185 -0.384 2.158 6.699 2.529
$hbox 0 "joint3" -3.188 -5.430 0.000 4.151 5.270 12.896
$hbox 0 "joint6" -2.842 -4.025 -2.379 3.146 2.709 13.532
$hbox 0 "joint7" -2.027 -3.567 -0.258 2.316 6.279 2.591
$hbox 0 "joint8" -5.933 -4.708 0.000 5.740 5.730 17.598
$hbox 0 "joint10" -3.291 -4.645 -0.767 3.429 5.552 9.583
$hbox 0 "joint11" -2.759 -3.104 0.000 2.177 2.606 7.655
$hbox 0 "joint13" -2.413 -2.685 -0.156 2.341 2.647 11.189
$hbox 0 "joint14" -0.766 -1.349 -0.374 0.879 1.480 3.803
$hbox 0 "joint12" -3.058 -2.792 0.000 2.443 3.023 7.291
$hbox 0 "joint15" -2.193 -2.790 0.000 2.769 2.955 11.840
$hbox 0 "joint16" -0.694 -1.447 -0.405 0.944 1.496 4.323
$hbox 0 "joint20" -0.067 -0.800 -1.944 1.091 0.960 0.906
$hbox 0 "joint21" 0.000 -0.925 -1.421 2.079 0.814 1.062
$hbox 0 "joint22" 0.000 -0.885 -1.769 2.075 0.819 0.000
// Model uses material "f32306ca.vmt"
// Model uses material "82bf162e.vmt"
// Model uses material "60e1129e.vmt"
// Model uses material "09fda6ec.vmt"
// Model uses material "24ebf6b5.vmt"
// Model uses material "aabc3e37.vmt"
// Model uses material "cd948bcf.vmt"
// Model uses material "883f2a2e.vmt"
// Model uses material "5ad436d8.vmt"
// Model uses material "e67afc5c.vmt"
// Model uses material "bl_pupil_r.vmt"
// Model uses material "glint.vmt"
// Model uses material "bl_pupil_l.vmt"
$attachment "eyes" "joint10" -0.20 3.86 4.73 rotate 0.31 94.03 0.02
$attachment "mouth" "joint10" 0.80 -5.80 -0.15 rotate 0.00 -80.00 -90.00
$attachment "righteye" "joint10" 1.20 3.90 4.46 rotate -0.00 -0.00 -0.00
$attachment "lefteye" "joint10" -0.95 3.90 4.46 rotate -0.00 -0.00 -0.00
$surfaceprop "flesh"
$keyvalues { prop_data {"base" wooden.large }
$eyeposition 0.000 0.000 70.000
$illumposition 0.782 -0.077 28.997
$sequence ragdoll "ragdoll" ACT_IDLE 1 fps 30.00
$collisionjoints "phymodel.smd" {

$mass 70.0
$inertia 10.00
$damping 0.01
$rotdamping 1.50
$rootbone "joint1"

$jointconstrain "joint8" x limit -90.00 30.00 0.00
$jointconstrain "joint8" y limit -25.00 25.00 0.00
$jointconstrain "joint8" z limit -45.00 45.00 0.00

$jointconstrain "joint12" x limit -115.00 45.00 0.00
$jointconstrain "joint12" y limit -50.00 90.00 0.00
$jointconstrain "joint12" z limit -45.00 45.00 0.00

$jointconstrain "joint11" x limit -45.00 115.00 0.00
$jointconstrain "joint11" y limit -50.00 90.00 0.00
$jointconstrain "joint11" z limit -45.00 45.00 0.00

$jointconstrain "joint13" x limit -90.00 0.00 0.00
$jointconstrain "joint13" y limit 0.00 0.00 0.00
$jointconstrain "joint13" z limit 0.00 0.00 0.00

$jointconstrain "joint14" x limit -20.00 20.00 0.00
$jointconstrain "joint14" y limit -45.00 60.00 0.00
$jointconstrain "joint14" z limit -25.00 25.00 0.00

$jointconstrain "joint15" x limit -90.00 0.00 0.00
$jointconstrain "joint15" y limit 0.00 0.00 0.00
$jointconstrain "joint15" z limit 0.00 0.00 0.00

$jointconstrain "joint16" x limit -20.00 20.00 0.00
$jointconstrain "joint16" y limit -45.00 60.00 0.00
$jointconstrain "joint16" z limit -25.00 25.00 0.00

$jointconstrain "joint3" x limit -90.00 45.00 0.00
$jointconstrain "joint3" y limit -10.00 35.00 0.00
$jointconstrain "joint3" z limit -20.00 0.00 0.00

$jointconstrain "joint6" x limit 0.00 100.00 0.00
$jointconstrain "joint6" y limit 0.00 0.00 0.00
$jointconstrain "joint6" z limit 0.00 0.00 0.00

$jointconstrain "joint10" x limit -45.00 45.00 0.00
$jointconstrain "joint10" y limit -25.00 25.00 0.00
$jointconstrain "joint10" z limit -45.00 45.00 0.00

$jointconstrain "joint2" x limit -90.00 45.00 0.00
$jointconstrain "joint2" y limit -35.00 10.00 0.00
$jointconstrain "joint2" z limit 0.00 20.00 0.00

$jointconstrain "joint4" x limit 0.00 100.00 0.00
$jointconstrain "joint4" y limit 0.00 0.00 0.00
$jointconstrain "joint4" z limit 0.00 0.00 0.00

$jointconstrain "joint5" x limit -20.00 60.00 0.00
$jointconstrain "joint5" y limit -10.00 10.00 0.00
$jointconstrain "joint5" z limit -10.00 20.00 0.00

$jointconstrain "joint7" x limit -20.00 60.00 0.00
$jointconstrain "joint7" y limit -10.00 10.00 0.00
$jointconstrain "joint7" z limit -20.00 10.00 0.00
}
 

4exo8

New member
02.03.06
7
0
0
Такая же проблема :mad:
STUDIOMDL ERROR : can't find eyeball texture "eyeball_r" on model
Причем просто декомпилирую модель и ничего не меняя, компилирую-
та же фигня...В чем дело?
 

Gaia

Чёрный вертолёт
Спонсор
04.08.08
4 685
37
154
63
2 fire64:
Попробуй так:
Код:
eyeball righteye joint10 -1.410 -4.120 53.110 bl_pupil_r 1.000 4.000 eyeball_r 0.600
eyeball lefteye joint10 0.810 -4.120 53.110 bl_pupil_l 1.000 -4.000 eyeball_l 0.600
Просто поменял кой-чего местами.
 

4exo8

New member
02.03.06
7
0
0
А можно пояснения насчет изменений в коде?
 
Останнє редагування:

Game Server

Доноры Красавчики

Користувачі онлайн

Немає користувачів онлайн.