Tonblader

Untitled

Jun 23rd, 2020
86
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ; ===================== Proceso para Quemar la Barricada.
  2. add:
  3. {
  4. "classname" "logic_auto"
  5. "OnMultiNewRound" "@directorBeginScriptsky_scavenge_cans_cvars.nut0-1"
  6. "OnMapSpawn" "@directorBeginScriptsky_scavenge_cans_cvars.nut0-1"
  7. "OnMapSpawn" "sky_gascansTurnGlowsOff0-1"
  8. "OnMapSpawn" "sky_scavenge_carnivaladdoutputmins -25 -25 00-1"
  9. "OnMapSpawn" "sky_scavenge_carnivaladdoutputmaxs 300 300 1000-1"
  10. "OnMapSpawn" "sky_scavenge_carnivaladdoutputsolid 20-1"
  11. "OnMapSpawn" "sky_objects_glowingaddoutputmins -25 -25 00-1"
  12. "OnMapSpawn" "sky_objects_glowingaddoutputmaxs 300 300 1000-1"
  13. "OnMapSpawn" "sky_objects_glowingaddoutputsolid 20-1"
  14. "OnMapSpawn" "sky_ragdoll_stress_serveraddoutputmins -200 -200 00-1"
  15. "OnMapSpawn" "sky_ragdoll_stress_serveraddoutputmaxs 10 10 1000-1"
  16. "OnMapSpawn" "sky_ragdoll_stress_serveraddoutputsolid 20-1"
  17. }
  18. {
  19. "classname" "point_servercommand"
  20. "targetname" "sky_servercommander"
  21. }
  22. {
  23. "classname" "func_timescale"
  24. "minBlendRate" "2"
  25. "desiredTimescale" "0.2"
  26. "blendDeltaMultiplier" "3.0"
  27. "acceleration" "0.05"
  28. "targetname" "sky_timescale"
  29. }
  30. ; ===================== Bloque Invisible en la Barricada para que no pasen los supervivientes.
  31. {
  32. "origin" "-3529.346679 2950.977294 -270.548461"
  33. "angles" "0 0.000001 0"
  34. "maxs" "0 132.618164 170"
  35. "mins" "-20 -0 -0"
  36. "boxmaxs" "0 132.618164 170"
  37. "boxmins" "-20 -0 -0"
  38. "initialstate" "1"
  39. "BlockType" "1"
  40. "classname" "env_physics_blocker"
  41. "targetname" "sky_invisible_block_surv"
  42. }
  43. ; ===================== Bloque Invisible cerca a la Barricada para que no tiren las latas en sitios inalcanzables.
  44.  
  45. ; ===================== Correcion de Colores
  46. {
  47. "classname" "color_correction"
  48. "fadeInDuration" "1.0"
  49. "fadeOutDuration" "2.0"
  50. "filename" "materials/correction/el_timescale.raw"
  51. "maxfalloff" "-1"
  52. "maxweight" "0.9"
  53. "minfalloff" "-1"
  54. "spawnflags" "0"
  55. "StartDisabled" "1"
  56. "targetname" "sky_bt_colorcorrect"
  57. }
  58.  
  59. ; ===================== Latas de Gasolinas: Ubicacion y Angulos es Obligatorio Agregar la Cantidad de Latas Maximas en la opcion "max" (esta mas abajo). [ Angulo Y: https://bit.ly/2MLm9kp ]
  60.  
  61. {
  62. "classname" "weapon_scavenge_item_spawn"
  63. "targetname" "sky_gascans"
  64. "origin" "-4281.34 2881.28 -245.03"
  65. "angles" "0.00 135.00 0.00"
  66. "spawnflags" "2"
  67. "solid" "6"
  68. "glowstate" "0"
  69. }
  70. {
  71. "classname" "weapon_scavenge_item_spawn"
  72. "targetname" "sky_gascans"
  73. "origin" "-4279.41 3423.52 -245.03"
  74. "angles" "0.00 45.00 0.00"
  75. "spawnflags" "2"
  76. "solid" "6"
  77. "glowstate" "0"
  78. }
  79. {
  80. "classname" "weapon_scavenge_item_spawn"
  81. "targetname" "sky_gascans"
  82. "origin" "-3559.27 3420.81 -245.06"
  83. "angles" "0.00 45.00 0.00"
  84. "spawnflags" "2"
  85. "solid" "6"
  86. "glowstate" "0"
  87. }
  88. {
  89. "classname" "weapon_scavenge_item_spawn"
  90. "targetname" "sky_gascans"
  91. "origin" "-3843.91 3238.87 -121.70"
  92. "angles" "0.00 60.00 0.00"
  93. "spawnflags" "2"
  94. "solid" "6"
  95. "glowstate" "0"
  96. }
  97. {
  98. "classname" "weapon_scavenge_item_spawn"
  99. "targetname" "sky_gascans"
  100. "origin" "-3563.19 3134.92 -252.50"
  101. "angles" "-89.97 93.59 180.00"
  102. "spawnflags" "2"
  103. "solid" "6"
  104. "glowstate" "0"
  105. }
  106. {
  107. "classname" "weapon_scavenge_item_spawn"
  108. "targetname" "sky_gascans"
  109. "origin" "-3551.55 3132.87 -245.04"
  110. "angles" "0.49 -4.89 -0.31"
  111. "spawnflags" "2"
  112. "solid" "6"
  113. "glowstate" "0"
  114. }
  115. {
  116. "classname" "weapon_scavenge_item_spawn"
  117. "targetname" "sky_gascans"
  118. "origin" "-4000.19 3234.65 -121.71"
  119. "angles" "0.00 135.00 0.00"
  120. "spawnflags" "2"
  121. "solid" "6"
  122. "glowstate" "0"
  123. }
  124. {
  125. "classname" "weapon_scavenge_item_spawn"
  126. "targetname" "sky_gascans"
  127. "origin" "-3983.59 2704.64 -161.02"
  128. "angles" "0.00 6.52 0.25"
  129. "spawnflags" "2"
  130. "solid" "6"
  131. "glowstate" "0"
  132. }
  133. {
  134. "classname" "weapon_scavenge_item_spawn"
  135. "targetname" "sky_gascans"
  136. "origin" "-3614.80 2753.06 -245.04"
  137. "angles" "-0.32 -10.37 0.00"
  138. "spawnflags" "2"
  139. "solid" "6"
  140. "glowstate" "0"
  141. }
  142. {
  143. "classname" "weapon_scavenge_item_spawn"
  144. "targetname" "sky_gascans"
  145. "origin" "-3638.07 2740.59 -252.51"
  146. "angles" "-89.60 -134.26 -127.34"
  147. "spawnflags" "2"
  148. "solid" "6"
  149. "glowstate" "0"
  150. }
  151. {
  152. "classname" "weapon_scavenge_item_spawn"
  153. "targetname" "sky_gascans"
  154. "origin" "-3452.78 2512.23 -139.29"
  155. "angles" "15.17 -5.66 17.58"
  156. "spawnflags" "2"
  157. "solid" "6"
  158. "glowstate" "0"
  159. }
  160. {
  161. "classname" "weapon_scavenge_item_spawn"
  162. "targetname" "sky_gascans"
  163. "origin" "-3263.22 2496.83 -245.07"
  164. "angles" "0.00 -63.87 0.33"
  165. "spawnflags" "2"
  166. "solid" "6"
  167. "glowstate" "0"
  168. }
  169. {
  170. "classname" "weapon_scavenge_item_spawn"
  171. "targetname" "sky_gascans"
  172. "origin" "-3265.85 2480.03 -252.43"
  173. "angles" "89.75 162.38 -13.45"
  174. "spawnflags" "2"
  175. "solid" "6"
  176. "glowstate" "0"
  177. }
  178. {
  179. "classname" "weapon_scavenge_item_spawn"
  180. "targetname" "sky_gascans"
  181. "origin" "-3062.81 2479.91 -245.06"
  182. "angles" "0.00 45.00 0.00"
  183. "spawnflags" "2"
  184. "solid" "6"
  185. "glowstate" "0"
  186. }
  187. {
  188. "classname" "weapon_scavenge_item_spawn"
  189. "targetname" "sky_gascans"
  190. "origin" "-2907.61 2307.14 -245.08"
  191. "angles" "0.00 230.00 0.00"
  192. "spawnflags" "2"
  193. "solid" "6"
  194. "glowstate" "0"
  195. }
  196. {
  197. "classname" "weapon_scavenge_item_spawn"
  198. "targetname" "sky_gascans"
  199. "origin" "-2994.74 1754.28 -245.05"
  200. "angles" "0.00 -135.00 0.00"
  201. "spawnflags" "2"
  202. "solid" "6"
  203. "glowstate" "0"
  204. }
  205. {
  206. "classname" "weapon_scavenge_item_spawn"
  207. "targetname" "sky_gascans"
  208. "origin" "-2975.12 1759.97 -252.50"
  209. "angles" "-89.41 122.38 -170.00"
  210. "spawnflags" "2"
  211. "solid" "6"
  212. "glowstate" "0"
  213. }
  214. {
  215. "classname" "weapon_scavenge_item_spawn"
  216. "targetname" "sky_gascans"
  217. "origin" "-2527.66 2004.19 -245.06"
  218. "angles" "0.00 -18.74 0.24"
  219. "spawnflags" "2"
  220. "solid" "6"
  221. "glowstate" "0"
  222. }
  223. {
  224. "classname" "weapon_scavenge_item_spawn"
  225. "targetname" "sky_gascans"
  226. "origin" "-2452.35 2287.68 -245.03"
  227. "angles" "0.00 45.00 0.00"
  228. "spawnflags" "2"
  229. "solid" "6"
  230. "glowstate" "0"
  231. }
  232. {
  233. "classname" "weapon_scavenge_item_spawn"
  234. "targetname" "sky_gascans"
  235. "origin" "-2369.14 2089.90 -212.81"
  236. "angles" "0.00 -45.00 0.00"
  237. "spawnflags" "2"
  238. "solid" "6"
  239. "glowstate" "0"
  240. }
  241.  
  242. ; ===================== Evento Activador: Aparece Brillo de las Latas y Contador de Latas
  243. {
  244. "classname" "trigger_multiple"
  245. "targetname" "sky_objects_glowing"
  246. "filtername" "sky_filter_survs"
  247. "spawnflags" "1"
  248. "startdisabled" "0"
  249. "origin" "-3598.582519 3013.984375 -255.965454"
  250. "OnTrigger" "sky_cotton_candy_spawn,ForceSpawn,,0,1"
  251. "OnTrigger" "sky_cotton_candy_gate,startglowing,,0,1"
  252. "OnTrigger" "sky_cotton_candy_gate,stopglowing,,10,1"
  253. "OnTrigger" "!self,Kill,,20,1"
  254. }
  255. {
  256. "classname" "trigger_multiple"
  257. "targetname" "sky_scavenge_carnival"
  258. "filtername" "sky_filter_survs"
  259. "spawnflags" "1"
  260. "startdisabled" "0"
  261. "origin" "-3598.582519 3013.984375 -255.965454"
  262. "OnTrigger" "!Rochelle,speakresponseconcept,_c4m1Intro10,0,1"
  263. "OnTrigger" "sky_scavenge_display,TurnOn,,0,1"
  264. "OnTrigger" "sky_gascans,TurnGlowsOn,,0,1"
  265. "OnTrigger" "sky_burn_barricade,startglowing,,0,1"
  266. "OnTrigger" "!self,Kill,,20,1"
  267. }
  268. ; ===================== Evento Latas de Gasolina: Sitio donde podran ser llenadas, para colocarlo debes pegarte adelante de la barricada y colocar el origen ahi.
  269. {
  270. "classname" "point_prop_use_target"
  271. "nozzle" "sky_burn_barricade"
  272. "origin" "-3565.377929 3012.331298 -255.968750"
  273. "angles" "30 0 0"
  274. "spawnflags" "1"
  275. "targetname" "sky_gas_target"
  276. "OnUseFinished" "sky_gas_counter,Add,1,0,-1"
  277. "OnUseFinished" "sky_servercommander,command,sm_add_canister_points 12,0,6"
  278. }
  279. ; ===================== Cantidad Maxima de Gasolinas en el Contador
  280. {
  281. "classname" "game_scavenge_progress_display"
  282. "targetname" "sky_scavenge_display"
  283. "max" "20"
  284. }
  285. {
  286. "classname" "math_counter"
  287. "max" "20"
  288. "targetname" "sky_gas_counter"
  289. "OnHitMax" "sky_relay_barricade,Trigger,,0,-1"
  290. }
  291. {
  292. "classname" "logic_relay"
  293. "targetname" "sky_relay_barricade"
  294. "OnTrigger" "!Rochelle,speakresponseconcept,PlayerMoveOn,70,-1"
  295. "OnTrigger" "director,BeginScript,sky_event_c3m2_swamp.nut,0,-1"
  296. "OnTrigger" "director,EndScript,sky_event_c3m2_swamp.nut,45,-1"
  297. "OnTrigger" "sky_scavenge_display,TurnOff,,0,-1"
  298. "OnTrigger" "sky_burn_barricade,stopglowing,,0,-1"
  299. "OnTrigger" "sky_burn_barricade,DisableCollision,,0,-1"
  300. "OnTrigger" "sky_fire_barricade_1,Start,,0,-1"
  301. "OnTrigger" "sky_fire_barricade_2,Start,,38,-1"
  302. "OnTrigger" "sky_fire_barricade_1,Stop,,70,-1"
  303. "OnTrigger" "sky_fire_barricade_2,Stop,,70,-1"
  304. "OnTrigger" "sky_barricade_sound,PlaySound,,0,-1"
  305. "OnTrigger" "sky_barricade_sound,FadeOut,1,66,-1"
  306. "OnTrigger" "sky_phy_clip,kill,,0,-1"
  307. "OnTrigger" "sky_gas_target,Kill,,0,-1"
  308. "OnTrigger" "sky_invisible_block,kill,,0,-1"
  309. "OnTrigger" "sky_burn_barricade,kill,,25,-1"
  310. "OnTrigger" "sky_burn_barricade1,kill,,50,-1"
  311. "OnTrigger" "sky_burn_barricade2,kill,,70,-1"
  312. "OnTrigger" "sky_charger_block,Kill,,70,-1"
  313. "OnTrigger" "sky_invisible_block_surv,kill,,70,-1"
  314. }
  315. ; =====================Posicion de la Barricada (Todo lo demas debe tener la misma posicion)
  316. {
  317. "classname" "info_particle_system"
  318. "effect_name" "barricade_fire"
  319. "targetname" "sky_fire_barricade_1"
  320. "angles" "0 270 0"
  321. "origin" "-3543.84 3011.41 -255.96"
  322. }
  323. {
  324. "classname" "info_particle_system"
  325. "effect_name" "fire_medium_03"
  326. "targetname" "sky_fire_barricade_1"
  327. "origin" "-3543.84 3011.41 -255.96"
  328. }
  329. {
  330. "classname" "info_particle_system"
  331. "effect_name" "barricade_fire"
  332. "targetname" "sky_fire_barricade_2"
  333. "angles" "0 270 0"
  334. "origin" "-3543.84 3011.41 -255.96"
  335. }
  336. {
  337. "classname" "ambient_generic"
  338. "health" "9"
  339. "message" "ambient/fire/fire_med_loop1.wav"
  340. "pitch" "100"
  341. "pitchstart" "100"
  342. "radius" "4000"
  343. "spawnflags" "48"
  344. "targetname" "sky_barricade_sound"
  345. "origin" "-3543.84 3011.41 -255.96"
  346. }
  347. {
  348. "classname" "prop_dynamic"
  349. "targetname" "sky_burn_barricade"
  350. "glowcolor" "255 0 0"
  351. "glowstate" "0"
  352. "glowrange" "1500"
  353. "solid" "0"
  354. "model" "models/props_unique/wooden_barricade.mdl"
  355. "angles" "0 270 0"
  356. "origin" "-3543.84 3011.41 -255.96"
  357. "disableshadows" "1"
  358. }
  359. {
  360. "classname" "prop_dynamic"
  361. "targetname" "sky_burn_barricade1"
  362. "solid" "0"
  363. "model" "models/props_unique/wooden_barricade_break1.mdl"
  364. "angles" "0 270 0"
  365. "origin" "-3543.84 3011.41 -255.96"
  366. "disableshadows" "1"
  367. }
  368. {
  369. "classname" "prop_dynamic"
  370. "targetname" "sky_burn_barricade2"
  371. "solid" "0"
  372. "model" "models/props_unique/wooden_barricade_break2.mdl"
  373. "angles" "0 270 0"
  374. "origin" "-3543.84 3011.41 -255.96"
  375. "disableshadows" "1"
  376. }
  377. {
  378. "classname" "prop_dynamic"
  379. "targetname" "sky_burn_barricade3"
  380. "solid" "0"
  381. "model" "models/props_unique/wooden_barricade_break3.mdl"
  382. "angles" "0 270 0"
  383. "origin" "-3543.84 3011.41 -255.96"
  384. "disableshadows" "1"
  385. }
  386. ; ===================== No Modificar
  387. {
  388. "targetname" "sky_filter_survs"
  389. "classname" "filter_activator_team"
  390. "filterteam" "2"
  391. "Negated" "0"
  392. }
  393. modify:
  394. {
  395. match:
  396. {
  397. "hammerid" "86322"
  398. }
  399. replace:
  400. {
  401. "spawnflags" "526336"
  402. "spawnpos" "0"
  403. }
  404. insert:
  405. {
  406. "targetname" "sky_door"
  407. }
  408. }
RAW Paste Data