Well i made this expression a while ago for a console screen.
@ Any critics out there, I know there are a few ways to improve the general code (like an On featureCode:N@Console I@Pulser O@X Y Char Charparam TickTime Charparam = 999 TickTime=0.08 ~Pulser&Pulser -> Timer += 1; Timer > 17 -> Timer = 0; Timer == 1 -> X = 7, Y = 3, Char = 71; Timer == 2 -> X = 8, Y = 3, Char = 97; Timer == 3 -> X = 9, Y = 3, Char = 114; Timer == 4 -> X = 10, Y = 3, Char = 114; Timer == 5 -> X = 11, Y = 3, Char = 121; Timer == 6 -> X = 13, Y = 3, Char = 105; Timer == 7 -> X =14, Y = 3, Char = 115; Timer == 8 -> X = 16, Y = 3, Char = 97; Timer == 9 -> X = 18, Y = 3, Char = 116; Timer == 10 -> X = 19, Y = 3, Char = 97; Timer == 11 -> X = 20, Y = 3, Char = 114; Timer == 12 -> X = 21, Y = 3, Char = 100;) but i made these about a week or two ago.(Ive been progressing through wire real fast)
Ok.. Make This expression. Make a Chip-Time-Pulser. Wire Button With toggle values of 1-0
Wire the pulsers Run -> Button
Pulsers Ticktime -> Ticktime output on expression chip
CharX CharY Char CharParam -> X Y Char CharParam
Clk -> Pulser
Ok how this works and what it will basically do;
Charparam = 999 <- A constant output
TickTime=0.08 <- A constant output
~Pulser&Pulser -> <- This detects a change in the value named "Pulser" which is wired to the pulser
~Pulser&Pulser ->
Timer += 1; <- These are the working parts of the in-expression timer
whenever the pulser changes it will increase the value "Timer" by one each time
and with a ticktime of 0.08secs, its a pretty damn fast timer..
Timer == 1 -> X = 7, Y = 3, Char = 71; This is a bit loathesome but it's basically programming each X Y co-ordinate and
Timer == 2 -> X = 8, Y = 3, Char = 97; the ASCII Char into that co-ordinate when the timer is at a specific value.
I Hope you found this useful.
For lazy people -The message reads "Garry Is A Tard"-
Tip for making own ones -use the wired keyboard and a screen- This shows ASCII Chrs that work in gmod/wire, and the values for them!


LinkBack URL
About LinkBacks













Bookmarks