addonsVersion 1.0.0: First release.
README.txtVersion 1.0.0: First release.
README.txt2 KB
No file matches.
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
1. Compile scripting/olds_runeguide.sma and copy olds_runeguide.amxx to
addons/amxmodx/plugins/, below rm_base.amxx and the rune plugins.
2. Copy data/lang/olds_runeguide.txt to addons/amxmodx/data/lang/.
3. 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.