CSB Portal Gun

v1.0.0 14 téléchargements Daemon666 Dernière mise à jour: 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.

Commandes

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

Journal des modifications — v1.0.0

1.0.0 - Initial release.
Versions →
Contributeurs: Daemon666 ✦
Licence: GPL-3.0

Note

No ratings yet.

Download v1.0.0

Compiled live from the source below — nothing pre-built.
Télécharger .sma
Fichiers:
csb_portal_gun.sma main 5.6 KB

Prérequis

AMX Mod X ≥ 1.9
Engine ReHLDS HLDS
ReGameDLL Optionnel
ReAPI Optionnel
Metamod Metamod / Metamod-r
Modules fakemeta
Conflits connus On surf and bhop maps the velocity-preserving teleport can be very fast; tune the radius.
Retour aux Plugins