Skip to content
View in the app

A better way to browse. Learn more.

Learn more

Surface Notebook

Featured Replies

  • Administrator

Let a mapper pin a texture, surface position, and short remark while walking a map.

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

  • Compile scripting/olds_pins.sma with amxxpc 1.10 and copy olds_pins.amxx to addons/amxmodx/plugins/.
  • Copy data/lang/olds_pins.txt to addons/amxmodx/data/lang/.
  • Copy configs/plugins/olds_pins.cfg to addons/amxmodx/configs/plugins/.
  • 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.

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_pins.sma, test/olds_pins_testhelper.sma

License: GPL-3.0-or-later.
Written for the olds.ro plugin workshop (AMX-080), by alexit and checked by the automated Claude review.

Surface Notebook
v1.0.0Counter-Strike 1.6PluginTests: warnings
AMX Mod X 1.10Server engine HLDS, ReHLDSNeeds ReAPI NoMetamod Metamod-R0 downloads4.8 KBUpdated 12 hours ago
Sign in to download
Pawn (AMX Mod X) · 226 lines
/*
 * Surface Notebook (olds.ro workshop card AMX-080)
 *
 * A mapper walking a map aims at a wall, floor or ceiling and types
 * amx_pin <remark>. The plugin traces from the player's eyes, reads the
 * texture there and keeps the texture name, the exact position and the
 * remark. amx_pins lists every pin of the map in the console, so a mapper
Show all 226 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.