NÁVOD: Reskinning Counter Strike Source modelů

Message
Autor
Uživatelský avatar
Zuben45
Příspěvky: 27
Registrován: 25 čer 2010, 13:08
Reputation: 0
Kontaktovat uživatele:

Re: NÁVOD: Reskinning Counter Strike Source modelů

#11 Příspěvekod Zuben45 » 23 pro 2011, 00:05

skin je tady: http://addons.eventscripts.com/addons/view/xmas_skins

a mdldecompiler.qc

Kód: Vybrat vše

$cd "E:\Program Files\Steam\steamapps\killerzuben\counter-strike source\cstrike\models\player\admin\xmas_grinch\dc3"
$modelname "player/admin/xmas_grinch_t/terror.mdl"
$model "terror" "t_phoenix_reference.smd"
$lod 15
 {
  replacemodel "t_phoenix_reference" "lod1_t_phoenix_reference"
}
$lod 20
 {
  replacemodel "t_phoenix_reference" "lod2_t_phoenix_reference"
}
$lod 35
 {
  replacemodel "t_phoenix_reference" "lod3_t_phoenix_reference"
}
$lod 50
 {
  replacemodel "t_phoenix_reference" "lod4_t_phoenix_reference"
}
$lod 70
 {
  replacemodel "t_phoenix_reference" "lod5_t_phoenix_reference"
}
$shadowlod
{
  replacemodel "t_phoenix_reference" "lod6_t_phoenix_reference"
}
$poseparameter move_yaw -180.00 180.00
$poseparameter body_pitch -90.00 90.00
$poseparameter body_yaw -90.00 90.00
$cdmaterials "models\player\admin\xmas_grinch_t\"
$cdmaterials "models\player\admin\xmas_grinch\"
$hboxset "default"
$hbox 0 "ValveBiped.Bip01_Pelvis" -8.783  -11.904  -7.277  10.906  13.690  8.411
$hbox 0 "ValveBiped.Bip01_L_Thigh" -1.503  -7.451  -5.949  25.002  6.522  5.830
$hbox 0 "ValveBiped.Bip01_L_Calf" -5.574  -6.202  -3.744  18.178  5.693  5.494
$hbox 0 "ValveBiped.Bip01_L_Foot" -3.441  -3.787  -3.374  7.951  5.854  2.699
$hbox 0 "ValveBiped.Bip01_L_Toe0" -2.168  -4.508  -3.668  4.352  0.611  2.402
$hbox 0 "ValveBiped.Bip01_R_Thigh" -1.636  -7.450  -7.227  25.004  6.533  6.903
$hbox 0 "ValveBiped.Bip01_R_Calf" -3.515  -6.202  -4.970  18.687  5.958  4.162
$hbox 0 "ValveBiped.Bip01_R_Foot" -3.441  -3.784  -2.720  8.568  5.852  3.301
$hbox 0 "ValveBiped.Bip01_R_Toe0" -2.164  -4.515  -2.348  4.352  0.780  3.537
$hbox 0 "ValveBiped.Bip01_Spine" -46.167  -3.184  -9.324  10.283  11.464  9.324
$hbox 0 "ValveBiped.Bip01_Spine1" -3.967  -3.129  -9.324  7.281  11.524  9.324
$hbox 0 "ValveBiped.Bip01_Spine2" -3.102  -4.356  -9.621  15.161  11.659  9.583
$hbox 0 "ValveBiped.Bip01_Spine4" -22.609  -4.155  -11.519  9.904  12.828  11.593
$hbox 0 "ValveBiped.Bip01_Neck1" -0.709  -6.817  -3.794  5.602  2.985  3.765
$hbox 0 "ValveBiped.Bip01_Head1" -2.712  -6.845  -3.957  10.120  5.090  3.984
$hbox 0 "ValveBiped.Bip01_L_Clavicle" 0.000  -7.017  -5.035  8.421  5.166  7.433
$hbox 0 "ValveBiped.Bip01_L_UpperArm" -2.365  -4.903  -3.892  15.125  4.391  3.780
$hbox 0 "ValveBiped.Bip01_L_Forearm" -1.053  -2.440  -2.760  12.630  2.889  2.817
$hbox 0 "ValveBiped.Bip01_L_Hand" -0.194  -1.878  -1.954  5.031  1.480  3.470
$hbox 0 "ValveBiped.Bip01_L_Finger2" -0.180  -1.866  -2.005  2.223  0.655  0.588
$hbox 0 "ValveBiped.Bip01_L_Finger21" -0.354  -2.841  -1.771  1.331  0.460  0.826
$hbox 0 "ValveBiped.Bip01_L_Finger22" -0.272  -2.774  -1.193  1.202  0.477  0.903
$hbox 0 "ValveBiped.Bip01_L_Finger1" -0.219  -0.835  -1.002  1.955  0.821  0.644
$hbox 0 "ValveBiped.Bip01_L_Finger01" -0.605  -0.907  -0.684  1.328  0.434  0.796
$hbox 0 "ValveBiped.Bip01_L_Finger02" -0.356  -1.192  -1.255  1.422  0.535  0.841
$hbox 0 "ValveBiped.Bip01_R_Clavicle" -0.271  -5.461  -8.518  7.811  5.068  4.936
$hbox 0 "ValveBiped.Bip01_R_UpperArm" -3.651  -7.586  -3.978  15.029  4.576  4.168
$hbox 0 "ValveBiped.Bip01_R_Forearm" -1.004  -2.280  -2.775  12.630  3.015  2.379
$hbox 0 "ValveBiped.Bip01_R_Hand" -0.423  -2.642  -3.431  5.333  1.468  1.767
$hbox 0 "ValveBiped.Bip01_R_Finger2" 0.000  -1.642  -0.573  2.233  0.394  2.027
$hbox 0 "ValveBiped.Bip01_R_Finger21" -0.999  -1.592  -0.728  1.600  0.446  1.945
$hbox 0 "ValveBiped.Bip01_R_Finger22" -0.452  -1.400  -0.849  1.223  0.462  1.478
$hbox 0 "ValveBiped.Bip01_R_Finger1" 0.000  -1.452  -0.922  2.136  0.725  0.553
$hbox 0 "ValveBiped.Bip01_R_Finger11" -0.143  -1.384  -0.926  1.317  0.683  0.406
$hbox 0 "ValveBiped.Bip01_R_Finger01" -0.713  -0.815  -0.987  1.328  0.593  1.147
$hbox 0 "ValveBiped.Bip01_R_Finger02" -0.318  -0.914  -0.755  1.454  0.553  1.730
$hbox 0 "ValveBiped.Bip01_R_Wrist" -5.498  -2.192  -2.126  0.202  2.010  1.435
$hbox 0 "ValveBiped.Bip01_L_Wrist" -5.468  -2.385  -1.581  1.035  2.073  2.038
$hbox 0 "ValveBiped.Bip01_L_Ulna" -3.463  -2.260  -2.377  4.310  2.563  2.777
$hbox 0 "ValveBiped.Bip01_R_Ulna" -3.559  -2.134  -2.721  4.128  2.696  2.120
$hbox 0 "ValveBiped.weapon_bone" -24.944  -0.079  -2.590  0.208  44.877  0.000
// Model uses material "t_phoenix.vmt"
$attachment "grenade0" "ValveBiped.Bip01_Pelvis" 7.70 1.65 1.10 rotate -0.00 0.00 -80.00
$attachment "grenade1" "ValveBiped.Bip01_Pelvis" 8.25 1.65 -3.85 rotate -0.00 0.00 -80.00
$attachment "grenade2" "ValveBiped.Bip01_Pelvis" -7.70 1.65 1.10 rotate -0.00 0.00 -80.00
$attachment "grenade3" "ValveBiped.Bip01_Pelvis" -8.25 1.65 -3.85 rotate -0.00 0.00 -80.00
$attachment "pistol" "ValveBiped.Bip01_R_Thigh" 8.80 1.10 -3.85 rotate 0.00 -0.00 -0.00
$attachment "primary" "ValveBiped.Bip01_Spine2" 0.00 -4.40 -2.20 rotate 0.00 -0.00 -0.00
$attachment "c4" "ValveBiped.Bip01_Spine2" 3.85 -7.15 -7.15 rotate -45.00 35.00 45.00
$attachment "lfoot" "ValveBiped.Bip01_L_Foot" 0.00 5.50 -0.00 rotate -0.00 0.00 -0.00
$attachment "rfoot" "ValveBiped.Bip01_R_Foot" -0.00 5.50 -0.00 rotate 0.00 -0.00 0.00
$attachment "muzzle_flash" "ValveBiped.Bip01_L_Hand" 0.00 -0.00 -0.00 rotate -0.00 -0.00 -0.00
$includemodel "player/cs_player_shared.mdl"
$includemodel "player/ak_anims_ct.mdl"
$surfaceprop "flesh"
$eyeposition -0.000 0.000 73.000
$illumposition 0.020 -0.974 39.459
$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
$ikchain ikclip ValveBiped.weapon_bone_Clip knee  0.707 -0.707 0.000
$collisionjoints "phymodel.smd" {

   $mass 94.0
   $inertia 10.00
   $damping 1.75
   $rotdamping 10.00
   $rootbone "valvebiped.bip01_pelvis"
   $jointmassbias "valvebiped.bip01_pelvis" 2.60
   $jointdamping "valvebiped.bip01_pelvis" 1.00

   $jointmassbias "valvebiped.bip01_spine2" 3.40
   $jointconstrain "valvebiped.bip01_spine2" x limit -15.00 15.00 0.00
   $jointconstrain "valvebiped.bip01_spine2" y limit -12.00 12.00 0.00
   $jointconstrain "valvebiped.bip01_spine2" z limit -20.00 15.00 0.00

   $jointmassbias "valvebiped.bip01_r_upperarm" 0.80
   $jointconstrain "valvebiped.bip01_r_upperarm" x limit -40.00 40.00 0.00
   $jointconstrain "valvebiped.bip01_r_upperarm" y limit -20.00 91.00 0.00
   $jointconstrain "valvebiped.bip01_r_upperarm" z limit -80.00 24.00 0.00

   $jointmassbias "valvebiped.bip01_l_upperarm" 0.80
   $jointconstrain "valvebiped.bip01_l_upperarm" x limit -40.00 40.00 0.00
   $jointconstrain "valvebiped.bip01_l_upperarm" y limit -91.00 20.00 0.00
   $jointconstrain "valvebiped.bip01_l_upperarm" z limit -80.00 23.00 0.00

   $jointmassbias "valvebiped.bip01_l_forearm" 0.60
   $jointconstrain "valvebiped.bip01_l_forearm" x limit 0.00 0.00 0.00
   $jointconstrain "valvebiped.bip01_l_forearm" y limit 0.00 0.00 0.00
   $jointconstrain "valvebiped.bip01_l_forearm" z limit -123.00 -3.00 0.00

   $jointmassbias "valvebiped.bip01_l_hand" 0.20
   $jointconstrain "valvebiped.bip01_l_hand" x limit -52.00 37.00 0.00
   $jointconstrain "valvebiped.bip01_l_hand" y limit -12.00 8.00 0.00
   $jointconstrain "valvebiped.bip01_l_hand" z limit -52.00 -1.00 0.00

   $jointmassbias "valvebiped.bip01_r_forearm" 0.60
   $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 -120.00 -3.00 0.00

   $jointmassbias "valvebiped.bip01_r_hand" 0.20
   $jointconstrain "valvebiped.bip01_r_hand" x limit -60.00 60.00 0.00
   $jointconstrain "valvebiped.bip01_r_hand" y limit -8.00 12.00 0.00
   $jointconstrain "valvebiped.bip01_r_hand" z limit -52.00 -1.00 0.00

   $jointmassbias "valvebiped.bip01_r_thigh" 1.30
   $jointconstrain "valvebiped.bip01_r_thigh" x limit -12.00 12.00 0.00
   $jointconstrain "valvebiped.bip01_r_thigh" y limit -8.00 33.00 0.00
   $jointconstrain "valvebiped.bip01_r_thigh" z limit -79.00 24.00 0.00

   $jointmassbias "valvebiped.bip01_r_calf" 0.80
   $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 -6.00 116.00 0.00

   $jointconstrain "valvebiped.bip01_head1" x limit -72.00 60.00 0.00
   $jointconstrain "valvebiped.bip01_head1" y limit -37.00 33.00 0.00
   $jointconstrain "valvebiped.bip01_head1" z limit -19.00 45.00 0.00

   $jointmassbias "valvebiped.bip01_l_thigh" 1.30
   $jointconstrain "valvebiped.bip01_l_thigh" x limit -12.00 12.00 0.00
   $jointconstrain "valvebiped.bip01_l_thigh" y limit -8.00 33.00 0.00
   $jointconstrain "valvebiped.bip01_l_thigh" z limit -79.00 24.00 0.00

   $jointmassbias "valvebiped.bip01_l_calf" 0.80
   $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 -6.00 116.00 0.00

   $jointmassbias "valvebiped.bip01_l_foot" 0.40
   $jointconstrain "valvebiped.bip01_l_foot" x limit -17.00 10.00 0.00
   $jointconstrain "valvebiped.bip01_l_foot" y limit -25.00 19.00 0.00
   $jointconstrain "valvebiped.bip01_l_foot" z limit -15.00 35.00 0.00

   $jointmassbias "valvebiped.bip01_r_foot" 0.40
   $jointconstrain "valvebiped.bip01_r_foot" x limit -17.00 10.00 0.00
   $jointconstrain "valvebiped.bip01_r_foot" y limit -25.00 19.00 0.00
   $jointconstrain "valvebiped.bip01_r_foot" z limit -15.00 35.00 0.00
}

