Author: Enigma and whoever wrote Phoenix, as I used Phoenix as a starting point for SpawnRecord.
Required API: Probably at least 2.0.8. Version 2.0.4 might work, but I don't know.
This is a small plug-in that adds the ability to save a spawn position. It is based off of the Phoenix plug-in but functions slightly different: it spawns a player at the last saved position rather than where he or she died. This is accomplished with the /savepos command, which sets the player's current position as the new spawn position for that player.
My motivation for writing this plug-in is influenced by maps that require players to finish some sort of obstacle course, as it gets frustrating having to restart at the beginning after every death. The Phoenix plug-in almost fixes this problem by re-spawning players where they died. There is, however, one extraordinarily large problem: it re-spawns people where they died. This is a problem because, on these maps, people are almost always killed by a world weapon, and the phoenix plug-in would re-spawn people on the same world weapon indefinitely. The only solution to this problem that I could think of is to give people the ability to re-spawn at a last saved position. This is what SpawnRecord does.
SpawnRecord
SpawnRecord
- Attachments
-
- SpawnRecord.tar
- Mac Binary, compiled on OS 10.5
- (50 KiB) Downloaded 401 times
-
- SpawnRecord.cpp.txt
- Source file
- (2.81 KiB) Downloaded 457 times
This would be a very useful tool, if used properly.
If used improperly, this could open up a host of problems such as spawn camping, flag camping, and the ability to spawn right in advantage places. However, as long as server owners don't blindly include it in every server, and you give them the appropriate warning, and what it really is for, I think it would be really cool.
With a little more work, another thing you could add is a "checkpoint" feature, which could basically be a zone that automatically updates the player's spawn position to that location. For obstacle courses, that might be another viable option.
If used improperly, this could open up a host of problems such as spawn camping, flag camping, and the ability to spawn right in advantage places. However, as long as server owners don't blindly include it in every server, and you give them the appropriate warning, and what it really is for, I think it would be really cool.
With a little more work, another thing you could add is a "checkpoint" feature, which could basically be a zone that automatically updates the player's spawn position to that location. For obstacle courses, that might be another viable option.
You use it on your server, and generally the map has to be designed to make sense to use it. If you are a player on a map, there will generally be instructions on the use of it when the plug-in is loaded on that map.
There is nothing worse than aggressive stupidity. -- Johann Wolfgang von Goethe
"How many legs does a dog have if you call his tail a leg? Four. Calling a tail a leg doesn't make it a leg." -- Abraham Lincoln
"How many legs does a dog have if you call his tail a leg? Four. Calling a tail a leg doesn't make it a leg." -- Abraham Lincoln
- Zehra
- Private First Class
- Posts: 921
- Joined: Sun Oct 18, 2015 3:36 pm
- Location: Within the BZFS API and Beyond it
- Contact:
Re: SpawnRecord
Updated to 2.4
Special thanks to allejo for helping me solve several issues I couldn't fix on my own.
SpawnRecord
-Zehra
Special thanks to allejo for helping me solve several issues I couldn't fix on my own.
SpawnRecord
-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