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

  1. TIKI
  2. setup
  3. {
  4.     path models/human/german_wehrmact_officer    // Set path to set skelmodel from
  5.     skelmodel german_officer.skd            // Set body model
  6.  
  7.     surface tunic shader Officer2_tunic 
  8.     surface pants shader Officer2_pants
  9.     surface tunic_c shader Officer2_tunic_c
  10.  
  11.  
  12. //    path models/human/heads            // Set new path for head model
  13. //    skelmodel head8.skd            // Set head model
  14. //    surface head shader hopper
  15.     $include models/human/heads/german_old_heads.tik
  16.  
  17.     path models/human/hands
  18.     skelmodel hand.skd
  19.     surface hand shader handsnew
  20.  
  21.     
  22.  
  23. //************************************
  24. //*** weapon equipment assignment - Justin modify the equipment skelmodels in here
  25.     path models/equipment/germangear
  26.  
  27.     //*** no weapon assigned
  28.     case weapon "none"
  29.     {
  30.         //skelmodel german_holster.skd
  31.         //surface german_holster shader german_holster
  32.     }
  33.  
  34.     //*** p-38 pistol
  35.     case weapon  "Walter P38"
  36.     {
  37.         path models/gear/g_headgear
  38.  
  39.         skelmodel officercap.skd
  40.         surface officercap shader officer2_hat
  41.         
  42.  
  43.         path models/gear/officer
  44.         
  45.         skelmodel holster.skd
  46.         surface holster shader german_holster
  47.     }
  48.  
  49.     //*** MP40 submachinegun
  50.     case weapon "MP 40"
  51.     {
  52.         path models/gear/g_headgear
  53.  
  54.         skelmodel officercap.skd
  55.         surface officercap shader officer2_hat
  56.  
  57.         
  58.         path models/gear/officer
  59.         
  60.         skelmodel holster.skd
  61.         surface holster shader german_holster
  62.  
  63.         skelmodel mp40clips.skd
  64.         surface mp40clips shader ammo_pouch
  65.     }
  66.  
  67.  
  68. //*** end weapon equipment assignment
  69. //************************************
  70.  
  71.  
  72.     scale 0.52                // Set default scale to 16/30.5 since world is
  73.                         // in 16 units per foot and model is in cm's
  74.     path models/human/protoanimations    // Set path to set animations from
  75.  
  76.     radius 20                // Defines size of shadow
  77. }
  78.  
  79. init
  80. {
  81.     server
  82.     {
  83.           classname Actor
  84.         setsize "-16 -16 0" "16 16 92"
  85.         german
  86.         health 100
  87.         weapon "Walter P38"
  88.  
  89.         // Make him mumble but not breathe steam
  90.         exec global/breathe.scr 0 1
  91.  
  92.         // Set up the helmet for popping off
  93.         // <surface to turn off> <model to spawn> <speed to throw it at> <damage multiplier for helmet shots>
  94.         sethelmet "models/gear/german_ssofficercap.tik" 200 4 "officercap" 
  95.     }
  96. }
  97.  
  98. //
  99. // include the base animations definition
  100. //
  101.  
  102. $include models/human/animation/dialogue/generic_dialogue_german.tik
  103. $include models/human/new_generic_human.tik
  104. //$include models/human/animation/helmet_flyoff/helmet_flyoff_german_ssofficer.tik
  105.  
  106. /*QUAKED ai_german_waffenss_officer (1.0 0.5 0.0) (-16 -16 0) (16 16 96)
  107. */
  108.