How do I replace map entities without requiring a map reload?
I know this is possible, because this is what Stripper2 does, however, I don't know if it is possible with AMXX, I'm guessing that with FakeMeta, it might be. Does anyone have any idea how you could do this? A code example would be greatly appreciated.
|
Re: How do I replace map entities without requiring a map reload?
http://forums.alliedmods.net/showthr...light=stripper
I'm sure you can find a lot of useful code in this plugin. |
Re: How do I replace map entities without requiring a map reload?
Ya, I've already been looking at that. Thanks.
|
Re: How do I replace map entities without requiring a map reload?
Quote:
|
Re: How do I replace map entities without requiring a map reload?
Can't you just use find_ent_by_model ?
Code:
|
Re: How do I replace map entities without requiring a map reload?
Unless a ton of ents use that model...
Try looking at the entlist in the .bsp file, locate the # of the ent you want to remove, and then use remove_entity. If you don't know what the entlist is, just try opening a .bsp file in wordpad. You'll get a dumpload of jibborish, but if you scroll down about halfway through the crap, you'll run into a list of entities. Just remember, don't save it after you've opened it; just copy what you need. |
| All times are GMT -4. The time now is 22:24. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.