CSB Bad Spawn Fixer

v1.0.0 11 изтегляния Daemon666 Последна актуализация: Jul 16, 2026

Stops spawning inside another player: a hull trace on spawn nudges stuck players to the nearest free spot.

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-и

CVARDefaultDescription
csb_badspawn_enabled 1 Enable or disable the bad-spawn fixer.

Списък с промени — v1.0.0

1.0.0 - Initial release.
Версии →
Сътрудници: Daemon666 ✦
Лиценз: GPL-3.0

Оценка

No ratings yet.

Download v1.0.0

Compiled live from the source below — nothing pre-built.
Изтегли .sma
Файлове:
csb_bad_spawn_preventer.sma main 2.8 KB

Изисквания

AMX Mod X ≥ 1.9
Engine ReHLDS HLDS
ReGameDLL Незадължително
ReAPI Незадължително
Metamod Metamod / Metamod-r
Модули fakemeta hamsandwich
Известни конфликти Other plugins that reposition players on spawn (random spawns, spawn protection teleports) may conflict; order them after this one.
Обратно към плъгините