Download: [attachment=1340:wire_keycards_v04.zip] Drop it in your addons folder.
Based on: http://www.wiremod.com/showthread.php?t=2073
<div class='quotetop'>QUOTE(Changelog)</div>Known bugsv0.5 120107
[added] Read/WriteLocation inputs. Keycards can now store up to 32 values.
[added] Lock Code Match Mode. Readers can now ignore keycards with non-matching lock codes.
[removed] Value display on Keycards/Readers. InitialValue input on Spawner.
v0.4 110707
[added] Read Mode (Beam / Area). Keycard readers can now read/write to nearby cards rather than having to put it directly in the beam.
[added] Awesome new models by Remos.
[changed] Some terminology (eg. claiming is now known as signing).
v0.3 092307
[added] Players can now customize their Lock Code, to a degree, so they can have more than one independent system.
v0.2 081107
[added] Lock Code functionality. Now players can't cheat by modifying the values of cards your spawners give them.
v0.1 081007
Initial release.[/b]
- Still no advanced duplicator support (yet).
- Lock codes aren't preserved across saved games (so if you save, then load, you might be locked out of your own base). Linking lock codes to SteamIDs instead of player entity IDs should fix this -- it's on the to do list.
- Keycards are spawned at a funky angle. Will fix in next version.
How do I use it?
Select the Keycards STOOL and place a spawner. Hook a button into the Spawn input, and press it. Voila! A keycard. Press use on the card to sign it. Spawn some screens, hook them up to the outputs of a reader, and hold your card in the beam. Hook a button into the WriteEnabled input of the reader, then a number into the WriteValue input. Press the button and that value will get written to your card.
I can't find the STOOL.
It's in the Wire - Data category.
I found the reader, but how do I spawn a writer?
The reader is misleadingly named. It can also write to cards. Set WriteValue to the value you want to write, then set WriteEnabled to 1 to write it.
How do I sign a card? And what good is it?
Press use on a card to sign it. When a card is signed, systems can tell it's your card. (Maybe a door only opens if it sees a card signed by you.)
My card's signature was overwritten by somebody else, even though I already signed it. What gives?
You wouldn't leave your credit card lying around, would you? So don't lose your keycards! Thieves might take them and impersonate you.
How do I set a card's ID?
You can't. This is to prevent forgery.
Okay, but what's the point if I can just spawn a reader and change the value of my own card?
You can't! At least, not if you got the card from somebody else's spawner. You probably noticed that everything has a "lock code". Spawners and readers created by the same player will have the same lock code, and a card permanently has the same lock code as the spawner it came from. In order to write to a card, the reader's lock code must match the card's lock code. You can check to see if this is the case with the Writable output on the reader.
If a card's lock code doesn't match the reader's, can I still read the card?
Yes, you just can't write to it.
I've got a suggestion/bug report.
There are myriad ways to get in touch with me, but the closest one is: post it here! I'll be happy to take a look.
Old version archive:
[attachment=1272:wire_keycards_v04.zip]
[attachment=1201:wire_keycards_v03.zip]
[attachment=994:wire_keycards_v02.zip]


LinkBack URL
About LinkBacks







Reply With Quote



Bookmarks