addonsVersion 1.0.0: First release.
README.txtVersion 1.0.0: First release.
README.txt1.5 KB
No file matches.
Trap Interval Audit 1.0.0 (olds.ro)
===================================
A deathrun mapping aid. For each trap button listed for the map it records
every accepted activation and shows admins the shortest and longest time
between two activations, next to the cooldown the mapper intended:
Spikes #134: intended 20.0 s, 3 uses, shortest 21.0 s, longest 40.0 s - never sooner than intended
It only watches; buttons are never changed.
Requirements
- AMX Mod X 1.10.0.5490 or newer (fakemeta, hamsandwich, gamedata)
Install
1. Compile scripting/olds_trapaudit.sma and copy olds_trapaudit.amxx to
addons/amxmodx/plugins/.
2. Copy configs/olds_trapaudit/ to addons/amxmodx/configs/ and make a
<mapname>.ini from _example.ini.
Command (ADMIN_MAP)
amx_trapaudit the table above, in your console
amx_trapaudit reset clear the observations
What counts as an activation
Use and touch on a func_button are hooked (Ham_Use / Ham_Touch, pre and
post). An activation is accepted when the button was at rest before
(m_toggle_state TS_AT_BOTTOM) and moving after: input while it moves or
waits (a held +use, a second press, a touch) is ignored by the button and
so is not counted. The intervals are get_gametime differences between
accepted activations.
Entity identity
Buttons are found by targetname or brush model when the map starts and
again at every new round; a changed entity number is logged, and the
numbers stay with the config line, not the entity.
No downloads: the audit prints to the admin's console only.