Prodvigat server

CSB Bad Spawn Fixer v1.0.0

CSB Bad Spawn Fixer kills the classic deathmatch spawn bug where two players share a spawn point and end up stuck inside each other (and telefrag on the next move). On every spawn the plugin runs a human-hull trace at the spawn origin; if it is solid it first lifts the player straight up in small steps, then searches a ring of directions at growing radius until it finds a clear spot, and moves them there with EngFunc_SetOrigin.

Features

  • Human-hull collision check on Ham_Spawn post.
  • Vertical lift first, then an outward ring search for free space.
  • Zeroes velocity on the nudge so the player lands cleanly.
  • Self-contained: fakemeta + hamsandwich only.

Installation

  1. Enable the fakemeta and hamsandwich modules in modules.ini.
  2. Compile csb_bad_spawn_preventer.sma, copy it to addons/amxmodx/plugins/ and add it to plugins.ini.
  3. Change the map.
Установка
1. Enable the fakemeta and hamsandwich modules in addons/amxmodx/configs/modules.ini
2. Put csb_bad_spawn_preventer.amxx in addons/amxmodx/plugins/ and add it to plugins.ini
3. Change map
Cvar-ы1
CVARDefaultDescription
csb_badspawn_enabled1Enable or disable the bad-spawn fixer.
Рейтинг
Оценок пока нет