0 Members and 1 Guest are viewing this topic.
И ещё - как работает анимация в первой халфе? Там, как я понимаю нет скелета?
конвертишь vtf в 8 битные bmp
$cd "C:\Games\anon-hl2\modelsrc"$modelname "Weapons/v_oicw.mdl"$model "studio" "oicw_ref.smd"$cdmaterials "models\Weapons\V_hand\"$cdmaterials "models\weapons\V_oicw\"$hboxset "default"$hbox 0 "ValveBiped.Bip01_R_UpperArm" -1.320 -3.572 -2.929 11.693 2.948 3.010$hbox 0 "ValveBiped.Bip01_R_Forearm" -4.173 -3.135 -2.804 12.645 2.550 3.047$hbox 0 "ValveBiped.Bip01_L_UpperArm" -1.385 -3.578 -3.093 11.693 2.942 2.846$hbox 0 "ValveBiped.Bip01_L_Forearm" -4.118 -3.239 -3.550 12.548 2.540 2.721$hbox 0 "weapons/v_AR01" -2.309 -23.326 -11.663 2.242 24.359 7.349$hbox 0 "Clip" -0.624 -2.764 -5.131 0.558 3.217 5.693$hbox 0 "ValveBiped.Bip01_R_Hand" -0.974 -2.028 -1.860 4.817 1.124 2.113$hbox 0 "ValveBiped.Bip01_R_Finger4" -0.499 -1.006 -0.325 1.858 0.619 1.126$hbox 0 "ValveBiped.Bip01_R_Finger2" 0.000 -0.928 -0.823 2.165 0.503 0.802$hbox 0 "ValveBiped.Bip01_R_Finger1" -0.600 -1.278 -0.498 2.010 0.532 0.537$hbox 0 "ValveBiped.Bip01_R_Finger0" -0.285 -0.517 -1.017 2.321 1.804 1.274$hbox 0 "ValveBiped.Bip01_R_Finger01" -1.127 -0.410 -0.398 1.637 1.206 1.026$hbox 0 "ValveBiped.Bip01_R_Finger02" -0.465 -0.237 -0.364 1.661 0.782 0.694$hbox 0 "ValveBiped.Bip01_L_Hand" -1.108 -2.057 -2.103 4.523 0.937 2.135$hbox 0 "ValveBiped.Bip01_L_Finger4" -0.489 -1.090 -1.163 1.580 0.636 0.348$hbox 0 "ValveBiped.Bip01_L_Finger2" 0.000 -1.004 -0.789 2.074 0.417 0.844$hbox 0 "ValveBiped.Bip01_L_Finger1" -0.624 -1.371 -0.490 1.832 0.443 0.540$hbox 0 "ValveBiped.Bip01_L_Finger0" -0.360 -0.618 -1.484 2.322 2.001 0.980$hbox 0 "ValveBiped.Bip01_L_Finger01" -0.564 -0.486 -0.987 1.687 1.600 0.501$hbox 0 "ValveBiped.Bip01_L_Finger02" -0.446 -0.254 -0.681 1.680 0.834 0.474// Model uses material "v_hand_sheet-1.bmp"// Model uses material "gunside-1.bmp"// Model uses material "gunbutt-1.bmp"// Model uses material "gunfront-1.bmp"// Model uses material "scopecase-1.bmp"// Model uses material "misc_bits-1.bmp"// Model uses material "eyepiece_cyl-1.bmp"// Model uses material "eyelense-1.bmp"// Model uses material "clips2-1.bmp"$attachment "muzzle" "ValveBiped.Bip01_R_Hand" 32.00 -3.50 -8.50 rotate 4.00 -8.00 -80.00$attachment "1" "ValveBiped.Bip01_R_Hand" 10.80 -2.00 -7.50 rotate -0.00 -90.00 0.00$surfaceprop "default"$illumposition 27.300 -2.410 -13.393$sequence idle01 "idle01" loop ACT_VM_IDLE 1 fps 35.00 node Ready$sequence fire01 "fire01" ACT_VM_PRIMARYATTACK 1 fps 60.00 node Fire { { event AE_MUZZLEFLASH 0 "SMG1 MUZZLE" } { event 6001 0 "0" }}$sequence fire02 "fire02" loop ACT_VM_RECOIL1 1 fps 70.00 node Fire { { event AE_MUZZLEFLASH 0 "SMG1 MUZZLE" } { event 6001 0 "0" }}$sequence fire03 "fire03" loop ACT_VM_RECOIL2 1 fps 70.00 node Fire { { event AE_MUZZLEFLASH 0 "SMG1 MUZZLE" } { event 6001 0 "0" }}$sequence fire04 "fire04" loop ACT_VM_RECOIL3 1 fps 70.00 node Fire { { event AE_MUZZLEFLASH 0 "SMG1 MUZZLE" } { event 6001 0 "0" }}$sequence draw "draw" ACT_VM_DRAW 1 fps 30.00 node Ready$sequence reload "reload" ACT_VM_RELOAD 1 fps 40.00 node Ready { { event 5004 0 "Weapon_AR1.Reload" }}
[Performing Sanity Check]QC file loaded...PASSCan read QC...PASSCan find studiomdl.exe...PASSCan build command line...PASSAll tests passed![Compiling QC file - "mdldecompiler.qc"][Compiler output follows]--------------------------------------------------------------------------------entering C:\Games\anon-hl2\modelsrc\MDLDEC~1.QC************ ERROR ************bad command $model--------------------------------------------------------------------------------[Compiler execution completed]