Surface Notebook 1.0.0 (olds.ro)
================================
A notebook for mappers. Walk your map, aim at a wall, floor or ceiling that
needs work and type amx_pin with a short remark. The plugin traces from your
eyes, reads the texture name at that spot and keeps it together with the exact
position and your remark. amx_pins lists every pin of the map in the console,
so you can note "misaligned", "z-fighting" or "wrong texture" while you walk
and read the list back when you open the editor.
Requirements
- AMX Mod X 1.10 or newer with the fakemeta module (ships with AMX Mod X)
- No ReAPI needed
- Tested on AMX Mod X 1.10.0.5490, ReHLDS 3.15.0.896, ReGameDLL_CS 5.30.0.814
Install
1. Compile scripting/olds_pins.sma with amxxpc 1.10 and copy olds_pins.amxx
to addons/amxmodx/plugins/.
2. Copy data/lang/olds_pins.txt to addons/amxmodx/data/lang/.
3. Copy configs/plugins/olds_pins.cfg to addons/amxmodx/configs/plugins/.
4. Add olds_pins.amxx to addons/amxmodx/configs/plugins.ini.
Commands (admins with the ADMIN_RCON flag, "l" in users.ini)
amx_pin <remark> pins the surface you aim at; the remark is optional
amx_pins lists the pins of this map (works from the server console too)
Example
amx_pin misaligned trim
-> Pin #1: dust_wall2 at 412 -1180 96 - misaligned trim
amx_pins
-> Pins on de_dust2: 1 of 12
#1 dust_wall2 at 412 -1180 96 - misaligned trim (YourName)
Rules
- Up to 12 pins per map. They are kept until the map changes.
- The sky and a trace that hits nothing are refused with "No surface there".
- A spot within olds_pins_dedupe units of an existing pin is not added again;
the reply names the pin that is already there.
- Copy the list from your console before you change the map.
Settings (addons/amxmodx/configs/plugins/olds_pins.cfg)
olds_pins_dedupe 16 two pins closer than this many units are the same spot
(0 - 1024)
No sounds, models or sprites are added. Texts are in data/lang/olds_pins.txt
(English).
Credits and licence
Written from scratch by alexit (olds.ro workshop) for workshop card AMX-080.
Licence: GPL-3.0-or-later.