Page 1 of 1

Shot Limit Zone

Posted: Sun Dec 22, 2013 3:29 am
by allejo
A plugin that allows you add shot limits to flag based on the location of the flag. The difference between this plugin and the default BZFS -sl option is that by using that option, you are limiting all of the flags of the same type where with this plugin you will only limit the shot limit of a flag if grabbed from a specific area in the map. This plugin will not overwrite the -sl option.

Plug-in GitHub Page
https://github.com/allejo/shotLimitZone

Read Me
https://github.com/allejo/shotLimitZone ... /README.md

Most Up to Date Plug-in:
https://github.com/allejo/shotLimitZone ... itZone.cpp

BZW Example
https://github.com/allejo/shotLimitZone ... itZone.bzw

License
GPLv3

Please read the 'README,' it'll answer all your questions. I'm not providing any .so or .dll files because everyone who's hosting should be able to compile it themselves. Enjoy.

Re: Shot Limit Zone

Posted: Sun Dec 22, 2013 9:14 am
by dang dizzy white
This would actually be really useful for some progressive movement maps or some shot-enabled HTF.
Thank you, I'll be sure to use it if I go back to map creating.

Re: Shot Limit Zone

Posted: Mon Dec 23, 2013 4:00 am
by sillysir
Wonderful! Good job, allejo! :)

This may just inspire me to make another map... :D

Re: Shot Limit Zone

Posted: Sun Jan 24, 2016 3:42 pm
by optic delusion
just realized that...
zoneflag will generate the number of flags i want, and shotLimitZone preserves shot limits... If i make a zone including all flags, that is as big as the world size...
I can move flag generation completely out of the conf file, and into the bzw.
Also gives me the ability to simulate some flags that can spawn on buildings, while others cannot.

Will the plugin handle that many flags? I think it will, i know one way to find out.
Also, how will it react to Zoned tanks?

Re: Shot Limit Zone

Posted: Sun Jan 24, 2016 6:15 pm
by kierra
Optic Delusion wrote:just realized that...
zoneflag will generate the number of flags i want, and shotLimitZone preserves shot limits... If i make a zone including all flags, that is as big as the world size...
I can move flag generation completely out of the conf file, and into the bzw.
Also gives me the ability to simulate some flags that can spawn on buildings, while others cannot.

Will the plugin handle that many flags? I think it will, i know one way to find out.
Also, how will it react to Zoned tanks?
I hope the underlined means no oo flag on apocalypse bridges :)

Re: Shot Limit Zone

Posted: Sun Jan 24, 2016 8:29 pm
by allejo
Optic Delusion wrote:just realized that...
zoneflag will generate the number of flags i want, and shotLimitZone preserves shot limits... If i make a zone including all flags, that is as big as the world size...
I can move flag generation completely out of the conf file, and into the bzw.
Also gives me the ability to simulate some flags that can spawn on buildings, while others cannot.

Will the plugin handle that many flags? I think it will, i know one way to find out.
Also, how will it react to Zoned tanks?
Having a zone that size of the world using this plug-in would be no different from including -sl in the options block of a bzw. This plug-in is intended to be used as it is now on Apocalypse, a tiny zone with flags that have limited shots.

Edit: Unless you'd like different shot limits for the same flag