CSB Bad Spawn Fixer

v1.0.0 11 indirme Daemon666 Son güncelleme: 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.

Kurulum

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

Cvarlar

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

Değişiklik günlüğü — v1.0.0

1.0.0 - Initial release.
Sürümler →
Katkıda bulunanlar: Daemon666 ✦
Lisans: GPL-3.0

Puan

No ratings yet.

Download v1.0.0

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

Gereksinimler

AMX Mod X ≥ 1.9
Engine ReHLDS HLDS
ReGameDLL İsteğe bağlı
ReAPI İsteğe bağlı
Metamod Metamod / Metamod-r
Modüller fakemeta hamsandwich
Bilinen çakışmalar Other plugins that reposition players on spawn (random spawns, spawn protection teleports) may conflict; order them after this one.
Eklentilere Dön