Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- AddCSLuaFile()
- local A = "AMBER"
- local R = "RED"
- local DR = "D_RED"
- local B = "BLUE"
- local W = "WHITE"
- local CW = "C_WHITE"
- local SW = "S_WHITE"
- local G = "GREEN"
- local RB = "BLUE/RED"
- local name = "Blue Button Blaster"
- local COMPONENT = {}
- COMPONENT.Model = "models/supermighty/uk_props/button_blast.mdl"
- COMPONENT.Required = "489864412"
- COMPONENT.Skin = 0
- COMPONENT.Bodygroups = {}
- COMPONENT.NotLegacy = true
- COMPONENT.ColorInput = 1
- COMPONENT.UsePhases = true
- COMPONENT.Category = "Exterior"
- COMPONENT.DefaultColors = {
- [1] = "BLUE"
- }
- COMPONENT.Meta = {
- auto_700 = {
- AngleOffset = 0,
- W = 1,
- H = 1,
- WMult = 2,
- Sprite = "sprites/emv/square",
- Scale = 1.5,
- NoLegacy = true,
- DirAxis = "Up",
- DirOffset = -90
- },
- }
- COMPONENT.Positions = {
- [1] = { Vector( 0, -0.4, 0 ), Angle( 0, 0, 0 ), "auto_700" },
- }
- COMPONENT.Sections = {
- ["auto_whelen_700"] = {
- [1] = { { 1, "_1" } }
- },
- }
- COMPONENT.Patterns = {
- ["auto_whelen_700"] = {
- ["blue1"] = { 1, 1, 1, 1, 0, 0, 0, 0 },
- ["blue2"] = { 1, 1, 1, 0, 0, 0 },
- ["blue3"] = { 1, 0, 0, 1 },
- ["reds"] = { 1, 1, 1, 0, 0, 0 },
- ["all"] = { 1 },
- }
- }
- COMPONENT.Modes = {
- Primary = {
- M1 = { ["auto_whelen_700"] = "blue1", },
- M2 = { ["auto_whelen_700"] = "blue2", },
- M3 = { ["auto_whelen_700"] = "blue3", }
- },
- Auxiliary = {
- D = { ["auto_whelen_700"] = "blue1", },
- },
- Illumination = {}
- }
- EMVU:AddAutoComponent( COMPONENT, name )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement