-
-
Notifications
You must be signed in to change notification settings - Fork 58
/
SIRENS.lua
55 lines (54 loc) · 3.02 KB
/
SIRENS.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
--[[
---------------------------------------------------
LUXART VEHICLE CONTROL V3 (FOR FIVEM)
---------------------------------------------------
Coded by Lt.Caine
ELS Clicks by Faction
Additions by TrevorBarns
---------------------------------------------------
FILE: SIRENS.lua
PURPOSE: Associate specific sirens with specific
vehicles. Siren assignments.
---------------------------------------------------
SIREN TONE TABLE:
ID- Generic Name (SIREN STRING) [vehicles.awc name]
1 - Airhorn (SIRENS_AIRHORN) [AIRHORN_EQD]
2 - Wail (VEHICLES_HORNS_SIREN_1) [SIREN_PA20A_WAIL]
3 - Yelp (VEHICLES_HORNS_SIREN_2) [SIREN_2]
4 - Priority (VEHICLES_HORNS_POLICE_WARNING) [POLICE_WARNING]
5 - CustomA* (RESIDENT_VEHICLES_SIREN_WAIL_01) [SIREN_WAIL_01]
6 - CustomB* (RESIDENT_VEHICLES_SIREN_WAIL_02) [SIREN_WAIL_02]
7 - CustomC* (RESIDENT_VEHICLES_SIREN_WAIL_03) [SIREN_WAIL_03]
8 - CustomD* (RESIDENT_VEHICLES_SIREN_QUICK_01) [SIREN_QUICK_01]
9 - CustomE* (RESIDENT_VEHICLES_SIREN_QUICK_02) [SIREN_QUICK_02]
10 - CustomF* (RESIDENT_VEHICLES_SIREN_QUICK_03) [SIREN_QUICK_03]
11 - Powercall (VEHICLES_HORNS_AMBULANCE_WARNING) [AMBULANCE_WARNING]
12 - FireHorn (VEHICLES_HORNS_FIRETRUCK_WARNING) [FIRE_TRUCK_HORN]
13 - Firesiren (RESIDENT_VEHICLES_SIREN_FIRETRUCK_WAIL_01) [SIREN_FIRETRUCK_WAIL_01]
14 - Firesiren2 (RESIDENT_VEHICLES_SIREN_FIRETRUCK_QUICK_01) [SIREN_FIRETRUCK_QUICK_01]
]]
-- CHANGE SIREN NAMES, AUDIONAME, AUDIOREF
SIRENS = {
--[[1]] { Name = 'Airhorn', String = 'SIRENS_AIRHORN', Ref = 0 }, --1
--[[2]] { Name = 'Wail', String = 'VEHICLES_HORNS_SIREN_1', Ref = 0 }, --2
--[[3]] { Name = 'Yelp', String = 'VEHICLES_HORNS_SIREN_2', Ref = 0 }, --3
--[[4]] { Name = 'Priority', String = 'VEHICLES_HORNS_POLICE_WARNING', Ref = 0 }, --4
--[[5]] { Name = 'CustomA', String = 'RESIDENT_VEHICLES_SIREN_WAIL_01', Ref = 0 }, --5
--[[6]] { Name = 'CustomB', String = 'RESIDENT_VEHICLES_SIREN_WAIL_02', Ref = 0 }, --6
--[[7]] { Name = 'CustomC', String = 'RESIDENT_VEHICLES_SIREN_WAIL_03', Ref = 0 }, --7
--[[8]] { Name = 'CustomD', String = 'RESIDENT_VEHICLES_SIREN_QUICK_01', Ref = 0 }, --8
--[[9]] { Name = 'CustomE', String = 'RESIDENT_VEHICLES_SIREN_QUICK_02', Ref = 0 }, --9
--[[10]] { Name = 'CustomF', String = 'RESIDENT_VEHICLES_SIREN_QUICK_03', Ref = 0 }, --10
--[[11]] { Name = 'Powercall', String = 'VEHICLES_HORNS_AMBULANCE_WARNING', Ref = 0 }, --11
--[[12]] { Name = 'Fire Horn', String = 'VEHICLES_HORNS_FIRETRUCK_WARNING', Ref = 0 }, --12
--[[13]] { Name = 'Fire Yelp', String = 'RESIDENT_VEHICLES_SIREN_FIRETRUCK_WAIL_01', Ref = 0 }, --13
--[[14]] { Name = 'Fire Wail', String = 'RESIDENT_VEHICLES_SIREN_FIRETRUCK_QUICK_01', Ref = 0 }, --14
}
--ASSIGN SIRENS TO VEHICLES
SIREN_ASSIGNMENTS = {
--['<gameName>'] = {tones},
['DEFAULT'] = { 1, 2, 3, 4 },
['FIRETRUK'] = { 12, 13, 14, 11 },
['AMBULAN'] = { 1, 2, 3, 4, 11 },
['LGUARD'] = { 1, 2, 3, 4, 11 },
}