Skip to content
View in the app

A better way to browse. Learn more.

Learn more

Rune Field Guide

Featured Replies

  • Administrator

Explain a rune the first time a player collects it on a map.

Rune Field Guide 1.0.0 (olds.ro)

RuneMod: the first time a player picks up a rune on this map, one short DHUD hint explains it, for example Speed rune: you run much faster until it wears off. Each rune is explained once per player per map; /runehints turns the hints off or on again for yourself.

Requirements

  • AMX Mod X 1.10.0.5490 or newer
  • RuneMod Reloaded (github.com/UnrealKaraulov/RERUNEMOD, rm_base.amxx)

Install

  • Compile scripting/olds_runeguide.sma and copy olds_runeguide.amxx to addons/amxmodx/plugins/, below rm_base.amxx and the rune plugins.
  • Copy data/lang/olds_runeguide.txt to addons/amxmodx/data/lang/.
  • Copy configs/olds_runeguide.ini to addons/amxmodx/configs/.

Use

  say /runehints          turn the hints off or on for yourself (on by default)
  olds_runeguide_status   the catalogue, the RuneMod link, and each player's
                          seen runes (ADMIN_CFG)

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

  olds_runeguide_secs 4   seconds a hint stays on screen (1-15)

Catalogue: configs/olds_runeguide.ini, one rune per line:

    <rune name as RuneMod registers it>  <hint key in olds_runeguide.txt>
Shipped: speed, regeneration, protection, invisibility, teleport and phantom.
Add a rune by adding a line here and its hint text to the lang file.

How pickups are seen RuneMod has no natives or forwards: its plugins call public functions of the base plugin, and this plugin does the same, read-only. rm_player_active_rune(id) is read every 0.2 s; a change to a rune is a pickup. rm_get_rune_by_name_api() turns the catalogue names into rune ids once all plugins have started. Runes not in the catalogue, or not registered by RuneMod, get no hint and are not marked as seen. With hints off, pickups are neither shown nor marked. Seen runes are one bit each per player (up to 32 runes), cleared on disconnect and map change.

No downloads: the hint texts are in the server's lang file.

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_runeguide.sma, test/rm_base_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-091).

Rune Field Guide
v1.0.0Counter-Strike 1.6PluginNot tested yet
AMX Mod X 1.10Server engine HLDS, ReHLDSNeeds ReAPI NoMetamod Metamod-R0 downloads5.1 KBUpdated 11 hours ago
Sign in to download
Pawn (AMX Mod X) · 279 lines
/*
 * Rune Field Guide (olds.ro workshop card AMX-091)
 *
 * RuneMod: the first time a player picks up a rune on this map, one short
 * DHUD hint explains it, for example
 *     Speed rune: you run much faster until it wears off.
 * Each rune is explained once per player per map; /runehints turns the hints
Show all 279 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.