Skip to content
View in the app

A better way to browse. Learn more.

Learn more

Platform Courtesy

Featured Replies

  • Administrator

Tell a runner when a shared collapsing platform is occupied.

Platform Courtesy 1.0.0 (olds.ro)

Bunny hop: on maps with shared platforms that collapse or reset under a runner, a player can watch up to olds_platcourt_max platforms. While another runner stands on a watched platform, the watcher sees a DHUD line: Platform 2 (Red lift): occupied by Bravo It clears as soon as the platform is free again.

Requirements

  • ReHLDS, ReGameDLL_CS, Metamod-r, ReAPI
  • AMX Mod X 1.10.0.5490 or newer (fakemeta)

Install

  • Compile scripting/olds_platcourt.sma and copy olds_platcourt.amxx to addons/amxmodx/plugins/. The compiler needs ReAPI's include files.
  • Copy data/lang/olds_platcourt.txt to addons/amxmodx/data/lang/.
  • Copy configs/olds_platcourt/ to addons/amxmodx/configs/ and write a <mapname>.ini for each map from _example.ini.

Use

  say /platform <number>   watch a platform, or stop watching it
  say /platform off        stop watching all
  say /platform            the platforms (* = watched)
  olds_platcourt_status    platforms and who is on them (ADMIN_CFG)

Settings (addons/amxmodx/configs/plugins/olds_platcourt.cfg, created on first run)

  olds_platcourt_max 3     platforms one player may watch (1-10)

Platforms: configs/olds_platcourt/<map>.ini, one per line, numbered from 1:

    "targetname"  "Label"
Every entity with that targetname belongs to the platform (up to 8).

How occupancy is seen Every 0.2 s each living player with FL_ONGROUND stands on pev_groundentity; if it belongs to a platform, that player occupies it. Dead players occupy nothing, so death clears it at once; leaving clears it too. You never see a marker for yourself. If a platform's entities disappear (the map resets them), they are looked up again by targetname every 5 seconds.

No downloads: a DHUD line.

Install

Download the ZIP above and copy its folders into cstrike/. Compile the .sma in addons/amxmodx/scripting with the AMX Mod X 1.10 compiler, put the .amxx in addons/amxmodx/plugins, and add it to plugins.ini.

Files: addons/amxmodx/scripting/olds_platcourt.sma, test/platform_bridge.sma

Idea: olds.ro workshop library · Plugin: daemon · Tested automatically (compiled on AMX Mod X 1.8.2, 1.9 and 1.10, played on a CS 1.6 test server)
License: GPL-3.0-or-later. Written for the olds.ro plugin workshop (AMX-047).

Platform Courtesy
v1.0.0Counter-Strike 1.6PluginNot tested yet
AMX Mod X 1.10Server engine ReHLDSNeeds ReAPI YesMetamod Metamod-R0 downloads5.2 KBUpdated 10 hours ago
Sign in to download
Pawn (AMX Mod X) · 342 lines
/*
 * Platform Courtesy (olds.ro workshop card AMX-047)
 *
 * Bunny hop: on maps with shared platforms that collapse or reset under a
 * runner, a player can watch up to olds_platcourt_max platforms. While
 * another runner stands on a watched platform, the watcher sees a DHUD line:
 *     Platform 2 (Red lift): occupied by Bravo
Show all 342 lines

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.