home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 2003 June / macformat-130.iso / mac / Reviewed⁄Demos / Spearhead Demo / demota / pak1.pk3 / models / player / base / anims_bazooka.txt next >
Encoding:
Text File  |  2002-10-21  |  7.0 KB  |  238 lines

  1. animations
  2. {
  3.     $path models/human/animation
  4.  
  5.     //========================
  6.     // Reload bazooka
  7.     //========================
  8.     bazooka_reload        viewmodel/bazooka/tps_reload_bazooka.skc        crossblend 0.05
  9.     {
  10.         server
  11.         {
  12.             first reloadweapon                                                            // tell the weapon that we're reloading
  13.             17    weaponcommand mainhand attachtohand offhand                                // attach the weapon to the left hand
  14.             37    attachmodel models/ammo/bazooka_shell.tik tag_weapon_right                // put the ammo clip in the right hand
  15.             92    weaponcommand mainhand clip_fill                                        // put the clip ammo into the gun
  16.             93    removeattachedmodel tag_weapon_right 0 models/ammo/bazooka_shell.tik    // remove the clip model from the right hand
  17.             107    weaponcommand mainhand attachtohand mainhand                            // reattach the weapon to the right hand
  18.         }
  19.     }
  20.  
  21.     //========================
  22.     // Reload Panzerschreck
  23.     //========================
  24.     panzerschreck_reload        viewmodel/bazooka/panzer_reload.skc        crossblend 0.05
  25.     {
  26.         server
  27.         {
  28.             first reloadweapon                                                        // tell the weapon that we're reloading
  29.             17    weaponcommand mainhand attachtohand offhand                            // attach the weapon to the left hand
  30.             45    attachmodel models/ammo/panzer_shell.tik tag_weapon_right            // put the ammo clip in the right hand
  31.             67    weaponcommand mainhand clip_fill                                    // put the clip ammo into the gun
  32.             68    removeattachedmodel tag_weapon_right 0 models/ammo/panzer_shell.tik    // remove the clip model from the right hand
  33.             99    weaponcommand mainhand attachtohand mainhand                        // reattach the weapon to the right hand
  34.         }
  35.     }
  36.  
  37.     //========================
  38.     // Walking/Cautious
  39.     //========================
  40.     bazooka_stand_walk_fwd        multiplayer/mp_bazooka_walk_forward.skc        
  41.     bazooka_stand_walk_back        multiplayer/mp_bazooka_walk_backwards.skc    
  42.     bazooka_stand_walk_left        multiplayer/mp_bazooka_walk_left.skc        
  43.     bazooka_stand_walk_right    multiplayer/mp_bazooka_walk_right.skc    
  44.  
  45.  
  46.     //========================
  47.     // Jogging/Relaxed
  48.     //========================
  49.     bazooka_stand_run_fwd        multiplayer/mp_bazooka_run_forward.skc            autosteps_run
  50.     bazooka_stand_run_back        multiplayer/mp_bazooka_run_back.skc            autosteps_run
  51.     bazooka_stand_run_left        multiplayer/mp_bazooka_run_left.skc            autosteps_run
  52.     bazooka_stand_run_right        multiplayer/mp_bazooka_run_right.skc            autosteps_run
  53.  
  54.     //========================
  55.     // Standing
  56.     //========================
  57.     
  58.     bazooka_stand_idle         multiplayer/mp_bazooka_stand_idle.skc        
  59.     
  60.     //========================
  61.     // Crouching
  62.     //========================
  63.     bazooka_crouch_idle        multiplayer/mp_bazooka_crouch_bored.skc                        crossblend 0.2
  64.     bazooka_crouch_walk_fwd        multiplayer/mp_bazooka_crouch_walk_forward.skc                //autosteps_run
  65.     bazooka_crouch_walk_back    multiplayer/mp_bazooka_crouch_walk_back.skc                //autosteps_run
  66.     bazooka_crouch_walk_left    multiplayer/mp_bazooka_crouch_walk_left.skc                //autosteps_run
  67.     bazooka_crouch_walk_right    multiplayer/mp_bazooka_crouch_walk_right.skc                //autosteps_run
  68.  
  69.     bazooka_crouch_run_fwd        multiplayer/mp_bazooka_crouch_run.skc                    autosteps_run
  70.     bazooka_crouch_run_back        multiplayer/mp_bazooka_crouch_run_back.skc                autosteps_run
  71.     bazooka_crouch_run_left        multiplayer/mp_bazooka_crouch_run_left.skc                autosteps_run
  72.     bazooka_crouch_run_right    multiplayer/mp_bazooka_crouch_run_right.skc                autosteps_run
  73.         
  74.     //========================
  75.     // Rifle Firing
  76.     //========================
  77.     bazooka_stand_fire        viewmodel/bazooka/fire_bazooka.skc        crossblend 0.05
  78.     {
  79.         server
  80.         {
  81.             entry fire
  82.         }
  83.     }
  84.     bazooka_stand_run_fire        viewmodel/bazooka/fire_bazookarun.skc        crossblend 0.05
  85.     {
  86.         server
  87.         {
  88.             entry fire
  89.         }
  90.     }
  91.  
  92.     $path models/human/protoanimations
  93.  
  94.     bazooka_stand_walk_fire    walk_player_rifle.skc            crossblend 0.05
  95.     {
  96.         server
  97.         {
  98.             entry fire
  99.         }
  100.     }
  101.  
  102.     $path models/human/animation
  103.  
  104.     bazooka_crouch_fire        viewmodel/bazooka/fire_bazooka.skc    crossblend 0.05
  105.     {
  106.         server
  107.         {
  108.             entry fire
  109.         }
  110.     }
  111.     bazooka_crouch_run_fire        viewmodel/bazooka/firecrouch_bazooka.skc            crossblend 0.05
  112.     {
  113.         server
  114.         {
  115.             entry fire
  116.         }
  117.     }
  118.  
  119.     //========================
  120.     // Raise Animations
  121.     //========================
  122.     bazooka_stand_raise        viewmodel/bazooka/pullout_bazooka.skc
  123.     {
  124.         server
  125.         {
  126.             0 activatenewweapon garandhand
  127.         }
  128.         client
  129.         {
  130.             enter sound snd_bazooka_pullout
  131.         }
  132.     }
  133.     bazooka_crouch_raise        viewmodel/bazooka/pullout_bazooka.skc
  134.     {
  135.         server
  136.         {
  137.             0 activatenewweapon garandhand
  138.         }
  139.         client
  140.         {
  141.             enter sound snd_bazooka_pullout
  142.         }
  143.     }
  144.  
  145.     //========================
  146.     // Lower
  147.     //========================
  148.     bazooka_stand_lower        viewmodel/bazooka/putaway_bazooka.skc
  149.     {
  150.         server
  151.         {
  152.             last deactivateweapon righthand
  153.         }
  154.         client
  155.         {
  156.             enter sound snd_bazooka_putaway
  157.         }
  158.     }
  159.     bazooka_crouch_lower    viewmodel/bazooka/putaway_bazooka.skc
  160.     {
  161.         server
  162.         {
  163.             last deactivateweapon righthand
  164.         }
  165.         client
  166.         {
  167.             enter sound snd_bazooka_putaway
  168.         }
  169.     }
  170.     
  171.     //========================
  172.     // Jumping & Falling
  173.     //========================
  174.     $path models/human/protoanimations
  175.  
  176.     bazooka_jump_takeoff        jump_takeoff.skc            crossblend 0.1
  177.     {
  178.         server
  179.         {
  180.             first ai_event    footstep
  181.         }
  182.         client
  183.         {
  184.             first footstep    "Bip01 R Foot" run
  185.         }
  186.     }
  187.     bazooka_jump_run_takeoff        jump_takeoff.skc            crossblend 0.1
  188.     {
  189.         server
  190.         {
  191.             first ai_event footstep
  192.         }
  193.         client
  194.         {
  195.             first footstep    "Bip01 R Foot" run
  196.         }
  197.     }
  198.     bazooka_fall                    jump_stretch_loop.skc    crossblend 0.2
  199.     bazooka_land                    jump_land.skc            crossblend 0.1
  200.     {
  201.         client
  202.         {
  203.             first landing
  204.         }
  205.     }
  206.     bazooka_land_hard                jump_land.skc            crossblend 0.1
  207.     {
  208.         client
  209.         {
  210.             first landing
  211.         }
  212.     }
  213.  
  214.     
  215.     //----------------
  216.     // PAIN ANIMATIONS
  217.     //----------------
  218.     $path models/human/animation
  219.  
  220.     //Stand// TEMPORARY!  Uses rifle animations
  221.     bazooka_stand_hit_head            weapon_rifle/minor_pain/rifle_stand_hit_head.skc    autosteps_walk
  222.     bazooka_stand_hit_uppertorso        weapon_rifle/minor_pain/rifle_stand_hit_torso.skc    autosteps_walk
  223.     bazooka_stand_hit_lowertorso        weapon_rifle/minor_pain/rifle_stand_hit_lower_back.skc    autosteps_walk
  224.     bazooka_stand_hit_back            weapon_rifle/minor_pain/rifle_stand_hit_lower_back.skc    autosteps_walk
  225.     bazooka_stand_hit_rarm            weapon_rifle/minor_pain/rifle_stand_hit_Rshoulder.skc    autosteps_walk
  226.     bazooka_stand_hit_larm            weapon_rifle/minor_pain/rifle_stand_hit_torso.skc    autosteps_walk
  227.     bazooka_stand_hit_leg            weapon_rifle/minor_pain/rifle_stand_hit_leg.skc        autosteps_walk
  228.  
  229.     //Crouch //
  230.     bazooka_crouch_hit_head            weapon_bazooka/minor_pain/bazooka_crouch_hit_head.skc    autosteps_walk
  231.     bazooka_crouch_hit_uppertorso        weapon_bazooka/minor_pain/bazooka_crouch_pain.skc    autosteps_walk
  232.     bazooka_crouch_hit_lowertorso        weapon_bazooka/minor_pain/bazooka_crouch_pain.skc    autosteps_walk
  233.     bazooka_crouch_hit_back            weapon_bazooka/minor_pain/bazooka_crouch_pain.skc    autosteps_walk
  234.     bazooka_crouch_hit_rarm            weapon_bazooka/minor_pain/bazooka_crouch_pain.skc    autosteps_walk
  235.     bazooka_crouch_hit_larm            weapon_bazooka/minor_pain/bazooka_crouch_pain.skc    autosteps_walk
  236.     bazooka_crouch_hit_leg            weapon_bazooka/minor_pain/bazooka_crouch_pain.skc    autosteps_walk
  237. }
  238.