Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ambientboost
- $mostlyopaque
- $modelname props_combine/bunker_gun01
- // $modelname valve/weapons/50cal
- // $bodygroup Tripod
- // {
- // blank
- // studio ref_tripod
- // }
- $model M2 ref_50cal
- // $model Mount ref_yaw
- // $model Grip ref_handles_l4d2
- // $model "Charging Handle" ref_charger
- $lod 32
- {
- replacebone "Bunker_Gun.L_hand" "Bunker_Gun.Gun_Pitch"
- replacebone "Bunker_Gun.R_hand" "Bunker_Gun.Gun_Pitch"
- nofacial
- }
- $contents solid
- $illumposition 0 2 10
- $cdmaterials models/valve/weapons/50cal
- $cdmaterials models/w_models/50cal
- $attachment "muzzle" "Bunker_Gun.Flash1" 0 0 0 rotate 0 0 0
- $attachment "Shell" "Shell_Eject" 0 0 0 rotate 60 180 180
- $attachment "light" "Bunker_Gun.Flash1" 0 0 0 rotate 0 0 0
- $attachment "Link" "Link_Eject" 0 0 0 rotate 0 45 0
- $attachment "R_hand" "Bunker_Gun.R_hand" -1.5 0 2 rotate 0 0 0
- $attachment "L_hand" "Bunker_Gun.L_hand" -1.5 0 -2 rotate 0 0 0
- $attachment "aimrotation" "Weapon" 0 15 0 rotate -83 90 180
- $weightlist "aim" {
- "Bunker_Gun.Base" 0
- "Weapon" 0
- "Bunker_Gun.Gun_Yaw" 1
- "Bunker_Gun.Gun_Pitch" 1
- "Bunker_Gun.L_hand" 1
- "Bunker_Gun.R_hand" 1
- "Bunker_Gun.Flash1" 1
- "Link_Eject" 1
- "Shell_Eject" 1
- // "Tripod" 0
- // "Pivot_Mount" 1
- "Gun" 1
- // "Ammo_Mount" 1
- // "charging" 1
- }
- $poseparameter "aim_yaw" -60 60 loop 0
- $poseparameter "aim_pitch" -35 50 loop 0
- $surfaceprop weapon
- $hboxset default
- $hbox 0 "Bunker_Gun.Base" -12.00 -12.00 20.00 12.00 12.00 44.00
- $hbox 1 "Bunker_Gun.Gun_Yaw" -8.00 -8.00 -8.00 8.00 8.00 8.00
- $hbox 2 "Bunker_Gun.Gun_Pitch" -24.00 -24.00 -40.00 24.00 24.00 40.00
- $animation neutral s_idle fps 1
- $animation aim_c a_aim_c fps 1 subtract neutral 0
- $animation aim_ne a_aim_ne fps 1 subtract neutral 0
- $animation aim_nw a_aim_nw fps 1 subtract neutral 0
- $animation aim_se a_aim_se fps 1 subtract neutral 0
- $animation aim_sw a_aim_sw fps 1 subtract neutral 0
- $animation aim_w a_aim_w fps 1 subtract neutral 0
- $animation aim_n a_aim_n fps 1 subtract neutral 0
- $animation aim_e a_aim_e fps 1 subtract neutral 0
- $animation aim_s a_aim_s fps 1 subtract neutral 0
- $sequence idle {
- s_idle
- activity "ACT_BUNKER_GUN_ACTIVE_IDLE" 1
- fps 30
- loop
- }
- $sequence activate {
- // s_activate
- s_idle
- activity "ACT_BUNKER_GUN_ACTIVATE" 1
- fadein 0.2
- fadeout 0.2
- fps 30
- }
- $sequence "fire" {
- s_idle
- activity "ACT_BUNKER_GUN_FIRE" 1
- { event 6001 0 "1" }
- { event 5001 0 "SMG2 MUZZLE" }
- { event 5003 0 "SMG2 MUZZLE" }
- fadein 0.2
- fadeout 0.2
- fps 30
- }
- $sequence "retract" {
- s_idle
- activity "ACT_BUNKER_GUN_RETRACT" 1
- fadein 0.2
- fadeout 0.2
- fps 30
- }
- $sequence "idle_inactive" {
- s_idle
- activity "ACT_BUNKER_GUN_INACTIVE_IDLE" 1
- fadein 0.2
- fadeout 0.2
- fps 30
- }
- $sequence "aim" {
- "aim_ne"
- "aim_n"
- "aim_nw"
- "aim_e"
- "aim_c"
- "aim_w"
- "aim_se"
- "aim_s"
- "aim_sw"
- autoplay
- blend "aim_yaw" -60 60
- blend "aim_pitch" -35 50
- delta
- fadein 0.2
- fadeout 0.2
- hidden
- }
- $collisionjoints physics
- {
- $mass 15
- $inertia 1
- $damping 0
- $rotdamping 0
- $rootbone " "
- $concave
- }
- $keyvalues
- {
- bone_followers
- {
- bone Bunker_Gun.Gun_Pitch
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement