Shoreline Trials (olds.ro workshop card AMX-082)
Copyright (C) 2026 daemon (olds.ro). GPL-3.0-or-later.
Kreedz practice for water maps: measure a landing from a named water launch to
one of three shore zones.
- Every frame (FM_PlayerPostThink) the plugin reads pev_waterlevel and
FL_ONGROUND. Leaving the water (waterlevel from above 0 to 0) inside a
launch volume starts an attempt at that point.
- The first landing afterwards ends it. If the landing point is inside a
shore zone and at least olds_shore_minlen units away (flat distance
from the take-off), the jumper alone sees a DHUD line:
"300 units - shore 2 (Sand bar) from Fountain"
and the farthest landing is their best ("NEW BEST").
- Dropped without a result: a landing in no named zone or shorter than
olds_shore_minlen, falling back into the water, walking out of the water
without jumping, a teleport or a checkpoint restore (a move further than
the speed allows between two frames), a death or a respawn.
- say /shore: your best distance, its shore and launch. On a map without a
route: "No water route is configured on this map." Such maps have no
sessions at all (the frame hook is not even registered).
Routes: configs/olds_shore/<map>.ini (see configs/olds_shore/_example.ini):
launch "<name>" x1 y1 z1 x2 y2 z2 up to 8 water volumes
shore <1-3> "<name>" x1 y1 z1 x2 y2 z2 up to 3 landing zones
A map needs at least one launch and one shore.
Cvars (configs/plugins/olds_shore.cfg): olds_shore_minlen 128.
Admin: amx_shore_status (ADMIN_RCON).
Install: compile scripting/olds_shore.sma with amxxpc 1.10, add olds_shore.amxx
to plugins.ini, copy data/lang/olds_shore.txt and make the route files.
Needs ReAPI and fakemeta. No downloads.