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.
Shot Limit Zone
Shot Limit Zone
Last edited by allejo on Mon Jan 25, 2016 3:46 am, edited 1 time in total.
- dang dizzy white
- Private First Class
- Posts: 69
- Joined: Tue Oct 29, 2013 11:30 pm
- Location: Flowery Path Twelve
Re: Shot Limit Zone
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.
Thank you, I'll be sure to use it if I go back to map creating.
Re: Shot Limit Zone
Wonderful! Good job, allejo!
This may just inspire me to make another map...
This may just inspire me to make another map...
silly
- optic delusion
- Special Forces
- Posts: 1054
- Joined: Sat Sep 25, 2004 2:29 pm
- Location: Planet MoFo
- Contact:
Re: Shot Limit Zone
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?
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?
Take a look at my Defender game mode concept.
Thinking is not an automatic process. A man can choose to think or to let his mind stagnate, or he can choose actively to turn against his intelligence, to evade his knowledge, to subvert his reason. If he refuses to think, he courts disaster: he cannot with impunity reject his means of perceiving reality.
Thinking is not an automatic process. A man can choose to think or to let his mind stagnate, or he can choose actively to turn against his intelligence, to evade his knowledge, to subvert his reason. If he refuses to think, he courts disaster: he cannot with impunity reject his means of perceiving reality.
- kierra
- Lieutenant, Junior Grade
- Posts: 4111
- Joined: Wed Mar 23, 2005 1:02 am
- Location: outer Slovenia
- Contact:
Re: Shot Limit Zone
I hope the underlined means no oo flag on apocalypse bridgesOptic 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?
"Sometimes people try to expose what's wrong with you, because they can't handle what's right about you."
"Measure your words -- they determine the distance of your relationships"
"If serving is beneath you, leadership is beyond ypu."
"Measure your words -- they determine the distance of your relationships"
"If serving is beneath you, leadership is beyond ypu."
Re: Shot Limit Zone
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.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?
Edit: Unless you'd like different shot limits for the same flag