PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : komischer Fehler bei eigenem Playermodel...



kuno_knast
15.12.2007, 17:03
Hallöchen,
ich hab heute mal wieder versucht ein Playermodel zu basteln...
Also decompile ich das Model (http://www.garrysmod.org/downloads/?a=view&id=27236) erstmal, geh dann in die "mdldecompiler.qc", lösche die Zeile mit den alten animation raus und schreib die standart-Animationen für die Frauen rein:
$includemodel "humans/female_shared.mdl"
$includemodel "humans/female_ss.mdl"
$includemodel "player/female_anims.mdl"

Soweit so gut, soweit war ich schon mit mehreren anderen Models gekommen die nach dem Compilieren dann auch meistens spielbar waren.
Nur bekomme ich diesmal bei jedem spawnen mit dem Model einen "DataTable warning: (class player): Out-of-range value (-2692.138672) in SendPropFloat 'm_vecVelocity[2]', clamping."-Fehler in der Console und ich das Model is unsichtbar :-?

Sehr komischer Weise ist im Modelviewer aber noch alles OK mit dem Model, alle eingefügten Animationen sind vorhanden.
Und das, obwohl beim compilieren folgendes stand:


......
writing f:\steam\steamapps\kuno_knast666\half-life 2 deathmatch\hl2mp\models/Lar
aCroft_P.mdl:
bones 20228 bytes (78)
animations 1368 bytes (1 anims) (2 frames) [0:00]
sequences 528 bytes (1 seq)
ik/pose 564 bytes
eyeballs 344 bytes (2 eyeballs)
flexes 0 bytes (0 flexes)
textures 732 bytes
keyvalues 0 bytes
Collision model volume 4069.37 in^3
collision 0 bytes
total 27204
---------------------
.....

Der erscheinende Fehler wird bei Google-Suche auf dieversen Foren als Map-Problem bei Leak's oder so ähnlich beschrieben, kann also eigentlich nichts mit meinem Model zu tun haben, oder :-?
Ich hatte mit den "Source SDK"-Einstellungen HL2DM compiliert

Hier noch die QC mit der ich compiled hatte:


$cd "F:\Steam\SteamApps\kuno_knast666\sourcesdk_content \hl2mp\modelsrc\LC"
$modelname "LaraCroft_P.mdl"
$model "Lara" "Lara_Croft_Reference.smd" {
flexfile "mdldecompiler_expressions.vta" {
}
eyeball righteye ValveBiped.Bip01_Head1 -1.325 -2.950 64.575 eyeball_r 1.000 0.000 pupil_r 0.682
eyeball lefteye ValveBiped.Bip01_Head1 1.325 -2.950 64.575 eyeball_l 1.000 0.000 pupil_l 0.682
// 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 3539368 0.000000 neutral 3539368 0.000000 raiser 3539368 0.000000 split 0.1 eyeball righteye
// eyelid lower_right "mdldecompiler_expressions.vta" lowerer 3539368 0.000000 neutral 3539368 0.000000 raiser 3539368 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 3539368 0.000000 neutral 3539368 0.000000 raiser 3539368 0.000000 split -0.1 eyeball lefteye
// eyelid lower_left "mdldecompiler_expressions.vta" lowerer 3539368 0.000000 neutral 3539368 0.000000 raiser 3539368 0.000000 split -0.1 eyeball lefteye
}
$poseparameter move_yaw -180.00 180.00
$cdmaterials "models\Lara\"
$hboxset "default"
$hbox 1 "ValveBiped.Bip01_Head1" -2.250 -5.000 -3.150 7.250 5.000 3.350
$hbox 4 "ValveBiped.Bip01_L_UpperArm" -0.810 -2.250 -3.050 11.190 2.750 1.200
$hbox 4 "ValveBiped.Bip01_L_Forearm" -1.250 -1.880 -2.000 11.750 1.620 1.000
$hbox 4 "ValveBiped.Bip01_L_Hand" 0.000 -1.070 -1.500 6.000 0.680 3.000
$hbox 5 "ValveBiped.Bip01_R_UpperArm" -1.500 -2.250 -1.250 11.500 2.750 2.750
$hbox 5 "ValveBiped.Bip01_R_Forearm" -0.820 -1.900 -1.150 11.180 1.600 1.850
$hbox 5 "ValveBiped.Bip01_R_Hand" -0.500 -1.130 -3.250 5.500 0.630 1.750
$hbox 6 "ValveBiped.Bip01_L_Thigh" 0.500 -3.500 -3.250 17.500 4.500 3.250
$hbox 6 "ValveBiped.Bip01_L_Calf" 0.740 -2.350 -2.150 17.740 3.650 2.350
$hbox 6 "ValveBiped.Bip01_L_Foot" -2.000 -1.800 -1.450 6.000 3.200 2.050
$hbox 6 "ValveBiped.Bip01_L_Toe0" -0.170 -1.500 -1.300 2.570 0.300 1.700
$hbox 7 "ValveBiped.Bip01_R_Thigh" 0.500 -3.500 -3.000 17.500 4.500 3.000
$hbox 7 "ValveBiped.Bip01_R_Calf" 0.740 -2.350 -2.350 17.740 3.650 2.150
$hbox 7 "ValveBiped.Bip01_R_Foot" -2.000 -1.750 -2.150 6.000 3.250 1.350
$hbox 7 "ValveBiped.Bip01_R_Toe0" 0.000 -1.380 -1.630 2.740 0.380 1.630
$hbox 3 "ValveBiped.Bip01_Pelvis" -5.250 -3.880 -6.250 5.750 4.120 3.750
$hbox 3 "ValveBiped.Bip01_Spine1" -4.500 -2.000 -4.980 3.500 6.000 4.970
$hbox 2 "ValveBiped.Bip01_Spine2" -0.500 -2.500 -6.000 10.500 7.500 6.000
// Model uses material "hair_eye_lids.vmt"
// Model uses material "LaraCroft_hairbits.vmt"
// Model uses material "hair_back.vmt"
// Model uses material "LaraCroft_body_sheet.vmt"
// Model uses material "LaraCroft_face.vmt"
// Model uses material "LaraCroft_hair.vmt"
// Model uses material "eyeball_l.vmt"
// Model uses material "eyeball_r.vmt"
// Model uses material "pupil_r.vmt"
// Model uses material "glint.vmt"
// Model uses material "pupil_l.vmt"
$attachment "eyes" "ValveBiped.Bip01_Head1" 2.10 -3.89 -0.00 rotate 0.00 -80.10 -90.00
$attachment "lefteye" "ValveBiped.Bip01_Head1" 2.10 -3.89 -1.32 rotate 0.00 -80.10 -90.00
$attachment "righteye" "ValveBiped.Bip01_Head1" 2.10 -3.89 1.30 rotate 0.00 -80.10 -90.00
$attachment "nose" "ValveBiped.Bip01_Head1" 1.00 -5.30 -0.00 rotate 0.00 -80.00 -90.00
$attachment "mouth" "ValveBiped.Bip01_Head1" 0.20 -4.90 -0.00 rotate 0.00 -80.00 -90.00
$attachment "amulet" "ValveBiped.Bip01_Spine4" 0.30 5.00 -0.00 rotate -0.00 90.00 90.00
$attachment "chest" "ValveBiped.Bip01_Spine4" -4.00 4.00 -0.00 rotate -0.00 83.00 90.00
$attachment "hips" "ValveBiped.Bip01_Pelvis" 0.00 -0.00 -0.00 rotate -90.00 -90.00 0.00
$attachment "lefthand" "ValveBiped.Bip01_L_Hand" 3.50 -0.50 -0.00 rotate 0.00 -0.00 0.00
$attachment "righthand" "ValveBiped.Bip01_R_Hand" 3.50 -0.50 -0.00 rotate -0.00 -0.00 -0.00
$attachment "pouch1" "ValveBiped.Bip01_Pelvis" 5.50 1.00 2.00 rotate -90.00 -90.00 0.00
$attachment "pouch2" "ValveBiped.Bip01_Pelvis" 6.50 0.50 -2.00 rotate -90.00 -90.00 0.00
$attachment "physgun_attachment" "ValveBiped.physgun_attachment" -0.00 0.00 0.00 rotate -90.00 -90.00 0.00
$attachment "emp" "ValveBiped.Anim_Attachment_RH" -0.00 -0.00 5.00 rotate -90.00 -90.00 0.00
$attachment "Emp_Holster" "ValveBiped.Bip01_Pelvis" -6.44 2.22 -1.95 rotate -1.37 -103.07 90.28
$attachment "forward" "ValveBiped.forward" 0.00 0.00 0.00 rotate 0.00 0.00 -0.00
$attachment "anim_attachment_RH" "ValveBiped.Anim_Attachment_RH" -0.00 0.00 -0.00 rotate -90.00 -90.00 0.00
$attachment "anim_attachment_LH" "ValveBiped.Anim_Attachment_LH" 0.00 0.00 0.00 rotate -90.00 -90.00 0.00
$includemodel "humans/female_shared.mdl"
$includemodel "humans/female_ss.mdl"
$includemodel "player/female_anims.mdl"
$surfaceprop "flesh"
$eyeposition 0.000 0.000 65.000
$illumposition 0.052 0.855 34.763
$sequence ragdoll "ragdoll" ACT_DIERAGDOLL 1 fps 30.00
$ikchain rhand ValveBiped.Bip01_R_Hand knee 0.707 0.707 0.000
$ikchain lhand ValveBiped.Bip01_L_Hand knee 0.707 0.707 0.000
$ikchain rfoot ValveBiped.Bip01_R_Foot knee 0.707 -0.707 0.000
$ikchain lfoot ValveBiped.Bip01_L_Foot knee 0.707 -0.707 0.000
$collisionjoints "phymodel.smd" {

$mass 60.0
$inertia 5.00
$damping 0.01
$rotdamping 1.50
$rootbone "valvebiped.bip01_pelvis"
$jointmerge "ValveBiped.Bip01_Pelvis" "ValveBiped.Bip01_Spine1"

$jointconstrain "valvebiped.bip01_r_thigh" x limit -50.00 48.00 0.20
$jointconstrain "valvebiped.bip01_r_thigh" y limit -19.00 70.00 0.20
$jointconstrain "valvebiped.bip01_r_thigh" z limit -79.00 73.00 0.20

$jointconstrain "valvebiped.bip01_r_calf" x limit 0.00 0.00 0.00
$jointconstrain "valvebiped.bip01_r_calf" y limit 0.00 0.00 0.00
$jointconstrain "valvebiped.bip01_r_calf" z limit 0.00 133.00 0.20

$jointconstrain "valvebiped.bip01_l_thigh" x limit -39.00 39.00 0.20
$jointconstrain "valvebiped.bip01_l_thigh" y limit -59.00 23.00 0.20
$jointconstrain "valvebiped.bip01_l_thigh" z limit -84.00 66.00 0.20

$jointconstrain "valvebiped.bip01_l_calf" x limit 0.00 0.00 0.00
$jointconstrain "valvebiped.bip01_l_calf" y limit 0.00 0.00 0.00
$jointconstrain "valvebiped.bip01_l_calf" z limit 0.00 131.00 0.20

$jointconstrain "valvebiped.bip01_l_foot" x limit -23.00 23.00 0.20
$jointconstrain "valvebiped.bip01_l_foot" y limit -28.00 28.00 0.20
$jointconstrain "valvebiped.bip01_l_foot" z limit -46.00 46.00 0.20

$jointconstrain "valvebiped.bip01_spine2" x limit -36.00 36.00 0.20
$jointconstrain "valvebiped.bip01_spine2" y limit -20.00 20.00 0.20
$jointconstrain "valvebiped.bip01_spine2" z limit -28.00 50.00 0.20

$jointconstrain "valvebiped.bip01_r_pectoral" x limit -30.00 30.00 0.20
$jointconstrain "valvebiped.bip01_r_pectoral" y limit 0.00 0.00 0.20
$jointconstrain "valvebiped.bip01_r_pectoral" z limit -25.00 5.00 0.20

$jointconstrain "valvebiped.bip01_r_upperarm" x limit -64.00 64.00 0.20
$jointconstrain "valvebiped.bip01_r_upperarm" y limit -26.00 122.00 0.20
$jointconstrain "valvebiped.bip01_r_upperarm" z limit -122.00 50.00 0.20

$jointconstrain "valvebiped.bip01_r_forearm" x limit 0.00 0.00 0.00
$jointconstrain "valvebiped.bip01_r_forearm" y limit 0.00 0.00 0.00
$jointconstrain "valvebiped.bip01_r_forearm" z limit -149.00 1.00 0.20

$jointconstrain "valvebiped.bip01_r_hand" x limit -75.00 93.00 0.20
$jointconstrain "valvebiped.bip01_r_hand" y limit -37.00 32.00 0.20
$jointconstrain "valvebiped.bip01_r_hand" z limit -48.00 66.00 0.20

$jointconstrain "valvebiped.bip01_l_upperarm" x limit -64.00 64.00 0.20
$jointconstrain "valvebiped.bip01_l_upperarm" y limit -122.00 28.00 0.20
$jointconstrain "valvebiped.bip01_l_upperarm" z limit -100.00 59.00 0.20

$jointconstrain "valvebiped.bip01_l_forearm" x limit 0.00 0.00 0.20
$jointconstrain "valvebiped.bip01_l_forearm" y limit 0.00 0.00 0.00
$jointconstrain "valvebiped.bip01_l_forearm" z limit -140.00 0.00 0.20

$jointconstrain "valvebiped.bip01_l_hand" x limit -68.00 68.00 0.20
$jointconstrain "valvebiped.bip01_l_hand" y limit -37.00 41.00 0.20
$jointconstrain "valvebiped.bip01_l_hand" z limit -44.00 70.00 0.20

$jointconstrain "valvebiped.bip01_head1" x limit -61.00 61.00 0.20
$jointconstrain "valvebiped.bip01_head1" y limit -44.00 44.00 0.20
$jointconstrain "valvebiped.bip01_head1" z limit -32.00 50.00 0.20

$jointconstrain "bip01_ponytail" x limit -25.00 25.00 0.20
$jointconstrain "bip01_ponytail" y limit -25.00 25.00 0.20
$jointconstrain "bip01_ponytail" z limit -25.00 25.00 0.20

$jointconstrain "bip01_ponytail1" x limit -65.00 65.00 0.20
$jointconstrain "bip01_ponytail1" y limit -65.00 65.00 0.20
$jointconstrain "bip01_ponytail1" z limit -20.00 20.00 0.20

$jointconstrain "bip01_ponytail2" x limit -65.00 65.00 0.20
$jointconstrain "bip01_ponytail2" y limit -65.00 65.00 0.20
$jointconstrain "bip01_ponytail2" z limit -20.00 20.00 0.20

$jointconstrain "bip01_ponytail3" x limit -65.00 65.00 0.20
$jointconstrain "bip01_ponytail3" y limit -65.00 65.00 0.00
$jointconstrain "bip01_ponytail3" z limit -20.00 20.00 0.20

$jointconstrain "bip01_ponytail4" x limit -65.00 65.00 0.20
$jointconstrain "bip01_ponytail4" y limit -65.00 65.00 0.20
$jointconstrain "bip01_ponytail4" z limit -20.00 20.00 0.20

$jointconstrain "valvebiped.bip01_l_pectoral" x limit -30.00 30.00 0.20
$jointconstrain "valvebiped.bip01_l_pectoral" y limit 0.00 0.00 0.20
$jointconstrain "valvebiped.bip01_l_pectoral" z limit -25.00 5.00 0.20

$jointconstrain "valvebiped.bip01_spine" x limit 0.00 0.00 0.00
$jointconstrain "valvebiped.bip01_spine" y limit 0.00 0.00 0.00
$jointconstrain "valvebiped.bip01_spine" z limit 0.00 0.00 0.00

$jointconstrain "valvebiped.bip01_r_foot" x limit -23.00 23.00 0.20
$jointconstrain "valvebiped.bip01_r_foot" y limit -23.00 23.00 0.20
$jointconstrain "valvebiped.bip01_r_foot" z limit -35.00 57.00 0.20
}

Ich währe sehr happy, wenn mir jemand weiterhelfen könnte :gmod:

mfg

kuno_knast

Lucid
15.12.2007, 20:09
"DataTable warning: (class player): Out-of-range value (-2692.138672) in SendPropFloat 'm_vecVelocity[2]', clamping."

Bedeutet eigentlich das ein Entity sich schneller bewegt als sv_maxvelocity.
War zumindest so als ich meine Flygun gecodet hab, in GMod9...

kuno_knast
17.12.2007, 12:53
Oder ich formulier es nochmal so:
Wodurch können Vertex-Errors verursacht werden, und wie kann man sie beheben ?