Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- AddCSLuaFile()
- EMV_DEBUG = false
- local name = "Lamborghini Huracan Gendarmerie"
- 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 EMV = {}
- EMV.Siren = 15
- EMV.Color = nil
- EMV.Skin = 7
- EMV.BodyGroups = {
- { 0, 1 }
- }
- EMV.Props = {
- {
- Model = "models/tdmcars/emergency/equipment/fedsig_viper.mdl",
- Scale = 1,
- Pos = Vector(-30, 50.8, 40.8),
- Ang = Angle( 0, 90, 0),
- Skin = 0,
- BodyGroups = {
- { 1, 1 },
- },
- Color = Color( 255, 255, 255 )
- },
- {
- Model = "models/tdmcars/emergency/equipment/fedsig_viper.mdl",
- Scale = 1,
- Pos = Vector(30, 50.8, 40.8),
- Ang = Angle( 0, 90, 0),
- Skin = 0,
- BodyGroups = {
- { 1, 1 },
- },
- Color = Color( 255, 255, 255 )
- },
- {
- Model = "models/mrssx/gyroled.mdl",
- Scale = 1,
- Pos = Vector(0, 0, 56),
- Ang = Angle( 1.5, 90, 0),
- Skin = 0,
- BodyGroups = {
- { 1, 1 },
- },
- Color = Color( 255, 255, 255 )
- },
- }
- EMV.Meta = {
- window_f = {
- AngleOffset = -90,
- W = 4,
- H = 4,
- Sprite = "sprites/emv/fs_valor",
- WMult = 1,
- Scale = 2
- },
- gyro = {
- AngleOffset = "R",
- W = 9,
- H = 3,
- Sprite = "sprites/emv/flare_secondary",
- WMult = 1.5,
- Scale = 1,
- Speed = 8
- },
- }
- EMV.Positions = {
- [1] = { Vector(-30, 51.3, 41.6), Angle(0,0,0), "window_f" },
- [2] = { Vector(30, 51.3, 41.6), Angle(0,0,0), "window_f" },
- [3] = { Vector(0, 0, 58.2), Angle(1.5,0,0), "gyro" },
- }
- EMV.Sections = {
- ["window_f"] = {
- { {1,B}, {2,B} },
- { {1,B,1}},
- { {2,B,1}},
- },
- ["gyro"] = {
- { {3,B,2} },
- },
- }
- EMV.Patterns = {
- ["window_f"] = {
- ["urgent"] = {
- 2,0,2,0,3,0,3,0
- },
- ["intercept"] = {
- 2,3
- }
- },
- ["gyro"] = {
- ["default"] = {
- 1
- }
- },
- }
- EMV.Sequences = {
- Sequences = {
- {
- Name = "INTERCEPT",
- Components = {
- ["window_f"] = "intercept",
- ["gyro"] = "default",
- },
- },
- {
- Name = "HIGH PRIORITY",
- Components = {
- ["window_f"] = "urgent",
- ["gyro"] = "default",
- }
- },
- }
- }
- local PI = {}
- PI.Meta = {
- }
- PI.Positions = {
- }
- PI.States = {}
- PI.States.Headlights = {}
- PI.States.Brakes = {}
- PI.States.Blink_Left = {}
- PI.States.Blink_Right = {}
- PI.States.Reverse = {}
- PI.States.Running = {}
- local V = {
- // Required information
- Name = name,
- Class = "prop_vehicle_jeep",
- Category = "MrSsX Vehicles",
- // Optional information
- Author = "LoneWolfie, Schmal, MrSsX",
- Information = "vroom vroom",
- Model = "models/lonewolfie/lam_huracan.mdl",
- KeyValues = {
- vehiclescript = "scripts/vehicles/lwcars/lam_huracan.txt"
- },
- IsEMV = true,
- EMV = EMV,
- HasPhoton = true,
- Photon = PI
- }
- list.Set( "Vehicles", V.Name, V )
- if EMVU then EMVU:OverwriteIndex( name, EMV ) end
- if Photon then Photon:OverwriteIndex( name, PI ) end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement