Shot Limit Zone

Expand and mod your server.
Post Reply
User avatar
allejo
Breaker of Builds
Breaker of Builds
Posts: 746
Joined: Sun Feb 17, 2008 10:01 pm
Location: /dev/null
Contact:

Shot Limit Zone

Post by allejo » Sun Dec 22, 2013 3:29 am

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.
Last edited by allejo on Mon Jan 25, 2016 3:46 am, edited 1 time in total.
Here's my personal website and my open source projects are available on GitHub; I work on a lot of cool things.

Image

User avatar
dang dizzy white
Private First Class
Private First Class
Posts: 69
Joined: Tue Oct 29, 2013 11:30 pm
Location: Flowery Path Twelve

Re: Shot Limit Zone

Post by dang dizzy white » Sun Dec 22, 2013 9:14 am

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.

sillysir
Private First Class
Private First Class
Posts: 75
Joined: Tue Jan 01, 2013 6:03 pm

Re: Shot Limit Zone

Post by sillysir » Mon Dec 23, 2013 4:00 am

Wonderful! Good job, allejo! :)

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

User avatar
optic delusion
Special Forces
Special Forces
Posts: 986
Joined: Sat Sep 25, 2004 2:29 pm
Location: Planet MoFo
Contact:

Re: Shot Limit Zone

Post by optic delusion » Sun Jan 24, 2016 3:42 pm

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?
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.

User avatar
kierra
Lieutenant, Junior Grade
Lieutenant, Junior Grade
Posts: 3804
Joined: Wed Mar 23, 2005 1:02 am
Location: outer Slovenia
Contact:

Re: Shot Limit Zone

Post by kierra » Sun Jan 24, 2016 6:15 pm

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 :)
"Trying to reason with a fool is like trying to teach a goldfish to bring you the newspaper"
"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"

User avatar
allejo
Breaker of Builds
Breaker of Builds
Posts: 746
Joined: Sun Feb 17, 2008 10:01 pm
Location: /dev/null
Contact:

Re: Shot Limit Zone

Post by allejo » Sun Jan 24, 2016 8:29 pm

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
Here's my personal website and my open source projects are available on GitHub; I work on a lot of cool things.

Image

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest