[L4D2] Survivor Spawn Position Fix (Gabu's Version)
1 Attachment(s)
Survivor Spawn Position Fix (Gabu's Version)
This is my own version of the Survivor Spawn Position Fix. The way of achieving this is different from Dragokas' version hence a new thread. This works by setting up an "optimal" startup position then moving all players whenever they need to. It will also work with the Director's ForceSurvivalPosition call where all the players are moved correctly to each position, no matter the survivor set. ConVars
Client Commands
Changelog
Dependencies
Conflicts
Supported Games
|
Re: [L4D2] Survivor Spawn Position Fix (Gabu's Version)
Nice work!
|
Re: [L4D2] Survivor Spawn Position Fix (Gabu's Version)
Good idea.
However, for mentioned Fort Noesis map in L4D1 game there are no broken located spawn entities. There is absolutely nothing located next to coordinates where survivors spawned underground. Quote:
L4D1 doesn't have the native L4D2_GetSurvivorSetMap, and such prop names: m_iszGameMode, m_iszSurvivorName, m_order. |
Re: [L4D2] Survivor Spawn Position Fix (Gabu's Version)
Quote:
Quote:
|
Re: [L4D2] Survivor Spawn Position Fix (Gabu's Version)
L4D1 only has a limited amount of game modes, which is a total of 4, namely "coop","teamversus","versus", and "survival". It does not have the mutation system that L4D2 has.
If in case you(or anyone else) would like to try making an L4D1 version of your implementation, you can also use the L4D CVar Reference and look for the sv_gametypes or mp_gamemode cvar. Nice work btw :) |
Re: [L4D2] Survivor Spawn Position Fix (Gabu's Version)
Great! Thanks for sharing this fix.
But I did some tests, on the Snow Den map it really started all characters in the correct starting position. But when testing the Deadbeat Escape campaign, two bots started underground, (buried under the house). |
Re: [L4D2] Survivor Spawn Position Fix (Gabu's Version)
Quote:
L 08/31/2022 - 00:05:33: SourceMod error session started L 08/31/2022 - 00:05:33: Info (map "c14m2_lighthouse") (file "c:\tcafiles\users\sergiok\21700\left4dead2\a ddons\sourcemod\logs\errors_20220831.log") L 08/31/2022 - 00:05:33: [SM] Exception reported: Cannot create new entity when no map is running L 08/31/2022 - 00:05:33: [SM] Blaming: l4d2_spawnpos_fix.smx L 08/31/2022 - 00:05:33: [SM] Call stack trace: L 08/31/2022 - 00:05:33: [SM] [0] CreateEntityByName L 08/31/2022 - 00:05:33: [SM] [1] Line 146, E:\Games e Programas\Games\LEFT 4 DEAD 2\PLUGINS\SOURCEMODS\sourcemod-1.11.0-git6906-windows\addons\sourcemod\scripting\l4d2_spawn pos_fix.sp::CreateGenericSpawnPoint L 08/31/2022 - 00:05:33: [SM] [2] Line 80, E:\Games e Programas\Games\LEFT 4 DEAD 2\PLUGINS\SOURCEMODS\sourcemod-1.11.0-git6906-windows\addons\sourcemod\scripting\l4d2_spawn pos_fix.sp::FixSpawns L 08/31/2022 - 00:05:33: [SM] [3] Line 41, E:\Games e Programas\Games\LEFT 4 DEAD 2\PLUGINS\SOURCEMODS\sourcemod-1.11.0-git6906-windows\addons\sourcemod\scripting\l4d2_spawn pos_fix.sp::Event_RoundStart L 08/31/2022 - 00:28:12: Error log file session closed. L 08/31/2022 - 00:28:16: SourceMod error session started L 08/31/2022 - 00:28:16: Info (map "2ee_01") (file "c:\tcafiles\users\sergiok\21700\left4dead2\a ddons\sourcemod\logs\errors_20220831.log") L 08/31/2022 - 00:28:16: [SM] Exception reported: Property "m_order" not found (entity 54/info_player_start) L 08/31/2022 - 00:28:16: [SM] Blaming: l4d2_spawnpos_fix.smx L 08/31/2022 - 00:28:16: [SM] Call stack trace: L 08/31/2022 - 00:28:16: [SM] [0] GetEntProp L 08/31/2022 - 00:28:16: [SM] [1] Line 108, E:\Games e Programas\Games\LEFT 4 DEAD 2\PLUGINS\SOURCEMODS\sourcemod-1.11.0-git6906-windows\addons\sourcemod\scripting\l4d2_spawn pos_fix.sp::FixSpawns L 08/31/2022 - 00:28:16: [SM] [2] Line 41, E:\Games e Programas\Games\LEFT 4 DEAD 2\PLUGINS\SOURCEMODS\sourcemod-1.11.0-git6906-windows\addons\sourcemod\scripting\l4d2_spawn pos_fix.sp::Event_RoundStart L 08/31/2022 - 00:30:30: Error log file session closed. |
Re: [L4D2] Survivor Spawn Position Fix (Gabu's Version)
1.1
Fixed a plugin failure while trying to process ordered spawn points. (The plugin was incorrectly looking up for the wrong classname) |
Re: [L4D2] Survivor Spawn Position Fix (Gabu's Version)
Quote:
because i was before All player generated locations There is a chance that the safe room will not be gathered plus some errors |
Re: [L4D2] Survivor Spawn Position Fix (Gabu's Version)
Quote:
JUST REPORT: L 09/01/2022 - 10:39:15: SourceMod error session started L 09/01/2022 - 10:39:15: Info (map "c4m1_milltown_a") (file "c:\tcafiles\users\sergiok\21700\left4dead2\a ddons\sourcemod\logs\errors_20220901.log") L 09/01/2022 - 10:39:15: [SM] Exception reported: Cannot create new entity when no map is running L 09/01/2022 - 10:39:15: [SM] Blaming: l4d2_spawnpos_fix.smx L 09/01/2022 - 10:39:15: [SM] Call stack trace: L 09/01/2022 - 10:39:15: [SM] [0] CreateEntityByName L 09/01/2022 - 10:39:15: [SM] [1] Line 146, E:\Games e Programas\Games\LEFT 4 DEAD 2\PLUGINS\SOURCEMODS\sourcemod-1.11.0-git6906-windows\addons\sourcemod\scripting\l4d2_spawn pos_fix.sp::CreateGenericSpawnPoint L 09/01/2022 - 10:39:15: [SM] [2] Line 80, E:\Games e Programas\Games\LEFT 4 DEAD 2\PLUGINS\SOURCEMODS\sourcemod-1.11.0-git6906-windows\addons\sourcemod\scripting\l4d2_spawn pos_fix.sp::FixSpawns L 09/01/2022 - 10:39:15: [SM] [3] Line 41, E:\Games e Programas\Games\LEFT 4 DEAD 2\PLUGINS\SOURCEMODS\sourcemod-1.11.0-git6906-windows\addons\sourcemod\scripting\l4d2_spawn pos_fix.sp::Event_RoundStart L 09/01/2022 - 10:40:02: Error log file session closed. I did some tests on custom maps, for example: DeadBeat Escape map, two bots started stuck under the house buried in the ground. |
All times are GMT -4. The time now is 06:06. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.