CSB Portal Gun

v1.0.0 12 Downloads Daemon666 Zuletzt aktualisiert: Jul 16, 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.

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.

Befehle

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

Änderungsprotokoll — v1.0.0

1.0.0 - Initial release.
Versionen →
Mitwirkende: Daemon666 ✦
Lizenz: GPL-3.0

Bewertung

No ratings yet.

Download v1.0.0

Compiled live from the source below — nothing pre-built.
.sma herunterladen
Dateien:
csb_portal_gun.sma main 5.6 KB

Anforderungen

AMX Mod X ≥ 1.9
Engine ReHLDS HLDS
ReGameDLL Optional
ReAPI Optional
Metamod Metamod / Metamod-r
Module fakemeta
Bekannte Konflikte On surf and bhop maps the velocity-preserving teleport can be very fast; tune the radius.
Zurück zu den Plugins