Thread
:
..::[Entity Info]::.. (SPiNZZaHuT)
View Single Post
Plugin Info:
Modification:
Category:
DJEarthQuake
Veteran Member
Join Date: Jan 2014
Location: Astral planes
10-14-2020 , 06:46 ..::[Entity Info]::.. (SPiNZZaHuT)
#
1
Updated
Entity Info plugin
with Cvar
entity_info 0|1
. That turns the plugin on or off. Also optimized this for admins only instead of looping it through all players. I've used this to explore and fix many idiosyncrasies of maps from invalid classnames, to you-name-it, stop broken door sound.
Pik program allows pdata INT value changes in console. Examples provided within the script.
Companion plugin.
Pdata explorer's pik
.
Github link to entity info.
Spoiler
Quote:
Originally Posted by
pizzahut
I wanted to find out where certain infos about sentry guns are stored in TFC, as things like the team and owner keys are *not* used for these. So I wrote a plugin that dumps all keys of an entity to console, except for the empty ones (value zero or empty string).
You need the engine module for this plugin.
Instructions: Look at an entity, press attack. You can use a melee weapon from a distance to avoid damage. A HUD message will come up with the number (id) of the entity, and informing you that more info is available in the console. To save the data, enter the command
condump
in console. This will write a plain ASCII file.
Example:
Btw, the condump command has a bug, where occasionally a single character is missing. Like this excerpt from above example is missing an underscore:
2020 maintenance
Cvar entity_info 0|1. That turns the plugin on or off.
Optimize (don't loop through bots) and soften code.
Restrict to admins only.
Attached Files
Get Plugin
or
Get Source
(entity_info.sma - 253 views - 4.8 KB)
__________________
Be the change you want to see!
Spoiler
amxmodx-1.10-s
Last edited by DJEarthQuake; 09-10-2021 at
22:22
.
DJEarthQuake
View Public Profile
Visit DJEarthQuake's homepage!
Find More Posts by DJEarthQuake