home *** CD-ROM | disk | FTP | other *** search
/ Hacker 9 / HACKER09.ISO / Games / Sin.exe / DATA / base / Pak0.pak / models / blade.def < prev    next >
Text File  |  1998-07-26  |  13KB  |  405 lines

  1. SDEF
  2. //
  3. // The file declaration section
  4. //
  5. path models/pl_blade
  6. scale 1.15
  7. blade_base.sbm
  8. blade_base.tga
  9.  
  10. // MULTIPLAYER SKINS
  11.  
  12. blade_base2.tga
  13. blade_base3.tga
  14. blade_base4.tga
  15. blade_base5.tga
  16.  
  17. //
  18. // Declare the animation types and files
  19. //
  20. // special animations
  21. blade_heligun.sam
  22. drive1            blade_drive.sam
  23. climb1            blade_climb.sam
  24. swim1                blade_swim1.sam
  25. punch1                  blade_punch.SAM
  26. punch_idle1             blade_punchidle1.SAM
  27. crouchpunch1            blade_crouchpunch.sam
  28.  
  29. // crouch enter/exit
  30. crouch1            blade_crouch1.SAM
  31. uncrouch1            blade_uncrouch1.SAM
  32.  
  33. // death animations (crouching)
  34. crouch_death1        blade_crouch1death1.SAM
  35. crouch_death2        blade_crouch1death2.SAM
  36. crouch_death3        blade_crouch1death3.SAM
  37. crouch_death4        blade_crouch1death4.SAM
  38.  
  39. // Idle animations (crouching)
  40. crouch_idle1        blade_crouch1idle1.SAM
  41. crouch_idle2        blade_crouch1idle2.SAM
  42.  
  43. // Pain animations (crouching)
  44. crouch_pain1        blade_crouch1pain1.SAM
  45. crouch_pain2        blade_crouch1pain2.SAM
  46. crouch_pain3        blade_crouch1pain3.SAM
  47.  
  48. // general crouching animations
  49. crouch_fire1        blade_crouch1fire1.SAM
  50. crouch_fire2        blade_crouch1fire2.SAM
  51. crouch_fire3        blade_crouch1fire3.SAM
  52.  
  53. crouch_walk1        blade_crouch1walk1.SAM
  54. crouch_run1            blade_crouch1walk1.SAM
  55.  
  56. // death animations (standing)
  57. death1                blade_death1.SAM
  58. death2                blade_death2.SAM
  59. death3                blade_death3.SAM
  60. death4                blade_death4.SAM
  61. death5                blade_death5.SAM
  62. death6                blade_death6.SAM
  63. death7                blade_death7.sam
  64. death8                 blade_death8.sam
  65. death9                blade_death9.sam
  66.  
  67. // Idle animations (standing)
  68. idle1                    blade_idle1.SAM
  69. idle2                    blade_idle2.SAM
  70. idle3                    blade_idle3.SAM
  71. idle4                    blade_idle4.SAM
  72. idle5                    blade_idle5_hvgun.sam
  73.  
  74. // Jumping animations
  75. jump1                    blade_jump1.SAM
  76. fall1                    blade_fall.SAM
  77. land1                    blade_jump1.SAM
  78.  
  79. // Pain animations (standing)
  80.  
  81. pain_torso_upper            blade_paintorsoupper1.SAM
  82. //                    blade_paintorsoupper2.SAM
  83. pain_torso_lower            blade_paintorsolower1.SAM
  84. //                    blade_paintorsolower2.SAM
  85. pain_arm_left_lower        blade_painarmleft.SAM
  86. pain_arm_left_upper        blade_painarmleft.sam
  87. pain_arm_right_upper        blade_painarmright.sam
  88. pain_arm_right_lower        blade_painarmright.sam
  89. pain_leg_right_upper        blade_painlegright.sam
  90. pain_leg_right_lower        blade_painlegright.sam
  91. pain_leg_left_upper        blade_painlegleft.sam
  92. pain_leg_left_lower        blade_painlegleft.sam
  93. pain_head                blade_painhead.sam
  94.  
  95. pain1                    blade_paintorsoupper2.SAM
  96. pain2                    blade_paintorsolower2.SAM
  97. pain3                    blade_paintorsolower1.SAM
  98. pain4                    blade_painlegleft.SAM
  99. pain5                    blade_painarmright.SAM
  100. pain6                    blade_painhead.SAM
  101.  
  102. // 1 handed weapon animations (magnum)
  103. fire1                    blade_fire1.SAM
  104. run1                    blade_run1.SAM
  105. walk1                    blade_walk1.SAM
  106.  
  107. // 2 handed shoulder-fired weapon animations (sniper rifle, shotgun, etc.)
  108. hi2hand_run1              blade_run2.sam
  109. hi2hand_fire1              blade_fire2.sam
  110. hi2hand_walk1              blade_walk1.SAM
  111.  
  112. // 2 handed low-fired weapon animations (rocket launcher)
  113. lo2hand_run1              blade_run2.sam
  114. lo2hand_fire2              blade_fire3.sam
  115. lo2hand_fire3              blade_fire4.sam
  116. lo2hand_walk1              blade_walk1.SAM
  117.  
  118. //
  119. // Define polygon model group areas
  120. //
  121. id   5 group head flesh
  122. group head damage 4.0
  123. id   7 group hair fabric
  124. group hair damage 0.3
  125. id  15 group torso_upper fabric
  126. group torso_upper damage 1.0
  127. id  18 group torso_lower fabric
  128. group torso_lower damage 1.0
  129. id  45 group leg_left_upper fabric
  130. group leg_left_upper damage 1.2
  131. id  50 group leg_left_lower fabric
  132. group leg_left_lower damage 0.7
  133. id  65 group leg_right_upper fabric
  134. group leg_right_upper damage 1.2
  135. id  70 group leg_right_lower fabric
  136. group leg_right_lower damage 0.7
  137. id  85 group arm_left_upper flesh
  138. group arm_left_upper damage 0.7
  139. id  90 group arm_left_lower flesh
  140. group arm_left_lower damage 0.5
  141. id 105 group arm_right_upper flesh
  142. group arm_right_upper damage 0.7
  143. id 110 group arm_right_lower flesh
  144. group arm_right_lower damage 0.5
  145. id 200 group arm_right_lower bone gun 7 153 -2 flesh
  146. id 150 group glasses metal envmapped
  147. id 160 group glasses metal
  148. group glasses damage 3.0
  149. id 210 group torso_lower bone ribs 0 0 -90 flesh
  150. id 130 group watch metal
  151.  
  152.  
  153. //
  154. // The initialization section
  155. //
  156. !init:
  157. server classname actor
  158. server setsize "-32 -32 0" "32 32 80"
  159. server crouchsize "-36 -32 0" "36 32 56"
  160. server friend
  161.  
  162. //
  163. // Define the aniamtion sound references
  164. //
  165. aliasprefix Blade_
  166. alias snd_jump1 "player/blade/jump/jump1.wav"
  167. alias snd_jump2 "player/blade/jump/jump2.wav"
  168.  
  169. alias snd_land1 "impact/landing/land1.wav"
  170. alias snd_land2 "impact/landing/land2.wav"
  171. alias snd_land3 "impact/landing/land3.wav"
  172. alias snd_land4 "impact/landing/land4.wav"
  173.  
  174. alias snd_fall1 "player/blade/fall/fall1.wav"
  175. alias snd_fall2 "player/blade/fall/fall2.wav"
  176. alias snd_fall3 "player/blade/fall/fall3.wav"
  177. alias snd_fall4 "player/blade/fall/fall4.wav"
  178.  
  179. alias snd_pain1 "player/blade/pain/pain1.wav"
  180. alias snd_pain2 "player/blade/pain/pain2.wav"
  181. alias snd_pain3 "player/blade/pain/pain3.wav"
  182. alias snd_pain4 "player/blade/pain/pain4.wav"
  183. alias snd_pain5 "player/blade/pain/pain5.wav"
  184. alias snd_pain6 "player/blade/pain/booboo.wav"
  185.  
  186. alias snd_death1 "player/blade/death/death1.wav"
  187. alias snd_death2 "player/blade/death/death2.wav"
  188. alias snd_death3 "player/blade/death/death3.wav"
  189. alias snd_death4 "player/blade/scream/scream1.wav"
  190. alias snd_death5 "player/blade/scream/scream2.wav"
  191. alias snd_death6 "player/blade/scream/scream3.wav"
  192. alias snd_death7 "player/blade/scream/scream4.wav"
  193. alias snd_death8 "player/blade/scream/scream5.wav"
  194.  
  195. alias snd_acid1 "player/blade/acid/acid1.wav"
  196. alias snd_acid2 "player/blade/acid/acid2.wav"
  197. alias snd_acid3 "player/blade/acid/acid3.wav"
  198. alias snd_acid4 "player/blade/acid/acid4.wav"
  199. alias snd_acid5 "player/blade/acid/acid5.wav"
  200. alias snd_acid6 "player/blade/acid/acid6.wav"
  201. alias snd_acid7 "player/blade/acid/acid7.wav"
  202.  
  203. alias snd_burn1 "player/blade/burn/burn1.wav"
  204. alias snd_burn2 "player/blade/burn/burn2.wav"
  205. alias snd_burn3 "player/blade/burn/burn3.wav"
  206. alias snd_burn4 "player/blade/burn/burn4.wav"
  207. alias snd_burn5 "player/blade/burn/burn5.wav"
  208. alias snd_burn6 "player/blade/burn/burn6.wav"
  209. alias snd_burn7 "player/blade/burn/burn7.wav"
  210.  
  211. alias snd_choke1 "player/blade/choke/choke1.wav"
  212. alias snd_choke2 "player/blade/choke/choke2.wav"
  213. alias snd_choke3 "player/blade/choke/choke3.wav"
  214. alias snd_choke4 "player/blade/choke/choke4.wav"
  215. alias snd_choke5 "player/blade/choke/choke5.wav"
  216. alias snd_choke6 "player/blade/choke/choke6.wav"
  217. alias snd_choke7 "player/blade/choke/choke7.wav"
  218. alias snd_choke8 "player/blade/choke/choke8.wav"
  219. alias snd_choke9 "player/blade/choke/choke9.wav"
  220. alias snd_choke10 "player/blade/choke/choke10.wav"
  221.  
  222. alias snd_gasp1 "player/blade/gasp/gasp1.wav"
  223. alias snd_gasp2 "player/blade/gasp/gasp2.wav"
  224. alias snd_gasp3 "player/blade/gasp/gasp3.wav"
  225. alias snd_gasp4 "player/blade/gasp/gasp4.wav"
  226. alias snd_gasp5 "player/blade/gasp/gasp5.wav"
  227.  
  228. alias snd_drown1 "player/blade/gargle/gargle1.wav"
  229. alias snd_drown2 "player/blade/gargle/gargle2.wav"
  230. alias snd_drown3 "player/blade/gargle/gargle3.wav"
  231. alias snd_drown4 "player/blade/gargle/gargle4.wav"
  232. alias snd_drown5 "player/blade/gargle/gargle5.wav"
  233.  
  234. alias snd_gib1 "player/blade/gib/gib1.wav"
  235. alias snd_gib2 "player/blade/gib/gib2.wav"
  236. alias snd_gib3 "player/blade/gib/gib3.wav"
  237. alias snd_gib4 "player/blade/gib/gib4.wav"
  238. alias snd_gib5 "player/blade/gib/gib5.wav"
  239. alias snd_gib6 "player/blade/gib/gib6.wav"
  240.  
  241. alias snd_taunt1  "player/blade/taunt/asif.wav"
  242. alias snd_taunt2  "player/blade/taunt/getbent.wav"
  243. alias snd_taunt3  "player/blade/taunt/gtrffmys.wav"
  244. alias snd_taunt4  "player/blade/taunt/gtthrt.wav"
  245. alias snd_taunt5  "player/blade/taunt/lkthh!.wav"
  246. alias snd_taunt6  "player/blade/taunt/mkmybtc1.wav"
  247. alias snd_taunt7  "player/blade/taunt/mkmybtch.wav"
  248. alias snd_taunt8  "player/blade/taunt/ncshtbtc.wav"
  249. alias snd_taunt9  "player/blade/taunt/rcknrll.wav"
  250. alias snd_taunt10 "player/blade/taunt/rcknrll2.wav"
  251. alias snd_taunt11 "player/blade/taunt/rstnpcs.wav"
  252. alias snd_taunt12 "player/blade/taunt/schldy.wav"
  253. alias snd_taunt13 "player/blade/taunt/trynw1.wav"
  254. alias snd_taunt14 "player/blade/taunt/whsyrdd1.wav"
  255. alias snd_taunt15 "player/blade/taunt/whsyrddd.wav"
  256. alias snd_taunt16 "player/blade/taunt/whtchmp.wav"
  257. alias snd_taunt17 "player/blade/taunt/ylttlpnk.wav"
  258.  
  259. alias snd_kneefall1 "impact/bodyfall/sml1.wav" 1
  260. alias snd_kneefall2 "impact/bodyfall/sml2.wav" 1
  261. alias snd_partfall1 "impact/bodyfall/med1.wav" 1
  262. alias snd_partfall2 "impact/bodyfall/med2.wav" 1
  263. alias snd_partfall3 "impact/bodyfall/med3.wav" 1
  264. alias snd_bodyfall1 "impact/bodyfall/lrg1.wav" 1
  265. alias snd_bodyfall2 "impact/bodyfall/lrg2.wav" 1
  266. alias snd_whoosh1   "weapons/punch/whsh1.wav" 1
  267. alias snd_whoosh2   "weapons/punch/whsh2.wav" 1
  268. alias snd_ladder1   "impact/ladder/pole1.wav"
  269. alias snd_ladder2   "impact/ladder/pole2.wav"
  270. alias snd_ladder3   "impact/ladder/pole3.wav"
  271.  
  272. alias act_idle             "behavior Idle"
  273. alias act_sightenemy        "behavior FireOnSight"
  274. alias act_weaponsound        "behavior Investigate"
  275. alias act_movementsound        "behavior Investigate"
  276. alias act_painsound        "behavior Investigate"
  277. alias act_deathsound        "behavior Investigate"
  278. alias act_breakingsound        "behavior Investigate"
  279. alias act_doorsound        "behavior Investigate"
  280. alias act_mutantsound        "behavior Investigate"
  281. alias act_voicesound        "behavior Investigate"
  282. alias act_machinesound        "behavior Investigate"
  283. alias act_radiosound        "behavior Investigate"
  284.  
  285. //
  286. // The main section
  287. //
  288. !main:
  289. //
  290. // Define the clinet/server animation references
  291. //
  292. server pain1 1 painsound snd_pain
  293. server pain2 1 painsound snd_pain
  294. server pain3 1 painsound snd_pain
  295. client pain3 3 randomsound snd_bodyfall
  296. server pain4 1 painsound snd_pain
  297. server pain5 1 painsound snd_pain
  298. server pain6 1 painsound snd_pain
  299.  
  300. server death1 1 deathsound snd_death
  301. client death1 3 randomsound snd_whoosh
  302. client death1 9 randomsound snd_bodyfall
  303.  
  304.  
  305. server death2 1 deathsound snd_death
  306. client death2 3 randomsound snd_kneefall
  307. client death2 4 randomsound snd_kneefall
  308. client death2 5 randomsound snd_bodyfall
  309.  
  310. server death3 1 deathsound snd_death
  311. client death3 5 randomsound snd_bodyfall
  312. client death3 last randomsound snd_kneefall
  313.  
  314.  
  315. server death4 1 deathsound snd_death 1 1
  316. client death4 2 randomsound snd_whoosh 1 2
  317. client death4 5 randomsound snd_whoosh 1 2
  318. client death4 8 randomsound snd_bodyfall 1 2
  319.  
  320. server death5 1 deathsound snd_death
  321. client death5 3 randomsound snd_bodyfall
  322. client death5 8 randomsound snd_partfall
  323.  
  324. server death6 1 deathsound snd_death
  325. client death6 3 randomsound snd_bodyfall
  326.  
  327. server death7 1 deathsound snd_death
  328. client death7 5 randomsound snd_partfall
  329. client death7 6 randomsound snd_bodyfall
  330.  
  331. server death8 1 deathsound snd_death
  332. client death8 4 randomsound snd_partfall
  333. client death8 8 randomsound snd_kneefall
  334.  
  335. server death9 1 deathsound snd_death
  336. client death9 7 randomsound snd_bodyfall
  337.  
  338. client punch1 0 randomsound snd_whoosh
  339. client punch1 3 randomsound snd_whoosh
  340. client punch1 5 randomsound snd_whoosh
  341.  
  342. client run1 3 footstep
  343. server run1 3 movementsound
  344. client run1 7 footstep
  345. server run1 7 movementsound
  346.  
  347. client crouch_pain3 3 randomsound snd_bodyfall
  348. client crouch_pain3 7 footstep
  349. client crouch_pain3 8 footstep
  350. server crouch_pain3 7 movementsound
  351.  
  352. server crouch_death1 first deathsound snd_death
  353. client crouch_death1     3 randomsound snd_partfall
  354. client crouch_death1     8 randomsound snd_bodyfall
  355. server crouch_death2 first deathsound snd_death
  356. client crouch_death2     4 randomsound snd_bodyfall
  357. server crouch_death3 first deathsound snd_death
  358. client crouch_death3     4 randomsound snd_bodyfall
  359. server crouch_death4 first deathsound snd_death
  360. client crouch_death4     3 randomsound snd_kneefall
  361. client crouch_death4     7 randomsound snd_bodyfall
  362.  
  363. client crouch_run1 0 footstep
  364. server crouch_run1 0 movementsound
  365. client crouch_run1 7 footstep
  366. server crouch_run1 7 movementsound
  367.  
  368. client crouch_walk1 0 footstep
  369. server crouch_walk1 0 movementsound
  370. client crouch_walk1 7 footstep
  371. server crouch_walk1 7 movementsound
  372.  
  373. server jump1 0 randomsound "snd_jump" 1 1
  374. //client jump1 5 randomsound snd_partfall .5 1
  375. server jump1 0 movementsound
  376. server jump1 3 nextframe 3
  377.  
  378. server fall1 0 setframe 4
  379. server fall1 0 nextframe 4
  380. //client fall1 5 randomsound snd_partfall .5
  381. server fall1 4 nextframe 4
  382.  
  383. server land1 0 setframe 5
  384. server land1 5 randomsound "snd_land" 1 3
  385. server land1 5 movementsound
  386. //client land1 5 randomsound snd_partfall .5 2
  387. client land1 5 footstep 1 1
  388. client land1 6 footstep 1 1
  389.  
  390. client walk1 4 footstep
  391. server walk1 4 movementsound
  392. client walk1 10 footstep
  393. server walk1 10 movementsound
  394.  
  395. server climb1 0 randomsound snd_ladder .7
  396. server climb1 0 movementsound
  397. server climb1 4 randomsound snd_ladder .7
  398. server climb1 4 movementsound
  399.  
  400. //
  401. // The SINED declaration section
  402. //
  403. /*SINED Hero_Blade (1 .5 0) (0 0 0) (0 0 0)
  404. Blade (Our Hero)
  405. */