home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 2003 June / macformat-130.iso / mac / Reviewed⁄Demos / Spearhead Demo / demota / pak1.pk3 / models / items / papers.tik < prev    next >
Encoding:
Text File  |  2002-10-21  |  976 b   |  51 lines

  1. TIKI
  2. setup
  3. {
  4.     scale 0.52            // Set default scale to 16/30.5 since world is in 16 units per foot and model is in cm's
  5.     path models/items/papers
  6.     skelmodel papers.skd
  7.     surface papers shader wehrpass
  8. }
  9.  
  10. init
  11. {
  12.     server
  13.     {
  14.         setsize    "-4 -4 0" "4 4 4"
  15.         classname InventoryItem
  16.         name "Papers"
  17.         rank 2 2
  18.         ammorequired 0        // unlimited usage
  19.         firedelay 0.5        // delay between uses
  20.         crosshair 0
  21.     }
  22. }
  23.  
  24. animations
  25. {
  26.     visa       papers_visa.skc
  27.     idle     papers.skc
  28.     fire     show_papers.skc
  29.     {
  30.         server
  31.         {
  32.             // we activate them every 10 frames so that the player
  33.             // has a good chance of showing them to the AI even
  34.             // if they're waving them around all silly like.
  35.             30 activatepapers
  36.             40 activatepapers
  37.             50 activatepapers
  38.             60 activatepapers
  39.             70 activatepapers
  40.         }
  41.         client
  42.         {
  43.             first stopaliaschannel snd_papers
  44.             first sound snd_papers
  45.         }
  46.     }
  47. }
  48.  
  49. /*QUAKED item_papers (0.5 0.5 1.0) (-8 -8 0) (8 8 16)
  50. German Papers.
  51. */