Getting Map Entities
I made a map, with custom entities. Compiled fine. I want to find those entities with amxx and get origin and keyvalues. Seems like i can't find those entities... i tried:
PHP Code:
I also tried registering FM_Spawn forward in precache and unregistering it on plugin_init.. it logged all entities except mine... I tried with FM_KeyValue.. the same. All except mine. I decompiled the map and still those entities were there. Strange? Any ideas? |
Re: Getting Map Entities
Load shptools on your map ( http://forums.space-headed.net/viewtopic.php?t=111 ) , type listent in console and see yours ents.
For keyvalue, hook FM_SetKevalue (with shptools), see listapi, hook_api, and restart the map. |
Re: Getting Map Entities
Hmm.. doesn't show up. Seems like it's a map problem... :/.
|
Re: Getting Map Entities
Is it possible to get the map, shine771 ?
[edit] Thanks. |
Re: Getting Map Entities
Weird, indeed. I've tried without success, though there is a way. Using Engine and pfn_keyvalue, it works... Don't know why it doesn't work via fakemeta. :/
|
Re: Getting Map Entities
I'm making a mod.. and i don't want to include engine just because of 1-2 lines... stupid.. :/.
EDIT: about pfn_keyvalue, yea i saw that in soccerjam. Was wondering how the author got it to work... |
Re: Getting Map Entities
bumpy... i really need this.. :S...
|
| All times are GMT -4. The time now is 01:43. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.