-
Notifications
You must be signed in to change notification settings - Fork 19
Blank Vehicle Template
Nick edited this page Oct 27, 2019
·
1 revision
AddCSLuaFile()
EMV_DEBUG = false
local name = "Crown Victoria Police (LED)"
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 = 1
EMV.Color = nil
EMV.Skin = 0
EMV.BodyGroups = {
{ 0, 1 }
}
EMV.Props = {
}
EMV.Meta = {
}
EMV.Positions = {
}
EMV.Sections = {
["lightbar"] = {
{ {1,A} }
}
}
EMV.Patterns = {
["lightbar"] = {
["default"] = {
1
}
}
}
EMV.Sequences = {
Sequences = {
{
Name = "ALL",
Components = {
["lightbar"] = "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 = "Emergency Vehicles",
// Optional information
Author = "LoneWolfie, Schmal",
Information = "vroom vroom",
Model = "models/sentry/07crownvic_cvpi.mdl",
KeyValues = {
vehiclescript = "scripts/vehicles/sentry/07crownvic.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