Armoury Manager
2 Attachment(s)
Armoury Manager
v0.3b For those that do not know what an armoury_entity is, they are the weapons that are on the ground on maps such as fy_snow and fy_iceworld that are free for players to pickup. Each of these entities can be set to a specific weapon/item type and set to hold X quantity of the item. This plugin allows you to create armoury_entity's on maps that do and do not have them by default. The following items are not available as an armoury_entity: c4, knife, pistols, famas and galil. armoury_entity's are not the same as weapons that have been dropped. This plugin allows you to:
Commands
Usage Basic usage is as follows: am_enable command, make all entity changes, am_disable command. Weapons cannot be picked up until am_disable is used. Change existing armoury_entity
Create a new armoury_entity
Screen shots In this example, I am going to modify the weapon type of an existing armoury_entity.
https://dl.dropboxusercontent.com/u/...ger/AMTool.png Please let me know if you discover any bugs and/or if there are any features that you think could make this better. Changelog:
Spoiler
|
Re: Armoury Manager
First to download!
Thanks :D I will test it and return with edit. EDIT: In AMXX 1.8.2 I have error to compile.Can make it and for 1.8.2 to work? http://i.imgur.com/nUTFpVe.jpg |
Re: Armoury Manager
I already fixed that. It will now work with the web compiler as well.
|
Re: Armoury Manager
warning 213: tag mismatch give and now but he compile
|
Re: Armoury Manager
Updated copy has been posted to fix 1.8.2 compatibility issue and tag mismatches. Thank you smiley for the fast reports.
|
Re: Armoury Manager
Don't forget that armoury_entity entities are cleaned up at new round, restarted more exactly (CArmoury::Restart), and entities created through create_entity() will be ignored by game. With amxx dev build, you could have used cs_create_entity(). To be consistent, you will need to cleanup manually custom armoury_entity (Ham_Restart)
|
Re: Armoury Manager
Thanks Arkshine.
So using cs_create_entity, I can treat created and default entities the same at new round for cleanup/reset purposes? |
Re: Armoury Manager
You can read comment https://github.com/alliedmodders/amx...inc#L981-L1007
Since plugin is for 1.8.2, for now, I guess at map start, you could loop over your entities created with plugin, calling Ham_Restart. |
Re: Armoury Manager
Well yes that's the thing, I want to keep it backwards compatible since users will be running a mix of both.
Edit: Posted a fix to my fix. To resolve the 1.8.2 issue I had to register traceline as post. I overlooked not disabling the forward as post when disabling the manager. |
Re: Armoury Manager
Made a few updates and fixes, see changelog for details.
|
All times are GMT -4. The time now is 06:41. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.