Can anyone help me with this code? I can't make the pipebomb explode in the stage c2m3_Coaster of L4D2:
PHP Code:
; =====================================================
; ========= PROMOD HUNTINGRIFLE REPLACEMENT =========
; =====================================================
; remove hr in end saferoom, replace possible hr spawns with other weapons
filter:
{
"weapon_selection" "any_sniper_rifle"
}
; =====================================================
; ============ PRO MOD ADDITIONAL MELEE ============
; =====================================================
add:
{
"classname" "weapon_melee_spawn"
"angles" "0 240 90"
"count" "1"
"disableshadows" "1"
"melee_weapon" "fireaxe"
"solid" "0"
"spawnflags" "2"
"origin" "-2537.91 2380.99 1.10389"
}
; =====================================================
; ============ PRO MOD PILL MODIFICATION ===========
; =====================================================
add:
{
"classname" "weapon_pain_pills_spawn"
"spawnflags" "2"
"origin" "-2474 1217 6"
"angles" "0 0 0"
}
{
"classname" "weapon_pain_pills_spawn"
"spawnflags" "2"
"origin" "-3553 1323 4"
"angles" "0 0 0"
}
modify:
{
match:
{
"model" "models/props_interiors/medicalcabinet02.mdl"
}
replace:
{
"HealthCount" "2"
}
}
; =====================================================
; ================ EXPLOITS BLOCKED =================
; =====================================================
add:
; --- block saferoom trigger bounds (fixes versus start before saferoom opened)
{
; invisible block inside saferoom door
"targetname" "block_versus_start_checkpoint"
"origin" "3865 2180 -54"
"mins" "-24 -254 0"
"maxs" "0 0 300"
"initialstate" "1"
"BlockType" "1"
"classname" "env_physics_blocker"
}
{
; invisible block along sign
"origin" "3888 2092 -54"
"mins" "-42 0 0"
"maxs" "0 49 300"
"initialstate" "1"
"BlockType" "1"
"classname" "env_physics_blocker"
}
; <remove block as soon as door is opened>
modify:
{
match:
{
"targetname" "checkpoint_exit"
}
insert:
{
"OnOpen" "block_versus_start_checkpointKill0-1"
}
}
add:
; --- block standing on window frame at bottom of ramp
{
; invisible block above window frame
"origin" "2808 1912 176"
"mins" "-120 -10 -64"
"maxs" "120 10 64"
"initialstate" "1"
"BlockType" "1"
"classname" "env_physics_blocker"
}
; --- block shipping boxes to prevent climbing/being punched up on them
{
; invisible block above shipping box near pallet
"origin" "-896 2241 459"
"mins" "-68 -200 -330"
"maxs" "68 196 330"
"initialstate" "1"
"BlockType" "1"
"classname" "env_physics_blocker"
}
{
; invisible block above shipping box in corner
"origin" "-728 592 384"
"mins" "-196 -68 -256"
"maxs" "196 68 256"
"initialstate" "1"
"BlockType" "1"
"classname" "env_physics_blocker"
}
{
; invisible block above shipping box by truck
"origin" "-1584 1616 398"
"mins" "-196 -68 -266"
"maxs" "196 68 266"
"initialstate" "1"
"BlockType" "1"
"classname" "env_physics_blocker"
}
; --- block door shutters to prevent zombie jumping/tank punch on top of
{
; invisible block above door shutter 1
"origin" "-780 1920 349"
"mins" "-12 -67 -205"
"maxs" "12 67 205"
"initialstate" "1"
"BlockType" "1"
"classname" "env_physics_blocker"
}
{
; invisible block above door shutter 2
"origin" "-780 1218 349"
"mins" "-12 -67 -205"
"maxs" "12 67 205"
"initialstate" "1"
"BlockType" "1"
"classname" "env_physics_blocker"
}
{
; invisible block above door shutter 3
"origin" "-1013 898 349"
"mins" "-12 -67 -205"
"maxs" "12 67 205"
"initialstate" "1"
"BlockType" "1"
"classname" "env_physics_blocker"
}
{
; invisible block above door shutter 4
"origin" "-1268 2305 467"
"mins" "-12 -196 -322"
"maxs" "12 196 322"
"initialstate" "1"
"BlockType" "1"
"classname" "env_physics_blocker"
}
{
; invisible block above door shutter 5
"origin" "-1804 1218 468"
"mins" "-12 -68 -324"
"maxs" "12 68 324"
"initialstate" "1"
"BlockType" "1"
"classname" "env_physics_blocker"
}
; --- roofing above coaster switch blocked on timer to prevent bhop/charged on top of
{
; invisible block wall in front of roof
"targetname" "coaster_skip_blocker"
"origin" "-2728 1839 458"
"mins" "-316 -3 -314"
"maxs" "316 3 314"
"initialstate" "1"
"BlockType" "1"
"classname" "env_physics_blocker"
}
{
; invisible block wall in corner adjacent
"targetname" "coaster_skip_blocker"
"origin" "-2422 1880 458"
"mins" "-6 -36 -314"
"maxs" "6 36 314"
"initialstate" "1"
"BlockType" "1"
"classname" "env_physics_blocker"
}
; <remove blocks after 27 seconds to allow backtracking>
modify:
{
match:
{
"targetname" "minifinale_button"
}
insert:
{
"OnPressed" "coaster_skip_blockerKill27-1"
}
}
add:
; --- zombie jump to skip coaster/panic event off switch
{
; invisible block around pillar (left)
"origin" "-3720 1144 96"
"mins" "-10 -10 -64"
"maxs" "10 10 64"
"initialstate" "1"
"BlockType" "1"
"classname" "env_physics_blocker"
}
{
; invisible block around pillar (center)
"origin" "-3720 1352 72"
"mins" "-10 -10 -56"
"maxs" "10 10 56"
"initialstate" "1"
"BlockType" "1"
"classname" "env_physics_blocker"
}
{
; invisible block around pillar (right)
"origin" "-3720 1768 77"
"mins" "-10 -10 -52"
"maxs" "10 10 52"
"initialstate" "1"
"BlockType" "1"
"classname" "env_physics_blocker"
}
; --- block skipping inside coaster section by climbing side of coaster
{
; invisible block on side of coaster 1
"origin" "-3920 2980 247"
"mins" "-80 -8 -118"
"maxs" "80 8 118"
"initialstate" "1"
"BlockType" "1"
"classname" "env_physics_blocker"
}
{
; invisible block on side of coaster 2
"origin" "-3794 2964 294"
"mins" "-30 -8 -162"
"maxs" "30 8 162"
"initialstate" "1"
"BlockType" "1"
"classname" "env_physics_blocker"
}
; --- block hang-lift and zombie jump on top of coaster tunnel
{
; invisible block above coaster tunnel entrance
"origin" "-3418 3460 652"
"mins" "-82 -92 -108"
"maxs" "82 92 108"
"initialstate" "1"
"BlockType" "1"
"classname" "env_physics_blocker"
}
{
; invisible block above coaster tunnel exit
"origin" "-3902 3052 652"
"mins" "-82 -108 -108"
"maxs" "82 108 108"
"initialstate" "1"
"BlockType" "1"
"classname" "env_physics_blocker"
}
; --- block shortcut over hedge after exiting tunnel
{
"origin" "-4240 2600 564"
"mins" "-16 -232 -396"
"maxs" "16 232 396"
"initialstate" "1"
"BlockType" "1"
"classname" "env_physics_blocker"
}
{
"origin" "-4168 2784 556"
"mins" "-56 -48 -404"
"maxs" "56 48 404"
"initialstate" "1"
"BlockType" "1"
"classname" "env_physics_blocker"
}
; --- exploit to get on roof of main coaster building with hang-lift
{
"origin" "-3596 1560 640"
"mins" "-108 -224 -320"
"maxs" "108 224 320"
"initialstate" "1"
"BlockType" "1"
"classname" "env_physics_blocker"
}
; --- block hang-leg-up on sign-roof near end
{
"origin" "-3600 2386 400"
"mins" "-612 -136 0"
"maxs" "0 0 200"
"initialstate" "1"
"BlockType" "1"
"classname" "env_physics_blocker"
}
; --- block stuck spot near some bushes under the coaster
{
"origin" "-3040 336 62"
"mins" "-103 -71 -98"
"maxs" "103 71 98"
"initialstate" "1"
"BlockType" "0"
"classname" "env_physics_blocker"
}
; --- block top of a hanging fence in the tunnel of love
{
"classname" "env_physics_blocker"
"angles" "-15 -15 0"
"BlockType" "1"
"maxs" "64 64 50"
"mins" "-64 -64 -50"
"boxmaxs" "64 64 50"
"boxmins" "-64 -64 -50"
"initialstate" "1"
"origin" "1662 3314 136"
}
; --- block a high tickrate shortcut in swan room
{
"origin" "224 4544 101"
"mins" "-33 -129 -12"
"maxs" "33 129 12"
"initialstate" "1"
"BlockType" "0"
"classname" "env_physics_blocker"
}
; --- block survivors getting punched onto swan room water tank
{
"origin" "677 4842 147"
"mins" "-27.5 -23 -155.5"
"maxs" "27.5 23 155.5"
"initialstate" "1"
"BlockType" "1"
"classname" "env_physics_blocker"
}
; --- block an exploit to skip the event by walking up the side of the coaster
{
"origin" "-2905 2678 194"
"mins" "-12 -75 -75"
"maxs" "12 75 75"
"initialstate" "1"
"BlockType" "1"
"classname" "env_physics_blocker"
}
; --- block unteleportably stuck spot in swan room and improve shelf clipping
{
"origin" "495 4099 44"
"mins" "-240.5 -38.5 -53.5"
"maxs" "240.5 38.5 53.5"
"initialstate" "1"
"BlockType" "0"
"classname" "env_physics_blocker"
}
; --- block survivors from getting on top of the shelves in the room after maintenence room
{
"origin" "-595 4290 208"
"mins" "-37.5 -177.5 -81"
"maxs" "37.5 177.5 81"
"initialstate" "1"
"BlockType" "0"
"classname" "env_physics_blocker"
}
; --- block a god spot underneath the first ramp of the coaster
{
"origin" "-2784 2606 104"
"mins" "-123 -8.5 -109"
"maxs" "123 8.5 109"
"initialstate" "1"
"BlockType" "1"
"classname" "env_physics_blocker"
}
; --- block another way onto the wooden supports of the coaster
{
"classname" "env_physics_blocker"
"angles" "0 45 0"
"BlockType" "1"
"mins" "-125 -8 -143.5"
"maxs" "125 8 143.5"
"boxmins" "-125 -8 -143.5"
"boxmaxs" "125 8 143.5"
"initialstate" "1"
"origin" "-2858.05 2916.95 127.5"
}
; --- block a way to skip the first half of the coaster
{
"origin" "-2865 1906 251"
"mins" "-4 -66 -122.5"
"maxs" "4 66 122.5"
"initialstate" "1"
"BlockType" "1"
"classname" "env_physics_blocker"
}
; --- block a way to skip the last half of the coaster
{
"origin" "-3848 1976 72"
"mins" "-10 -10 -72"
"maxs" "10 10 72"
"initialstate" "1"
"BlockType" "1"
"classname" "env_physics_blocker"
}
; --- block to replace Valve's clips of the bush jump exploit at the end
; --- of the coaster
{
"origin" "-4140 2136 366"
"mins" "-44 -152 -366"
"maxs" "44 152 366"
"initialstate" "1"
"BlockType" "1"
"classname" "env_physics_blocker"
}
{
"origin" "-4176 2136 366"
"mins" "-4 -152 -366"
"maxs" "4 152 366"
"initialstate" "1"
"BlockType" "1"
"classname" "env_physics_blocker"
}
; --- block the one way drop exploit to avoid falling down it fully
{
"origin" "352 3760 184"
"mins" "-6 -8 -23.5"
"maxs" "6 8 23.5"
"initialstate" "1"
"BlockType" "1"
"classname" "env_physics_blocker"
}
; --- Blocked a stuck spot near the event button building at the end of the map
{
"origin" "-3799 1100 82"
"mins" "-31 -36 -54"
"maxs" "31 36 54"
"initialstate" "1"
"BlockType" "0"
"classname" "env_physics_blocker"
}
; --- Blocked an exploit to skip the ramp drop choke on the coaster
{
"origin" "-2954 118 216"
"mins" "-2 -105.5 -96"
"maxs" "2 105.5 96"
"initialstate" "1"
"BlockType" "1"
"classname" "env_physics_blocker"
}
; =====================================================
; ================ NUISANCE CHANGES =================
; =====================================================
modify:
; --- change tank only breakable wall before one way drop to be breakable by all SI
{
match:
{
"targetname" "breakwall"
}
replace:
{
"BreakableType" "1"
}
}
add:
; --- improve clipping on swans
{
"origin" "379 4505 -26"
"mins" "-48.5 -46.5 -14"
"maxs" "48.5 46.5 14"
"initialstate" "1"
"BlockType" "0"
"classname" "env_physics_blocker"
}
{
"origin" "677 4180 4"
"mins" "-59.5 -44 -14.5"
"maxs" "59.5 44 14.5"
"initialstate" "1"
"BlockType" "0"
"classname" "env_physics_blocker"
}
{
"origin" "1156 4098 -31"
"mins" "-35.5 -45.5 -11.5"
"maxs" "35.5 45.5 11.5"
"initialstate" "1"
"BlockType" "0"
"classname" "env_physics_blocker"
}
{
"origin" "2803 1640 -27"
"mins" "-38 -29.5 -13"
"maxs" "38 29.5 13"
"initialstate" "1"
"BlockType" "0"
"classname" "env_physics_blocker"
}
{
"origin" "2342 1639 -27"
"mins" "-34.5 -30.5 -13"
"maxs" "34.5 30.5 13"
"initialstate" "1"
"BlockType" "0"
"classname" "env_physics_blocker"
}
{
"origin" "2127 1742 -28"
"mins" "-20 -35 -12"
"maxs" "20 35 12"
"initialstate" "1"
"BlockType" "0"
"classname" "env_physics_blocker"
}
{
"origin" "2158 1733 -28"
"mins" "-10.5 -19 -12"
"maxs" "10.5 19 12"
"initialstate" "1"
"BlockType" "0"
"classname" "env_physics_blocker"
}
{
"origin" "2023 1933 -28"
"mins" "-28 -35.5 -12.5"
"maxs" "28 35.5 12.5"
"initialstate" "1"
"BlockType" "0"
"classname" "env_physics_blocker"
}
{
"origin" "348 3757 -13"
"mins" "-10.5 -27 -17"
"maxs" "10.5 27 17"
"initialstate" "1"
"BlockType" "0"
"classname" "env_physics_blocker"
}
{
"origin" "374 3763 -13"
"mins" "-15.5 -32.5 -17"
"maxs" "15.5 32.5 17"
"initialstate" "1"
"BlockType" "0"
"classname" "env_physics_blocker"
}
{
"origin" "399 3763 -13"
"mins" "-9.5 -15.5 -17"
"maxs" "9.5 15.5 -17"
"initialstate" "1"
"BlockType" "0"
"classname" "env_physics_blocker"
}
; --- Make the coaster nonsolid and not damage anyone
modify:
{
match:
{
"model" "models/props_fairgrounds/coaster_car01.mdl"
}
replace:
{
"solid" "0"
}
}
filter:
{
"targetname" "coaster_damage_1"
}
{
"targetname" "coaster_damage_2"
}
{
"targetname" "coaster_damage_3"
}
{
"targetname" "coaster_damage_4"
}
; --- Add props to cover up invis walls valve added so it doesn't look like you get
; --- blocked by nothing
add:
{
"classname" "prop_dynamic"
"angles" "0 270 0"
"disableshadows" "1"
"model" "models/props_industrial/warehouse_shelf003.mdl"
"solid" "6"
"origin" "728 4136 121"
}
{
; clip for the shelf
"origin" "649 4099 225"
"mins" "-86 -38.5 -127"
"maxs" "86 38.5 127"
"initialstate" "1"
"BlockType" "1"
"classname" "env_physics_blocker"
}
{
"classname" "prop_dynamic"
"angles" "0 179.5 0"
"disableshadows" "1"
"model" "models/props_foliage/swamp_shrubwall_block_128_deep.mdl"
"solid" "6"
"origin" "-3176 209 -30.0883"
}
; =====================================================
add:
{
"classname" "prop_dynamic"
"angles" "0.0 180.0 0.0"
"disableshadows" "1"
"model" "models/props_urban/fence_cover001_128.mdl"
"rendercolor" "255 255 255"
"solid" "6"
"origin" "-2698 2029 -0.675446"
}
{
"classname" "prop_dynamic"
"angles" "0.0 165.0 0.0"
"disableshadows" "1"
"model" "models/props_urban/fence_cover001_128.mdl"
"rendercolor" "255 255 255"
"solid" "6"
"origin" "-2682 2155 -0.675446"
}
{
"classname" "prop_dynamic"
"angles" "0 0 0"
"disableshadows" "1"
"model" "models/props_rooftop/acvent04.mdl"
"rendercolor" "255 255 255"
"solid" "6"
"origin" "-1824.24 470.24 159.918"
}
{
"classname" "prop_dynamic"
"angles" "0 270 0"
"disableshadows" "1"
"model" "models/props_rooftop/acunit01.mdl"
"rendercolor" "255 255 255"
"solid" "6"
"origin" "-1816.59 2526.63 244.259"
}
{
"classname" "prop_dynamic"
"angles" "0 90 0"
"disableshadows" "1"
"model" "models/props_rooftop/acvent04.mdl"
"rendercolor" "255 255 255"
"solid" "6"
"origin" "-1680.24 2526.76 160.918"
}
{
"classname" "prop_dynamic"
"angles" "0 90 0"
"disableshadows" "1"
"model" "models/props_rooftop/acvent04.mdl"
"rendercolor" "255 255 255"
"solid" "6"
"origin" "-1680.24 2458.76 160.918"
}
{
"classname" "prop_dynamic"
"angles" "0 180 0"
"disableshadows" "1"
"model" "models/props_rooftop/acunit01.mdl"
"rendercolor" "255 255 255"
"solid" "6"
"origin" "-1825 605 231"
}
; =====================================================
; === Sky.cfg by: Electrik, JaneDoe, Visor, vintik ===
; =====================================================
add:
{
"classname" "logic_auto"
"OnMapSpawn" "sky_hint_glowaddoutputmins 0 0 00-1"
"OnMapSpawn" "sky_hint_glowaddoutputmaxs 58 0 1150-1"
"OnMapSpawn" "sky_hint_glowaddoutputsolid 20-1"
"OnMapSpawn" "sky_button_01addoutputmins -10 -10 -100-1"
"OnMapSpawn" "sky_button_01addoutputmaxs 10 10 100-1"
"OnMapSpawn" "sky_button_01addoutputsolid 20-1"
"OnMapSpawn" "sky_button_02addoutputmins -10 -10 -100-1"
"OnMapSpawn" "sky_button_02addoutputmaxs 10 10 100-1"
"OnMapSpawn" "sky_button_02addoutputsolid 20-1"
}
{
"classname" "func_timescale"
"minBlendRate" "2"
"desiredTimescale" "0.2"
"blendDeltaMultiplier" "3.0"
"acceleration" "0.05"
"targetname" "sky_timescale"
}
{
"classname" "color_correction"
"fadeInDuration" "1.0"
"fadeOutDuration" "2.0"
"filename" "materials/correction/el_timescale.raw"
"maxfalloff" "-1"
"maxweight" "0.9"
"minfalloff" "-1"
"spawnflags" "0"
"StartDisabled" "1"
"targetname" "sky_bt_colorcorrect"
}
{
"classname" "ambient_generic"
"health" "8"
"message" "player/heartbeatloop.wav"
"pitch" "100"
"pitchstart" "100"
"radius" "5555"
"spawnflags" "49"
"targetname" "sky_heart_sound"
"origin" "2799 1042 682"
}
{
"classname" "prop_dynamic"
"solid" "6"
"origin" "-473 1781 0"
"angles" "0 -53 0"
"model" "models/props/de_nuke/cinderblock_stack.mdl"
"disableshadows" "1"
}
{
"classname" "prop_dynamic"
"solid" "6"
"origin" "-443 2006 0"
"angles" "0 55 0"
"model" "models/props/de_prodigy/concretebags3.mdl"
"disableshadows" "1"
}
{
"classname" "prop_dynamic"
"glowcolor" "255 0 0"
"glowstate" "0"
"model" "models/w_models/weapons/w_eq_pipebomb.mdl"
"renderamt" "0"
"rendercolor" "255 255 255"
"rendermode" "1"
"solid" "0"
"spawnflags" "0"
"targetname" "sky_pipe_activate"
"origin" "-382.462 1919 38"
"disableshadows" "1"
}
{
"classname" "prop_dynamic"
"glowcolor" "0 255 0"
"glowstate" "0"
"angles" "0 93 0"
"model" "models/deadbodies/dead_male_civilian_body.mdl"
"solid" "6"
"origin" "-36 3543 -8"
"targetname" "sky_dead_body"
"disableshadows" "1"
}
{
"classname" "info_particle_system"
"effect_name" "weapon_grenadelauncher_dirt"
"targetname" "sky_particle_explode"
"origin" "-385 1885 72"
}
{
"classname" "info_particle_system"
"effect_name" "weapon_grenadelauncher_dirt"
"targetname" "sky_particle_explode"
"origin" "-385 1956 70"
}
{
"classname" "info_particle_system"
"effect_name" "weapon_grenadelauncher_dirt"
"targetname" "sky_particle_explode"
"origin" "-385 1876 21"
}
{
"classname" "info_particle_system"
"effect_name" "weapon_grenadelauncher_dirt"
"targetname" "sky_particle_explode"
"origin" "-384 1966 21"
}
{
"classname" "info_particle_system"
"effect_name" "weapon_grenadelauncher_dirt"
"targetname" "sky_particle_explode"
"origin" "-382.462 1919 38"
}
{
"classname" "info_particle_system"
"effect_name" "weapon_pipebomb_fuse"
"targetname" "sky_particle_fuse"
"origin" "-384 1920.7 45.8"
}
{
"classname" "ambient_generic"
"health" "10"
"message" "weapons/hegrenade/explode4.wav"
"pitch" "100"
"pitchstart" "100"
"radius" "5555"
"spawnflags" "49"
"targetname" "sky_exp_sound"
"origin" "-384 1920.7 45.8"
}
{
"classname" "ambient_generic"
"health" "9"
"message" "items/itempickup.wav"
"pitch" "100"
"pitchstart" "100"
"radius" "1000"
"spawnflags" "48"
"targetname" "sky_plant_sound"
"origin" "-384 1920.7 45.8"
}
{
"classname" "env_explosion"
"fireballsprite" "sprites/zerogxplode.spr"
"iMagnitude" "180"
"iRadiusOverride" "150"
"rendermode" "5"
"spawnflags" "1852"
"targetname" "sky_damage_explode"
"origin" "-382.462 1919 38"
}
{
"targetname" "sky_filter_survs"
"classname" "filter_activator_team"
"filterteam" "2"
"Negated" "0"
}
{
"classname" "env_instructor_hint"
"targetname" "sky_instructor_hint"
"hint_target" "sky_instructor_target"
"hint_caption" "Loot the corpse, it may have something useful!"
"hint_timeout" "0"
"hint_range" "5000"
"hint_auto_start" "0"
"hint_icon_onscreen" "icon_alert_red"
"hint_icon_offscreen" "icon_alert"
"hint_allow_nodraw_target" "1"
"hint_color" "255 255 255"
"hint_static" "0"
"hint_shakeoption" "0"
"hint_pulseoption" "0"
"hint_nooffscreen" "0"
"hint_icon_offset" "0"
"hint_forcecaption" "0"
"hint_alphaoption" "0"
"origin" "-36 3543 -8"
}
{
"classname" "info_target"
"targetname" "sky_instructor_target"
"spawnflags" "1"
"origin" "-36 3543 -8"
}
{
"classname" "env_instructor_hint"
"targetname" "sky_instructor_hint_plant"
"hint_target" "sky_instructor_plant_target"
"hint_caption" "Plant the bomb! Beware of explosions!"
"hint_timeout" "0"
"hint_range" "5000"
"hint_auto_start" "0"
"hint_icon_onscreen" "icon_skull"
"hint_icon_offscreen" "icon_alert"
"hint_allow_nodraw_target" "1"
"hint_color" "255 255 255"
"hint_static" "0"
"hint_shakeoption" "0"
"hint_pulseoption" "0"
"hint_nooffscreen" "0"
"hint_icon_offset" "0"
"hint_forcecaption" "0"
"hint_alphaoption" "0"
"origin" "-382.462 1919 38"
}
{
"classname" "info_target"
"targetname" "sky_instructor_plant_target"
"spawnflags" "1"
"origin" "-382.462 1919 38"
}
{
"classname" "point_template"
"spawnflags" "2"
"targetname" "sky_pipe_spawn"
"Template01" "sky_pipe_01"
}
{
"classname" "weapon_pipe_bomb"
"targetname" "sky_pipe_01"
"solid" "6"
"angles" "0 -7 89"
"origin" "-15 3546 -7"
}
{
"classname" "trigger_multiple"
"targetname" "sky_hint_glow"
"filtername" "sky_filter_survs"
"spawnflags" "1"
"startdisabled" "0"
"origin" "-117 3967 208"
"OnTrigger" "!activator,speakresponseconcept,PlayerLook,0,1"
"OnTrigger" "sky_dead_body,startglowing,,0,1"
"OnTrigger" "sky_pipe_activate,startglowing,,0,1"
"OnTrigger" "sky_instructor_hint,ShowHint,,0,-1"
"OnTrigger" "!self,Kill,,20,1"
}
{
"classname" "func_button"
"movedir" "0 0 0"
"origin" "-372 1919 40"
"spawnflags" "3073"
"speed" "5"
"targetname" "sky_button_01"
"OnPressed" "!activator,speakresponseconcept,Playerbackup,0,-1"
"OnPressed" "!Rochelle,speakresponseconcept,PlayerHurrah,6.2,-1"
"OnPressed" "director,BeginScript,sky_events_silent.nut,6.2,-1"
"OnPressed" "director,EndScript,sky_events_silent.nut,6.3,-1"
"OnPressed" "sky_plant_sound,PlaySound,,0,-1"
"OnPressed" "sky_pipe_activate,Alpha,255,0,-1"
"OnPressed" "sky_pipe_activate,StopGlowing,,0,-1"
"OnPressed" "sky_particle_fuse,Start,,0,-1"
"OnPressed" "sky_particle_fuse,Stop,,5,-1"
"OnPressed" "sky_breakwall,Break,,5,-1"
"OnPressed" "sky_particle_explode,Start,,5,-1"
"OnPressed" "sky_damage_explode,Explode,,5,-1"
"OnPressed" "sky_exp_sound,PlaySound,,5,-1"
; "OnPressed" "sky_timescale,Start,,4.8,-1"
; "OnPressed" "sky_timescale,Stop,,5.8,-1"
; "OnPressed" "sky_bt_colorcorrect,Enable,,4.8,-1"
; "OnPressed" "sky_bt_colorcorrect,Disable,,5.8,-1"
; "OnPressed" "sky_heart_sound,PlaySound,,5,-1"
; "OnPressed" "sky_heart_sound,FadeOut,4,5.8,-1"
"OnPressed" "sky_pipe_activate,kill,,5,-1"
"OnPressed" "InstanceAuto114-fx_extinguisher_spray,Start,,6.1,-1"
"OnPressed" "InstanceAuto114-steamsound8,PlaySound,,6.1,-1"
"OnPressed" "InstanceAuto114-steamsound8,FadeOut,3,12.1,-1"
"OnPressed" "sky_instructor_hint_plant,EndHint,,0,-1"
"OnPressed" "sky_instructor_hint_plant,Kill,,0.1,-1"
"OnPressed" "sky_pipe_01,Kill,,0,-1"
"OnPressed" "!self,Kill,,0.1,-1"
}
{
"classname" "func_button_timed"
"targetname" "sky_button_02"
"auto_disable" "1"
"origin" "-35 3543 2"
"spawnflags" "1025"
"use_string" "Search items"
"use_sub_string" "Search items"
"use_time" "3"
"OnTimeUp" "sky_dead_body,stopglowing,,0,-1"
"OnTimeUp" "sky_pipe_spawn,ForceSpawn,,0,-1"
"OnTimeUp" "sky_instructor_hint,EndHint,,0,-1"
"OnTimeUp" "sky_instructor_hint,Kill,,0.1,-1"
"OnTimeUp" "sky_instructor_hint_plant,ShowHint,,0.2,-1"
"OnTimeUp" "!self,Kill,,0.1,-1"
}
{
"classname" "prop_physics"
"targetname" "sky_breakwall"
"origin" "-388.09 1915 53"
"BreakableType" "2"
"model" "models/props_unique/zombiebreakwallexteriorairport01_main.mdl"
"renderamt" "255"
"rendercolor" "59 89 152"
"renderfx" "0"
"rendermode" "0"
"shadowcastdist" "0"
"skin" "0"
"spawnflags" "8"
"disableshadows" "1"
"OnBreak" "sky_instructor_hint,EndHint,,0,-1"
"OnBreak" "sky_instructor_hint,Kill,,0.1,-1"
"OnBreak" "sky_instructor_hint_plant,EndHint,,0,-1"
"OnBreak" "sky_instructor_hint_plant,Kill,,0.1,-1"
"OnBreak" "sky_pipe_activate,stopglowing,,0,-1"
"OnBreak" "sky_dead_body,stopglowing,,0,-1"
"OnBreak" "sky_door,SetBreakable,,0,-1"
"OnBreak" "sky_pipe_activate,Kill,,0,-1"
"OnBreak" "sky_pipe_01,Kill,,0,-1"
"OnBreak" "sky_button_01,Kill,,0,-1"
"OnBreak" "sky_button_02,Kill,,0,-1"
}
modify:
{
match:
{
"hammerid" "86322"
}
replace:
{
"spawnflags" "526336"
"spawnpos" "0"
}
insert:
{
"targetname" "sky_door"
}
}
; =====================================================
; ============ Sky.cfg: Weather Control ==============
; =====================================================
add:
{
"classname" "logic_auto"
"OnMapSpawn" "sky_weather_triggeraddoutputmaxs 150 0 3000-1"
"OnMapSpawn" "sky_weather_triggeraddoutputmins 0 0 00-1"
"OnMapSpawn" "sky_weather_triggeraddoutputsolid 20-1"
}
{
"classname" "info_particle_system"
"effect_name" "storm_cloud_lightning"
"targetname" "sky_cloud_particles"
"origin" "11744 7680 199.817"
}
{
"classname" "info_particle_system"
"effect_name" "storm_lightning_screenglow"
"targetname" "sky_storm_lightning_screen"
"origin" "11494 8168 162.817"
}
{
"classname" "info_particle_system"
"cpoint1" "sky_storm_target_01"
"effect_name" "storm_lightning_02"
"targetname" "sky_storm_lightning_01"
"origin" "11440 8040 344"
}
{
"classname" "info_particle_system"
"cpoint1" "sky_storm_target_02"
"effect_name" "storm_lightning_02"
"targetname" "sky_storm_lightning_02"
"origin" "11376 7931 376"
}
{
"classname" "info_particle_system"
"cpoint1" "sky_storm_target_03"
"effect_name" "storm_lightning_02"
"targetname" "sky_storm_lightning_03"
"origin" "11608 8016 366"
}
{
"classname" "info_particle_system"
"cpoint1" "sky_storm_target_04"
"effect_name" "storm_lightning_02"
"targetname" "sky_storm_lightning_04"
"origin" "11768 8168 339"
}
{
"classname" "info_particle_target"
"targetname" "sky_storm_target_01"
"origin" "11487 8064 129.817"
}
{
"classname" "info_particle_target"
"targetname" "sky_storm_target_02"
"origin" "11355 7912 129.817"
}
{
"classname" "info_particle_target"
"targetname" "sky_storm_target_03"
"origin" "11564 8090 129.817"
}
{
"classname" "info_particle_target"
"targetname" "sky_storm_target_04"
"origin" "11718 8120 129.817"
}
{
"classname" "ambient_generic"
"health" "7"
"message" "ambient/weather/thunderstorm/lightning_strike_1.wav"
"pitch" "100"
"pitchstart" "100"
"radius" "5555"
"spawnflags" "49"
"targetname" "sky_storm_sound_01"
"origin" "11584 8272 168.817"
}
{
"classname" "ambient_generic"
"health" "7"
"message" "ambient/weather/thunderstorm/lightning_strike_2.wav"
"pitch" "100"
"pitchstart" "100"
"radius" "5555"
"spawnflags" "49"
"targetname" "sky_storm_sound_02"
"origin" "11584 8272 168.817"
}
{
"classname" "ambient_generic"
"health" "7"
"message" "ambient/weather/thunderstorm/lightning_strike_3.wav"
"pitch" "100"
"pitchstart" "100"
"radius" "5555"
"spawnflags" "49"
"targetname" "sky_storm_sound_03"
"origin" "11584 8272 168.817"
}
{
"classname" "ambient_generic"
"health" "7"
"message" "ambient/weather/thunderstorm/lightning_strike_4.wav"
"pitch" "100"
"pitchstart" "100"
"radius" "5555"
"spawnflags" "49"
"targetname" "sky_storm_sound_04"
"origin" "11584 8272 168.817"
}
{
"classname" "ambient_generic"
"health" "9"
"message" "ambient/weather/crucial_rumble_rain_nowind.wav"
"pitch" "100"
"pitchstart" "100"
"radius" "5555"
"spawnflags" "49"
"targetname" "sky_rain_sound"
"origin" "-2745 1153 682"
}
{
"classname" "func_precipitation"
"targetname" "sky_rain"
"preciptype" "6"
"model" "*179"
"rendercolor" "31 34 52"
"minSpeed" "25"
"maxSpeed" "35"
"renderamt" "0"
}
{
"classname" "logic_versus_random"
"targetname" "sky_storm_case"
"OnRandom02" "sky_storm_random_timer,Kill,,0,-1"
"OnRandom01" "sky_storm_random_timer,Enable,,0,-1"
}
{
"classname" "logic_timer"
"targetname" "sky_storm_random_timer"
"UseRandomTime" "1"
"StartDisabled" "1"
"spawnflags" "0"
"LowerRandomBound" "5"
"UpperRandomBound" "10"
"OnTimer" "sky_storm_random_case,PickRandom,,0,-1"
"OnTimer" "sky_storm_lightning_screen,Start,,0,-1"
"OnTimer" "sky_storm_lightning_screen,Stop,,0.5,-1"
"OnTimer" "sky_cloud_particles,Start,,0,1"
}
{
"classname" "logic_case"
"targetname" "sky_storm_random_case"
"OnCase01" "sky_storm_lightning_01,Start,,0,-1"
"OnCase01" "sky_storm_lightning_01,Stop,,1,-1"
"OnCase01" "sky_storm_sound_01,PlaySound,,2.95,-1"
"OnCase02" "sky_storm_sound_02,PlaySound,,3.15,-1"
"OnCase02" "sky_storm_lightning_02,Stop,,1,-1"
"OnCase02" "sky_storm_lightning_02,Start,,0,-1"
"OnCase03" "sky_storm_sound_03,PlaySound,,2.85,-1"
"OnCase03" "sky_storm_lightning_03,Stop,,1,-1"
"OnCase03" "sky_storm_lightning_03,Start,,0,-1"
"OnCase04" "sky_storm_sound_04,PlaySound,,3.1,-1"
"OnCase04" "sky_storm_lightning_04,Stop,,1,-1"
"OnCase04" "sky_storm_lightning_04,Start,,0,-1"
}
{
"classname" "trigger_once"
"targetname" "sky_weather_trigger"
"filtername" "sky_filter_survs"
"spawnflags" "1"
"startdisabled" "0"
"origin" "-3498 2164 320"
"OnTrigger" "sky_weather_case,PickRandom,,1,-1"
}
{
"classname" "logic_versus_random"
"targetname" "sky_weather_case"
"OnRandom02" "sky_rain,Kill,,0,-1"
"OnRandom01" "sky_rain,Alpha,100,0,-1"
"OnRandom01" "sky_rain_sound,PlaySound,,0,-1"
"OnRandom01" "!activator,speakresponseconcept,_c4m1_rainresponse,0,-1"
}
modify:
{
match:
{
"hammerid" "1459820"
}
insert:
{
"OnTrigger" "sky_storm_case,PickRandom,,0,-1"
}
}