Uživatelský avatar
SPiRIT
Příspěvky: 921
Věk: 33
Registrován: 02 led 2010, 17:38
Reputation: 2
Kontaktovat uživatele:

Re: NÁVOD: Reskinning Counter Strike Source modelů

#12 Příspěvekod SPiRIT » 23 pro 2011, 00:20

No a poskytnes mi aj tu zmenenou texturu? ja ti to zmenim....jeste mi napis kam to dat... nejaky specialni adresar aby se ta verze se zmenenou texturou ukladala jinam.... protoze model i kdyz je stejny je svazany s texturou ...

Uživatelský avatar
Zuben45
Příspěvky: 27
Registrován: 25 čer 2010, 13:08
Reputation: 0
Kontaktovat uživatele:

Re: NÁVOD: Reskinning Counter Strike Source modelů

#13 Příspěvekod Zuben45 » 23 pro 2011, 00:29

úprava je sice nic moc (jen na zkoušku, pro zkoušku reskinu) [http://czechmasakr.net/downloads/t_phoenix.vtf], specialni adresar ani ne, puvodni je admin/xchas_grinch (to mám pro CT), tak jenom admin_t, děkuji, ale i tak bych to chtěl vyzkoušet tak aby to fungovalo, pro další úpravy :)

EDIT: Nechtic jsem se překlikl a nahrál ten původní, teď už tam je ten upravený

Uživatelský avatar
SPiRIT
Příspěvky: 921
Věk: 33
Registrován: 02 led 2010, 17:38
Reputation: 2
Kontaktovat uživatele:

Re: NÁVOD: Reskinning Counter Strike Source modelů

#14 Příspěvekod SPiRIT » 23 pro 2011, 00:54

Tady to je:

Kód: Vybrat vše

http://leteckaposta.cz/515871202

Je tam i decompilovany model s upravenym qc souborem, musis si jeste upravit promenou cd , cili cestu... ja to mel na C:\sk...

Výstřižek.PNG
Výstřižek.PNG (187.4 KiB) Zobrazeno 8514 x

Uživatelský avatar
Zuben45
Příspěvky: 27
Registrován: 25 čer 2010, 13:08
Reputation: 0
Kontaktovat uživatele:

Re: NÁVOD: Reskinning Counter Strike Source modelů

#15 Příspěvekod Zuben45 » 23 pro 2011, 00:54

děkuji mockrát

Uživatelský avatar
SPiRIT
Příspěvky: 921
Věk: 33
Registrován: 02 led 2010, 17:38
Reputation: 2
Kontaktovat uživatele:

Re: NÁVOD: Reskinning Counter Strike Source modelů

#16 Příspěvekod SPiRIT » 23 pro 2011, 00:56

Jinak kdyby neco ohledne skinu, muzes si me pridat na steam:

Kód: Vybrat vše

http://steamcommunity.com/id/spiritqo/

Uživatelský avatar
Zuben45
Příspěvky: 27
Registrován: 25 čer 2010, 13:08
Reputation: 0
Kontaktovat uživatele:

Re: NÁVOD: Reskinning Counter Strike Source modelů

#17 Příspěvekod Zuben45 » 23 pro 2011, 01:06

super, díky :)

EDIT: Santa už bez problému :)


Zpět na „Návody“

Kdo je online

Uživatelé prohlížející si toto fórum: Žádní registrovaní uživatelé a 5 hostů