OK, so I'd like to do some advanced PvP-related scriptwork for an "assassins" gametype/event referee. For those unfamiliar with the principle, all participants are given 1 target. Their job is to kill that target. If they succeed, they inherit their victim's target. Of course, this all links back in a circle, so you know there's someone out to kill you...
My current design is planning on relying on a "badge & controller" mechanism, where the participating players are wearing a badge (probably invisible, to make things more interesting and less easy) that would allow them to interact in an advanced PvP mode for the duration of an event, by relaying messages on target and player status back to the ref, who adjudicates over who's still in the game.
If the player removes the badge, he or she has "committed suicide" and removed themselves from the event - their target gets passed on as if they had died. That doesn't seem like it'd be difficult to do.
The tricky part comes in trying to track the Avatar's health. As far as I can tell, there's no way to do it. There's no "Avatar Health" constant or function that the badge can look out for, and no agent state that indicates the player has "died." This makes using traditional 3rd-party weapons useless; people would have to buy Assassin-compatible weapons that would operate like LaserTag, on their own proprietary health system. I don't want the badges to look for sudden teleports because that forces players to have to run/fly everywhere, and I want them to have total freedom of movement. Optimally, you should be able to stalk someone all across LindenLand. I'm willing to compromise if I have to, by forcing people to stay within the Sim that's hosting, and telling the badges to DQ anyone who wanders too far, but that spoils the fun of it by imposing more artificial restrictions.
Another factor I need to consider is server load and communications lag. I don't have nearly enough experience to know how communication-heavy scripts affect the Sims they're based in...does anybody have any knowledge or advice on the most streamlined way to implement something like this? If we end up pulling it off, you'll have my unending gratitude, your name in the badge and ref credits/description, and maybe even L$ royalties from events...
So yeah, anyway...just another cracked out idea from the guy who wanted to code recreational drugs.
