Advertisement
Guest User

Untitled

a guest
Mar 31st, 2020
214
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 24.02 KB | None | 0 0
  1. // -------------------------------------------------------
  2. // Events
  3. // -------------------------------------------------------
  4. //
  5. // In order to further customize the rocket types, you can
  6. // set a command to be executed when a certain event happens
  7. // with a dodgeball rocket.
  8. //
  9. // The events that are right now implemented are the following:
  10. //
  11. // on spawn- When a rocket spawns.
  12. // on deflect- A client has deflected a rocket.
  13. // on kill- One of the rockets has killed the client.
  14. // on explode- Same as on kill, only triggered once.
  15. //
  16. // The possible parameters passed for the commands are the following.
  17. //
  18. // @name - Name of the projectile type
  19. // @rocket - Rocket entity index
  20. // @owner - Owner client userid
  21. // @target - Target client userid
  22. // @dead - Last dead client
  23. // @speed - Speed of the rocket
  24. // @deflections - Number of rocket deflections
  25. //
  26. // -------------------------------------------------------
  27. // Commands
  28. // -------------------------------------------------------
  29. //
  30. // For using with the events system, the plugin has two useful
  31. // commands if you want to make kickass explosion blasts.
  32. //
  33. // tf_dodgeball_explosion <client>
  34. // Shows a huge explosion at the location of the specified client.
  35. //
  36. // tf_dodgeball_shockwave <client> <damage> <force> <radius> <falloff>
  37. // Wich applies a huge shockwave at the location of the client.
  38. //
  39. // If you are able to write plugins, you can include your custom
  40. // commands too!
  41. // -------------------------------------------------------
  42.  
  43. "tf2_dodgeball"
  44. {
  45.  
  46. "general"
  47. {
  48. "music" "1" // Play music on Dodgeball gamemode?
  49.  
  50. "round start" "" // Music to play on round start (before gameplay start)
  51. "round end (win)" "" // Music to play for the winner team
  52. "round end (lose)" "" // Music to play for the loser team
  53. "gameplay" "" // Music to play when the gameplay starts. This one stops
  54. // at round end.
  55.  
  56. "use web player" "0" // If the use of web player is enabled, these will be
  57. "web player url" "" // used instead of the gameplay music
  58. }
  59.  
  60. "classes"
  61. {
  62. "Zonas"
  63. {
  64. // >>> Basic parameters <<<
  65. "name" "Zonas Sample MK.I" // Full name of the rocket type
  66. "behaviour" "homing" // The only behaviour right now is homing :P
  67. "model" "" // Default: Common rocket model
  68. "is animated" "0" // Only works when using a custom model
  69. "play spawn sound" "1" // Does the rocket emit a sound when spawning?
  70. "play beep sound" "0" // Does the rocket emit a beeping sound?
  71. "play alert sound" "1" // Does the rocket emit an alert sound to the client when being targetted?
  72. "spawn sound" "" // Default: Sentry rocket sound
  73. "beep sound" "" // Default: Sentry searching sound
  74. "alert sound" "" // Default: Sentry client spotted sound
  75. "beep interval" "0" // Emit sound every x time
  76.  
  77. // >>> Specific behaviour modificators <<<
  78. "elevate on deflect" "0" // Does the rocket can elevate after deflection?
  79. "neutral rocket" "0" // Does this rocket has no team based targets?
  80.  
  81. // >>> Movement parameters <<<
  82. "damage" "25" // Base damage done by the rocket.
  83. "damage increment" "25" // Increment per reflection.
  84. "speed" "950" // Base speed for the rocket.
  85. "speed increment" "250" // Speed increment per reflection.
  86. "turn rate" "0.03" // Turn rate / tick for this rocket.
  87. "turn rate increment" "0.00415"// Increment per deflection.
  88. "elevation rate" "0.015" // Elevation rate when deflected (if enabled)
  89. "elevation limit" "0.150" // Maximum elevation when deflected (if enabled)
  90. "control delay" "0.001" // Delay until the rocket starts tracking the target after a deflection.
  91. "critical chance" "100" // Percentage of chance for a critical rocket.
  92. "no. players modifier" "0" // Increment based upon the number of players in the server.
  93. "no. rockets modifier" "0" // Increment based upon the number of rockets fired since the start of the round.
  94. "direction to target weight" "1000" // Weight modifier for target selection, based upon the direction of the rocket
  95. // to the client.
  96.  
  97. // >>> Events <<<
  98. "on spawn" "sm_hsay Speed: @speed - Deflects: @deflections"
  99. "on deflect" "sm_hsay Speed: @speed - Deflects: @deflections"
  100. "on kill" "sm_hsay Speed: @speed - Deflects: @deflections"
  101. "on explode" ""
  102. }
  103.  
  104. "Turtle"
  105. {
  106. // >>> Basic parameters <<<
  107. "name" "Turtle Rocket" // Full name of the rocket type
  108. "behaviour" "homing" // The only behaviour right now is homing :P
  109. "model" "" // Default: Common rocket model
  110. "is animated" "0" // Only works when using a custom model
  111. "play spawn sound" "1" // Does the rocket emit a sound when spawning?
  112. "play beep sound" "0" // Does the rocket emit a beeping sound?
  113. "play alert sound" "1" // Does the rocket emit an alert sound to the client when being targetted?
  114. "spawn sound" "" // Default: Sentry rocket sound
  115. "beep sound" "" // Default: Sentry searching sound
  116. "alert sound" "" // Default: Sentry client spotted sound
  117. "beep interval" "0" // Emit sound every x time
  118.  
  119. // >>> Specific behaviour modificators <<<
  120. "elevate on deflect" "1" // Does the rocket can elevate after deflection?
  121. "neutral rocket" "0" // Does this rocket has no team based targets?
  122.  
  123. // >>> Movement parameters <<<
  124. "damage" "25" // Base damage done by the rocket.
  125. "damage increment" "25" // Increment per reflection.
  126. "speed" "4000" // Base speed for the rocket.
  127. "speed increment" "300000" // Speed increment per reflection.
  128. "turn rate" "9999" // Turn rate / tick for this rocket.
  129. "turn rate increment" "9999"// Increment per deflection.
  130. "elevation rate" "0.0135" // Elevation rate when deflected (if enabled)
  131. "elevation limit" "0.17" // Maximum elevation when deflected (if enabled)
  132. "control delay" "0.019" // Delay until the rocket starts tracking the target after a deflection.
  133. "critical chance" "100" // Percentage of chance for a critical rocket.
  134. "no. players modifier" "0" // Increment based upon the number of players in the server.
  135. "no. rockets modifier" "0" // Increment based upon the number of rockets fired since the start of the round.
  136. "direction to target weight" "1000" // Weight modifier for target selection, based upon the direction of the rocket
  137. // to the client.
  138.  
  139. // >>> Events <<<
  140. "on spawn" "sm_hsay Speed: @speed - Deflects: @deflections"
  141. "on deflect" "sm_hsay Speed: @speed - Deflects: @deflections"
  142. "on kill" "sm_hsay Speed: @speed - Deflects: @deflections"
  143. "on explode" ""
  144. }
  145.  
  146. "common"
  147. {
  148. // >>> Basic parameters <<<
  149. "name" "Homing Rocket" // Full name of the rocket type
  150. "behaviour" "homing" // The only behaviour right now is homing :P
  151. "model" "" // Default: Common rocket model
  152. "is animated" "0" // Only works when using a custom model
  153. "play spawn sound" "1" // Does the rocket emit a sound when spawning?
  154. "play beep sound" "0" // Does the rocket emit a beeping sound?
  155. "play alert sound" "1" // Does the rocket emit an alert sound to the client when being targetted?
  156. "spawn sound" "" // Default: Sentry rocket sound
  157. "beep sound" "" // Default: Sentry searching sound
  158. "alert sound" "" // Default: Sentry client spotted sound
  159. "beep interval" "0" // Emit sound every x time
  160.  
  161. // >>> Specific behaviour modificators <<<
  162. "elevate on deflect" "1" // Does the rocket can elevate after deflection?
  163. "neutral rocket" "0" // Does this rocket has no team based targets?
  164.  
  165. // >>> Movement parameters <<<
  166. "damage" "25" // Base damage done by the rocket.
  167. "damage increment" "25" // Increment per reflection.
  168. "speed" "950" // Base speed for the rocket.
  169. "speed increment" "300" // Speed increment per reflection.
  170. "turn rate" "0.0270" // Turn rate / tick for this rocket.
  171. "turn rate increment" "0.007"// Increment per deflection.
  172. "elevation rate" "0.0150" // Elevation rate when deflected (if enabled)
  173. "elevation limit" "0.125" // Maximum elevation when deflected (if enabled)
  174. "control delay" "0.019" // Delay until the rocket starts tracking the target after a deflection.
  175. "critical chance" "100" // Percentage of chance for a critical rocket.
  176. "no. players modifier" "0" // Increment based upon the number of players in the server.
  177. "no. rockets modifier" "0" // Increment based upon the number of rockets fired since the start of the round.
  178. "direction to target weight" "1000" // Weight modifier for target selection, based upon the direction of the rocket
  179. // to the client.
  180.  
  181.  
  182. // >>> Events <<<
  183. "on spawn" "sm_hsay Speed: @speed - Deflects: @deflections"
  184. "on deflect" "sm_hsay Speed: @speed - Deflects: @deflections; sm_akoddblogspeed @owner @target @speed"
  185. "on kill" "sm_hsay Speed: @speed - Deflects: @deflections; sm_akoddblogspeed @owner @target @speed"
  186. "on explode" ""
  187. }
  188. "ES 2"
  189. {
  190. // >>> Basic parameters <<<
  191. "name" "YES" // Full name of the rocket type
  192. "behaviour" "homing" // The only behaviour right now is homing :P
  193. "model" "" // Default: Common rocket model
  194. "is animated" "0" // Only works when using a custom model
  195. "play spawn sound" "1" // Does the rocket emit a sound when spawning?
  196. "play beep sound" "0" // Does the rocket emit a beeping sound?
  197. "play alert sound" "1" // Does the rocket emit an alert sound to the client when being targetted?
  198. "spawn sound" "" // Default: Sentry rocket sound
  199. "beep sound" "" // Default: Sentry searching sound
  200. "alert sound" "" // Default: Sentry client spotted sound
  201. "beep interval" "0" // Emit sound every x time
  202.  
  203. // >>> Specific behaviour modificators <<<
  204. "elevate on deflect" "1" // Does the rocket can elevate after deflection?
  205. "neutral rocket" "0" // Does this rocket has no team based targets?
  206.  
  207. // >>> Specific behaviour modificators <<<
  208. "elevate on deflect" "1" // Does the rocket can elevate after deflection?
  209. "neutral rocket" "0" // Does this rocket has no team based targets?
  210.  
  211. // >>> Movement parameters <<<
  212. "damage" "25" // Base damage done by the rocket.
  213. "damage increment" "25" // Increment per reflection.
  214. "speed" "950" // Base speed for the rocket.
  215. "speed increment" "355" // Speed increment per reflection.
  216. "turn rate" "0.030" // Turn rate / tick for this rocket.
  217. "turn rate increment" "0.008"// Increment per deflection.
  218. "elevation rate" "0.0150" // Elevation rate when deflected (if enabled)
  219. "elevation limit" "0.125" // Maximum elevation when deflected (if enabled)
  220. "control delay" "0.019" // Delay until the rocket starts tracking the target after a deflection.
  221. "critical chance" "100" // Percentage of chance for a critical rocket.
  222. "no. players modifier" "0" // Increment based upon the number of players in the server.
  223. "no. rockets modifier" "0.1" // Increment based upon the number of rockets fired since the start of the round.
  224. "direction to target weight" "1000" // Weight modifier for target selection, based upon the direction of the rocket
  225. // to the client.
  226.  
  227.  
  228. // >>> Events <<<
  229. "on spawn" "sm_hsay Speed: @speed - Deflects: @deflections"
  230. "on deflect" "sm_hsay Speed: @speed - Deflects: @deflections; sm_akoddblogspeed @owner @target @speed"
  231. "on kill" "sm_hsay Speed: @speed - Deflects: @deflections; sm_akoddblogspeed @owner @target @speed"
  232. "on explode" ""
  233. }
  234. "New"
  235. {
  236. // >>> Basic parameters <<<
  237. "name" "Perfect Rocket By Zonas YES" // Full name of the rocket type
  238. "behaviour" "homing" // The only behaviour right now is homing :P
  239. "model" "" // Default: Common rocket model
  240. "is animated" "0" // Only works when using a custom model
  241. "play spawn sound" "1" // Does the rocket emit a sound when spawning?
  242. "play beep sound" "0" // Does the rocket emit a beeping sound?
  243. "play alert sound" "1" // Does the rocket emit an alert sound to the client when being targetted?
  244. "spawn sound" "" // Default: Sentry rocket sound
  245. "beep sound" "" // Default: Sentry searching sound
  246. "alert sound" "" // Default: Sentry client spotted sound
  247. "beep interval" "0" // Emit sound every x time
  248.  
  249. // >>> Specific behaviour modificators <<<
  250. "elevate on deflect" "1" // Does the rocket can elevate after deflection?
  251. "neutral rocket" "0" // Does this rocket has no team based targets?
  252.  
  253. // >>> Movement parameters <<<
  254. "damage" "25" // Base damage done by the rocket.
  255. "damage increment" "25" // Increment per reflection.
  256. "speed" "950" // Base speed for the rocket.
  257. "speed increment" "300" // Speed increment per reflection.
  258. "turn rate" "0.035" // Turn rate / tick for this rocket.
  259. "turn rate increment" "0.005"// Increment per deflection.
  260. "elevation rate" "0.0150" // Elevation rate when deflected (if enabled)
  261. "elevation limit" "0.125" // Maximum elevation when deflected (if enabled)
  262. "control delay" "0.019" // Delay until the rocket starts tracking the target after a deflection.
  263. "critical chance" "100" // Percentage of chance for a critical rocket.
  264. "no. players modifier" "0" // Increment based upon the number of players in the server.
  265. "no. rockets modifier" "0" // Increment based upon the number of rockets fired since the start of the round.
  266. "direction to target weight" "1000" // Weight modifier for target selection, based upon the direction of the rocket
  267. // to the client.
  268.  
  269.  
  270. // >>> Events <<<
  271. "on spawn" "sm_hsay Speed: @speed - Deflects: @deflections"
  272. "on deflect" "sm_hsay Speed: @speed - Deflects: @deflections; sm_topspeedlog @owner @target @speed"
  273. "on kill" "sm_hsay Speed: @speed - Deflects: @deflections; sm_akoddblogspeed @owner @target @speed"
  274. "on explode" ""
  275. }
  276. "New1"
  277. {
  278. // >>> Basic parameters <<<
  279. "name" "Tight" // Full name of the rocket type
  280. "behaviour" "homing" // The only behaviour right now is homing :P
  281. "model" "" // Default: Common rocket model
  282. "is animated" "0" // Only works when using a custom model
  283. "play spawn sound" "1" // Does the rocket emit a sound when spawning?
  284. "play beep sound" "0" // Does the rocket emit a beeping sound?
  285. "play alert sound" "1" // Does the rocket emit an alert sound to the client when being targetted?
  286. "spawn sound" "" // Default: Sentry rocket sound
  287. "beep sound" "" // Default: Sentry searching sound
  288. "alert sound" "" // Default: Sentry client spotted sound
  289. "beep interval" "0" // Emit sound every x time
  290.  
  291. // >>> Specific behaviour modificators <<<
  292. "elevate on deflect" "1" // Does the rocket can elevate after deflection?
  293. "neutral rocket" "0" // Does this rocket has no team based targets?
  294.  
  295. // >>> Movement parameters <<<
  296. "damage" "25" // Base damage done by the rocket.
  297. "damage increment" "25" // Increment per reflection.
  298. "speed" "950" // Base speed for the rocket.
  299. "speed increment" "300" // Speed increment per reflection.
  300. "turn rate" "0.05" // Turn rate / tick for this rocket.
  301. "turn rate increment" "0.0035"// Increment per deflection.
  302. "elevation rate" "0.0150" // Elevation rate when deflected (if enabled)
  303. "elevation limit" "0.125" // Maximum elevation when deflected (if enabled)
  304. "control delay" "0.019" // Delay until the rocket starts tracking the target after a deflection.
  305. "critical chance" "100" // Percentage of chance for a critical rocket.
  306. "no. players modifier" "0" // Increment based upon the number of players in the server.
  307. "no. rockets modifier" "0" // Increment based upon the number of rockets fired since the start of the round.
  308. "direction to target weight" "1000" // Weight modifier for target selection, based upon the direction of the rocket
  309. // to the client.
  310.  
  311.  
  312. // >>> Events <<<
  313. "on spawn" "sm_hsay Speed: @speed - Deflects: @deflections"
  314. "on deflect" "sm_hsay Speed: @speed - Deflects: @deflections; sm_akoddblogspeed @owner @target @speed"
  315. "on kill" "sm_hsay Speed: @speed - Deflects: @deflections; sm_akoddblogspeed @owner @target @speed"
  316. "on explode" ""
  317. }
  318. }
  319.  
  320.  
  321. "spawners"
  322. {
  323. // >>> Default RED spawner <<<
  324. "red"
  325. {
  326. // >>> Basic parameters <<<
  327. "max rockets" "1" // Max no. of rockets before the spawner can fire another.
  328. "interval" "1.0" // Minimum time between rocket fires.
  329.  
  330. // >>> Chances table <<<
  331. "New%" "100" // Chance to spawn a common rocket
  332. }
  333.  
  334. // >>> Default BLU spawner <<<
  335. "blu"
  336. {
  337. // >>> Basic parameters <<<
  338. "max rockets" "1" // Max no. of rockets before the spawner can fire another.
  339. "interval" "1.0" // Minimum time between rocket fires.
  340.  
  341. // >>> Chances table <<<
  342. "New%" "100" // Chance to spawn a common rocket
  343. }
  344. }
  345. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement