Daemon666 / CSB Portal Gun Public

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

v1.0.0 155 downloads GPL-3.0 Last updated Aug 25, 2026
Daemon666 1.0.0 - Initial release. v1.0.0 Apr 2, 2026 1 Versions
csb_portal_gun.sma main 09ca85b 5.6 KB
README.md

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.
Installation
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
CVARs
CVARDefaultDescription
csb_portal_enabled 1 Enable or disable the portal gun.
csb_portal_radius 48.0 Distance from a portal that triggers the teleport.
Commands
CommandAccessDescription
+portalblue Fire the blue portal at your aim point.
+portalorange Fire the orange portal at your aim point.
Changelog — v1.0.0
1.0.0 - Initial release.
Versions →
Rating

No ratings yet.

About
Download v1.0.0
Compiled live from the source below — nothing pre-built.
Download source (.sma)
Requirements
AMX Mod X ≥ 1.9
Engine ReHLDS HLDS
ReGameDLL Not required
ReAPI Not required
Metamod Metamod / Metamod-r
Required modules fakemeta
Known conflicts On surf and bhop maps the velocity-preserving teleport can be very fast; tune the radius.
Contributors
Back to Plugins