home *** CD-ROM | disk | FTP | other *** search
/ Tripas 4 / TRIPAS 004.iso / sin.EXE / SIN / BASE / models / peon.def < prev    next >
Encoding:
Text File  |  1998-11-03  |  8.0 KB  |  260 lines

  1. SDEF
  2.  
  3. //
  4. // The SINED declaration section
  5. //
  6. /*SINED Monster_Peon (1 .5 0) (0 0 0) (0 0 0)
  7. Peon
  8. */
  9.  
  10.  
  11. //
  12. // The file declaration section
  13. //
  14. path models/peon
  15. scale 1.60
  16. peon.sbm
  17. newpeon.tga
  18. peon.tga
  19. //
  20. // Declare the animation types and files
  21. //
  22. melee1    attacka.sam
  23. melee2    attackb.sam
  24. melee3    attackc.sam
  25. melee4    attackd.sam
  26. melee5    attacke.sam
  27. melee6    attackf.sam
  28.  
  29. walk1     walk.sam
  30. idle1     idlea.sam
  31. run1      walkb.sam
  32. pain1     ppaina.sam
  33. pain2     ppainb.sam
  34. pain3     ppainc.sam
  35. death     deatha.sam
  36. candy     candy.sam
  37. candyidle candyidle.sam
  38. climb     climb.sam
  39. jump      jump.sam
  40. land      jump.sam
  41. sit       sit.sam
  42. sitidle   sitidle.sam
  43. spew      spew.sam
  44.  
  45. id 100 group vent bone goo1 0 0 0 metal
  46. id 200 group vent bone goo2 0 0 0 metal
  47. id 300 group vent bone goo3 0 0 0 metal
  48. id 400 group vent bone goo4 0 0 0 metal
  49. id 500 group vent bone goo5 0 0 0 metal
  50. id 600 group vent bone goo6 0 0 0 metal
  51.  
  52. //
  53. // The initialization section
  54. //
  55. !init:
  56. server classname Peon
  57. server setsize "-40 -40 0" "40 40 104"
  58. server script global/peon.scr
  59. server health 500
  60. server meleedamage 150
  61. server meleerange 150
  62. server painthreshold 150
  63.  
  64. //
  65. // Define the aniamtion sound references
  66. //
  67.  
  68. //
  69. // CLIENT Initialization Commands
  70. //
  71. // Sound Aliases
  72. client aliascache snd_pain1         "monsters/peon/pain1.wav" 1
  73. client aliascache snd_pain2         "monsters/peon/pain2.wav" 1
  74. client aliascache snd_pain3         "monsters/peon/pain3.wav" 1
  75. client aliascache snd_pain4         "monsters/peon/pain4.wav" 1
  76. client aliascache snd_pain5         "monsters/peon/pain5.wav" 1
  77. client aliascache snd_pain6         "monsters/peon/pain6.wav" 1
  78.  
  79. client aliascache snd_death1         "monsters/peon/deth1a.wav" 1
  80.  
  81. //
  82. // SERVER Initialization Commands
  83. //
  84. // Sound Aliases
  85. server aliascache snd_attacktaunt1     "monsters/peon/Attack1.wav" 1
  86. server aliascache snd_attacktaunt2     "monsters/peon/Attack2.wav" 1
  87. server aliascache snd_attacktaunt3     "monsters/peon/Attack3.wav" 1
  88. server aliascache snd_attacktaunt4     "monsters/peon/Attack4.wav" 1
  89. server aliascache snd_attacktaunt5     "monsters/peon/Attack5.wav" 1
  90.  
  91. server aliascache snd_pain_taunt1  "monsters/peon/Attack1.wav" 1
  92. server aliascache snd_pain_taunt2  "monsters/peon/Attack2.wav" 1
  93. server aliascache snd_pain_taunt3  "monsters/peon/Attack3.wav" 1
  94. server aliascache snd_pain_taunt4  "monsters/peon/Attack4.wav" 1
  95. server aliascache snd_pain_taunt5  "monsters/peon/Attack5.wav" 1
  96.  
  97. server aliascache  snd_pursuit1    "monsters/peon/Attack4.wav" 1
  98.  
  99. server aliascache  snd_sightenemy1    "monsters/peon/site1.wav" 1
  100. server aliascache  snd_sightenemy2    "monsters/peon/site2.wav" 1
  101. server aliascache  snd_sightenemy3    "monsters/peon/site3.wav" 1
  102. server aliascache  snd_sightenemy4    "monsters/peon/site4.wav" 1
  103.  
  104. server aliascache  snd_inmysights1    "monsters/peon/site1.wav" 1
  105. server aliascache  snd_inmysights2    "monsters/peon/site2.wav" 1
  106.  
  107. server aliascache  snd_idle1          "monsters/peon/idle1.wav" 1
  108. server aliascache  snd_idle2          "monsters/peon/idle2.wav" 1
  109. server aliascache  snd_idle3          "monsters/peon/idle3.wav" 1
  110. server aliascache  snd_idle4          "monsters/peon/idle4.wav" 1
  111.  
  112. server aliascache  snd_investigate1   "misc/null.wav" 1
  113. server aliascache  snd_locate1        "misc/null.wav" 1
  114.  
  115. server aliascache  snd_tauntdeath1    "monsters/peon/Attack2.wav" 1
  116.  
  117. client aliascache snd_whoosh1         "weapons/punch/whsh1.wav" 1
  118. client aliascache snd_whoosh2         "weapons/punch/whsh2.wav" 1
  119.  
  120. client aliascache snd_kneefall1 "impact/bodyfall/big/sml1.wav" 1
  121. client aliascache snd_kneefall2 "impact/bodyfall/big/sml2.wav" 1
  122. client aliascache snd_partfall1 "impact/bodyfall/big/med1.wav" 1
  123. client aliascache snd_partfall2 "impact/bodyfall/big/med2.wav" 1
  124. client aliascache snd_partfall3 "impact/bodyfall/big/med3.wav" 1
  125. client aliascache snd_bodyfall1 "impact/bodyfall/big/lrg1.wav" 1
  126. client aliascache snd_bodyfall2 "impact/bodyfall/big/lrg2.wav" 1
  127. client aliascache snd_drag1 "impact/bodyfall/big/drag1.wav" 1
  128. client aliascache snd_run1 "impact/bigfoot.wav" 1
  129. client aliascache snd_walk1 "impact/bigfoot2.wav" 1
  130.  
  131. //
  132. // The main section
  133. //
  134. !main:
  135. //
  136. // Define the clinet/server animation references
  137. //
  138. client death first randomsound snd_death 1 2
  139. client death 2 randomsound snd_run .7 3
  140. client death 9 randomsound snd_run .7 3
  141. client death 10 randomsound snd_run .7 3
  142. client death 12 randomsound snd_run .7 4
  143. client death 14 randomsound snd_run .7 3
  144. client death 15 randomsound snd_run .7 4
  145. client death 17 randomsound snd_run .7 3
  146. client death 19 randomsound snd_run .7 4
  147. client death 20 randomsound snd_run .7 3
  148. client death 21 randomsound snd_run .7 4
  149. client death 22 randomsound snd_run .7 3
  150. client death 23 randomsound snd_run .7 4
  151. client death 25 randomsound snd_run .7 3
  152. client death 26 randomsound snd_run .7 4
  153. client death 27 randomsound snd_run .7 3
  154. client death 28 randomsound snd_run .7 4
  155. client death 30 randomsound snd_run .7 3
  156. client death 32 randomsound snd_run .7 4
  157. client death 33 randomsound snd_run .7 3
  158. client death 34 randomsound snd_run .7 4
  159. client death 35 randomsound snd_run .7 3
  160. client death 37 randomsound snd_run .7 4
  161. client death 39 randomsound snd_run .7 3
  162.  
  163.  
  164. server pain1 first painsound
  165. client pain1 first randomsound snd_pain 1
  166. server pain2 first painsound
  167. client pain2 first randomsound snd_pain 1
  168. server pain3 first painsound
  169. client pain3 first randomsound snd_pain 1
  170.  
  171. server sit 5 movementsound
  172. client sit 5 randomsound snd_run 1
  173.  
  174. server spew 3 movementsound
  175. client spew 3 randomsound snd_run 1
  176. server spew 3 spawngoo
  177. server spew 5 spawngoo
  178. server spew 7 spawngoo
  179. server spew 9 spawngoo
  180. server spew 11 spawngoo
  181.  
  182. server melee1 0 movementsound
  183. client melee1 0 randomsound snd_run 1 3
  184. server melee1 5 movementsound
  185. client melee1 5 randomsound snd_run 1 3
  186. server melee1 5 movementsound
  187. server melee1 5 melee 100
  188. client melee1 5 randomsound snd_whoosh 1 4
  189.  
  190. server melee2 0 movementsound
  191. client melee2 0 randomsound snd_run 1 3
  192. server melee2 5 movementsound
  193. client melee2 5 randomsound snd_run 1 3
  194. server melee2 5 movementsound
  195. server melee2 5 melee 100
  196. client melee2 5 randomsound snd_whoosh 1 4
  197.  
  198. server melee3 0 movementsound
  199. client melee3 0 randomsound snd_run 1 3
  200. server melee3 5 movementsound
  201. client melee3 5 randomsound snd_run 1 3
  202. server melee3 6 movementsound
  203. server melee3 6 melee 100
  204. client melee3 6 randomsound snd_whoosh 1 4
  205.  
  206. server melee4 0 movementsound
  207. client melee4 0 randomsound snd_run 1 3
  208. server melee4 5 movementsound
  209. client melee4 5 randomsound snd_run 1 3
  210. server melee4 6 movementsound
  211. server melee4 6 melee 100
  212. client melee4 6 randomsound snd_whoosh 1 4
  213.  
  214. server melee5 0 movementsound
  215. client melee5 0 randomsound snd_run 1 3
  216. server melee5 5 movementsound
  217. client melee5 5 randomsound snd_run 1 3
  218. server melee5 6 movementsound
  219. server melee5 6 melee 100
  220. client melee5 6 randomsound snd_whoosh 1 4
  221. server melee5 7 movementsound
  222. client melee5 7 randomsound snd_run 1 3
  223.  
  224. server melee6 0 movementsound
  225. client melee6 0 randomsound snd_run 1 3
  226. server melee6 5 movementsound
  227. client melee6 5 randomsound snd_run 1 3
  228. server melee6 6 movementsound
  229. server melee6 6 melee 100
  230. client melee6 6 randomsound snd_whoosh 1 4
  231. server melee6 7 movementsound
  232. client melee6 7 randomsound snd_run 1 3
  233.  
  234. server candy 4 movementsound
  235. client candy 4 randomsound snd_drag
  236. server candy 12 movementsound
  237. client candy 12 randomsound snd_run 1 3
  238.  
  239. server climb 7 movementsound
  240. client climb 7 randomsound snd_run 1 3
  241. server climb 17 movementsound
  242. client climb 17 randomsound snd_run 1 3
  243. server climb 30 movementsound
  244. client climb 30 randomsound snd_run 1 3
  245.  
  246. server walk1 0 movementsound
  247. client walk1 0 randomsound snd_walk1 1 1
  248. server walk1 5 movementsound
  249. client walk1 5 randomsound snd_walk1 1 1
  250.  
  251. server run1 0 movementsound
  252. client run1 0 randomsound snd_run1 1 1
  253. server run1 4 movementsound
  254. client run1 4 randomsound snd_run1 1 1
  255.  
  256. server jump 4 nextframe 4
  257.  
  258. server land first setframe 5
  259. server land last movementsound
  260. client land last randomsound snd_run1 1 1