Is there a way to turn off the yellow screen when you get close to the teleporter, and the noise would be nice as well. I have a map idea that would be useful to hide a teleporter from view and sound.
Thanks
ahs3
Teleporter yellow screen and sound.
Re: Teleporter yellow screen and sound.
There's not a simple way I know of to do that. But I have done something similar before, albeit with a bit of tinkering with bzfs. You basically reimplement teleporting, by using playerAlive() plus suppressing the player kill event, possibly along with custom zones to trigger the teleport.
- Zehra
- Survey Champion 2024
- Posts: 972
- Joined: Sun Oct 18, 2015 3:36 pm
- Location: Within the BZFS API and Beyond it
- Contact:
Just for some perspective, there is a few options which exist:
One is to use etigah's suggestion of forced spawn and death event suppression with custom zone logic.(I'm not entirely familiar with how death event suppression works, but I've seen something similar of kill/death event(s) being triggered without causing a death event.)
---
I'm also aware of similar "teleportation" being used without death event suppression done on Castle Scarwal by Grue with "Dimension Door" being used as a teleporter type of flag with forced spawning.
---
Another alternative option, although untested, but works in theory:(It's quite a bit cruder compare to the above options.)
It would be to use mappedDeathZones with death objects to cause spawns to occur on the next teleport "destination".
The score could be manipulated with something similar to the following:
This way players do not wind up with scores heading negatively on teleports in that manner. (Note: Above code is untested.)
The last factor would be simply to track flags on death and spawns and if it's a "teleporting" spawn, simply give them back the previously held flag.
---
Lastly, but not least, pretty much at least for 2.4.x, teleporting without yellow screen or sound can't be done with an actual teleporter object (AFAIK), but it can be simulated with varying degrees of closeness to the original, but (realistically,) it can only be done via a plug-in or BZFS mod.
-Zehra
One is to use etigah's suggestion of forced spawn and death event suppression with custom zone logic.(I'm not entirely familiar with how death event suppression works, but I've seen something similar of kill/death event(s) being triggered without causing a death event.)
---
I'm also aware of similar "teleportation" being used without death event suppression done on Castle Scarwal by Grue with "Dimension Door" being used as a teleporter type of flag with forced spawning.
---
Another alternative option, although untested, but works in theory:(It's quite a bit cruder compare to the above options.)
It would be to use mappedDeathZones with death objects to cause spawns to occur on the next teleport "destination".
The score could be manipulated with something similar to the following:
Code: Select all
bz_PlayerDieEventData_V1 *deathData = (bz_PlayerDieEventData_V1*)eventData;
if ((deathData->killerID == BZ_SERVER) && (deathData->shotID == -1)) {
bz_incrementPlayerLosses(deathData->playerID, -1);
}
The last factor would be simply to track flags on death and spawns and if it's a "teleporting" spawn, simply give them back the previously held flag.
---
Lastly, but not least, pretty much at least for 2.4.x, teleporting without yellow screen or sound can't be done with an actual teleporter object (AFAIK), but it can be simulated with varying degrees of closeness to the original, but (realistically,) it can only be done via a plug-in or BZFS mod.
-Zehra
Some useful references:
Map editor and tool list (summary)
Prefab and BZW help threads index
Map releases index
Some of my BZFlag related stuff.
BZList.net Modern HTML5 server stats site.
BZFlag has a cycle every 1-3 years. Activity drops/stops and resumes some time after. It returns to 90% of what it was.
We see late in 2013, the following thread: Why are there only like 30 people playing BZFLAG at one time.
Let's say 2014 starts with 30 players:
With a cycle length of:
3 years: 2017=27 players, 2020=24 players...
2.5 years: mid-2016=27 players, 2019=24 players, mid-2021=22 players.
I think the cycles get shorter as time goes along, but the bigger issue is eventually that activity will not be able to sustain itself in the long run, as nobody waits an hour for people to show up.
Map editor and tool list (summary)
Prefab and BZW help threads index
Map releases index
Some of my BZFlag related stuff.
BZList.net Modern HTML5 server stats site.
BZFlag has a cycle every 1-3 years. Activity drops/stops and resumes some time after. It returns to 90% of what it was.
We see late in 2013, the following thread: Why are there only like 30 people playing BZFLAG at one time.
Let's say 2014 starts with 30 players:
With a cycle length of:
3 years: 2017=27 players, 2020=24 players...
2.5 years: mid-2016=27 players, 2019=24 players, mid-2021=22 players.
I think the cycles get shorter as time goes along, but the bigger issue is eventually that activity will not be able to sustain itself in the long run, as nobody waits an hour for people to show up.