SHARE
TWEET

Untitled

a guest Apr 23rd, 2019 90 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. AddCSLuaFile()
  2.  
  3. local A = "AMBER"
  4. local R = "RED"
  5. local DR = "D_RED"
  6. local B = "BLUE"
  7. local W = "WHITE"
  8. local CW = "C_WHITE"
  9. local SW = "S_WHITE"
  10. local G = "GREEN"
  11. local RB = "BLUE/RED"
  12.  
  13. local name = "Blue Button Blaster"
  14.  
  15. local COMPONENT = {}
  16.  
  17. COMPONENT.Model = "models/supermighty/uk_props/button_blast.mdl"
  18. COMPONENT.Required = "489864412"
  19. COMPONENT.Skin = 0
  20. COMPONENT.Bodygroups = {}
  21. COMPONENT.NotLegacy = true
  22. COMPONENT.ColorInput = 1
  23. COMPONENT.UsePhases = true
  24. COMPONENT.Category = "Exterior"
  25. COMPONENT.DefaultColors = {
  26.     [1] = "BLUE"
  27. }
  28.  
  29. COMPONENT.Meta = {
  30.     auto_700 = {
  31.         AngleOffset = 0,
  32.         W = 1,
  33.         H = 1,
  34.         WMult = 2,
  35.         Sprite = "sprites/emv/square",
  36.         Scale = 1.5,
  37.         NoLegacy = true,
  38.         DirAxis = "Up",
  39.         DirOffset = -90
  40.     },
  41. }
  42.  
  43. COMPONENT.Positions = {
  44.  
  45.     [1] = { Vector( 0, -0.4, 0 ), Angle( 0, 0, 0 ), "auto_700" },
  46.  
  47. }
  48.  
  49. COMPONENT.Sections = {
  50.     ["auto_whelen_700"] = {
  51.         [1] = { { 1, "_1" } }
  52.     },
  53. }
  54.  
  55. COMPONENT.Patterns = {
  56.     ["auto_whelen_700"] = {
  57.         ["blue1"] = { 1, 1, 1, 1, 0, 0, 0, 0 },
  58.         ["blue2"] = { 1, 1, 1, 0, 0, 0 },
  59.         ["blue3"] = { 1, 0, 0, 1 },
  60.         ["reds"] = {  1, 1, 1, 0, 0, 0 },
  61.         ["all"] = { 1 },
  62.     }
  63. }
  64.  
  65. COMPONENT.Modes = {
  66.     Primary = {
  67.         M1 = { ["auto_whelen_700"] = "blue1", },
  68.         M2 = { ["auto_whelen_700"] = "blue2", },
  69.         M3 = { ["auto_whelen_700"] = "blue3", }
  70.     },
  71.     Auxiliary = {
  72.         D = { ["auto_whelen_700"] = "blue1", },
  73.         },
  74.     Illumination = {}
  75. }
  76.  
  77. EMVU:AddAutoComponent( COMPONENT, name )
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top