SHARE
TWEET

Untitled

a guest May 19th, 2019 67 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. AddCSLuaFile()
  2.  
  3. local VehicleName = "2013 Liberty SX Tahoe"
  4.  
  5. local EMV = {}
  6.  
  7. EMV.Siren = 2
  8. EMV.Skin = 0
  9. EMV.Color = Color(255,255,255)
  10.  
  11. EMV.BodyGroups = {
  12.     { 0, 0 }, -- Body
  13.     { 1, 0 }, -- ALPR
  14.     { 2, 0 }, -- Antenne
  15.     { 3, 2 }, -- Sidepanels
  16.     { 4, 0 }, -- Bullbar
  17.     { 5, 0 }, -- Lightbar
  18.     { 6, 0 }, -- Equiptment
  19.     { 7, 0 }, -- Grill
  20.     { 8, 0 }, -- Lamp
  21.     { 9, 0 }, -- Lights_frontwindow
  22.     { 10, 0 }, -- Lights_grill
  23.     { 11, 0 }, -- Lights_rearbumper
  24.     { 12, 0 }, -- Lights_rearwindow
  25.     { 13, 0 }, -- Partition
  26.     { 14, 0 }, -- Roofrack
  27.     { 15, 0 }, -- Runningboards
  28.     { 16, 0 }, -- Snorkle
  29.     { 17, 0 }, -- Wheels
  30.     { 18, 0 }, -- Windows
  31.     { 19, 0 }, -- clamped1
  32.     { 20, 0 }, -- clamped2
  33. }
  34.  
  35. EMV.Auto = {
  36.     {
  37.         ID = "Whelen Liberty SX",
  38.         Scale = 1,
  39.         Pos = Vector( 0, 0, 88.5 ),
  40.         Ang = Angle( 1, 90, 0 )
  41.     },
  42.    
  43.         {
  44.         ID = "Federal Signal Viper Dual",
  45.         Scale = 1,
  46.         Pos = Vector( 0, 51, 64 ),
  47.         Ang = Angle( 0, 90, 0 )
  48.     },
  49.    
  50.         {
  51.         ID = "Whelen Ion",
  52.         Scale = 1,
  53.         Pos = Vector( -32, -110.5, 35 ),
  54.         Ang = Angle( 0, 170, 0 )
  55.         Phase  = "A"
  56.     },
  57.    
  58.         {
  59.         ID = "Whelen Ion",
  60.         Scale = 1,
  61.         Pos = Vector( 32, -110.5, 35 ),
  62.         Ang = Angle( 0, 190, 0 )
  63.         Phase  = "B"
  64.     },
  65.  
  66.         {
  67.         ID = "Whelen Ion",
  68.         Scale = 1,
  69.         Pos = Vector( -25, -111.6, 35 ),
  70.         Ang = Angle( 0, 173, 0 )
  71.         Phase  = "A"
  72.     },
  73.    
  74.         {
  75.         ID = "Whelen Ion",
  76.         Scale = 1,
  77.         Pos = Vector( 25, -111.6, 35 ),
  78.         Ang = Angle( 0, 188, 0 )
  79.         Phase  = "B"
  80.     },
  81.    
  82.         {
  83.         ID = "Whelen Ion",
  84.         Scale = 1,
  85.         Pos = Vector( -18, -112.5, 35 ),
  86.         Ang = Angle( 0, 175, 0 )
  87.         Phase  = "A"
  88.     },
  89.    
  90.         {
  91.         ID = "Whelen Ion",
  92.         Scale = 1,
  93.         Pos = Vector( 18, -112.5, 35 ),
  94.         Ang = Angle( 0, 186, 0 )
  95.         Phase  = "B"
  96.     },
  97.    
  98.         {
  99.         ID = "Whelen Ion",
  100.         Scale = 1,
  101.         Pos = Vector( -11, -112.99, 35 ),
  102.         Ang = Angle( 0, 177, 0 )
  103.         Phase  = "A"
  104.     },
  105.  
  106.         {
  107.         ID = "Whelen Ion",
  108.         Scale = 1,
  109.         Pos = Vector( 11, -112.99, 35 ),
  110.         Ang = Angle( 0, 185, 0 )
  111.         Phase  = "B"
  112.     },
  113.  
  114.         {
  115.         ID = "DOJ Tomar 200S Rear",
  116.         Scale = .80,
  117.         Pos = Vector( 0, -100, 76.45 ),
  118.         Ang = Angle( 0, 270, 0 )
  119.     },
  120.    
  121.         {
  122.         ID = "Whelen Ion Split",
  123.         Scale = 1,
  124.         Pos = Vector( -50, 35.3, 66 ),
  125.         Ang = Angle( 0, 18, 0 )
  126.     },
  127.    
  128.         {
  129.         ID = "Whelen Ion Split",
  130.         Scale = 1,
  131.         Pos = Vector( 50, 35.3, 66 ),
  132.         Ang = Angle( 180, -18, 0 )
  133.     },
  134.    
  135.         {
  136.         ID = "Whelen Ion",
  137.         Scale = 1,
  138.         Pos = Vector( 10, 114.3, 43.5 ),
  139.         Ang = Angle( 0, -7, 0 )
  140.         Phase  = "A"
  141.     },
  142.    
  143.         {
  144.         ID = "Whelen Ion",
  145.         Scale = 1,
  146.         Pos = Vector( -10, 114.3, 43.5 ),
  147.         Ang = Angle( 0, 7, 0 )
  148.         Phase = "B"
  149.     },
  150. }
  151.  
  152.  
  153. EMV.Sequences = {
  154.     Sequences = {
  155.         { Name = "CODE 1", Stage = "M1", Components = {}, Disconnect = {} },
  156.         { Name = "CODE 2", Stage = "M2", Components = {}, Disconnect = {} },
  157.         { Name = "CODE 3", Stage = "M3", Components = {}, Disconnect = {} }
  158.     },
  159.     Traffic = {
  160.         { Name = "LEFT", Stage = "L", Components = {}, Disconnect = {} },
  161.         { Name = "DIVERGE", Stage = "D", Components = {}, Disconnect = {} },
  162.         { Name = "RIGHT", Stage = "R", Components = {}, Disconnect = {} }
  163.     },
  164. }
  165.  
  166.  
  167. local V = {
  168.     Name = VehicleName,
  169.     Class = "prop_vehicle_jeep",
  170.     Category = "Galaxy's Vehicles",
  171.     Author = "GalaxyXX",
  172.     Model = "models/lonewolfie/chev_tahoe.mdl",
  173.     KeyValues = { vehiclescript = "scripts/vehicles/LWCars/chev_tahoe.txt" },
  174.     IsEMV = true,
  175.     EMV = EMV,
  176.     HasPhoton = true,
  177.     Photon = "PHOTON_INHERIT"
  178. }
  179. list.Set( "Vehicles", VehicleName, V )
  180.  
  181. if EMVU then EMVU:OverwriteIndex( VehicleName, EMV ) end
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