Checkpoint Postcard 1.0.0 (olds.ro)
===================================
For Kreedz servers. Pin a short private note to a hard checkpoint ("duck
before the second block"); every time you restore that checkpoint the note
shows on your screen for 4 seconds. Nobody else ever sees it.
Requirements
- ReHLDS, ReGameDLL_CS, Metamod-r, ReAPI
- AMX Mod X 1.10.0.5490 or newer
- The Kreedz timer by Theggv (kz_core.amxx; checked against
github.com/Theggv/Kreedz commit 6baf707). The plugin follows that
timer's checkpoints through its forwards kz_cp_pre, kz_tp_post and
kz_timer_start_post and its natives kz_get_cp_num, kz_get_last_cp and
kz_get_timer_state.
Install
1. Compile scripting/olds_cpnote.sma and copy olds_cpnote.amxx to addons/amxmodx/plugins/.
The compiler needs ReAPI's include files (reapi.inc and the reapi_*.inc
files from the ReAPI release, addons/amxmodx/scripting/include/) next to
the stock AMX Mod X includes. The Kreedz include is not needed.
2. Copy data/lang/olds_cpnote.txt to addons/amxmodx/data/lang/.
3. Add olds_cpnote.amxx to plugins.ini below the Kreedz plugins.
Use
say /cpnote <text> pin a note to your current checkpoint (the one /tp restores)
say /cpnote clear remove it
say /cpnote show the current checkpoint's note in chat
Which checkpoint a note belongs to
- The timer keeps your latest 20 checkpoints. A note stays on its own
checkpoint: /stuck back to an older checkpoint shows that one's note.
- Saving over a checkpoint (a new save after /stuck, or the 21st save)
removes the old note with it. A new run (/start) deletes all checkpoints
and all notes.
- Checkpoints taken while paused never carry notes.
- A restore of a checkpoint with no note shows nothing.
- Notes are kept in memory only: they are gone after a map change. After a
reconnect they come back only with the same real Steam id in the same
slot, as the timer's checkpoints do.
Settings (addons/amxmodx/configs/plugins/olds_cpnote.cfg, created on first run)
olds_cpnote_len 60 longest note in characters (1-60); longer notes are cut and you are told
Commands
olds_cpnote_status each player's checkpoints and note lengths, never the text (ADMIN_CFG)
The note is a DHUD line in the game's own HUD font; nothing is downloaded or precached.