Skip to content
View in the app

A better way to browse. Learn more.

Learn more

Admin Entity Editor

Featured Replies

  • Administrator

Admins move, remove or add map entities in game and save the changes so they apply at the next map load.

Admin Entity Editor 1.0.0 (olds.ro)

Admins pick map entities by aiming at them, move them, remove them, or put a copy somewhere else, with an undo of the last 20 changes. Changes are saved to addons/amxmodx/configs/entedit/<mapname>.ini and applied again at every load of that map.

Requirements

  • ReHLDS, ReGameDLL_CS, Metamod-r, ReAPI
  • AMX Mod X 1.10.0.5490 or newer (fakemeta)

Install Compile scripting/olds_entedit.sma and copy olds_entedit.amxx to addons/amxmodx/plugins/. The compiler needs ReAPI's include files.

Menu: amx_ent (ADMIN_RCON)

  • Select (aim) the entity under your crosshair; for entities you cannot hit (no solid) the nearest model within 48 units of where you aim. Its number, class, targetname and model are printed, and it gets a purple outline that only you see. 2-4. Move X / Y / Z olds_ent_step units; 9 flips plus/minus
  • Remove hides it (no model, no collision, no touch)
  • Create a copy here a copy of the selected entity's model where you aim
  • Undo the last change (up to 20)
  • Save

Console forms (also from the server console): amx_ent select [#index | classname], amx_ent move <dx> <dy> <dz>, amx_ent remove, create, undo, save, info.

Settings (addons/amxmodx/configs/plugins/olds_entedit.cfg, created on first run)

  olds_ent_save 1    1 = every change is written to the file at once;
                     0 = only with Save (unsaved changes end with the map)
  olds_ent_step 8    units per menu move (1-512)

Save file (one change per line)

  move "<key>" x y z               a map entity at a new origin
  remove "<key>"                   a map entity hidden
  create "<model>" x y z p y r     a copy (class olds_ent_prop)
A key is the brush model ("*12") for brush entities, or
classname@x,y,z (the original origin) for point entities. The file is read in
plugin_cfg, after the map's entities exist; removals are applied again on
each new round (RG_CSGameRules_RestartRound) because some entities restore
themselves. Copies use only models that are surely precached: a brush model a
map entity still uses, or a model file precached from the save file at map
start (a copy whose model cannot be used is skipped with a log line).

Notes

  • Removing only hides an entity, so undo can bring it back and targets that name it keep working.
  • Players cannot be selected.

No downloads: entities use the map's own models; the outline is the stock sprites/laserbeam.spr.

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_entedit.sma, test/ee_stub.sma

Idea: olds.ro workshop library · Plugin: daemon · Tested automatically (compiled on AMX Mod X 1.8.2, 1.9 and 1.10, played on a CS 1.6 test server)
License: GPL-3.0-or-later. Written for the olds.ro plugin workshop (LIB-1011).

Admin Entity Editor
v1.0.0Counter-Strike 1.6PluginNot tested yet
AMX Mod X 1.10Server engine ReHLDSNeeds ReAPI YesMetamod Metamod-R0 downloads8.1 KBUpdated 10 hours ago
Sign in to download
Pawn (AMX Mod X) · 842 lines
/*
 * Admin Entity Editor (olds.ro) - admins select map entities by aim, move,
 * remove (hide) or copy them, undo the last 20 changes, and save the result
 * to configs/entedit/<mapname>.ini so it is applied again at every map load.
 *
 * Copyright (C) 2026 daemon (olds.ro), written by daemon's plugin agent
 *
Show all 842 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.