CSB Map Spawn Editor

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

In-game spawn editor: /addspawn, /delspawn, /savespawns store points per map and override player spawns via SetOrigin.

CSB Map Spawn Editor lets an admin build a custom spawn list from inside the game — handy for DM and CSDM-style maps that need spawns the mapper never placed. say /addspawn records your current origin and view angles, say /delspawn removes the closest saved point, say /savespawns writes the list, and say /listspawns reports the count.

Spawns are stored per map in the AMXX data directory (csb_spawns_<map>.txt) and reloaded on map start. On respawn, a Ham_Spawn post hook teleports the player to a random saved point with engfunc(EngFunc_SetOrigin), sets their view angles and zeroes their velocity. Inspired by the CSDM spawn editor by BAILOPAN; independent GPL re-implementation.

Features

  • /addspawn, /delspawn, /savespawns, /listspawns — admin only.
  • Per-map storage under the AMXX data directory, up to 64 points.
  • Random custom spawn applied on every respawn (toggle with csb_spawn_override).
  • View angles restored and residual velocity cleared on teleport.

Installation

  1. Compile csb_map_spawn_editor.sma and copy it to addons/amxmodx/plugins/.
  2. Add it to plugins.ini and change the map.
  3. Walk to each spot, type /addspawn, then /savespawns.

The editing commands need the ADMIN_MAP flag (e).

Инсталация

1. Put csb_map_spawn_editor.amxx in addons/amxmodx/plugins/
2. Add it to addons/amxmodx/configs/plugins.ini
3. Change map
4. Files are saved as csb_spawns_<map>.txt in addons/amxmodx/data/

Cvar-и

CVARDefaultDescription
csb_spawn_enabled 1 Master enable for the editor and override.
csb_spawn_override 1 Teleport players to a saved spawn on respawn.

Команди

CommandAccessDescription
say /addspawn e (ADMIN_MAP) Save your current position as a spawn point.
say /delspawn e (ADMIN_MAP) Remove the closest saved spawn point.
say /savespawns e (ADMIN_MAP) Write the spawn list to disk for this map.
say /listspawns e (ADMIN_MAP) Report how many spawns are loaded.

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

1.0.0 - Initial release.
Версии →
Сътрудници: Daemon666 ✦
Оригинален автор: BAILOPAN (CSDM) Лиценз: GPL-3.0

Оценка

No ratings yet.

Download v1.0.0

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

Изисквания

AMX Mod X ≥ 1.9
Engine ReHLDS HLDS
ReGameDLL Незадължително
ReAPI Незадължително
Metamod Metamod / Metamod-r
Модули fakemeta hamsandwich
Известни конфликти Other spawn managers (CSDM spawn mode, spawn-protection teleporters) that also move players on Ham_Spawn will conflict.
Обратно към плъгините