CSB Portal Gun

v1.0.0 0 загрузок Daemon666 Обновлено: Jul 15, 2026

Place a blue and an orange portal by aiming at a surface; walking into one teleports you to the other with your velocity kept.

CSB Portal Gun is a two-portal teleporter. Bind a key to +portalblue and one to +portalorange; each fires a trace from your aim and drops that colour portal on the surface it hits, nudged off the wall so you can step into it. When both of your portals exist, walking into one teleports you to the other and keeps your velocity, so you fly out of the far side. Portals are per-player, marked with a coloured sprite pillar, and cleared at round start.

Features

  • Independent blue and orange portals bound to keys.
  • Velocity is preserved through the teleport for momentum tricks.
  • Portals are drawn as coloured sprite pillars and refreshed on a task.
  • Per-player and reset every round; a short cooldown stops teleport loops.

Installation

  1. Enable the fakemeta module in modules.ini.
  2. Compile csb_portal_gun.sma, copy it to addons/amxmodx/plugins/ and add it to plugins.ini.
  3. Change the map, then bind mouse1 +portalblue and bind mouse2 +portalorange in your config.

Установка

1. Enable the fakemeta module in addons/amxmodx/configs/modules.ini
2. Put csb_portal_gun.amxx in addons/amxmodx/plugins/ and add it to plugins.ini
3. Change map
4. bind keys to +portalblue and +portalorange

Cvar-ы

CVARDefaultDescription
csb_portal_enabled 1 Enable or disable the portal gun.
csb_portal_radius 48.0 Distance from a portal that triggers the teleport.

Команды

CommandAccessDescription
+portalblue Fire the blue portal at your aim point.
+portalorange Fire the orange portal at your aim point.

История изменений — 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_portal_gun.sma main 5.6 KB

Требования

AMX Mod X ≥ 1.9
Движок ReHLDS HLDS
ReGameDLL Необязательно
ReAPI Необязательно
Metamod Metamod / Metamod-r
Модули fakemeta
Известные конфликты On surf and bhop maps the velocity-preserving teleport can be very fast; tune the radius.
Назад к плагинам