From 5ad506dd7d6cc996c59dedcc672727a20ab99520 Mon Sep 17 00:00:00 2001 From: Paweł Redman Date: Sat, 18 Aug 2018 12:33:45 +0200 Subject: Cut down on the number of target_speakers. Due to some autistic engine design, every speaker needs its own configstring to know what to play (even though it's in the .bsp). This causes *serious* in large games if there are too many speakers on the map. Gamestate can get too long to send to clients, effectively killing the server. --- maps/p4_thepress.map | 51 ++++++++++++++++++++++----------------------------- 1 file changed, 22 insertions(+), 29 deletions(-) (limited to 'maps/p4_thepress.map') diff --git a/maps/p4_thepress.map b/maps/p4_thepress.map index dcbb4e4..75b9001 100644 --- a/maps/p4_thepress.map +++ b/maps/p4_thepress.map @@ -3092,13 +3092,6 @@ nexus6/barrel_rst_sign } // entity 10 { -"classname" "target_speaker" -"origin" "-960.000000 -1472.000000 64.000000" -"noise" "sound/analmango/hpc.wav" -"targetname" "hpc_pre" -} -// entity 11 -{ "classname" "func_door" "spawnflags" "4" "angle" "-2" @@ -3332,7 +3325,7 @@ nexus6/barrel_rst_sign ( -1216 -1792 192 ) ( -1312 -1792 448 ) ( -1216 -1792 448 ) common/caulk 0 0 0 0.5 0.5 134217728 0 0 } } -// entity 12 +// entity 11 { "classname" "func_door" "spawnflags" "4" @@ -3804,7 +3797,7 @@ nexus6/barrel_rst_sign ( -368 -1968 208 ) ( -368 -1648 208 ) ( -368 -1968 232 ) common/origin 32 -0 0 0.5 0.5 134217728 0 0 } } -// entity 13 +// entity 12 { "classname" "func_button" "lip" "12" @@ -3821,7 +3814,7 @@ nexus6/barrel_rst_sign ( -440 -2304 -72 ) ( -440 -2320 -112 ) ( -440 -2320 -72 ) nexus6/achtung_clang_128 0 16 0 0.5 0.5 134217728 0 0 } } -// entity 14 +// entity 13 { "classname" "func_button" "lip" "-12" @@ -3838,56 +3831,56 @@ nexus6/barrel_rst_sign ( 94 -1780 296 ) ( 94 -1776 296 ) ( 94 -1780 300 ) niveus/e8_base1b 0 0 0 0.5 0.5 0 0 0 } } -// entity 15 +// entity 14 { "classname" "target_speaker" "origin" "-512.000000 -1472.000000 64.000000" "noise" "sound/analmango/hpc.wav" "targetname" "hpc_pre" } -// entity 16 +// entity 15 { "classname" "light" "origin" "-800.000000 -1376.000000 56.000000" "light" "15" "_color" "0.713726 0.505882 0.501961" } -// entity 17 +// entity 16 { "classname" "light" "origin" "-800.000000 -1376.000000 -64.000000" "light" "15" "_color" "0.713726 0.505882 0.501961" } -// entity 18 +// entity 17 { "classname" "light" "origin" "-800.000000 -1520.000000 -64.000000" "light" "15" "_color" "0.713726 0.505882 0.501961" } -// entity 19 +// entity 18 { "classname" "light" "origin" "-800.000000 -1408.000000 128.000000" "light" "15" "_color" "0.713726 0.505882 0.501961" } -// entity 20 +// entity 19 { "classname" "light" "origin" "-800.000000 -1520.000000 56.000000" "light" "15" "_color" "0.713726 0.505882 0.501961" } -// entity 21 +// entity 20 { "classname" "light" "origin" "-800.000000 -1472.000000 128.000000" "light" "15" "_color" "0.713726 0.505882 0.501961" } -// entity 22 +// entity 21 { "classname" "func_door_model" "model2" "models/mapobjects/analmango/falling_box.md3" @@ -3913,7 +3906,7 @@ nexus6/barrel_rst_sign ( -568 -1624 8 ) ( -568 -1600 8 ) ( -568 -1624 16 ) common/nodrawnonsolid 16 48 0 0.5 0.5 134217728 0 0 } } -// entity 23 +// entity 22 { "classname" "trigger_multiple" "target" "global_painting_1" @@ -3928,7 +3921,7 @@ nexus6/barrel_rst_sign ( -568 -1672 -32 ) ( -568 -1664 -32 ) ( -568 -1672 8 ) common/trigger 0 0 0 0.5 0.5 134217728 0 0 } } -// entity 24 +// entity 23 { "classname" "func_door_model" "wait" "360000" @@ -3947,7 +3940,7 @@ nexus6/barrel_rst_sign ( -568 -1664 -16 ) ( -568 -1624 -16 ) ( -568 -1664 0 ) common/full_clip 0 0 0 0.5 0.5 134217728 0 0 } } -// entity 25 +// entity 24 { "classname" "target_delay" "origin" "-496.000000 -1624.000000 -16.000000" @@ -3955,7 +3948,7 @@ nexus6/barrel_rst_sign "targetname" "global_painting_1" "target" "box_3" } -// entity 26 +// entity 25 { "classname" "func_door" "angle" "-2" @@ -3977,7 +3970,7 @@ nexus6/barrel_rst_sign ( -564 -1592 -128 ) ( -564 -1552 -128 ) ( -564 -1592 -88 ) common/clip 48 0 0 0.5 0.5 0 0 0 } } -// entity 27 +// entity 26 { "classname" "target_delay" "origin" "-496.000000 -1664.000000 -16.000000" @@ -3985,41 +3978,41 @@ nexus6/barrel_rst_sign "targetname" "global_painting_1" "target" "box_2" } -// entity 28 +// entity 27 { "classname" "target_speaker" "origin" "-544.000000 -1576.000000 -112.000000" "noise" "sound/buildables/human/damage2.wav" "targetname" "box_3" } -// entity 29 +// entity 28 { "classname" "misc_model" "origin" "-160.000000 -1824.000000 144.000000" "model" "models/mapobjects/analmango/speaker.md3" "angle" "-180.000000" } -// entity 30 +// entity 29 { "classname" "target_speaker" "origin" "-168.000000 -1824.000000 120.000000" "noise" "sound/analmango/analmango.wav" "targetname" "global_ann_analmango" } -// entity 31 +// entity 30 { "classname" "target_speaker" "origin" "-168.000000 -1824.000000 120.000000" "noise" "sound/analmango/pwner_in.wav" "targetname" "global_ann_pwner_in" } -// entity 32 +// entity 31 { "classname" "target_location" "origin" "-1024.000000 -1744.000000 -16.000000" "message" "Press room W" } -// entity 33 +// entity 32 { "classname" "target_location" "origin" "-320.000000 -1952.000000 16.000000" -- cgit