CSB Bad Spawn Fixer

v1.0.0 0 descargas Daemon666 Última actualización: Jul 15, 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.

Instalación

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

Cvars

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

Registro de cambios — v1.0.0

1.0.0 - Initial release.
Versiones →
Colaboradores: Daemon666 ✦
Licencia: GPL-3.0

Valoración

No ratings yet.

Download v1.0.0

Compiled live from the source below — nothing pre-built.
Descargar .sma
Archivos:
csb_bad_spawn_preventer.sma main 2.8 KB

Requisitos

AMX Mod X ≥ 1.9
Engine ReHLDS HLDS
ReGameDLL Opcional
ReAPI Opcional
Metamod Metamod / Metamod-r
Módulos fakemeta hamsandwich
Conflictos conocidos Other plugins that reposition players on spawn (random spawns, spawn protection teleports) may conflict; order them after this one.
Volver a Plugins