home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 2003 June / macformat-130.iso / mac / Reviewed⁄Demos / Spearhead Demo / demota / pak1.pk3 / models / lights / swinging_lantern.tik < prev    next >
Encoding:
Text File  |  2002-10-21  |  659 b   |  33 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/lights/swinging_lantern
  6.     skelmodel lantern.skd
  7.     surface glantern shader glantern
  8.     surface glanternglass shader glanternglass
  9.     surface glanterncull shader glanterncull
  10. }
  11. init 
  12. {
  13.     server
  14.     {
  15.         attachmodel models/fx/lanternflame.tik tag_barrel 1
  16. //        attachmodel models/emitters/lanternflame.tik tag_barrel 1
  17.     }
  18. }
  19.  
  20. animations
  21. {
  22.     idle        lantern.skc
  23.     light_off    lantern.skc
  24.     {
  25.         server 
  26.         {
  27.             enter removeattachedmodel tag_barrel
  28.         }
  29.     }
  30. }
  31.  
  32. /*QUAKED lamp_swinging-lantern (0.5 0.0 0.5) (-8 -8 0) (8 8 24)
  33. */