Compiler:
- Code: Select all
$cd "C:\Users\Adam\Desktop\Grenade_Present\Compiling\Export"
$modelname "weapons\v_eq_fraggrenade.mdl"
$model "studio" "fraggrenade_reference.smd"
$model "hands" "hands_reference.smd"
$cdmaterials "weapons\"
$cdmaterials "models\weapons\v_models\hands\"
$hboxset "default"
$hbox 0 "v_weapon.Flashbang_Parent" -0.574 -4.333 -0.992 1.859 0.021 1.126
$hbox 0 "v_weapon.Hands_parent" -4.654 -1.415 0.000 6.834 1.302 6.902
$hbox 0 "v_weapon.Left_Arm" -0.319 -1.833 -1.434 8.563 1.491 1.708
$hbox 0 "v_weapon.Left_Hand" -0.998 -1.856 -1.460 3.655 1.901 1.020
$hbox 0 "v_weapon.Left_Thumb01" -0.038 -0.957 -1.026 2.195 0.816 0.689
$hbox 0 "v_weapon.Left_Thumb_02" -0.557 -0.812 -0.925 1.705 0.536 0.541
$hbox 0 "v_weapon.Left_Pinky01" -0.563 -0.567 -0.680 1.253 1.426 0.518
$hbox 0 "v_weapon.Left_Ring01" -0.051 -0.398 -0.616 1.498 0.636 0.413
$hbox 0 "v_weapon.L_wrist_helper" -0.805 -6.918 -1.161 1.745 0.000 2.128
$hbox 0 "v_weapon.Right_Arm" -0.402 -1.437 -1.576 8.544 1.387 1.609
$hbox 0 "v_weapon.Right_Hand" -0.402 -1.775 -1.494 3.638 1.715 0.913
$hbox 0 "v_weapon.Right_Thumb01" -0.867 -1.013 -1.300 2.356 1.051 0.852
$hbox 0 "v_weapon.Right_Thumb02" -1.285 -0.580 -0.979 1.751 0.994 0.680
$hbox 0 "v_weapon.Right_Middle01" -0.061 -0.689 -0.475 1.376 0.379 0.545
$hbox 0 "v_weapon.Right_Ring01" -0.256 -0.648 -0.542 1.312 0.423 0.473
$hbox 0 "v_weapon.Right_Pinky01" -0.456 -1.085 -0.539 1.124 0.488 0.691
$hbox 0 "v_weapon.R_wrist_helper" -1.175 -7.124 -1.587 1.829 0.933 2.029
// Model uses material "present.vmt"
// Model uses material "v_hands.vmt"
$surfaceprop "default"
$illumposition 4.316 0.610 -7.384
$sequence idle "idle" ACT_VM_IDLE 1 snap rotate -90 fps 30.00
$sequence pullpin "pullpin" ACT_VM_PULLPIN 1 snap rotate -90 fps 41.00 {
{ event 5004 27 "Default.PullPin_Grenade" }
}
$sequence pullpin2 "pullpin2" ACT_VM_PULLBACK_HIGH 1 snap rotate -90 fps 41.00 {
{ event 5004 27 "Default.PullPin_Grenade" }
}
$sequence pullpin3 "pullpin3" ACT_VM_PULLBACK_LOW 1 snap rotate -90 fps 41.00 {
{ event 5004 27 "Default.PullPin_Grenade" }
}
$sequence pullpin4 "pullpin4" ACT_VM_PULLBACK_HAULBACK 1 snap rotate -90 fps 41.00 {
{ event 5004 27 "Default.PullPin_Grenade" }
}
$sequence throw "throw" ACT_VM_THROW 1 snap rotate -90 fps 30.00 {
{ event 3005 10 }
}
$sequence deploy "deploy" ACT_VM_DRAW 1 snap rotate -90 fps 30.00
VMT:
- Code: Select all
“VertexLitGeneric”
{
“$baseTexture” “weapons/present.vtf”
}
In-Game:
http://img683.imageshack.us/i/ingamei.png/
UVW:
http://img405.imageshack.us/i/presentuvw.jpg/
Thank You.

