// Created by Crowbar 0.71

$modelname "weapons/empty_handed/w_laser_cannon.mdl"

$bodygroup "w_empty_handed_titan"
{
	studio "w_laser_cannon_w_empty_handed_lod0.smd"
}

$surfaceprop "weapon"

$jointsurfaceprop "ja_c_propGun" ""
$jointsurfaceprop "weapon_bone" ""
$jointsurfaceprop "def_c_base" ""
$jointsurfaceprop "def_c_laser_canon_1" ""
$jointsurfaceprop "def_c_laser_canon_2" ""
$jointsurfaceprop "def_c_laser_canon_3" ""
$jointsurfaceprop "def_c_laser_canon_4" ""
$jointsurfaceprop "def_l_hand_fx" ""
$jointsurfaceprop "def_r_hand_fx" ""
$jointsurfaceprop "muzzle_flash" ""
$jointsurfaceprop "laser_canon_1" ""
$jointsurfaceprop "laser_canon_2" ""
$jointsurfaceprop "laser_canon_3" ""
$jointsurfaceprop "laser_canon_4" ""
$jointsurfaceprop "FX_HAND_L" ""
$jointsurfaceprop "FX_HAND_R" ""

$contents "solid"

$jointcontents "ja_c_propGun" "notsolid"
$jointcontents "weapon_bone" "notsolid"
$jointcontents "def_c_base" "notsolid"
$jointcontents "def_c_laser_canon_1" "notsolid"
$jointcontents "def_c_laser_canon_2" "notsolid"
$jointcontents "def_c_laser_canon_3" "notsolid"
$jointcontents "def_c_laser_canon_4" "notsolid"
$jointcontents "def_l_hand_fx" "notsolid"
$jointcontents "def_r_hand_fx" "notsolid"
$jointcontents "muzzle_flash" "notsolid"
$jointcontents "laser_canon_1" "notsolid"
$jointcontents "laser_canon_2" "notsolid"
$jointcontents "laser_canon_3" "notsolid"
$jointcontents "laser_canon_4" "notsolid"
$jointcontents "FX_HAND_L" "notsolid"
$jointcontents "FX_HAND_R" "notsolid"

$illumposition 9.749 -28.223 223.193

$cdmaterials "models\weapons\attachments"
$cdmaterials ""

// This list shows the VMT file names used in the SMD files.
// "models\weapons\attachments\rifle_scope_lens.vmt"

$attachment "laser_canon_1" "laser_canon_1" 0 0 0 rotate 0 0 0
$attachment "laser_canon_2" "laser_canon_2" 0 0 0 rotate 0 0 0
$attachment "laser_canon_3" "laser_canon_3" 0 0 0 rotate 0 0 0
$attachment "laser_canon_4" "laser_canon_4" 0 0 0 rotate 0 0 0
$attachment "FX_HAND_L" "FX_HAND_L" 0 0 0 rotate 0 0 0
$attachment "FX_HAND_R" "FX_HAND_R" 0 0 0 rotate 0 0 0
$attachment "muzzle_flash" "muzzle_flash" 0 0 0 rotate 0 0 0
$attachment "REF" "ja_c_propGun" 0 0 0 rotate -90 -90 0
$attachment "CAMERA_BASE" "def_c_base" 0 0 0 rotate -90 -90 0
$attachment "CAMERA" "def_c_base" 0 0 0 rotate -90 -90 0
$attachment "muzzle_flash" "def_c_base" 0 0 0 rotate 0 0 0
$attachment "shell" "def_c_base" 0 0 0 rotate 0 0 180
$attachment "shell_fp" "def_c_base" 0 0 0 rotate 0 0 180
$attachment "flashlight" "def_c_base" 0 0 0 rotate 0 0 0
$attachment "WEAPON" "weapon_bone" 0 0 0 rotate -90 -90 0
$attachment "PROPGUN" "ja_c_propGun" 0 0 0 rotate -90 -90 0

// Clipping box or view bounding box.
$cbox 0 0 0 0 0 0

// Bounding box or hull. Used for collision with a world object.
$bbox 26.186 -5.536 140.628 30.261 25.034 156.963

// Hitbox info. Used for damage-based collision.
// The hitbox info below was automatically generated when compiled because no hitbox info was provided.
// $hboxset "default"

