Skip to content
View in the app

A better way to browse. Learn more.

Learn more

platform-courtesy/README.txt

README.txt
41 lines · 1.8 KB · Text
Raw
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
  1. Compile scripting/olds_platcourt.sma and copy olds_platcourt.amxx to
     addons/amxmodx/plugins/. The compiler needs ReAPI's include files.
  2. Copy data/lang/olds_platcourt.txt to addons/amxmodx/data/lang/.
  3. 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.

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.