![]() |
| |||||||
| Wiremod Addons Have you created a wiremod addon? Post it here. |
![]() |
| | LinkBack (20) | Thread Tools | Display Modes |
| |
#1 (permalink)
| |
| Wirererer ![]() Join Date: Jun 2007 Location: Forest Grove, Oregon, USA
Posts: 136
![]() | Download: [attachment=1340:wire_keycards_v04.zip] Drop it in your addons folder. Based on: ![]() ![]() ![]() <div class='quotetop'>QUOTE(Changelog)</div> Quote:
- 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]
__________________ I want to change the world, but they won't give me the source code. | |
| | |
| | #2 (permalink) | ||||||||
| Wire Noob ![]()
Join Date: Apr 2007
Posts: 7
![]() | This is sweet now, if only it could be made as a swep. e.g: you use the spawner and make the card, you claim it then pick it up, go up to a reader and 'fire' it reads it then what ever you want it do do if its right, and if you want to recode it right click to drop it Just a thought. | ||||||||
| | |
| | #5 (permalink) |
| Inactive Join Date: Jul 2007
Posts: 10
![]() | Great addition I am currently trying to make an atm machine this is perfect for the cards yet I need to know because I saw no way of doing this can you edit the value of the card once you have it? if not I will have to get rid of the card and give people a new one
__________________ [img]http://i113.photobucket.com/albums/n223/hipeanut/sam.sig1.png[/img] |
| | |
| | #7 (permalink) | ||
| Wirererer ![]() Join Date: Jun 2007 Location: Forest Grove, Oregon, USA
Posts: 136
![]() | Quote:
Quote:
Make sure the lock code is the same though! Only cards spawned with your spawners can be written to from your readers. One thing I just realized I should add is the ability to set your own lock code, within limits. Instead of the code being "3", it could be anywhere from 300 - 399. That way you can have more than one keycard system.
__________________ I want to change the world, but they won't give me the source code. | ||
| | |
| | #8 (permalink) |
| Inactive Join Date: Jul 2007
Posts: 10
![]() | thanks that will help with my watermelon atm machine can it edit other players cards if it from my reader or just my own it great addition with loads of functions like message boards
__________________ [img]http://i113.photobucket.com/albums/n223/hipeanut/sam.sig1.png[/img] |
| | |
| | #9 (permalink) | |
| Wirererer ![]() Join Date: Jun 2007 Location: Forest Grove, Oregon, USA
Posts: 136
![]() | Quote:
__________________ I want to change the world, but they won't give me the source code. | |
| | |
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
| |