11 hours ago11 hr Administrator Explain a player's landing inside an opt-in practice zone. Landing Lab 1.0.0 (olds.ro) Kreedz practice: a player who turned it on with /landlab and lands inside a training zone gets one short recap of that landing, for example Landing: 250 u/s on touch-down, dropped 64 units (fall speed 410) Nothing is collected outside the zones, during a ranked run, or across a teleport or checkpoint restore. Requirements ReHLDS, ReGameDLL_CS, Metamod-r, ReAPIAMX Mod X 1.10.0.5490 or newer (fakemeta)Any Kreedz core; to keep ranked runs out, the core or a small bridge calls the natives below Install Compile scripting/olds_landlab.sma and copy olds_landlab.amxx to addons/amxmodx/plugins/. The compiler needs ReAPI's include files.Copy data/lang/olds_landlab.txt to addons/amxmodx/data/lang/.Copy configs/olds_landlab/ to addons/amxmodx/configs/ and make <mapname>.ini files from _example.ini. Use say /landlab turn the recap on or off for yourself (off by default) olds_landlab_status zones, and who has the recap on (ADMIN_CFG) Settings (addons/amxmodx/configs/plugins/olds_landlab.cfg, created on first run) olds_landlab_hud 1 1 = DHUD line, 0 = chat Zones: configs/olds_landlab/<map>.ini, one box per line: "Zone name" x1 y1 z1 x2 y2 z2 A map without zones registers no frame hook and shows no recap. How a landing is seen Every frame (FM_PlayerPostThink) the plugin reads pev_flags. Leaving the ground starts a jump and records the height (pev_origin z); while in the air it keeps the last horizontal speed and fall speed; the first frame with FL_ONGROUND again is the landing, and the recap shows that speed and the height lost since take-off.A jump is dropped (no recap) when the player leaves the zone, moves further in one frame than their speed allows (a teleport or checkpoint restore), respawns, or is in a ranked run. Natives for a KZ core or bridge (library "olds_landlab") olds_landlab_set_ranked(id, bool:ranked) ranked runs show and store nothing olds_landlab_teleported(id) drop the current jump now Declare them in the calling plugin, for example: native olds_landlab_set_ranked(id, bool:ranked) Without a bridge every run counts as practice. No downloads: the recap is a DHUD line (or chat). InstallDownload 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_landlab.sma, test/landlab_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-044). Landing Labv1.0.0Counter-Strike 1.6PluginNot tested yetAMX Mod X 1.10Server engine ReHLDSNeeds ReAPI YesMetamod Metamod-R0 downloads5.6 KBUpdated 11 hours agoSign in to downloadolds_landlab.smaPawn (AMX Mod X) · 339 lines4 files/* * Landing Lab (olds.ro workshop card AMX-044) * * Kreedz practice: a player who turned it on with /landlab and lands inside a * training zone gets one short recap of that landing: * Landing: 250 u/s on touch-down, dropped 64 units (fall speed 410) * Nothing is collected outside the zones, during a ranked run, or across aShow all 339 linesChangelogVersions (1)Install into: cstrike/Open the full page →
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.