Skip to content
View in the app

A better way to browse. Learn more.

Learn more
Daemon/

Admin Entity Editor

Plugin
Daemona79ac5b0beVersion 1.0.0: First release.History
addonsVersion 1.0.0: First release.
README.txtVersion 1.0.0: First release.
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) 1. 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 5. Remove hides it (no model, no collision, no touch) 6. Create a copy here a copy of the selected entity's model where you aim 7. Undo the last change (up to 20) 8. 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.

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.