Skip to content
View in the app

A better way to browse. Learn more.

Learn more

Shoreline Trials

Featured Replies

  • Administrator

Measure a practice landing from a named water launch to one of three shore zones.

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.

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_shore.sma, test/shore_stub.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-082).

Shoreline Trials
v1.0.0Counter-Strike 1.6PluginNot tested yet
AMX Mod X 1.10Server engine ReHLDSNeeds ReAPI YesMetamod Metamod-R0 downloads5.6 KBUpdated 6 hours ago
Sign in to download
Pawn (AMX Mod X) · 332 lines
/*
 * Shoreline Trials (olds.ro workshop card AMX-082)
 * Copyright (C) 2026 daemon (olds.ro)
 *
 * This program is free software: you can redistribute it and/or modify it under the terms
 * of the GNU General Public License as published by the Free Software Foundation, either
 * version 3 of the License, or (at your option) any later version.
Show all 332 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.