RSSy MYGO.pl Opublikowano Lipiec 13, 2022 o 10:13 RSSy Udostępnij Opublikowano Lipiec 13, 2022 o 10:13 Description: Some addon maps has weird bug, when you first time spawn somewhere underground. This plugin is intended to fix that by force teleporting survivors to "info_survivor_position" or "info_player_start" entity location if initial spawn vector located too far (150.0 units > these entities or in case player stucked). Features: - 2 methods of teleportation: * warp (using director command) * teleport (sdktools), used if first one failed - 2 entities detection: * info_survivor_position * info_player_start Recommended for: - addon maps Settings (ConVars):see: cfg/sourcemod/l4d_surv_spawnpos.cfg: PHP Code: // Enable plugin (1 - On / 0 - Off) l4d_surv_spawnpos_enabled "1" Commands: They are only available if you recompile plugin with #define DEBUG 1 PHP Code: // Show pre-defined spawn entity position sm_spawnpos // Warp to survivor position using director command sm_spawnwarp // Teleport to survivor position entity sm_spawntel InstallationCopy l4d_survivor_spawnpos_fix.smx to folder: "addons/sourcemod/plugins" DonateDonates are very appreciated and welcomed for further inspiration, make me happy, and make next updates came out more often: - Patreon (Paypal) - BitCoin - Ю.Money Attached Files Get Plugin or Get Source (l4d_survivor_spawnpos_fix.sp - 5.8 KB) Wyświetl pełny artykuł Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Rekomendowane odpowiedzi