Kyrah Abattoir Posted August 12, 2019 Share Posted August 12, 2019 (edited) I had this idea to implement some kind of RFID tag/fob system and started wondering about way to do this with the least possible amount of script usage. I figured I'd share with the class and we could discuss implementation (no I'm not telling you to do my work i figured it would be interesting) The basic idea involves a door, and the RFID tag/fob. The fob can be worn, rezzed, physical, it doesn't matter. The door unlocks when a fob with the right ID is less than 2 meters away. The door re-locks when there is no fob in proximity. Users shouldn't have to interact with the door at all. I can thing of many ways to do this, but I dislike most of them: Option 1 The fob has a sensor scanning for door names and llRegionSayTo to all found doors in proximity. Pros: no script time when there is no fob around. Cons: sensor polling, requires doors to be specifically named. Option 2 The fob announces itself constantly on the door channel through llWhisper(). Doors filter out fobs with wrong ID and fobs that are too far away. This is the "more realistic" option. Pros: Anything can be a door, the fob is as dumb as possible, which is usually a good thing, no script time when there is no fob around. Cons: constant message sending is bad. Option 3 The fob announces itself with a region wide message when attached or on region crossings, doors then regularly poll for the position of the fob in relation to themselves, if the fob stopped existing, it is removed from the check queue. When no fobs are in the check queue, polling stops. Pros: Again, anything can be a door, the fob is as dumb as possible, no script time when there is no fob around, no sensors or listeners are solicited, but you'll still have to poll. Cons: All doors are polling for all valid fobs if there is any present in the region. Other possibilities? Edited August 12, 2019 by Kyrah Abattoir 2 Link to comment Share on other sites More sharing options...
Please take a moment to consider if this thread is worth bumping.
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now