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

  1. TIKI
  2. $define cardsworkdir sound/weapon/cards
  3.  
  4. setup
  5.     {
  6.     scale 1
  7.     lod_scale 7
  8.     path models/weapons/cards
  9.     surface material1 shader cardtop.tga
  10.     surface material2 shader cardface.tga
  11.     }
  12.  
  13. init
  14. {
  15.     server
  16.     {
  17.         classname        Weapon
  18.         name            "cards"
  19.         hand            righthand
  20.         setrank        2
  21.         startammo        100
  22.         ammotype        mana
  23.         ammorequired        3
  24. // was 4
  25.         firetype        projectile
  26.         projectile        w_playingcard.tik
  27.         torsoaim        1
  28.         reticle            2
  29.         ignore_deadtime
  30.         minrange 60
  31.         maxrange 3000
  32.  
  33. //        alternate hand        lefthand
  34.         alternate startammo    100
  35.         alternate ammotype    mana
  36.         alternate ammorequired    20
  37. // was 20
  38.         alternate firetype    projectile    
  39.         alternate projectile    prj_cardmirv.tik
  40.         alternate cycletime .5
  41. //        alternate thrownweapon 3
  42.  
  43.  
  44.         cache            models/prj_cardmirv.tik
  45.         cache            models/w_playingcard.tik
  46.         cache            models/hud_foldout_cards.tik
  47.     }
  48.     client
  49.     {
  50.         cache            $cardsworkdir$/cards_toss1.wav
  51.     }
  52. }
  53.  
  54. animations
  55. {
  56.     idle        cards_final.tan
  57.     {
  58.         server
  59.         {
  60.             first setframe 0
  61.         }
  62.     }
  63.     alternatefire    cards_final.tan
  64.     {
  65.         server
  66.         {
  67.             first shoot alternate    
  68.         }
  69.         client
  70.         {
  71.             0 sound $cardsworkdir$/cards_toss1.wav 2 .6 384    
  72.         }
  73.     }    
  74.     
  75.     fire        cards_final.tan
  76.     {
  77.         server
  78.         {
  79.             first shoot
  80.         }
  81.         client
  82.         {
  83.             0 sound $cardsworkdir$/cards_toss1.wav 2 .4 384    
  84.         }
  85.     }    
  86. }
  87.