$screenalign def_c_laser_canon_1 "sphere"
$screenalign def_c_laser_canon_3 "sphere"
$screenalign def_l_hand_fx "sphere"
$screenalign def_r_hand_fx "sphere"
$screenalign muzzle_flash "sphere"
$screenalign laser_canon_1 "sphere"
$screenalign laser_canon_3 "sphere"
$screenalign FX_HAND_L "cylinder"
$screenalign FX_HAND_R "cylinder"

$definebone "ja_c_propGun" "" 0 0 0 0 0 0 0 0 0 0 0 0
$definebone "weapon_bone" "ja_c_propGun" 0 0 0 0 0 0 0 0 0 0 0 0
$definebone "def_c_base" "weapon_bone" 0 0 0 0 0 0 0 0 0 0 0 0
$definebone "def_c_laser_canon_1" "def_c_base" 0 0 0 -60.000002 54.736002 -90.000009 0 0 0 0 0 0
$definebone "def_c_laser_canon_2" "def_c_base" 0 0 0 -60.000002 125.263989 -89.999975 0 0 0 0 0 0
$definebone "def_c_laser_canon_3" "def_c_base" 0 0 0 -60.000002 -54.736002 90.000009 0 0 0 0 0 0
$definebone "def_c_laser_canon_4" "def_c_base" 0 0 0 -60.000002 -125.263989 89.999975 0 0 0 0 0 0
$definebone "def_l_hand_fx" "def_c_base" 0 0 0 -89.999989 -90.000003 0 0 0 0 0 0 0
$definebone "def_r_hand_fx" "def_c_base" 0 0 0 -89.999989 -90.000003 0 0 0 0 0 0 0
$definebone "muzzle_flash" "ja_c_propGun" 0 0 0 -89.999989 -90.000003 0 0 0 0 0 0 0
$definebone "laser_canon_1" "def_c_laser_canon_1" 0 0 0 0.000199 0 -0.000336 0 0 0 0 0 0
$definebone "laser_canon_2" "def_c_laser_canon_2" 0 0 0 -0.0002 0 0.000312 0 0 0 0 0 0
$definebone "laser_canon_3" "def_c_laser_canon_3" 0 0 0 0.000199 0 0.000336 0 0 0 0 0 0
$definebone "laser_canon_4" "def_c_laser_canon_4" 0 0 0 -0.0002 0 -0.000312 0 0 0 0 0 0
$definebone "FX_HAND_L" "def_l_hand_fx" 0 0 0 -0.000003 0 -0.000003 0 0 0 0 0 0
$definebone "FX_HAND_R" "def_r_hand_fx" 0 0 0 -0.000003 0 -0.000003 0 0 0 0 0 0

$bonemerge "def_c_laser_canon_1"
$bonemerge "def_c_laser_canon_3"
$bonemerge "laser_canon_1"
$bonemerge "laser_canon_3"


$bonesaveframe "def_c_laser_canon_1" position
$bonesaveframe "def_c_laser_canon_2" position
$bonesaveframe "def_c_laser_canon_3" position
$bonesaveframe "def_c_laser_canon_4" position
$bonesaveframe "def_l_hand_fx" position
$bonesaveframe "def_r_hand_fx" position
$bonesaveframe "muzzle_flash" position
$bonesaveframe "laser_canon_1" position rotation
$bonesaveframe "laser_canon_3" position rotation

$sequence "idle_seq" {
	"w_laser_cannon_anims\idle_seq.smd"
	activity "ACT_VM_IDLE" 1
	fadein 0.2
	fadeout 0.2
	fps 30
	loop
}

$sequence "attack_seq" {
	"w_laser_cannon_anims\attack_seq.smd"
	activity "ACT_RANGE_ATTACK_SMG1" 1
	{ event AE_CL_VSCRIPT_CALLBACK 0 "muzzle_flash" }
	{ event AE_CL_VSCRIPT_CALLBACK 0 "shell_eject" }
	{ event 3002 0 "" }
	fadein 0.2
	fadeout 0.2
	fps 30
}

$sequence "charge_seq" {
	"w_laser_cannon_anims\charge_seq.smd"
	activity "ACT_VM_CHARGE" 1
	fadein 0.2
	fadeout 0.2
	fps 50
}

$KeyValues
{
	prop_data 
	{
		"base" "Metal.Medium"
	}
}
