Wired Digital Screen

From GMod Wiki

Jump to: navigation, search
Wire Icon.png Wiremod ToolYarin Kaul Icon ArrowSquare32 left.png Back
Information 16x16.png Function:Create a screen, with a resolution up to 512x512
link=User:{{{author}}} Primary fire:Places a screen
Wrench orange.png Secondary fire:
Link break.png Reload:
Page white text.png Notes:

Brief

A screen where you can make a monochrome drawing. It is also possible to make color drawings using wirelink. Using Hi-speed devices cheat sheet set screen's mode to one of color modes and fill in RGB data. Using this method 128x128 digital screen can be filled within a few seconds.

Digital Screens In-game
Some pictures made with digital screen and E2 through wirelink.

Instructions

Use PixelX and PixelY to control where to draw. Use PixelG to control the colour, and Clk to "lower the pencil".

Inputs

Outputs

Variables

Useful hints

Make color drawings using HiSpeed Devices Cheat Sheet .

Example

Revan's Digital Screen Tutorial


Address Information

Address Contents
0 to 786431 Image data.
1048569 Color mode (0 to 3 - see below)
1048570 Clear row
1048571 Clear column
1048572 Screen height (maximum 512)
1048573 Screen width (maximum 512)
1048574 Clear screen
1048575 Clk (Same as Clk input)

Color Modes

Mode Description
0 Pixels are 1 cell wide, in RGBXXX form.
1 Pixels are 3 cells wide, containing the red, green and blue components respectively.
2 Pixels are 1 cell wide, in 0xRRGGBB (hexadecimal) form.
3 Pixels are 1 cell wide, in RRRGGGBBB form.

The maximum value of the red, green and blue components is 255 in the last three modes.

Wired Digital Screen
Page white text.png Description:A screen where you can display color or monochrome image
User.png Original Author:Kalleguld
Group.png Contributors:Don Kixot (rus)
Calendar.png Created:3 June 2007
Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox