Garry's Mod

Garry's Mod

Not enough ratings
Wire Punchcards
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool
Addon Tags: Build, Realism
File Size
Posted
Updated
2.303 MB
10 Jan @ 6:45pm
25 Mar @ 6:57pm
3 Change Notes ( view )

Subscribe to download
Wire Punchcards

Description
Github[github.com]

Adds punchcards, as well as two new devices to read and write to them.


You can hand punch a card by right clicking on one with the punchcard tool and clicking the respective columns, or press +WALK and +USE (default ALT+E) to just view one.

If you make a mistake, right click on a column to patch it.


Punchcard readers and writers both have high speed/wirelink as well as regular wire inputs

Memory layout cheatsheet

Punchcard Reader
Read
  1. Is Punchcard Shifting, 1 if moving forward -1 if moving backward, 0 if still
  2. Has Punchcard? 1 if inserted in top, -1 if inserted in bottom, 0 if none present
  3. Value at current row, defaults to 0 if no punchcard
Write
  1. Shift, write number of rows to shift by, negative numbers will reverse.
Punchcard Writer
Read
  1. Is Punchcard Shifting, 1 if moving forward -1 if moving backward, 0 if still
  2. Has Punchcard? 1 if inserted in top, -1 if inserted in bottom, 0 if none present
  3. Current value to write, returns same value as last written to [3]
Write
  1. Shift, write number of rows to shift by, negative numbers will reverse.
  2. Clk, write the value in [3] to the current row, will clamp [3] to an integer
  3. Current value to write