Team Flag spawn away from base?
- optic delusion
- Special Forces
- Posts: 1054
- Joined: Sat Sep 25, 2004 2:29 pm
- Location: Planet MoFo
- Contact:
Team Flag spawn away from base?
How do you get a team flag to spawn at a location other than on the base? after a capture, of course.
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.
Re: Team Flag spawn away from base?
Interesting question, I doubt it is even possible without intrusive plugins.
As you're probably well aware, there are already default parameters present at the zone object where one can specify the nearest zone where a team flag will fly to, but not upon capture.
Unless I'm wrong and there is some sort of a simplistic way to achieve team flags spawning off-base upon capping, it seems to me that some intrusive method would be required.
As you're probably well aware, there are already default parameters present at the zone object where one can specify the nearest zone where a team flag will fly to, but not upon capture.
Unless I'm wrong and there is some sort of a simplistic way to achieve team flags spawning off-base upon capping, it seems to me that some intrusive method would be required.
- Zehra
- Private First Class
- Posts: 922
- Joined: Sun Oct 18, 2015 3:36 pm
- Location: Within the BZFS API and Beyond it
- Contact:
Re: Team Flag spawn away from base?
I've seen the 'Capture the Base' mode, in where team flags spawn on enemy bases, and it is possible to spawn flags on enemy bases with safety zones from what is mentioned there.optic delusion wrote: ↑Sun Dec 16, 2018 12:54 pm How do you get a team flag to spawn at a location other than on the base? after a capture, of course.
So it should be possible with 'safety zones', except I'm not sure that flags would not spawn on their own base after capture.
If safety zones aren't able to do it, the following two plug-in concepts should be able to.
(The first one, I'm not 100% sure as the 'reset' part might just send it back to its own base.)
1. Team flag safety zones and resetting flag on capture:
Basically whenever a flag is captured, the plug-in would 'reset' that specific flag.
(I'm not certain this would work though, as it is very likely that resetting the flag would cause it to spawn on it's own base again.)
2. Flag move on capture:
Similar to the first concept, but the flag is 'moved' on capture, so basically it would 'simulate' the spawning.
Since we're moving it, nothing is left to chance, so everything should work out really well.
Personally, I wouldn't consider plug-ins aren't intrusive by any means, as modifying the BZFS server executable has been done over the years.tainn wrote: ↑Sun Dec 16, 2018 1:28 pm Interesting question, I doubt it is even possible without intrusive plugins.
As you're probably well aware, there are already default parameters present at the zone object where one can specify the nearest zone where a team flag will fly to, but not upon capture.
Unless I'm wrong and there is some sort of a simplistic way to achieve team flags spawning off-base upon capping, it seems to me that some intrusive method would be required.
The reason we have an API and plug-ins, is so that various concepts, ideas or game modes could be implemented, so that we wouldn't have to intrude on the BZFS executable and modify it, in order to implement them, if I'm not mistaken.
-Zehra
Those who are critical of me, I'll likely be the same of them. ~Zehra
The decisions we make are the ones we look forward too and the ones we regret. ~Zehra
There's a difference between knowing my name and knowing me, one shows respect to my name and the other is to who I am. ~Zehra
See where I've last been active at Strayers.
Visit BZList.net for a modern HTML5 server stats site.
Click here to view the 101 Leaderboard & Score Summaries Last updated 2021-01-12 (YYYY-MM-DD)
Latest 101 thread
The decisions we make are the ones we look forward too and the ones we regret. ~Zehra
There's a difference between knowing my name and knowing me, one shows respect to my name and the other is to who I am. ~Zehra
See where I've last been active at Strayers.
Visit BZList.net for a modern HTML5 server stats site.
Click here to view the 101 Leaderboard & Score Summaries Last updated 2021-01-12 (YYYY-MM-DD)
Latest 101 thread
Re: Team Flag spawn away from base?
Safety zones, which is what I was referring to in my initial message, only apply to flags that are dropped, not capped, as far as I know. I had also just tested it out, and unless I missed some essential factor, the safety zone setting does not apply to caps.
Perhaps intrusive wasn't the best word for it, I meant everything that is not offered by default already.
Update
Wow, super simple solution to all of this, unless I am missing something.
Use the zone object, but not the safety argument, but rather the zoneflag argument.
Example
This will, in fact, replace the red team flag that is present on default by this zone flag. Initially I thought it would just create another red team flag, but unless specifically stated otherwise, there will only be one team flag per team, including zone flags.
Perhaps intrusive wasn't the best word for it, I meant everything that is not offered by default already.
Update
Wow, super simple solution to all of this, unless I am missing something.
Use the zone object, but not the safety argument, but rather the zoneflag argument.
Example
Code: Select all
zone
position 200 280 0
size 1 1 1
rotation 0
zoneflag R* 1
end
- optic delusion
- Special Forces
- Posts: 1054
- Joined: Sat Sep 25, 2004 2:29 pm
- Location: Planet MoFo
- Contact:
Re: Team Flag spawn away from base?
will it fly back to that zone after every drop? not just drops over pyramids?
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.
- Zehra
- Private First Class
- Posts: 922
- Joined: Sun Oct 18, 2015 3:36 pm
- Location: Within the BZFS API and Beyond it
- Contact:
Re: Team Flag spawn away from base?
Zoneflag shouldn't send flags anywhere, unless they are captured or the flag which has spawned surpasses the limits by '_maxFlagGrabs'.
If I'm not mistaken, _maxFlagGrabs option does not effect team flags, so it probably won't effect them on flag drops.
So only if dropped on an 'unsafe' object, should a team flag happen to fly, but without safety zones, they'll fly towards the center.(If I'm not mistaken.)
-Zehra
If I'm not mistaken, _maxFlagGrabs option does not effect team flags, so it probably won't effect them on flag drops.
So only if dropped on an 'unsafe' object, should a team flag happen to fly, but without safety zones, they'll fly towards the center.(If I'm not mistaken.)
-Zehra
Those who are critical of me, I'll likely be the same of them. ~Zehra
The decisions we make are the ones we look forward too and the ones we regret. ~Zehra
There's a difference between knowing my name and knowing me, one shows respect to my name and the other is to who I am. ~Zehra
See where I've last been active at Strayers.
Visit BZList.net for a modern HTML5 server stats site.
Click here to view the 101 Leaderboard & Score Summaries Last updated 2021-01-12 (YYYY-MM-DD)
Latest 101 thread
The decisions we make are the ones we look forward too and the ones we regret. ~Zehra
There's a difference between knowing my name and knowing me, one shows respect to my name and the other is to who I am. ~Zehra
See where I've last been active at Strayers.
Visit BZList.net for a modern HTML5 server stats site.
Click here to view the 101 Leaderboard & Score Summaries Last updated 2021-01-12 (YYYY-MM-DD)
Latest 101 thread
Re: Team Flag spawn away from base?
I assumed the question was for caps only.optic delusion wrote: ↑Sun Dec 16, 2018 4:46 pm will it fly back to that zone after every drop? not just drops over pyramids?
Setting zoneflag will make the flag fly back to that zone upon cap, setting safety will make it fly to the zone upon a drop above a disallowed area, such as above a pyramid. Do you want to also send it to a specific zone upon a normal drop?
- Zehra
- Private First Class
- Posts: 922
- Joined: Sun Oct 18, 2015 3:36 pm
- Location: Within the BZFS API and Beyond it
- Contact:
Re: Team Flag spawn away from base?
I'm almost certain that an option or server setting for resetting/moving/respawning team flags on a normal drop exists.
If not, resetting team flags on drop can be done with a rather simple plug-in.
-Zehra
If not, resetting team flags on drop can be done with a rather simple plug-in.
-Zehra
Those who are critical of me, I'll likely be the same of them. ~Zehra
The decisions we make are the ones we look forward too and the ones we regret. ~Zehra
There's a difference between knowing my name and knowing me, one shows respect to my name and the other is to who I am. ~Zehra
See where I've last been active at Strayers.
Visit BZList.net for a modern HTML5 server stats site.
Click here to view the 101 Leaderboard & Score Summaries Last updated 2021-01-12 (YYYY-MM-DD)
Latest 101 thread
The decisions we make are the ones we look forward too and the ones we regret. ~Zehra
There's a difference between knowing my name and knowing me, one shows respect to my name and the other is to who I am. ~Zehra
See where I've last been active at Strayers.
Visit BZList.net for a modern HTML5 server stats site.
Click here to view the 101 Leaderboard & Score Summaries Last updated 2021-01-12 (YYYY-MM-DD)
Latest 101 thread
- Zehra
- Private First Class
- Posts: 922
- Joined: Sun Oct 18, 2015 3:36 pm
- Location: Within the BZFS API and Beyond it
- Contact:
Re: Team Flag spawn away from base?
I'm sorry, I meant to write: "I'm almost certain that an option or server setting for resetting/moving/respawning team flags on a normal drop does not exist."
Please forgive me for any confusion this might have caused.
-Zehra
Please forgive me for any confusion this might have caused.
-Zehra
Those who are critical of me, I'll likely be the same of them. ~Zehra
The decisions we make are the ones we look forward too and the ones we regret. ~Zehra
There's a difference between knowing my name and knowing me, one shows respect to my name and the other is to who I am. ~Zehra
See where I've last been active at Strayers.
Visit BZList.net for a modern HTML5 server stats site.
Click here to view the 101 Leaderboard & Score Summaries Last updated 2021-01-12 (YYYY-MM-DD)
Latest 101 thread
The decisions we make are the ones we look forward too and the ones we regret. ~Zehra
There's a difference between knowing my name and knowing me, one shows respect to my name and the other is to who I am. ~Zehra
See where I've last been active at Strayers.
Visit BZList.net for a modern HTML5 server stats site.
Click here to view the 101 Leaderboard & Score Summaries Last updated 2021-01-12 (YYYY-MM-DD)
Latest 101 thread