RSSy MYGO.pl Opublikowano Październik 14, 2020 o 10:46 RSSy Udostępnij Opublikowano Październik 14, 2020 o 10:46 Quote: Originally Posted by pizzahut (Post 116066) 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 maintenanceCvar 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 - 4.8 KB) Przeczytaj cały wpis Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Rekomendowane odpowiedzi