home *** CD-ROM | disk | FTP | other *** search
/ Tripas 5 / TRIPAS 005.iso / Wos.EXE / 2015 / models / smallgoliath.def < prev    next >
Encoding:
Text File  |  1999-02-24  |  14.1 KB  |  432 lines

  1. SDEF
  2.  
  3. /*SINED Monster_SmallGoliath (1 .5 0) (0 0 0) (0 0 0)
  4. Da almost as big as da Big Goliath kind of Goliath
  5. */
  6. //
  7.  
  8. // --------------------------------------------------------------------------------------
  9. // FILE DECLARATIONS
  10. //
  11. // Model Commands
  12. path models/goliath
  13. scale 1.0
  14.  
  15. // Base Model
  16. goliath_base2.sbm
  17.  
  18. // Skins
  19. normal        goliath_15a.tga
  20. damage        goliath_damage_15a.tga
  21.  
  22. // Normal Animations
  23. idle            stand.sam
  24. alert            idle.sam
  25. melee1        attack_backhand.sam
  26. melee2        attack_clap.sam
  27. melee3        attack_slap.sam
  28. melee4        attack_smash.sam
  29. //attack_turn_left    attack_turn_left.sam
  30.  
  31. run            run.sam    
  32. walk            walk.sam
  33. //run_carry        run_carry.sam
  34. //walk_carry        walk_carry.sam
  35.  
  36. // Pain Location Based Animations
  37. pain1            pain_normal.sam
  38. pain2            pain_front.sam
  39. pain_torso1        pain_front.sam        
  40. //pain_torso2        pain_back.sam        
  41. pain_head        pain_head.sam        
  42. pain_arm_left_upper    pain_left_arm.sam    
  43. pain_arm_left_lower    pain_left_arm.sam    
  44. pain_leg_left_upper    pain_left_leg.sam    
  45. pain_leg_left_lower    pain_left_leg.sam    
  46. pain_arm_right_upper    pain_right_arm.sam    
  47. pain_arm_right_lower    pain_right_arm.sam    
  48. pain_leg_right_upper    pain_right_leg.sam
  49. pain_leg_right_lower    pain_right_leg.sam
  50.  
  51. // Death Location Based Animations
  52. death1        death_a.sam        
  53. death2        death_b.sam    
  54.  
  55. // Crouching Pain Location Based Animations
  56. // Crouching Death Location Based Animations
  57.  
  58. // Optional Animations
  59. //pipe_slap        pipe_slap.sam
  60. //pipe_smash        pipe_smash.sam
  61. //hurl_boulder    hurl_boulder.sam
  62. //hurl_boulder_down    hurl_boulder_down.sam
  63. //hurl_rock        hurl_rock.sam
  64.  
  65. //pull            pull_pipe.sam
  66. //pickup        pick_up.sam
  67.  
  68. //smash1        jump_smash.sam
  69. //smash2        punch_ground.sam    
  70. //smash3        punch_ground_b.sam
  71.  
  72. // Scripted Animations
  73. angry            angry.sam    
  74.     
  75. //Animations not used at present
  76. //aaa_pipe_calibration    pull_pipe.sam
  77. //pull_panel        pull.sam
  78.  
  79. // crate throwing animations
  80. throw_aim        walk_carry.sam
  81. throw            hurl_boulder.sam
  82. pickup        pick_up_high.sam // still here just in case
  83. pickup_high        pick_up_high.sam
  84. pickup_low        pick_up_low.sam
  85.  
  86. // rumble attack
  87. rumble        jump_smash.sam
  88.  
  89. // destroy object animations
  90. destobj1        attack_clap.sam
  91. destobj2        attack_smash.sam
  92.  
  93. // Id And Group Definitions
  94. id   5 group head flesh
  95. group head damage 2.0
  96. id  12 group torso flesh
  97. group torso damage 1.0
  98. id  45 group leg_left_upper fabric
  99. group leg_left_upper damage 0.7
  100. id  50 group leg_left_lower flesh
  101. group leg_left_lower damage 0.5
  102. id  65 group leg_right_upper fabric
  103. group leg_right_upper damage 0.7
  104. id  70 group leg_right_lower flesh
  105. group leg_right_lower damage 0.5
  106. id  85 group arm_left_upper flesh
  107. group arm_left_upper damage 0.7
  108. id  90 group arm_left_lower flesh
  109. group arm_left_lower damage 0.5
  110. id 105 group arm_right_upper flesh
  111. group arm_right_upper damage 0.7
  112. id 110 group arm_right_lower flesh
  113. group arm_right_lower damage 0.5
  114. id 200 group arm_right_lower bone gun 180 0 0 2015attach flesh
  115. id 201 group arm_left_lower bone leftgun 180 0 0 2015attach flesh
  116.  
  117. //------------------------------------------------------
  118.  
  119. !init:
  120. //
  121. // SERVER Initialization Commands
  122. //
  123. // Class Setup
  124. server classname goliath
  125. server script global/smallgoliath.scr
  126. //server setsize "-32 -32 0" "32 32 200"
  127. //server crouchsize "-32 -32 0" "32 32 200"
  128. server setsize "-32 -32 0" "32 32 200"
  129. server crouchsize "-32 -32 0" "32 32 200"
  130. server mass 2000
  131. server health 3000
  132. server painthreshold 50
  133. server ifskill 0 painthreshold 30
  134. server meleerange 350
  135. server meleedamage 40
  136. server meleeforce 400
  137. server flags -die_gibs
  138.  
  139. // Sound Aliases
  140. //server aliascache  snd_attacktaunt1    "monsters/goliath/attack1.wav" 1
  141. //server aliascache  snd_attacktaunt2    "monsters/goliath/attack2.wav" 1
  142.  
  143. server aliascache  snd_pursuit1    "monsters/goliath/purs1.wav" 1
  144. server aliascache  snd_pursuit2    "monsters/goliath/purs2.wav" 1
  145.  
  146. server aliascache  snd_sightenemy1    "monsters/goliath/site1.wav" 1
  147. server aliascache  snd_sightenemy2    "monsters/goliath/site2.wav" 1
  148.  
  149. server aliascache  snd_inmysights1    "monsters/goliath/site1.wav" 1
  150. server aliascache  snd_inmysights2    "monsters/goliath/site2.wav" 1
  151.  
  152. server aliascache  snd_idle1          "monsters/goliath/idle1.wav"  1
  153.  
  154. server aliascache  snd_investigate1   "monsters/goliath/site1.wav" 1
  155. server aliascache  snd_locate1        "monsters/goliath/site1.wav" 1
  156.  
  157. //server aliascache  snd_tauntdeath1    "monsters/goliath/taunt1.wav" 1
  158. //server aliascache  snd_tauntdeath2    "monsters/goliath/taunt2.wav" 1
  159. //server aliascache  snd_tauntdeath3    "monsters/goliath/taunt3.wav" 1
  160. //server aliascache  snd_tauntdeath4    "monsters/goliath/taunt4.wav" 1
  161.  
  162. //server aliascache snd_lostweapon "monsters/goliath/painhnd.wav" 1
  163.  
  164.  
  165. //
  166. // CLIENT Initialization Commands
  167. //
  168. // Sound Aliases
  169.  
  170. client aliascache  snd_attack1   "monsters/goliath/attack1.wav" 1
  171. client aliascache  snd_attack2   "monsters/goliath/attack2.wav" 1
  172. client aliascache  snd_attack3   "monsters/goliath/attack3.wav" 1
  173.  
  174. client aliascache  snd_pain1     "monsters/goliath/pain1.wav" 1
  175. client aliascache  snd_pain2     "monsters/goliath/pain2.wav" 1
  176. client aliascache  snd_pain3     "monsters/goliath/pain3.wav" 1
  177. client aliascache  snd_pain4     "monsters/goliath/pain4.wav" 1
  178. client aliascache  snd_pain5     "monsters/goliath/pain5.wav" 1
  179.  
  180. client aliascache  snd_death1    "monsters/goliath/death1.wav" 1
  181. client aliascache  snd_death2    "monsters/goliath/death2.wav" 1
  182. client aliascache  snd_death3    "monsters/goliath/death4.wav" 1
  183. client aliascache  snd_longdeath1 "monsters/goliath/death3.wav" 1
  184. client aliascache  snd_yell1     "monsters/goliath/yell.wav" 1
  185.  
  186. client aliascache  snd_whoosh1     "weapons/punch/whsh1.wav" 1
  187. client aliascache  snd_whoosh2     "weapons/punch/whsh2.wav" 1
  188. client aliascache  snd_step1      "monsters/goliath/bigfoot.wav" 1
  189. client aliascache  snd_boom1        "impact/explosion/lrg6.wav"
  190.  
  191. client aliascache  snd_breath1    "monsters/goliath/brth.wav"
  192.  
  193.  
  194. //client aliascache  snd_tearpipe1  "monsters/goliath/pipetear1.wav"
  195. //client aliascache  snd_hitpipe1   "monsters/goliath/pipehit.wav"
  196. //client aliascache  snd_rip1       "monsters/goliath/tearhit.wav"
  197.  
  198. //
  199. // The main section
  200. //
  201. !main:
  202. //
  203.  
  204. //
  205. //aaa_pipe_calibration first setframe 1
  206. //aaa_pipe_calibration first nextframe 1
  207. //
  208.  
  209. // Normal Animations
  210. server walk      5 movementsound
  211. server walk      13 movementsound
  212. client walk      5 randomsound snd_step .7
  213. client walk      13 randomsound snd_step .7
  214.  
  215. server idle 0    setbothhands 0 0 // just to make sure
  216. client idle 0    randomsound snd_breath 0.1 4
  217.  
  218. server run       7 setbothhands 0 0 // just to make sure
  219. server run       0 movementsound
  220. server run       5 movementsound
  221. client run       0 randomsound snd_step 1
  222. client run       5 randomsound snd_step 1
  223.  
  224. //server walk_carry      5 movementsound
  225. //server walk_carry      13 movementsound
  226. //client walk_carry      5 randomsound snd_step .7
  227. //client walk_carry      13 randomsound snd_step .7
  228.  
  229. //server run_carry       0 movementsound
  230. //server run_carry       5 movementsound
  231. //client run_carry       0 randomsound snd_step 1
  232. //client run_carry       5 randomsound snd_step 1
  233.  
  234. //server turn       3 movementsound
  235. //server turn       7 movementsound
  236. //server turn       9 movementsound
  237. //client turn       3 randomsound snd_step .7
  238. //client turn       7 randomsound snd_step .7
  239. //client turn       9 randomsound snd_step .7
  240.  
  241. //server smash1       6 movementsound
  242. //client smash1       6 randomsound snd_step .8
  243. //client smash1       17 randomsound snd_boom 1
  244.  
  245. //server begin       6 movementsound
  246. //client begin       6 randomsound snd_step 1
  247.  
  248. // Pain Location Based Animations
  249. //server pain first painsound
  250. //client pain first randomsound snd_pain 1 2
  251. server pain_front first painsound
  252. client pain_front first randomsound snd_pain 1 2
  253. server pain1 first painsound
  254. client pain1 first randomsound snd_pain 1 2
  255.  
  256. server pain_left_arm first painsound
  257. client pain_left_arm first randomsound snd_pain 1 2
  258. server pain_right_arm first painsound
  259. client pain_right_arm first randomsound snd_pain 1 2
  260. server pain_left_leg first painsound
  261. client pain_left_leg first randomsound snd_pain 1 2
  262. server pain_right_leg first painsound
  263. client pain_right_leg first randomsound snd_pain 1 2
  264. client pain_right_leg 2 randomsound snd_boom .6 4
  265. server pain_head first painsound
  266. client pain_head first randomsound snd_pain 1 2
  267. server pain_back first painsound
  268. client pain_back first randomsound snd_pain 1 2
  269. client pain_back 3 randomsound snd_step .7 4
  270. client pain_back 7 randomsound snd_step .7 4
  271. client pain_back 13 randomsound snd_step .7 4
  272. client pain_back 18 randomsound snd_step .7 4
  273.  
  274.  
  275. server death1 first deathsound
  276. client death1 first randomsound snd_death 1 2
  277. client death1 21 randomsound snd_boom .6 4
  278. client death1 35 randomsound snd_boom 1 4
  279.  
  280.  
  281. server death2 first deathsound
  282. client death2 first randomsound snd_longdeath 1 2
  283. client death2 16 randomsound snd_boom 1 4
  284.  
  285. server angry       6 movementsound
  286. client angry       6 randomsound snd_yell 1.5 4
  287. client angry       14 randomsound snd_yell 2 2
  288. //client angry       10 randomsound snd_attacktaunt 2.5
  289. //client angry       18 randomsound snd_attacktaunt 0.7
  290.  
  291. // The sethands commands were added for allowing the goliath's hands
  292. // to do damage and throw the player during attacks.  Thus Goliath has
  293. // much more realistic melee collision detection than the standard 
  294. // sin/quake stuff.
  295.  
  296. client melee1 0        randomsound snd_attack 1 2
  297. server melee1 2        setrighthand 0.25 -0.5
  298. server melee1 3        setrighthand 0.5 -1
  299. server melee1 3        weaponsound
  300. client melee1 3        randomsound snd_whoosh 1 1
  301. server melee1 7        setrighthand 0.25 -0.5
  302. server melee1 9        setrighthand 0 0
  303. client melee1 9        randomsound snd_step .7 4
  304.  
  305.  
  306. server melee2 0        setbothhands 0.1 0
  307. client melee2 0        randomsound snd_attack 1 2
  308. server melee2 2        setbothhands 0.5 0.1
  309. server melee2 4        setbothhands 1 0.2
  310. //client melee2 4        randomsound snd_whoosh 0.4 4
  311. server melee2 4        weaponsound
  312. // Boom has to be 1 frame early because of the wave used
  313. client melee2 4        randomsound snd_boom 1.5 1
  314. server melee2 6        setbothhands 0 0
  315.  
  316. server melee3 0        setrighthand 0.1 0.1
  317. client melee3 0        randomsound snd_attack 1 2
  318. server melee3 0        movementsound
  319. client melee3 0        randomsound snd_step .7 4
  320. server melee3 1        setrighthand 0 0
  321. server melee3 2        setrighthand 0.5 1
  322. client melee3 2        randomsound snd_step .7 4
  323. server melee3 3        weaponsound
  324. client melee3 3        randomsound snd_whoosh 1 1
  325. server melee3 3        movementsound
  326. server melee3 6        setrighthand 0 0
  327.  
  328. server melee4 0        setbothhands 0.1 0.1
  329. client melee4 0        randomsound snd_attack 1 2
  330. server melee4 2        movementsound
  331. server melee4 3        setbothhands 0.5 0.1
  332. client melee4 3        randomsound snd_whoosh .7 3
  333. client melee4 4        randomsound snd_step .7 4
  334. // Boom has to be 1 frame early because of the wave used
  335. client melee4 4        randomsound snd_boom 1.5 1
  336. server melee4 5        setbothhands 1 0.2
  337. server melee4 5        movementsound
  338. server melee4 5        weaponsound
  339. server melee4 6        setbothhands 0 0
  340.  
  341. //server attack_turn_left       4 weaponsound
  342. //client attack_turn_left       4 randomsound snd_whoosh 1
  343. //server attack_turn_left       6 movementsound
  344. //client attack_turn_left       6 randomsound snd_step .7
  345. //server attack_turn_left       12 movementsound
  346. //client attack_turn_left       12 randomsound snd_step .7
  347.  
  348. // Old attack names, not used any more
  349. //server attack_backhand       8 weaponsound
  350. //client attack_backhand       8 randomsound snd_whoosh 1
  351. //client attack_backhand       13 randomsound snd_step .7
  352.  
  353. //server attack_clap       6 weaponsound
  354. //client attack_clap       6 randomsound snd_boom 1
  355.  
  356. //server attack_kick       4 weaponsound
  357. //client attack_kick       4 randomsound snd_whoosh 1
  358.  
  359. //server attack_punch       6 weaponsound
  360. //client attack_punch       6 randomsound snd_whoosh 1
  361.  
  362. //server attack_slap       0 movementsound
  363. //client attack_slap       0 randomsound snd_step .7
  364. //server attack_slap       5 weaponsound
  365. //client attack_slap       5 randomsound snd_whoosh 1
  366. //server attack_slap       5 movementsound
  367. //client attack_slap       5 randomsound snd_step .7
  368.  
  369. //server attack_smash       7 movementsound
  370. //client attack_smash       7 randomsound snd_step .7
  371. //server attack_smash       8 weaponsound
  372. //client attack_smash       8 randomsound snd_boom 1
  373. //server attack_smash       11 movementsound
  374. //client attack_smash       11 randomsound snd_step .7
  375.  
  376. //server attack_turn_left       4 weaponsound
  377. //client attack_turn_left       4 randomsound snd_whoosh 1
  378. //server attack_turn_left       6 movementsound
  379. //client attack_turn_left       6 randomsound snd_step .7
  380. //server attack_turn_left       12 movementsound
  381. //client attack_turn_left       12 randomsound snd_step .7
  382.  
  383. // picking up animations
  384.  
  385. server pickup 5    forwardcommand pickup gun
  386.  
  387. server pickup_high 4    forwardcommand pickup gun
  388.  
  389. server pickup_low 4    forwardcommand pickup gun
  390.  
  391. // throwing animation
  392. server throw 5    forwardcommand throw
  393.  
  394. // throwing aiming animation
  395. server throw_aim 5    movementsound
  396. server throw_aim 13    movementsound
  397. client throw_aim 5    randomsound snd_step .7
  398. client throw_aim 13    randomsound snd_step .7
  399.  
  400. // rumble attack
  401. client rumble 0 randomsound snd_attack 1 2
  402. server rumble 6    movementsound
  403. client rumble 6    randomsound snd_step .8 4
  404. client rumble 10 randomsound snd_yell 1 2
  405. client rumble 17    randomsound snd_boom 1
  406. server rumble 18    forwardcommand dorumble
  407.  
  408. // destroy object animations
  409. server destobj1 0        setbothhands 0.1 0
  410. client destobj1 0        randomsound snd_attack 1 2
  411. server destobj1 2        setbothhands 0.5 0.1
  412. server destobj1 4        setbothhands 1 0.2
  413. //client destobj1 4    randomsound snd_whoosh 0.4 4
  414. server destobj1 4        weaponsound
  415. // Boom has to be 1 frame early because of the wave used
  416. client destobj1 4        randomsound snd_boom 1.5 1
  417. server destobj1 6        setbothhands 0 0
  418.  
  419. server destobj2 0        setbothhands 0.1 0.1
  420. client destobj2 0        randomsound snd_attack 1 2
  421. server destobj2 2        movementsound
  422. server destobj2 3        setbothhands 0.5 0.1
  423. client destobj2 3        randomsound snd_whoosh .7 3
  424. client destobj2 4        randomsound snd_step .7 4
  425. // Boom has to be 1 frame early because of the wave used
  426. client destobj2 4        randomsound snd_boom 1.5 1
  427. server destobj2 5        setbothhands 1 0.2
  428. server destobj2 5        movementsound
  429. server destobj2 5        weaponsound
  430. server destobj2 6        setbothhands 0 0
  431.  
  432.