home *** CD-ROM | disk | FTP | other *** search
/ PC Zone 99 / dppcz0201.7z / dppcz0201.mdf / Demos / Alice / alicedem.exe / demo / pak0.pk3 / models / w_knife.tik < prev    next >
Text File  |  2000-11-20  |  2KB  |  100 lines

  1. TIKI
  2. setup
  3.     {
  4.     scale .66
  5.     lod_scale 7
  6.     path models/weapons/knife
  7.     surface material1 shader skin01.tga
  8.     }
  9.  
  10. init
  11. {
  12.     server
  13.     {
  14.         classname        Weapon
  15.         name            "Knife"
  16.         hand            righthand
  17.         setrank        1
  18.         startammo        100
  19.         setsize "0 0 0" "0 0 0"
  20.         ammotype        None
  21.         ammorequired    0
  22.         ignore_deadtime 0
  23.           firetype        melee
  24. //        reticle 0
  25.         torsoaim    1
  26.         anim            idle
  27.         minrange 50
  28.  
  29. //        alternate hand        lefthand
  30.         alternate startammo    100
  31.         alternate ammotype    None
  32.         alternate ammorequired    0
  33.         alternate firetype    projectile    
  34.         alternate projectile    models/prj_knife.tik
  35.         alternate thrownweapon    3.5
  36.         alternate cycletime 3.5
  37.  
  38.         aliascache        impact_flesh1 sound/weapon/knife/knife_hit_flesh1.wav
  39.         aliascache        impact_flesh2 sound/weapon/knife/knife_hit_flesh2.wav
  40.         aliascache        impact_flesh3 sound/weapon/knife/knife_hit_flesh3.wav
  41.         aliascache        impact_world1 sound/weapon/knife/knife_hit_world1.wav
  42.         aliascache        impact_world2 sound/weapon/knife/knife_hit_world2.wav
  43.         aliascache        impact_world3 sound/weapon/knife/knife_hit_world3.wav
  44.  
  45.         cache            models/fx_sparkhit.tik
  46.         cache            models/fx_emitter_target.tik
  47.         cache            models/hud_foldout_knife.tik
  48.     }
  49.     client
  50.     {
  51.         cache            textures/special/swipe_knife
  52.     }
  53. }
  54.  
  55. animations
  56. {
  57.     idle        notmoving.tan
  58.     {
  59.         server
  60.         {
  61.             first setframe 0
  62.         }
  63.         client
  64.         {
  65.             first swipeon textures/special/swipe_knife tag_trail tag_barrel 0.2
  66.         }
  67.     }
  68.     alternatefire    notmoving.tan
  69.     {
  70.         server
  71.         {
  72.         0 shoot alternate
  73.         last anim idle
  74.         }
  75.     }
  76.  
  77.     swipeon notmoving.tan
  78.     {
  79.         server
  80.         {
  81. //            last anim idle
  82.         }
  83.         client
  84.         {
  85.             first swipeon textures/special/swipe_knife tag_trail tag_barrel 0.2
  86.         }
  87.     }
  88.     swipeoff    notmoving.tan
  89.     {
  90.         server
  91.         {
  92. //            last anim idle
  93.         }
  94.         client
  95.         {
  96.             first swipeoff
  97.         }
  98.     }        
  99. }
  100.