From 339aa29851269f0ffb2b6398f5ac6504606ba759 Mon Sep 17 00:00:00 2001 From: Aiden <48006618+AidenVii@users.noreply.github.com> Date: Sat, 20 Jul 2024 06:19:15 +0800 Subject: [PATCH] [stripper support] full balance modify [city 17] (#787) * [c4m3] adjust postion of elevt trigger area avoid svv from being locked out of the elevator the moment it closes * [stripper support] for [city 17] for detail : https://github.com/AidenVii/Aiden_ZM_Custom_Maps_Moddify/wiki/City-17 --- cfg/cfgogl/zonemod/mapinfo.txt | 6 + cfg/stripper/zonemod/maps/l4d2_city17_01.cfg | 420 ++++++++++ cfg/stripper/zonemod/maps/l4d2_city17_02.cfg | 448 +++++++++++ cfg/stripper/zonemod/maps/l4d2_city17_03.cfg | 644 +++++++++++++++ cfg/stripper/zonemod/maps/l4d2_city17_04.cfg | 734 ++++++++++++++++++ cfg/stripper/zonemod/maps/l4d2_city17_05.cfg | 319 ++++++++ .../vscripts/l4d2_city17_05_finale_rework.nut | 45 ++ 7 files changed, 2616 insertions(+) create mode 100644 cfg/stripper/zonemod/maps/l4d2_city17_01.cfg create mode 100644 cfg/stripper/zonemod/maps/l4d2_city17_02.cfg create mode 100644 cfg/stripper/zonemod/maps/l4d2_city17_03.cfg create mode 100644 cfg/stripper/zonemod/maps/l4d2_city17_04.cfg create mode 100644 cfg/stripper/zonemod/maps/l4d2_city17_05.cfg create mode 100644 scripts/vscripts/l4d2_city17_05_finale_rework.nut diff --git a/cfg/cfgogl/zonemod/mapinfo.txt b/cfg/cfgogl/zonemod/mapinfo.txt index d35e43706..f34849284 100644 --- a/cfg/cfgogl/zonemod/mapinfo.txt +++ b/cfg/cfgogl/zonemod/mapinfo.txt @@ -1478,6 +1478,11 @@ "start_extra_dist" "248.606247" "end_point" "-8148.830078 5653.411133 34.031250" "end_dist" "167.384216" + + "ItemLimits" + { + "pain_pills" "3" + } "tank_ban_flow" { "1" @@ -1494,6 +1499,7 @@ "start_extra_dist" "103.749420" "end_point" "12230.234375 8827.060547 -551.968750" "end_dist" "2195.812500" + "max_distance" "700" "ItemLimits" { "pain_pills" "0" diff --git a/cfg/stripper/zonemod/maps/l4d2_city17_01.cfg b/cfg/stripper/zonemod/maps/l4d2_city17_01.cfg new file mode 100644 index 000000000..55900f52c --- /dev/null +++ b/cfg/stripper/zonemod/maps/l4d2_city17_01.cfg @@ -0,0 +1,420 @@ + +; ===================================================== +; ================= (v3) stripper by 锋锋(Aiden) +; ============ [l4d2_city17_01] [m1/5] [city 17] +; ===================================================== + +; ############ DIRECTOR AND EVENT CHANGES ########### +; ===================================================== +; == DIRECTOR & EVENT MODIFICATION == +; == Modify director behaviour and events == +; ===================================================== + +; --- block the nav under new van car 阻挡面包车下的导航流 +;add: +;{ +; "classname" "logic_auto" +; "OnMapSpawn" "nb_van01,Blocknav,,5,-1" +;} +;{ +; "classname" "script_nav_blocker" +; "angles" "0 0 0" +; "maxs" "-400 -40 -64" +; "mins" "0 0 0" +; "extent" "160 20 64" +; "targetname" "nb_van01" +; "teamToBlock" "-1" +; "origin" "4128 -5044 -116" +;} + +; ################ ITEM SPAWN CHANGES ############### +; ===================================================== +; == PILL / ITEM / WEAPON SPAWNS == +; == Remove or change pill, item & weapon spawns == +; ===================================================== + +; ---- remove too random pills 删除太随机的药 +filter: +{ + "classname" "weapon_item_spawn" + "item4" "1" +} +filter: +{ + "hammerid" "54540" +} + +; ---- add obvious pills 加固定的药 +add: +; -- alarmcar 警报车附近 +{ + "classname" "weapon_pain_pills_spawn" + "angles" "0 0 0" + "spawnflags" "2" + "origin" "4348 480 -82" +} + +; ===================================================== +; == STATIC AMMO PILES == +; == Add or modify ammo pile spawns == +; ===================================================== + +; ===================================================== +; == HITTABLE CHANGES == +; == Add/remove/modify hittables == +; ===================================================== + +; --- remove the white car near alarmcar 移除警报车旁边的白色车铁 +filter: +{ + "targetname" "car4" +} +filter: +{ + "parentname" "car4" +} + + +; ############# MAP CLIPPING AND ISSUES ############# +; ===================================================== +; == EXPLOITS BLOCKED == +; == Block intentionally performed exploits == +; ===================================================== + +; ===================================================== +; == OUT OF BOUNDS == +; == Block players getting outside / under the map == +; ===================================================== + +; ===================================================== +; == STUCK SPOTS == +; == Prevent players from getting stuck in the map == +; ===================================================== + +; --- remove a bad door cause stuck 移除一个会导致卡住的门 +filter: +{ +;"classname" "prop_door_rotating" +"origin" "3613 1540 192.306" +} + +; --- block the leak of subway 用木板阻挡地铁的间隙 +add: +{ + "classname" "prop_dynamic" + "origin" "4188 -432 108" + "angles" "32 0 0" + "solid" "6" + "rendercolor" "255 255 255" + "model" "models/props_update/plywood_128.mdl" + "disableshadows" "1" +} +{ + "classname" "prop_dynamic" + "origin" "4312 -428 56" + "angles" "16 0 0" + "solid" "6" + "rendercolor" "255 255 255" + "model" "models/props_update/plywood_128.mdl" + "disableshadows" "1" +} +{ + "classname" "prop_dynamic" + "origin" "4084 -432 96" + "angles" "-43 0 0" + "solid" "6" + "rendercolor" "255 255 255" + "model" "models/props_update/plywood_128.mdl" + "disableshadows" "1" +} + + +; ===================================================== +; == NUISANCE CHANGES == +; == Clipping improvements, QOL map changes == +; ===================================================== + + +; ########### ADDITIONAL PROPS AND SPAWNS ########### +; ===================================================== +; == PROPS == +; == New props for balance and SI spawns == +; ===================================================== + +; --- add van car/fence/barricade at saferoom 在安全屋添加面包车/围栏 +add: +{ + "classname" "prop_dynamic" + "origin" "4048 -5048 -128" + "angles" "0 90 0" + "solid" "6" + "rendercolor" "255 255 255" + "model" "models/props_urban/fence_gate001_256.mdl" + "disableshadows" "1" +} +{ + "classname" "prop_dynamic" + "origin" "4168 -5092 -124" + "angles" "0 270 0" + "solid" "6" + "rendercolor" "255 255 255" + "model" "models/props_vehicles/van.mdl" + "disableshadows" "1" +} +{ + "classname" "prop_dynamic" + "origin" "4168 -5092 -124" + "angles" "0 270 0" + "solid" "6" + "rendercolor" "255 255 255" + "model" "models/props_vehicles/van_glass.mdl" + "disableshadows" "1" +} + +{ + "classname" "prop_dynamic" + "origin" "3804 -5228 -124" + "angles" "0 54 0" + "solid" "6" + "rendercolor" "255 255 255" + "model" "models/props_fortifications/police_barrier001_128_reference.mdl" + "disableshadows" "1" +} + +{ + "classname" "env_player_blocker" + "BlockType" "1" + "initialstate" "1" + "maxs" "220 80 80" + "mins" "-8 -12 -80" + "targetname" "eb_van01" + "origin" "4060 -5128 -44" +} + + +; --- Block LOS of van car/army car 适配面包车和军车的视线遮挡 +add: +{ + "classname" "logic_auto" + "OnMapSpawn" "losfix_van01,AddOutput,mins -4 0 -40,0,-1" + "OnMapSpawn" "losfix_van01,AddOutput,maxs 220 60 0,0,-1" + "OnMapSpawn" "losfix_van01,AddOutput,solid 2,0,-1" + + "OnMapSpawn" "losfix_van02,AddOutput,mins -20 0 -80,-1" + "OnMapSpawn" "losfix_van02,AddOutput,maxs 20 72 0,0,-1" + "OnMapSpawn" "losfix_van02,AddOutput,solid 2,0,-1" + + "OnMapSpawn" "losfix_armycar01,AddOutput,mins -20 0 -80,0,-1" + "OnMapSpawn" "losfix_armycar01,AddOutput,maxs 20 72 0,0,-1" + "OnMapSpawn" "losfix_armycar01,AddOutput,solid 2,0,-1" +} +{ + "classname" "func_brush" + "origin" "4060 -5112 -72" + "targetname" "losfix_van01" +} +{ + "classname" "func_brush" + "origin" "3864 -4460 -44" + "targetname" "losfix_van02" +} +{ + "classname" "func_brush" + "origin" "4188 -4500 -44" + "targetname" "losfix_armycar01" +} + +; --- add tips for static model 静态模型卡头提示 +add: +{ + "classname" "prop_dynamic" + "origin" "4168 -5056 32" + "angles" "0 0 0" + "solid" "0" + "rendercolor" "255 255 255" + "model" "models/props_misc/wrongway_sign01.mdl" + "disableshadows" "1" +} +{ + "classname" "prop_dynamic" + "origin" "4152 -5056 32" + "angles" "0 180 0" + "solid" "0" + "rendercolor" "255 255 255" + "model" "models/props_misc/wrongway_sign01.mdl" + "disableshadows" "1" +} +{ + "classname" "prop_dynamic" + "origin" "4160 -5064 32" + "angles" "0 270 0" + "solid" "0" + "rendercolor" "255 255 255" + "model" "models/props_misc/wrongway_sign01.mdl" + "disableshadows" "1" +} +{ + "classname" "prop_dynamic" + "origin" "4160 -5048 32" + "angles" "0 90 0" + "solid" "0" + "rendercolor" "255 255 255" + "model" "models/props_misc/wrongway_sign01.mdl" + "disableshadows" "1" +} + + +; --- add box/rocks after saferoom help Si 出门后添加箱子和石块特感复活位 +add: +{ + "classname" "prop_dynamic" + "origin" "4232 -4824 -124" + "angles" "0 6 0" + "solid" "6" + "rendercolor" "255 255 255" + "model" "models/props/de_nuke/crate_extralarge.mdl" + "disableshadows" "1" +} +{ + "classname" "prop_dynamic" + "origin" "3752 -3896 -80" + "angles" "0 105 0" + "solid" "6" + "rendercolor" "255 255 255" + "model" "models/props_debris/barricade_tall03a.mdl" + "disableshadows" "1" +} + + +; --- add barrel round 1st door help SVv 在第一个门附近添加一个路障帮助处理室内克 +{ + "classname" "prop_dynamic" + "origin" "4428 -2440 -120" + "angles" "0 0 0" + "solid" "6" + "rendercolor" "255 255 255" + "model" "models/props_fairgrounds/traffic_barrel.mdl" + "disableshadows" "1" +} + +; --- add 3 barrier round alarmcar help Svv do tank fight +; --- 在警报车附近添加3个路障栏杆 +add: +{ + "classname" "prop_dynamic" + "targetname" "alarmcar_barrels" + "origin" "4420 68 -124" + "angles" "0 114 0" + "solid" "6" + "rendercolor" "255 255 255" + "model" "models/props_fortifications/police_barrier001_128_reference.mdl" + "disableshadows" "1" +} +{ + "classname" "prop_dynamic" + "targetname" "alarmcar_barrels" + "origin" "4096 216 -124" + "angles" "0 84 0" + "solid" "6" + "rendercolor" "255 255 255" + "model" "models/props_fortifications/police_barrier001_128_reference.mdl" + "disableshadows" "1" +} +{ + "classname" "prop_dynamic" + "targetname" "alarmcar_barrels" + "origin" "4460 1624 -124" + "angles" "0 114 0" + "solid" "6" + "rendercolor" "255 255 255" + "model" "models/props_fortifications/police_barrier001_128_reference.mdl" + "disableshadows" "1" +} + + +; ===================================================== +; == LADDER / ELEVATOR NERF == +; == Nerf ladder & elevator attacks for infected == +; ===================================================== + + +; ############ MAP SOUND AND GFX CHANGES ############ +; ===================================================== +; == SOUND REMOVAL == +; == Remove or adjust sounds played by the map == +; ===================================================== + +; ===================================================== +; == GFX / PARTICLES REMOVAL == +; == Remove visual effects from the map == +; ===================================================== + +; --- reduce the damge of a fire round saferoom 降低一个出门火的伤害 + +modify: +{ + match: + { + "hammerid" "2838" + } + replace: + { + "damagescale" "1" + } +} + +; ############### TRIGGERS AND BRUSHES ############## +; ===================================================== +; == CLIP REMOVAL == +; == Remove miscellaneous clips and brushes == +; ===================================================== + +; ===================================================== +; == TRIGGER REMOVAL / FIX == +; == Fix triggers that interfere with gameplay == +; ===================================================== + +; --- remove a ragdoll 移除一个布娃娃 + +filter: +{ + ;prop_ragdoll + "targetname" "lolcorpse1" +} + +; ############# LADDER CHANGES AND FIXES ############ +; ===================================================== +; == LADDER ADDITIONS / FIXES == +; == Add or change ladders == +; ===================================================== + +;subway top 地铁顶部 +add: +{ + "model" "*27" + "normal.z" "0.00" + "normal.y" "0.00" + "normal.x" "1.00" + "team" "2" + "classname" "func_simpleladder" + "origin" "2356.00 2554.00 -52.00" + "angles" "0.00 270.00 0.00" +} +;van car 开局面包车 +add: +{ + "model" "*23" + "normal.z" "0.00" + "normal.y" "1.00" + "normal.x" "-0.00" + "team" "2" + "classname" "func_simpleladder" + "origin" "-1487.50 -8691.50 -172.00" + "angles" "0.00 90.00 0.00" +} + +; ####### MISCELLANEOUS / MAP SPECIFIC CHANGES ###### +; ===================================================== +; == BLANK HEADER == +; == Blank description == +; ===================================================== \ No newline at end of file diff --git a/cfg/stripper/zonemod/maps/l4d2_city17_02.cfg b/cfg/stripper/zonemod/maps/l4d2_city17_02.cfg new file mode 100644 index 000000000..43ca4973f --- /dev/null +++ b/cfg/stripper/zonemod/maps/l4d2_city17_02.cfg @@ -0,0 +1,448 @@ + +; ===================================================== +; ================= (v3) stripper by 锋锋(Aiden) +; ============ [l4d2_city17_02] [m2/5] [city 17] +; ===================================================== + +; ############ DIRECTOR AND EVENT CHANGES ########### +; ===================================================== +; == DIRECTOR & EVENT MODIFICATION == +; == Modify director behaviour and events == +; ===================================================== + +; ---- glow the new-human-ladder , when they press event button +; ---- 当生还到达机关点关上机关后,启用新人类爬梯 +modify: +{ + match: + { + "targetname" "finale_alarm_stop_button" + } + insert: + { + "OnPressed" "EB_lad1,Disable,,1,-1" + "OnPressed" "zmod_ladder1,Enable,,1,-1" + "OnPressed" "zmod_ladder1,StartGlowing,,1.1,-1" + "OnPressed" "zmod_ladder1,StopGlowing,,7,-1" + } +} + + +; ################ ITEM SPAWN CHANGES ############### +; ===================================================== +; == PILL / ITEM / WEAPON SPAWNS == +; == Remove or change pill, item & weapon spawns == +; ===================================================== + +; ---- remove too random pills 删除太随机的药 +filter: +{ + "classname" "weapon_item_spawn" + "item4" "1" +} +{ + "hammerid" "35463" +} +{ + "hammerid" "35789" +} + +; ---- add obvious pills 加固定的药 +add: +; -- event button 机关按钮 +{ + "classname" "weapon_pain_pills_spawn" + "angles" "0 0 0" + "spawnflags" "2" + "origin" "1256 3708 628" +} +; -- long ladder up wellhead 上井口 +{ + "classname" "weapon_pain_pills_spawn" + "angles" "0 0 0" + "spawnflags" "2" + "origin" "2044 4188 740" +} +; -- elevator 电梯口 +{ + "classname" "weapon_pain_pills_spawn" + "angles" "0 0 0" + "spawnflags" "2" + "origin" "4380 3464 408" +} + + +; ===================================================== +; == STATIC AMMO PILES == +; == Add or modify ammo pile spawns == +; ===================================================== + +; ===================================================== +; == HITTABLE CHANGES == +; == Add/remove/modify hittables == +; ===================================================== + + +; ############# MAP CLIPPING AND ISSUES ############# +; ===================================================== +; == EXPLOITS BLOCKED == +; == Block intentionally performed exploits == +; ===================================================== + +; ===================================================== +; == OUT OF BOUNDS == +; == Block players getting outside / under the map == +; ===================================================== + +; --- block some spots cant get out or stuck tank spawn +; --- 阻挡一些出不来的点位/或是有可能卡住坦克刷新的点位 +add: +{ + "classname" "env_player_blocker" + "BlockType" "0" + "initialstate" "1" + "maxs" "800 128 120" + "mins" "-4 -8 0" + "targetname" "eb_620" + "origin" "2820 4308 416" +} +{ + "classname" "env_player_blocker" + "BlockType" "0" + "initialstate" "1" + "maxs" "200 80 120" + "mins" "-4 -8 0" + "targetname" "eb_621" + "origin" "3624 4336 416" +} +{ + "classname" "env_player_blocker" + "BlockType" "0" + "initialstate" "1" + "maxs" "320 128 120" + "mins" "-4 -8 0" + "targetname" "eb_622" + "origin" "4116 2996 416" +} + + +add: +{ + "classname" "env_player_blocker" + "BlockType" "0" + "initialstate" "1" + "maxs" "8 600 480" + "mins" "-800 -8 0" + "targetname" "eb_elev_01" + "origin" "4500 3460 1312" +} +{ + "classname" "env_player_blocker" + "BlockType" "0" + "initialstate" "1" + "maxs" "8 120 200" + "mins" "-800 -8 0" + "targetname" "eb_elev_02" + "origin" "4708 3344 1312" +} + +; ===================================================== +; == STUCK SPOTS == +; == Prevent players from getting stuck in the map == +; ===================================================== + +; --- cancel the alarm sign collsion 取消警报门的碰撞 +modify: +{ + match: + { + "targetname" "emergency_door_sign" + } + replace: + { + "solid" "0" + } +} + +; --- move func_orator to another side to unblock new ladder +; --- 将对讲机实体移走防止挡路 +modify: +{ + match: + { + "targetname" "orator" + } + replace: + { + "origin" "4516 3664 592" + } +} + +; ===================================================== +; == NUISANCE CHANGES == +; == Clipping improvements, QOL map changes == +; ===================================================== + + +; ########### ADDITIONAL PROPS AND SPAWNS ########### +; ===================================================== +; == PROPS == +; == New props for balance and SI spawns == +; ===================================================== + +; --- add handrails round event button 在机关终点附近添加围栏 +add: +{ + "angles" "0 180 0" + "disableshadows" "1" + "model" "models/props_C17/Handrail04_Medium.mdl" + "rendercolor" "255 128 0" + "origin" "652 4108 648" + "solid" "6" + "classname" "prop_dynamic" +} +{ + "angles" "0 180 0" + "disableshadows" "1" + "model" "models/props_c17/handrail04_short.mdl" + "rendercolor" "255 128 0" + "origin" "652 3980 648" + "solid" "6" + "classname" "prop_dynamic" +} +{ + "angles" "0 180 0" + "disableshadows" "1" + "model" "models/props_C17/Handrail04_Medium.mdl" + "rendercolor" "255 128 0" + "origin" "652 3776 648" + "solid" "6" + "classname" "prop_dynamic" +} + +; --- add handrails/pipeset round long ladder 在长爬梯添加扶手/管道/箱子 +{ + "angles" "0 90 0" + "disableshadows" "1" + "model" "models/props_c17/handrail04_short.mdl" + "rendercolor" "255 128 0" + "origin" "1656 4240 760" + "solid" "6" + "classname" "prop_dynamic" +} +{ + "angles" "0 180 -90" + "disableshadows" "1" + "model" "models/props_pipes/pipeset08d_128_001a.mdl" + "rendercolor" "255 255 255" + "origin" "1672 4224 624" + "solid" "6" + "classname" "prop_dynamic" +} +{ + "angles" "0 0 0" + "disableshadows" "1" + "model" "models/props_crates/static_crate_40.mdl" + "rendercolor" "255 255 255" + "origin" "1704 4200 372" + "solid" "6" + "classname" "prop_dynamic" +} + +; --- block the top leak of a room 封锁电梯附近双扇门房间顶部的缝隙 +{ + "angles" "0 180 0" + "disableshadows" "1" + "model" "models/props_update/plywood_128.mdl" + "rendercolor" "255 255 255" + "origin" "3068 3140 544" + "solid" "6" + "classname" "prop_dynamic" +} + +; --- add a table help svv round elevt 在电梯附近添加一个桌子模型 +{ + "angles" "-75 330 0" + "disableshadows" "1" + "model" "models/props_interiors/table_kitchen.mdl" + "rendercolor" "255 255 255" + "origin" "2820 3668 412" + "solid" "6" + "classname" "prop_dynamic" +} + +; --- add a box left elevt exit 出电梯添加一个纸箱模型 +{ + "angles" "0 10 0" + "disableshadows" "1" + "model" "models/props/cs_assault/washer_box.mdl" + "rendercolor" "255 255 255" + "origin" "4424 3436 1896" + "solid" "6" + "classname" "prop_dynamic" +} + + +; ===================================================== +; == LADDER / ELEVATOR NERF == +; == Nerf ladder & elevator attacks for infected == +; ===================================================== + + +; ############ MAP SOUND AND GFX CHANGES ############ +; ===================================================== +; == SOUND REMOVAL == +; == Remove or adjust sounds played by the map == +; ===================================================== + +; ===================================================== +; == GFX / PARTICLES REMOVAL == +; == Remove visual effects from the map == +; ===================================================== + + +; ############### TRIGGERS AND BRUSHES ############## +; ===================================================== +; == CLIP REMOVAL == +; == Remove miscellaneous clips and brushes == +; ===================================================== + +; ---- remove 2 brush doors round elevt 删除电梯附近的两扇门 + +filter: +{ + "targetname" "swinging_door_1" +} +{ + "targetname" "swinging_door_2" +} + +; ===================================================== +; == TRIGGER REMOVAL / FIX == +; == Fix triggers that interfere with gameplay == +; ===================================================== + + +; ############# LADDER CHANGES AND FIXES ############ +; ===================================================== +; == LADDER ADDITIONS / FIXES == +; == Add or change ladders == +; ===================================================== + +; ---- add big ladder1 加一个轮回点后置爬梯 + +add: +; -- ladder1 model 爬梯模型,关机关后显示 +{ + "classname" "prop_dynamic" + "targetname" "zmod_ladder1" + "angles" "0 0 0" + "disableshadows" "1" + "model" "models/props_highway/billboard_ladder.mdl" + "rendercolor" "255 255 255" + "origin" "284 3832 184" + "solid" "0" + "StartDisabled" "1" +} +; -- ladder1 EB 人类空气墙,关机关后移除 +{ + "classname" "env_physics_blocker" + "targetname" "EB_lad1" + "BlockType" "1" + "maxs" "4 20 0" + "mins" "-2 -16 -264" + "initialstate" "1" + "origin" "256 3832 624" +} +; -- ladder1 ladder 机关点爬梯,1楼上3楼,关机关后人类可用 +add: +{ + "model" "*67" + "normal.z" "0.00" + "normal.y" "0.00" + "normal.x" "-1.00" + "team" "0" + "classname" "func_simpleladder" + "origin" "0.00 0.00 0.00" + "angles" "0.00 0.00 0.00" +} + +;elevator 电梯附近 +add: +{ + "model" "*68" + "normal.z" "0.00" + "normal.y" "0.00" + "normal.x" "1.00" + "team" "2" + "classname" "func_simpleladder" + "origin" "6518.53 674.12 5.60" + "angles" "0.00 810.00 0.00" +} +add: +{ + "model" "*55" + "normal.z" "0.00" + "normal.y" "-0.00" + "normal.x" "-1.00" + "team" "2" + "classname" "func_simpleladder" + "origin" "8202.00 -818.00 -6.00" + "angles" "0.00 90.00 0.00" +} +add: +{ + "model" "*55" + "normal.z" "0.00" + "normal.y" "0.00" + "normal.x" "1.00" + "team" "2" + "classname" "func_simpleladder" + "origin" "1158.00 8654.00 -32.00" + "angles" "0.00 270.00 0.00" +} + +; ############# LIGHT ADDITIONS / FIXES ############# +; ===================================================== +; == LIGHT ADDITIONS / FIXES == +; == Add light or remove == +; ===================================================== + +; -- add 2 lights round elevt 在电梯附近添加2处光源 +add: +{ + "classname" "light_dynamic" + "_cone" "60" + "_inner_cone" "50" + "_light" "245 218 167 150" + "angles" "-90 0 0" + "brightness" "6" + "distance" "324" + "pitch" "-90" + "spawnflags" "0" + "spotlight_radius" "300" + "style" "0" + "targetname" "lightfix_01" + "origin" "2804 3708 616" +} +{ + "classname" "light_dynamic" + "_cone" "70" + "_inner_cone" "45" + "_light" "245 218 167 150" + "angles" "-90 0 0" + "brightness" "6" + "distance" "324" + "pitch" "-90" + "spawnflags" "0" + "spotlight_radius" "200" + "style" "0" + "targetname" "lightfix_02" + "origin" "3456 3564 632" +} + +; ####### MISCELLANEOUS / MAP SPECIFIC CHANGES ###### +; ===================================================== +; == BLANK HEADER == +; == Blank description == +; ===================================================== \ No newline at end of file diff --git a/cfg/stripper/zonemod/maps/l4d2_city17_03.cfg b/cfg/stripper/zonemod/maps/l4d2_city17_03.cfg new file mode 100644 index 000000000..251d69a01 --- /dev/null +++ b/cfg/stripper/zonemod/maps/l4d2_city17_03.cfg @@ -0,0 +1,644 @@ + +; ===================================================== +; ================= (v3) stripper by 锋锋(Aiden) +; ============ [l4d2_city17_03] [m3/5] [city 17] +; ===================================================== + +; ############ DIRECTOR AND EVENT CHANGES ########### +; ===================================================== +; == DIRECTOR & EVENT MODIFICATION == +; == Modify director behaviour and events == +; ===================================================== + + +; ################ ITEM SPAWN CHANGES ############### +; ===================================================== +; == PILL / ITEM / WEAPON SPAWNS == +; == Remove or change pill, item & weapon spawns == +; ===================================================== + +; ---- remove too random pills 删除太随机的药 +filter: +{ + "classname" "weapon_item_spawn" + "item4" "1" +} +{ + "hammerid" "71630" +} +{ + "hammerid" "125445" +} +{ + "hammerid" "175785" +} + +; ---- add obvious pills 加固定的药 + +add: +; -- the ruin building 废墟2楼 +{ + "classname" "weapon_pain_pills_spawn" + "angles" "0 0 0" + "spawnflags" "2" + "origin" "-4272 464 32.816" +} +; -- broken stairs 坏楼梯 +{ + "classname" "weapon_pain_pills_spawn" + "angles" "0 0 0" + "spawnflags" "2" + "origin" "-616 200 64" +} +; -- weapons room 武器房间 +{ + "classname" "weapon_pain_pills_spawn" + "angles" "0 0 0" + "spawnflags" "2" + "origin" "-4272 464 32.816" +} + +; --- remove kits 删包 +filter: +{ + "classname" "weapon_first_aid_kit_spawn" +} + +; ===================================================== +; == STATIC AMMO PILES == +; == Add or modify ammo pile spawns == +; ===================================================== + +; --- add a smg at event side 机关点加一把微冲 +add: +{ + "classname" "weapon_smg_silenced_spawn" + "angles" "0 180 -90" + "count" "5" + "disableshadows" "1" + "solid" "6" + "spawnflags" "2" + "origin" "-880 64 0" +} + +; ===================================================== +; == HITTABLE CHANGES == +; == Add/remove/modify hittables == +; ===================================================== + + +; ############# MAP CLIPPING AND ISSUES ############# +; ===================================================== +; == EXPLOITS BLOCKED == +; == Block intentionally performed exploits == +; ===================================================== + +; ===================================================== +; == OUT OF BOUNDS == +; == Block players getting outside / under the map == +; ===================================================== + +; --- prevent incap svv on the platform down the ladder +; --- 避免倒地生还倒在下梯子附近的平台上导致救不到 +add: +{ + "classname" "env_player_blocker" + "BlockType" "1" + "initialstate" "1" + "maxs" "8 8 800" + "mins" "-480 -600 -80" + "targetname" "eb2" + "origin" "-40 184 208" +} + +; ===================================================== +; == STUCK SPOTS == +; == Prevent players from getting stuck in the map == +; ===================================================== + + +; --- block the leak of building right alarmcar +; --- 用木板阻挡警报车右边楼房的间隙 +add: +{ + "classname" "prop_dynamic" + "origin" "2600 856 80" + "angles" "0 123 90" + "solid" "6" + "rendercolor" "255 255 255" + "model" "models/props_update/plywood_128.mdl" + "disableshadows" "1" +} +{ + "classname" "prop_dynamic" + "origin" "2672 744 104" + "angles" "0 120 90" + "solid" "6" + "rendercolor" "255 255 255" + "model" "models/props_update/plywood_128.mdl" + "disableshadows" "1" +} +{ + "classname" "prop_dynamic" + "origin" "2696 680 104" + "angles" "0 120 90" + "solid" "6" + "rendercolor" "255 255 255" + "model" "models/props_update/plywood_128.mdl" + "disableshadows" "1" +} + +; --- smooth the sand between ruin house +; --- 垫平废墟楼的中间沙地 +{ + "classname" "env_player_blocker" + "BlockType" "0" + "initialstate" "1" + "maxs" "120 180 4" + "mins" "-96 -320 -20" + "targetname" "eb_fx01" + "origin" "1120 1528 120" +} + +; --- block the final tunnel front of safedoor +; --- 阻挡门前的桥洞 +{ + "classname" "env_player_blocker" + "BlockType" "0" + "initialstate" "1" + "maxs" "400 180 80" + "mins" "-200 -8 -120" + "targetname" "eb_fx02" + "origin" "-6624 3000 168" +} + + +; ===================================================== +; == NUISANCE CHANGES == +; == Clipping improvements, QOL map changes == +; ===================================================== + + +; ########### ADDITIONAL PROPS AND SPAWNS ########### +; ===================================================== +; == PROPS == +; == New props for balance and SI spawns == +; ===================================================== + +; ---- add boxes, trees, container round the alarmcar +; ---- 在警报车(克局点)附近添加模型帮助特感复活/进攻 +add: +{ + "classname" "prop_dynamic" + "angles" "0 60 0" + "disableshadows" "1" + "model" "models/props_foliage/urban_tree_giant01_medium.mdl" + "rendercolor" "255 255 255" + "origin" "2520 -1640 96" + "solid" "6" +} +{ + "classname" "prop_dynamic" + "angles" "0 300 0" + "disableshadows" "1" + "model" "models/props/de_nuke/crate_extralarge.mdl" + "rendercolor" "255 255 255" + "origin" "2720 -888 -8" + "solid" "6" +} +{ + "classname" "prop_dynamic" + "angles" "0 298 0" + "disableshadows" "1" + "model" "models/props_fortifications/concrete_block001_128_reference.mdl" + "rendercolor" "255 255 255" + "origin" "1888 -352 32" + "solid" "6" +} +{ + "classname" "prop_dynamic" + "angles" "0 298 0" + "disableshadows" "1" + "model" "models/props_fortifications/concrete_block001_128_reference.mdl" + "rendercolor" "255 255 255" + "origin" "1872 -360 -8" + "solid" "6" +} +{ + "classname" "prop_dynamic" + "angles" "0 60 0" + "disableshadows" "1" + "model" "models/props_foliage/urban_tree_giant01_medium.mdl" + "rendercolor" "255 255 255" + "origin" "1856 -1424 40" + "solid" "6" +} +{ + "classname" "prop_dynamic" + "angles" "0 90 0" + "disableshadows" "1" + "model" "models/props_foliage/urban_tree_giant01_medium.mdl" + "rendercolor" "255 255 255" + "origin" "1832 -1400 40" + "solid" "6" +} +{ + "classname" "prop_dynamic" + "angles" "0 60 0" + "disableshadows" "1" + "model" "models/props_foliage/urban_tree_giant01_medium.mdl" + "rendercolor" "255 255 255" + "origin" "1856 -1424 40" + "solid" "6" +} +{ + "classname" "prop_dynamic" + "angles" "0 207 0" + "disableshadows" "1" + "model" "models/props_equipment/cargo_container02.mdl" + "rendercolor" "18 190 62" + "origin" "1944 776 0" + "solid" "6" +} +{ + "classname" "prop_dynamic" + "angles" "0 93 0" + "disableshadows" "1" + "model" "models/props_fairgrounds/foodcart.mdl" + "rendercolor" "255 255 255" + "origin" "2536 400 -8" + "solid" "6" +} + +{ + "classname" "prop_dynamic" + "angles" "0 270 0" + "disableshadows" "1" + "model" "models/props_exteriors/wood_stairs_120_swamp.mdl" + "rendercolor" "255 255 255" + "origin" "1640 496 416" + "solid" "6" +} +{ + "classname" "prop_dynamic" + "angles" "0 90 0" + "disableshadows" "1" + "model" "models/props_exteriors/wood_stairs_120_swamp.mdl" + "rendercolor" "255 255 255" + "origin" "1824 400 416" + "solid" "6" +} + + +; ---- add box round ruin house 废墟楼附近添加一个大箱子 +add: +{ + "classname" "prop_dynamic" + "angles" "0 300 0" + "disableshadows" "1" + "model" "models/props/de_nuke/crate_extralarge.mdl" + "rendercolor" "255 255 255" + "origin" "352 1328 0" + "solid" "6" +} + +; ---- add barrels down the ladder 下梯子处添加障碍物 +add: +{ + "classname" "prop_dynamic" + "angles" "0 0 0" + "disableshadows" "1" + "model" "models/props_industrial/pallet_barrels_water01_docks.mdl" + "rendercolor" "255 255 255" + "origin" "-96 352 0" + "solid" "6" +} +{ + "classname" "prop_dynamic" + "angles" "0 135 0" + "disableshadows" "1" + "model" "models/props_fortifications/concrete_barrier001_96_reference.mdl" + "rendercolor" "150 127 18" + "origin" "-352 520 -8" + "solid" "6" +} + +; ---- add poles, boxes, round the barricade event +; ---- 在机关点附近添加模型帮助人类绕铁 + +add: +{ + "classname" "prop_dynamic" + "angles" "0 0 0" + "disableshadows" "1" + "model" "models/props_fortifications/concrete_post001_48.mdl" + "rendercolor" "255 255 255" + "origin" "-2232 320 -8" + "solid" "6" +} +{ + "classname" "prop_dynamic" + "angles" "0 0 0" + "disableshadows" "1" + "model" "models/props_fortifications/concrete_post001_48.mdl" + "rendercolor" "255 255 255" + "origin" "-1984 320 -8" + "solid" "6" +} +{ + "classname" "prop_dynamic" + "angles" "0 0 0" + "disableshadows" "1" + "model" "models/props_fortifications/concrete_post001_48.mdl" + "rendercolor" "255 255 255" + "origin" "-1376 320 -8" + "solid" "6" +} +{ + "classname" "prop_dynamic" + "angles" "0 0 0" + "disableshadows" "1" + "model" "models/props_fortifications/concrete_post001_48.mdl" + "rendercolor" "255 255 255" + "origin" "-1192 320 -8" + "solid" "6" +} + +{ + "classname" "prop_dynamic" + "angles" "0 0 0" + "disableshadows" "1" + "model" "models/props/de_nuke/crate_small.mdl" + "rendercolor" "255 255 255" + "origin" "-1184 672 0" + "solid" "6" +} +{ + "classname" "prop_dynamic" + "angles" "0 0 0" + "disableshadows" "1" + "model" "models/props_swamp/ferry.mdl" + "rendercolor" "255 255 255" + "origin" "-1688 264 0" + "solid" "6" +} + + + +; ---- add tents, truck, container before the saferoom +; ---- 在安全屋前添加模型帮助特感复活/进攻 + +add: +{ + "classname" "prop_dynamic" + "angles" "0 15 0" + "disableshadows" "1" + "model" "models/props_vehicles/semi_trailer_freestanding.mdl" + "rendercolor" "255 255 255" + "origin" "-6400 1704 -14.9321" + "solid" "6" +} +{ + "classname" "prop_dynamic" + "angles" "0 270 0" + "disableshadows" "1" + "model" "models/props_equipment/cargo_container04.mdl" + "rendercolor" "255 128 64" + "origin" "-6672 1336 -16" + "solid" "6" +} +{ + "classname" "prop_dynamic" + "angles" "0 90 0" + "disableshadows" "1" + "model" "models/props_equipment/cargo_container02_doors_open_right.mdl" + "rendercolor" "255 128 64" + "origin" "-6688 1336 -16" + "solid" "6" +} +{ + "classname" "prop_dynamic" + "angles" "0 0 0" + "disableshadows" "1" + "model" "models/props_misc/fairground_tent_closed.mdl" + "rendercolor" "255 0 0" + "origin" "-6224 1096 -16" + "solid" "6" +} +{ + "classname" "prop_dynamic" + "angles" "0 0 0" + "disableshadows" "1" + "model" "models/props_misc/fairground_tent_closed.mdl" + "rendercolor" "27 57 167" + "origin" "-6656 576 -24" + "solid" "6" +} +{ + "classname" "prop_dynamic" + "angles" "0 270 0" + "disableshadows" "1" + "model" "models/props_urban/fence_cover001_128.mdl" + "rendercolor" "255 255 255" + "origin" "-6808 2168 -16" + "solid" "6" +} +{ + "classname" "prop_dynamic" + "angles" "0 0 0" + "disableshadows" "1" + "model" "models/props/de_nuke/crate_extralarge.mdl" + "rendercolor" "255 255 255" + "origin" "-6840 2336 -16" + "solid" "6" +} + +; ===================================================== +; == LADDER / ELEVATOR NERF == +; == Nerf ladder & elevator attacks for infected == +; ===================================================== + + +; ############ MAP SOUND AND GFX CHANGES ############ +; ===================================================== +; == SOUND REMOVAL == +; == Remove or adjust sounds played by the map == +; ===================================================== + +; ===================================================== +; == GFX / PARTICLES REMOVAL == +; == Remove visual effects from the map == +; ===================================================== + +; --- Remove the storm start relay and storm start effects relay +; --- 移除暴雨触发效果和相关事件 +filter: +{ + "targetname" "relay_storm_start" +} +{ + "targetname" "relay_storm_blendin" +} +{ + "targetname" "director_query" +} + + +; --- remove sun 删太阳 +filter: +{ + "classname" "env_sun" +} + +; ############### TRIGGERS AND BRUSHES ############## +; ===================================================== +; == CLIP REMOVAL == +; == Remove miscellaneous clips and brushes == +; ===================================================== + +; ===================================================== +; == TRIGGER REMOVAL / FIX == +; == Fix triggers that interfere with gameplay == +; ===================================================== + + +; ############# LADDER CHANGES AND FIXES ############ +; ===================================================== +; == LADDER ADDITIONS / FIXES == +; == Add or change ladders == +; ===================================================== + +;before ruin house 废墟楼之前 +;lad01 +add: +{ + "model" "*6" + "normal.z" "0.00" + "normal.y" "-0.99" + "normal.x" "0.12" + "team" "2" + "classname" "func_simpleladder" + "origin" "362.03 -100.35 -125.00" + "angles" "0.00 -20.00 0.00" +} +;lad02 +add: +{ + "model" "*6" + "normal.z" "0.00" + "normal.y" "0.46" + "normal.x" "0.88" + "team" "2" + "classname" "func_simpleladder" + "origin" "2782.00 -1384.99 40.00" + "angles" "0.00 90.00 0.00" +} + + +;round ruin house 废墟楼附近 +add: +{ + "model" "*6" + "normal.z" "0.00" + "normal.y" "-0.99" + "normal.x" "0.04" + "team" "2" + "classname" "func_simpleladder" + "origin" "-1893.17 1808.57 48.00" + "angles" "0.00 -25.00 0.00" +} +add: +{ + "model" "*10" + "normal.z" "0.00" + "normal.y" "1.00" + "normal.x" "-0.00" + "team" "2" + "classname" "func_simpleladder" + "origin" "-351.00 407.00 -4.00" + "angles" "0.00 270.00 0.00" +} + +;after ruin house 废墟楼之后 +;lad03 +add: +{ + "model" "*11" + "normal.z" "0.00" + "normal.y" "0.00" + "normal.x" "-1.00" + "team" "2" + "classname" "func_simpleladder" + "origin" "-130.00 878.00 -62.00" + "angles" "0.00 0.00 0.00" +} +;lad04 +add: +{ + "model" "*11" + "normal.z" "0.00" + "normal.y" "-1.00" + "normal.x" "0.00" + "team" "2" + "classname" "func_simpleladder" + "origin" "-1059.00 1832.00 -190.00" + "angles" "0.00 90.00 0.00" +} +;lad05 +add: +{ + "model" "*105" + "normal.z" "0.00" + "normal.y" "1.00" + "normal.x" "-0.00" + "team" "2" + "classname" "func_simpleladder" + "origin" "-2289.00 -2410.00 0.00" + "angles" "0.00 270.00 0.00" +} +;lad06 +add: +{ + "model" "*105" + "normal.z" "0.00" + "normal.y" "0.00" + "normal.x" "-1.00" + "team" "2" + "classname" "func_simpleladder" + "origin" "640.00 -113.00 84.00" + "angles" "0.00 0.00 0.00" +} +;lad07 +add: +{ + "model" "*13" + "normal.z" "0.00" + "normal.y" "-1.00" + "normal.x" "0.00" + "team" "2" + "classname" "func_simpleladder" + "origin" "430.00 -212.00 319.00" + "angles" "0.00 0.00 0.00" +} + + +;lad08 +;broken stairs (Si can get back) 坏楼梯处,特感可以返回 +;might be too powerful 也许太超模了,暂不启用 +;add: +;{ +; "model" "*124" +; "normal.z" "0.00" +; "normal.y" "-0.25" +; "normal.x" "-0.96" +; "team" "2" +; "classname" "func_simpleladder" +; "origin" "-687.45 -632.96 83.04" +; "angles" "0.00 360.00 0.00" +;} + +; ####### MISCELLANEOUS / MAP SPECIFIC CHANGES ###### +; ===================================================== +; == BLANK HEADER == +; == Blank description == +; ===================================================== \ No newline at end of file diff --git a/cfg/stripper/zonemod/maps/l4d2_city17_04.cfg b/cfg/stripper/zonemod/maps/l4d2_city17_04.cfg new file mode 100644 index 000000000..c479e7fdb --- /dev/null +++ b/cfg/stripper/zonemod/maps/l4d2_city17_04.cfg @@ -0,0 +1,734 @@ + +; ===================================================== +; ================= (v3) stripper by 锋锋(Aiden) +; ============ [l4d2_city17_04] [m4/5] [city 17] +; ===================================================== + +; ############ DIRECTOR AND EVENT CHANGES ########### +; ===================================================== +; == DIRECTOR & EVENT MODIFICATION == +; == Modify director behaviour and events == +; ===================================================== + +; ---- add a human ladder ,when they press the 2nd bridge button +; ---- the new ladder can climb to 1st bridge +; ---- 当生还按下大轮回按钮后,开启新增的人梯 +; ---- 新梯子可以爬上小轮回 + +; --- modify the IO in button 给按钮新增触发 +modify: +{ + match: + { + "id""208558" + "classname" "func_button" + } + insert: + { + "OnPressed" "zmod_ladder1,Enable,,6,-1" + "OnPressed" "zmod_ladder1,StartGlowing,,7,1" + "OnPressed" "zmod_ladder1,StopGlowing,,15,1" + "OnPressed" "EB_lad01,Disable,,6.5,1" + "OnPressed" "zmod_ladder2,Enable,,6,-1" + "OnPressed" "zmod_ladder2,StartGlowing,,7,1" + "OnPressed" "zmod_ladder2,StopGlowing,,15,1" + "OnPressed" "EB_lad02,Disable,,6.5,1" + } +} + +add: +; -- ladder1 model 爬梯1的模型 +{ + "classname" "prop_dynamic" + "targetname" "zmod_ladder1" + "angles" "0 90 0" + "disableshadows" "1" + "model" "models/props_highway/billboard_ladder.mdl" + "rendercolor" "255 255 255" + "origin" "1112 2708 -340" + "solid" "0" + "StartDisabled" "1" +} +; -- ladder1 EB 爬梯1的空气墙 +{ + "classname" "env_physics_blocker" + "targetname" "EB_lad01" + "BlockType" "1" + "maxs" "18 4 0" + "mins" "-18 0 -264" + "initialstate" "1" + "origin" "1112 2680 92" +} +; -- ladder1 ladder 爬梯1 +add: +{ + "model" "*279" + "normal.z" "0.00" + "normal.y" "-1.00" + "normal.x" "0.00" + "team" "0" + "classname" "func_simpleladder" + "origin" "1.00 -1.00 0.00" + "angles" "0.00 0.00 0.00" +} + + +add: +; -- ladder1 model 爬梯2的模型 +{ + "classname" "prop_dynamic" + "targetname" "zmod_ladder2" + "angles" "0 180 0" + "disableshadows" "1" + "model" "models/props_highway/billboard_ladder.mdl" + "rendercolor" "255 255 255" + "origin" "684 2867 -448" + "solid" "0" + "StartDisabled" "1" +} +; -- ladder1 EB 爬梯2的空气墙 +{ + "classname" "env_player_blocker" + "BlockType" "1" + "initialstate" "1" + "maxs" "4 16 80" + "mins" "-4 -16 -160" + "targetname" "EB_lad02" + "origin" "704 2864 48" +} +{ + "classname" "env_player_blocker" + "BlockType" "0" + "initialstate" "1" + "maxs" "80 8 40" + "mins" "-8 0 -80" + "targetname" "EB_lad02a" + "origin" "712 2848 -60" +} +; -- ladder1 ladder 爬梯2 +add: +{ + "model" "*269" + "normal.z" "0.00" + "normal.y" "0.00" + "normal.x" "1.00" + "team" "0" + "classname" "func_simpleladder" + "origin" "-2184.00 2590.00 -244.00" + "angles" "0.00 270.00 0.00" +} + + +; ################ ITEM SPAWN CHANGES ############### +; ===================================================== +; == PILL / ITEM / WEAPON SPAWNS == +; == Remove or change pill, item & weapon spawns == +; ===================================================== + +; ---- remove too random pills 删除太随机的药 +filter: +{ + "classname" "weapon_item_spawn" + "item4" "1" +} +{ + "hammerid" "124076" +} +{ + "hammerid" "207789" +} +{ + "hammerid" "218253" +} +{ + "hammerid" "220009" +} +{ + "hammerid" "220011" +} +{ + "hammerid" "271445" +} +{ + "hammerid" "330428" +} +{ + "hammerid" "330557" +} + +; ---- add obvious pills 加固定的药 +add: +; -- the bridge button 放桥机关点 +{ + "classname" "weapon_pain_pills_spawn" + "angles" "0 0 0" + "spawnflags" "2" + "origin" "-20 2640 256" +} +; -- after the bridge 过桥后 +{ + "classname" "weapon_pain_pills_spawn" + "angles" "0 0 0" + "spawnflags" "2" + "origin" "-36 4052 320" +} +; -- after plane crash 坠机点后 +{ + "classname" "weapon_pain_pills_spawn" + "angles" "0 0 0" + "spawnflags" "2" + "origin" "-4676 6292 308" +} +; -- the minigun 重机枪附近 +{ + "classname" "weapon_pain_pills_spawn" + "angles" "0 0 0" + "spawnflags" "2" + "origin" "-6588 5080 348" +} + +; --- remove cabinet 删药箱 +filter: +{ + "classname" "prop_health_cabinet" +} + +; --- remove kit 删包 +filter: +{ + "classname" "weapon_first_aid_kit_spawn" +} + +; ===================================================== +; == STATIC AMMO PILES == +; == Add or modify ammo pile spawns == +; ===================================================== + +; ===================================================== +; == HITTABLE CHANGES == +; == Add/remove/modify hittables == +; ===================================================== + + +; ############# MAP CLIPPING AND ISSUES ############# +; ===================================================== +; == EXPLOITS BLOCKED == +; == Block intentionally performed exploits == +; ===================================================== + +; ===================================================== +; == OUT OF BOUNDS == +; == Block players getting outside / under the map == +; ===================================================== + +; --- block the spots out the map 封闭卡点 +add: +{ + "classname" "env_player_blocker" + "BlockType" "0" + "initialstate" "1" + "maxs" "2000 40 800" + "mins" "-4 -128 -80" + "targetname" "eb_fix03a" + "origin" "-4336 7000 560" +} +{ + "classname" "env_player_blocker" + "BlockType" "0" + "initialstate" "1" + "maxs" "400 40 800" + "mins" "-4 -128 -80" + "targetname" "eb_fix03b" + "origin" "-2880 6360 560" +} +{ + "classname" "env_player_blocker" + "BlockType" "0" + "initialstate" "1" + "maxs" "200 40 800" + "mins" "-4 -600 -80" + "targetname" "eb_fix03c" + "origin" "-2536 6832 560" +} + + +; ===================================================== +; == STUCK SPOTS == +; == Prevent players from getting stuck in the map == +; ===================================================== + +; --- block the spots cant get out 封闭卡点 +add: +{ + "classname" "env_player_blocker" + "BlockType" "0" + "initialstate" "1" + "maxs" "300 128 40" + "mins" "-4 -120 -200" + "targetname" "eb_fix01" + "origin" "-1432 3792 312" +} + +{ + "classname" "env_player_blocker" + "BlockType" "0" + "initialstate" "1" + "maxs" "400 180 80" + "mins" "-200 -8 -120" + "targetname" "eb_fix02" + "origin" "-1072 2484 176" +} + +; --- down the 1st hole 第1个下洞口 +{ + "classname" "env_player_blocker" + "BlockType" "0" + "initialstate" "1" + "maxs" "300 80 0" + "mins" "-8 -128 -8" + "targetname" "eb_fix04a" + "origin" "-6000 6296 164" +} +{ + "classname" "env_player_blocker" + "BlockType" "0" + "initialstate" "1" + "maxs" "200 64 8" + "mins" "-8 -120 -8" + "targetname" "eb_fix04b" + "origin" "-5984 6296 164" +} + +; ===================================================== +; == NUISANCE CHANGES == +; == Clipping improvements, QOL map changes == +; ===================================================== + + +; ########### ADDITIONAL PROPS AND SPAWNS ########### +; ===================================================== +; == PROPS == +; == New props for balance and SI spawns == +; ===================================================== + +; ---- add box help Si spawn after saferoom 出门的围栏后加木箱复活点 +add: +{ + "classname" "prop_dynamic" + "origin" "-2992 2920 4" + "angles" "0 3 0" + "solid" "6" + "rendercolor" "255 255 255" + "model" "models/props/de_nuke/crate_small.mdl" + "disableshadows" "1" +} + +; ---- add poles/box help Svv dodge cars 加栏杆和木箱帮助生还躲铁 +add: +{ + "classname" "prop_dynamic" + "origin" "-1364 3012 -4" + "angles" "0 90 0" + "solid" "6" + "rendercolor" "255 255 255" + "model" "models/props_fortifications/concrete_post001_48.mdl" + "disableshadows" "1" +} +{ + "classname" "prop_dynamic" + "origin" "-1696 3012 -4" + "angles" "0 90 0" + "solid" "6" + "rendercolor" "255 255 255" + "model" "models/props_fortifications/concrete_post001_48.mdl" + "disableshadows" "1" +} +{ + "classname" "prop_dynamic" + "origin" "-512 3016 -4" + "angles" "0 90 0" + "solid" "6" + "rendercolor" "255 255 255" + "model" "models/props_fortifications/concrete_post001_48.mdl" + "disableshadows" "1" +} + +{ + "classname" "prop_dynamic" + "origin" "-1400 3332 4" + "angles" "0 105 10" + "solid" "6" + "rendercolor" "255 255 255" + "model" "models/props/de_nuke/crate_small.mdl" + "disableshadows" "1" +} +{ + "classname" "prop_dynamic" + "origin" "-1376 3012 0" + "angles" "0 180 0" + "solid" "6" + "rendercolor" "255 255 255" + "model" "models/props_street/stopsign01.mdl" + "disableshadows" "1" +} + + +; -- hole after 1st bridge 小桥后的小2楼 +add: +{ + "classname" "prop_dynamic" + "origin" "660 2868 160" + "angles" "0 90 0" + "solid" "6" + "rendercolor" "255 1 1" + "model" "models/props_c17/handrail04_short.mdl" + "disableshadows" "1" +} +{ + "classname" "prop_dynamic" + "origin" "548 2868 160" + "angles" "0 90 0" + "solid" "6" + "rendercolor" "255 100 26" + "model" "models/props_C17/handrail04_short.mdl" + "disableshadows" "1" +} + + +; -- add pipes make Svv could jump down bottom fast +; -- 添加管道,使生还可以快速下到地面 +add: +{ + "classname" "prop_dynamic" + "origin" "200 3516 184" + "angles" "0 0 0" + "solid" "6" + "rendercolor" "255 255 255" + "model" "models/props_pipes/pipeset32d_corner128r_001a.mdl" + "disableshadows" "1" +} +{ + "classname" "prop_dynamic" + "origin" "104 3488 4" + "angles" "90 0 0" + "solid" "6" + "rendercolor" "255 255 255" + "model" "models/props_pipes/pipeset32d_corner128r_001a.mdl" + "disableshadows" "1" +} + + +; ---- add barricades, playwoods, round the plane event +; ---- 在坠机房屋附近添加模型帮助特感复活和人类绕克 +add: +{ + "classname" "prop_dynamic" + "origin" "-3108.75 6221.06 349" + "angles" "0 28 0" + "solid" "6" + "rendercolor" "255 255 255" + "model" "models/props_fortifications/concrete_block001_128_reference.mdl" + "disableshadows" "1" +} +{ + "classname" "prop_dynamic" + "origin" "-3100.75 6205.06 309" + "angles" "0 28 0" + "solid" "6" + "rendercolor" "255 255 255" + "model" "models/props_fortifications/concrete_block001_128_reference.mdl" + "disableshadows" "1" +} +{ + "classname" "prop_dynamic" + "origin" "-3128 5516 500" + "angles" "0 90 180" + "solid" "6" + "rendercolor" "255 255 255" + "model" "models/props_update/plywood_256.mdl" + "disableshadows" "1" +} +{ + "classname" "prop_dynamic" + "origin" "-3840 5480 308" + "angles" "0 0 0" + "solid" "6" + "rendercolor" "255 255 255" + "model" "models/props/de_nuke/crate_extralarge.mdl" + "disableshadows" "1" +} + + +{ + "classname" "prop_dynamic_override" + "origin" "-3296 5604 500" + "angles" "90 0 -137" + "solid" "6" + "rendercolor" "255 255 255" + "model" "models/props_debris/wood_board04a.mdl" + "disableshadows" "1" +} + + +; ===================================================== +; == LADDER / ELEVATOR NERF == +; == Nerf ladder & elevator attacks for infected == +; ===================================================== + + +; ############ MAP SOUND AND GFX CHANGES ############ +; ===================================================== +; == SOUND REMOVAL == +; == Remove or adjust sounds played by the map == +; ===================================================== + +; --- reduce the crash sounds 降低坠机音量 +modify: +{ + match: + { + "targetname" "planecrash_trigger" + } + delete: + { + "OnTrigger" "plane_crash_soundPlaySound0-1" + } + insert: + { + "OnTrigger" "plane_crash_sound,Volume,6,0,-1" + "OnTrigger" "plane_crash_sound,Volume,4,8,-1" + } +} + +; ===================================================== +; == GFX / PARTICLES REMOVAL == +; == Remove visual effects from the map == +; ===================================================== + +; --- remove smogs to improve FPS 删烟提升帧数 + +; --- remove smog 删烟 +filter: +{ + "classname" "func_precipitation" +} +; --- remove smoke 删烟 +filter: +{ + "classname" "func_smokevolume" +} + + +; --- add tips for clip wall around plane event house +; --- 给追机房的空气墙加一些特感提示 +; --- cancled 暂不启用 + +; add: +; { +; "classname" "prop_dynamic" +; "origin" "-3396 6372 604" +; "angles" "0 90 0" +; "solid" "0" +; "rendercolor" "255 255 255" +; "model" "models/props_misc/wrongway_sign01.mdl" +; "disableshadows" "1" +; } +; { +; "classname" "prop_dynamic" +; "origin" "-3008 6372 604" +; "angles" "0 90 0" +; "solid" "0" +; "rendercolor" "255 255 255" +; "model" "models/props_misc/wrongway_sign01.mdl" +; "disableshadows" "1" +; } +; { +; "classname" "prop_dynamic" +; "origin" "-3396 6352 604" +; "angles" "0 270 0" +; "solid" "0" +; "rendercolor" "255 255 255" +; "model" "models/props_misc/wrongway_sign01.mdl" +; "disableshadows" "1" +; } +; { +; "classname" "prop_dynamic" +; "origin" "-3008 6352 604" +; "angles" "0 270 0" +; "solid" "0" +; "rendercolor" "255 255 255" +; "model" "models/props_misc/wrongway_sign01.mdl" +; "disableshadows" "1" +; } + + +; { +; "classname" "prop_dynamic" +; "origin" "-3880 6148 544" +; "angles" "0 0 0" +; "solid" "0" +; "rendercolor" "255 255 255" +; "model" "models/props_misc/wrongway_sign01.mdl" +; "disableshadows" "1" +; } +; { +; "classname" "prop_dynamic" +; "origin" "-3896 6152 544" +; "angles" "0 180 0" +; "solid" "0" +; "rendercolor" "255 255 255" +; "model" "models/props_misc/wrongway_sign01.mdl" +; "disableshadows" "1" +; } +; { +; "classname" "prop_dynamic" +; "origin" "-3892 5892 544" +; "angles" "0 180 0" +; "solid" "0" +; "rendercolor" "255 255 255" +; "model" "models/props_misc/wrongway_sign01.mdl" +; "disableshadows" "1" +; } +; { +; "classname" "prop_dynamic" +; "origin" "-3876 5888 544" +; "angles" "0 0 0" +; "solid" "0" +; "rendercolor" "255 255 255" +; "model" "models/props_misc/wrongway_sign01.mdl" +; "disableshadows" "1" +; } + +; { +; "classname" "prop_dynamic" +; "origin" "-3892 5636 544" +; "angles" "0 180 0" +; "solid" "0" +; "rendercolor" "255 255 255" +; "model" "models/props_misc/wrongway_sign01.mdl" +; "disableshadows" "1" +; } +; { +; "classname" "prop_dynamic" +; "origin" "-3876 5632 544" +; "angles" "0 0 0" +; "solid" "0" +; "rendercolor" "255 255 255" +; "model" "models/props_misc/wrongway_sign01.mdl" +; "disableshadows" "1" +; } + + +; ############### TRIGGERS AND BRUSHES ############## +; ===================================================== +; == CLIP REMOVAL == +; == Remove miscellaneous clips and brushes == +; ===================================================== + +; -- remove Si clip wall in plane event house +; -- 移除追机房的特感空气墙 +filter: +{ + "classname" "func_playerinfected_clip" +} + +; ===================================================== +; == TRIGGER REMOVAL / FIX == +; == Fix triggers that interfere with gameplay == +; ===================================================== + + +; ############# LADDER CHANGES AND FIXES ############ +; ===================================================== +; == LADDER ADDITIONS / FIXES == +; == Add or change ladders == +; ===================================================== + +; -- bus after saferoom 出门公交车 +add: +{ + "model" "*273" + "normal.z" "0.00" + "normal.y" "-1.00" + "normal.x" "0.00" + "team" "2" + "classname" "func_simpleladder" + "origin" "276.00 -235.00 -396.00" + "angles" "0.00 0.00 0.00" +} + +; -- hole after 1st bridge 小桥后的小2楼 +add: +{ + "model" "*269" + "normal.z" "0.00" + "normal.y" "1.00" + "normal.x" "0.00" + "team" "2" + "classname" "func_simpleladder" + "origin" "880.00 -9.00 -132.00" + "angles" "0.00 0.00 0.00" +} + +; -- plane event 坠机房间 +add: +{ + "classname" "prop_dynamic" + "origin" "-3320 5636 492" + "angles" "0 0 -180" + "solid" "6" + "rendercolor" "255 255 255" + "model" "models/props_urban/telephone_pole001.mdl" + "disableshadows" "1" +} +{ + "classname" "env_player_blocker" + "BlockType" "0" + "initialstate" "1" + "maxs" "12 8 80" + "mins" "-12 -8 -80" + "targetname" "eb03" + "origin" "-3328 5628 388" +} +add: +{ + "model" "*269" + "normal.z" "0.00" + "normal.y" "1.00" + "normal.x" "0.00" + "team" "2" + "classname" "func_simpleladder" + "origin" "-3050.00 2763.00 250.50" + "angles" "0.00 0.00 0.00" +} + +; -- down the 1st hole 第1个下洞口 +add: +{ + "classname" "prop_dynamic" + "origin" "-5908 6168 152" + "angles" "-90 180 0" + "solid" "6" + "rendercolor" "255 255 255" + "model" "models/props_pipes/pipeset32d_256_001a.mdl" + "disableshadows" "1" +} +add: +{ + "model" "*269" + "normal.z" "0.00" + "normal.y" "1.00" + "normal.x" "0.00" + "team" "2" + "classname" "func_simpleladder" + "origin" "-5634.00 3309.00 29.50" + "angles" "0.00 0.00 0.00" +} + + + +; ####### MISCELLANEOUS / MAP SPECIFIC CHANGES ###### +; ===================================================== +; == BLANK HEADER == +; == Blank description == +; ===================================================== \ No newline at end of file diff --git a/cfg/stripper/zonemod/maps/l4d2_city17_05.cfg b/cfg/stripper/zonemod/maps/l4d2_city17_05.cfg new file mode 100644 index 000000000..963b32ab5 --- /dev/null +++ b/cfg/stripper/zonemod/maps/l4d2_city17_05.cfg @@ -0,0 +1,319 @@ + +; ===================================================== +; ================= (v3) stripper by 锋锋(Aiden) +; ============ [l4d2_city17_05] [m5/5] [city 17] +; ===================================================== + +; ############ DIRECTOR AND EVENT CHANGES ########### +; ===================================================== +; == DIRECTOR & EVENT MODIFICATION == +; == Modify director behaviour and events == +; ===================================================== + +; ---- reset finale script 修改防守阶段脚本 +modify: +{ + match: + { + "targetname" "radio" + } + insert: + { + "ScriptFile" "l4d2_city17_05_finale_rework" + } +} + +; ################ ITEM SPAWN CHANGES ############### +; ===================================================== +; == PILL / ITEM / WEAPON SPAWNS == +; == Remove or change pill, item & weapon spawns == +; ===================================================== + +; ---- remove some pills 删除路上的药 +filter: +{ + "hammerid" "120505" +} +filter: +{ + "hammerid" "230420" +} +filter: +{ + "targetname" "forcoop" +} + +; ---- remove kits 删除医疗包 +filter: +{ + "classname" "weapon_first_aid_kit_spawn" +} + +; ---- add fixed pills on train area 在轨道区域添加1个药 +add: +{ + "classname" "weapon_pain_pills_spawn" + "angles" "0 0 0" + "spawnflags" "2" + "origin" "10818 9264 -798" +} +;{ +; "classname" "weapon_pain_pills_spawn" +; "angles" "0 0 0" +; "spawnflags" "2" +; "origin" "10842 9264 -798" +;} + +; ---- add fixed pills on platform area 在平台区域添加2个药 +{ + "classname" "weapon_pain_pills_spawn" + "angles" "0 0 0" + "spawnflags" "2" + "origin" "12220 8782 -548" +} +{ + "classname" "weapon_pain_pills_spawn" + "angles" "0 0 0" + "spawnflags" "2" + "origin" "12210 8782 -548" +} + +; ---- add 1 melee on finale area 在救援区域添加1个近战 +{ + "classname" "weapon_melee_spawn" + "angles" "0 300 90" + "body" "0" + "count" "1" + "disableshadows" "1" + "melee_weapon" "machete" + "model" "models/weapons/melee/w_machete.mdl" + "solid" "6" + "spawnflags" "3" + "weaponskin" "-1" + "origin" "10848 9272 -820" +} + +; ===================================================== +; == STATIC AMMO PILES == +; == Add or modify ammo pile spawns == +; ===================================================== + +; ===================================================== +; == HITTABLE CHANGES == +; == Add/remove/modify hittables == +; ===================================================== + +; --- add a car on square 在广场上放置一个车铁 +add: +;"id" " 1377153 " +{ + "classname" "prop_physics" + "origin" "10090 10386 -816" + "angles" "0 30 0" + "solid" "6" + "rendercolor" "181 0 0" + "model" "models/props_vehicles/cara_82hatchback_wrecked.mdl" + "fadescale" "0" +} + +; ############# MAP CLIPPING AND ISSUES ############# +; ===================================================== +; == EXPLOITS BLOCKED == +; == Block intentionally performed exploits == +; ===================================================== + +; ===================================================== +; == OUT OF BOUNDS == +; == Block players getting outside / under the map == +; ===================================================== + +; ===================================================== +; == STUCK SPOTS == +; == Prevent players from getting stuck in the map == +; ===================================================== + +; --- use some clips connect the iron plate +; --- 使用小片空气墙连接铁板和地面 +add: +{ + "classname" "env_player_blocker" + "BlockType" "0" + "initialstate" "1" + "maxs" "30 40 4" + "mins" "-20 -40 0" + "targetname" "eb_fix01a" + "origin" "8508 10900 -742" +} +{ + "classname" "env_player_blocker" + "BlockType" "0" + "initialstate" "1" + "maxs" "40 40 8" + "mins" "-32 -40 0" + "targetname" "eb_fix01b" + "origin" "8508 10896 -754" +} +{ + "classname" "env_player_blocker" + "BlockType" "0" + "initialstate" "1" + "maxs" "48 40 8" + "mins" "-48 -40 0" + "targetname" "eb_fix01c" + "origin" "8508 10892 -760" +} + +; --- add some clips round deadbodies +; --- 尸体堆旁添加一些垫脚防卡 +add: +{ + "classname" "env_player_blocker" + "angles" "0 0 0" + "BlockType" "0" + "maxs" "240 200 2" + "mins" "-32 -120 -8" + "initialstate" "1" + "targetname" "eb_fix02a" + "origin" "8160 9512 -824" +} +{ + "classname" "env_player_blocker" + "angles" "0 0 0" + "BlockType" "0" + "maxs" "40 40 12" + "mins" "-8 -8 -8" + "initialstate" "1" + "targetname" "eb_fix02b" + "origin" "8160 9602 -824" +} + +; ===================================================== +; == NUISANCE CHANGES == +; == Clipping improvements, QOL map changes == +; ===================================================== + + +; ########### ADDITIONAL PROPS AND SPAWNS ########### +; ===================================================== +; == PROPS == +; == New props for balance and SI spawns == +; ===================================================== + +; --- add a door for container 给集装箱加门 +add: +{ + "classname" "prop_dynamic" + "origin" "10050 9992 -831.751" + "angles" "0 271 0" + "solid" "6" + "rendercolor" "255 255 255" + "model" "models/props_equipment/cargo_container02_doors_open_right.mdl" + "disableshadows" "1" +} + + +; --- add a table at train area 在火车轨道区域放置一个桌子 +add: +{ + "classname" "prop_dynamic" + "origin" "10840 9264 -832" + "angles" "0 90 0" + "solid" "6" + "rendercolor" "255 255 255" + "model" "models/props_interiors/table_kitchen.mdl" + "disableshadows" "1" +} + +; --- fix the final barrel collsion 修复围栏的无碰撞问题 +add: +{ + "classname" "prop_dynamic" + "targetname" "finale_barrel_fix" + "origin" "9392 9092 -832" + "angles" "0 0 0" + "solid" "6" + "rendercolor" "255 255 255" + "model" "models/props_street/police_barricade3.mdl" + "disableshadows" "1" +} +; --- delete this barrel while train coming 当火车到来,移除这个围栏 +modify: +{ + match: + { + "targetname" "_path1.3" + } + insert: + { + "OnPass" "finale_barrel_fix,Kill,,1,-1" + } +} + + +; ===================================================== +; == LADDER / ELEVATOR NERF == +; == Nerf ladder & elevator attacks for infected == +; ===================================================== + + +; ############ MAP SOUND AND GFX CHANGES ############ +; ===================================================== +; == SOUND REMOVAL == +; == Remove or adjust sounds played by the map == +; ===================================================== + +; ===================================================== +; == GFX / PARTICLES REMOVAL == +; == Remove visual effects from the map == +; ===================================================== + + +; ############### TRIGGERS AND BRUSHES ############## +; ===================================================== +; == CLIP REMOVAL == +; == Remove miscellaneous clips and brushes == +; ===================================================== + +; ===================================================== +; == TRIGGER REMOVAL / FIX == +; == Fix triggers that interfere with gameplay == +; ===================================================== + + +; ############# LADDER CHANGES AND FIXES ############ +; ===================================================== +; == LADDER ADDITIONS / FIXES == +; == Add or change ladders == +; ===================================================== + +;container door 集装箱入口 +add: +{ + "model" "*99" + "normal.z" "0.00" + "normal.y" "0.00" + "normal.x" "-1.00" + "team" "2" + "classname" "func_simpleladder" + "origin" "459.00 1157.00 4.00" + "angles" "0.00 0.00 0.00" +} + +;stair into train room 火车房入口 +add: +{ + "model" "*92" + "normal.z" "0.00" + "normal.y" "-1.00" + "normal.x" "0.00" + "team" "2" + "classname" "func_simpleladder" + "origin" "-525.86 -1651.53 -522.83" + "angles" "0.00 0.00 0.00" +} + +; ####### MISCELLANEOUS / MAP SPECIFIC CHANGES ###### +; ===================================================== +; == BLANK HEADER == +; == Blank description == +; ===================================================== \ No newline at end of file diff --git a/scripts/vscripts/l4d2_city17_05_finale_rework.nut b/scripts/vscripts/l4d2_city17_05_finale_rework.nut new file mode 100644 index 000000000..1f3274fc1 --- /dev/null +++ b/scripts/vscripts/l4d2_city17_05_finale_rework.nut @@ -0,0 +1,45 @@ +//----------------------------------------------------- +// +//----------------------------------------------------- +Msg("Initiating l4d2_city17_05 finale rework script\n"); + +//----------------------------------------------------- +PANIC <- 0 +TANK <- 1 +DELAY <- 2 + +DirectorOptions <- +{ + //----------------------------------------------------- + + A_CustomFinale_StageCount = 6 + + A_CustomFinale1 = PANIC + A_CustomFinaleValue1 = 2 + + A_CustomFinale2 = DELAY + A_CustomFinaleValue2 = 12 + + A_CustomFinale3 = TANK + A_CustomFinaleValue3 = 1 + + A_CustomFinale4 = DELAY + A_CustomFinaleValue4 = 15 + + A_CustomFinale5 = PANIC + A_CustomFinaleValue5 = 1 + + A_CustomFinale6 = DELAY + A_CustomFinaleValue6 = 10 + + //----------------------------------------------------- + + CommonLimit = 30 + SpecialRespawnInterval = 20 + ZombieSpawnRange = 1500 + PreferredMobDirection = SPAWN_ANYWHERE + HordeEscapeCommonLimit = 30 + +} + +