home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 2003 June / macformat-130.iso / mac / Reviewed⁄Demos / Spearhead Demo / demota / pak1.pk3 / models / human / german_wehrmact_colonel.tik < prev    next >
Encoding:
Text File  |  2002-10-21  |  2.5 KB  |  103 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 colonel_tunic
  8.     surface pants shader colonel_pants
  9.     surface tunic_c shader colonel_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. //*** weapon equipment assignment - Justin modify the equipment skelmodels in here
  23.     path models/equipment/germangear
  24.  
  25.     //*** no weapon assigned
  26.     case weapon "none"
  27.     {
  28.         //skelmodel german_holster.skd
  29.         //surface german_holster shader german_holster
  30.     }
  31.  
  32.     //*** p-38 pistol
  33.     case weapon  "Walter P38"
  34.     {
  35.         path models/gear/g_headgear
  36.  
  37.         skelmodel officercap.skd
  38.         surface officercap shader colonel_hat
  39.         
  40.  
  41.         path models/gear/officer
  42.         
  43.         skelmodel holster.skd
  44.         surface holster shader colonel_holster
  45.     }
  46.  
  47.     //*** MP40 submachinegun
  48.     case weapon "MP 40"
  49.     {
  50.         path models/gear/g_headgear
  51.  
  52.         skelmodel officercap.skd
  53.         surface officercap shader colonel_hat
  54.  
  55.         
  56.         path models/gear/officer
  57.         
  58.         skelmodel holster.skd
  59.         surface holster shader german_holster
  60.  
  61.         skelmodel mp40clips.skd
  62.         surface mp40clips shader ammo_pouch
  63.     }
  64. //*** end weapon equipment assignment
  65. //************************************
  66.  
  67.  
  68.     scale 0.52                // Set default scale to 16/30.5 since world is
  69.                         // in 16 units per foot and model is in cm's
  70.     path models/human/protoanimations    // Set path to set animations from
  71.  
  72.     radius 20                // Defines size of shadow
  73. }
  74.  
  75. init
  76. {
  77.     server
  78.     {
  79.           classname Actor
  80.         setsize "-16 -16 0" "16 16 92"
  81.         german
  82.         health 100
  83.         weapon "Walter P38"
  84.  
  85.         // Make him mumble but not breathe steam
  86.         exec global/breathe.scr 0 1
  87.  
  88.         // Set up the helmet for popping off
  89.         // <surface to turn off> <model to spawn> <speed to throw it at> <damage multiplier for helmet shots>
  90.         sethelmet "models/gear/german_officercap.tik" 200 4 "officercap" 
  91.     }
  92. }
  93.  
  94. //
  95. // include the base animations definition
  96. //
  97.  
  98. $include models/human/animation/dialogue/generic_dialogue_german.tik
  99. $include models/human/new_generic_human.tik
  100. //$include models/human/animation/helmet_flyoff/helmet_flyoff_german_officer.tik
  101.  
  102. /*QUAKED addon_ai_german_wehrmact_colonel (1.0 0.5 0.0) (-16 -16 0) (16 16 96)
  103. */