This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- ComputerCraft Broadcast Rednet Monitor | |
-- Monitor all traffic on local broadcast RedNet | |
-- by Alexander "SquidLord" Williams (SaladinVrai) | |
-- Get the system label for identification | |
local SysName = os.getComputerLabel() | |
-- Iterate over all sides for rednet.open | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
surface.PlaySound( "/HL1/fvox/activated.wav" ) | |
//CONST | |
aaKey = KEY_M | |
//VAR | |
autoaim = true | |
buttontime = 0 | |
systems = { } | |
//Messaging | |
ms = {} | |
ms.r = 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
EFFECT.Mat = Material( "effects/blueblacklargebeam" ) | |
function EFFECT:Init( data ) | |
self.texcoord = math.Rand( 0, 20 )/3 | |
self.Position = data:GetStart() | |
self.WeaponEnt = data:GetEntity() | |
self.Attachment = data:GetAttachment() | |