-
Notifications
You must be signed in to change notification settings - Fork 0
/
GVAW_MarianaNTTR.lua
68 lines (59 loc) · 2.34 KB
/
GVAW_MarianaNTTR.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
56
57
58
59
60
61
62
63
64
65
66
67
68
_SETTINGS:SetPlayerMenuOff()
-- Create a new missile trainer object.
fox=FOX:New()
fox:SetDefaultLaunchAlerts(false)
fox:SetDefaultLaunchMarks(false)
fox:SetDisableF10Menu(true)
fox:SetExplosionDistance(100)
fox:SetExplosionDistanceBigMissiles(200)
fox:AddSafeZone(ZONE:New("ATCAA3NORTH"))
fox:AddSafeZone(ZONE:New("ATCAA3SOUTH"))
fox:AddSafeZone(ZONE:New("ATCAA1"))
fox:AddSafeZone(ZONE:New("ATCAA2"))
fox:AddSafeZone(ZONE:New("ATCAA5"))
fox:SetEnableF10Menu()
fox:Start()
-- NOTE
-- RANGE:AddStrafePit(targetnames, boxlength, boxwidth, heading, inverseheading, goodpass, foulline)
-- Surface Attack FDM
local FDMRange = {"R7201A", "R7201B", "R7201C", "R7201D"}
local StrafeFDM = {"R7201Strafe-1", "R7201Strafe-2", "R7201Strafe-3"}
FDMRangeZone = RANGE:New("Faralon de Medinilla")
FDMRangeZone:SetRangeZone(ZONE:New("FDM"))
FDMRangeZone:SetFunkManOn()
FDMRangeZone:SetScoreBombDistance(200)
FDMRangeZone:AddBombingTargets( FDMRange, 30)
FDMRangeZone:AddStrafePit(StrafeFDM, 5000, 1000, nil, false, 20, 0)
FDMRangeZone:SetDefaultPlayerSmokeBomb(false)
FDMRangeZone:SetRangeControl(260)
FDMRangeZone:SetInstructorRadio(270)
FDMRangeZone:Start()
function FDMRange:OnAfterImpact(From, Event, To, Result, Player)
local player = Player
local result = Result
end
function StrafeFDM:OnAfterStrafeResult(From, Event, To, Player, Result)
local player = Player
local result = Result
end
-- Surface Attack Aguijan Range
local AguijanRange = {"AguijanBC"}
local StrafeAguijan = {"AguijanStrafe-1", "AguijanStrafe-2", "AguijanStrafe-3"}
AguijanRangeZone = RANGE:New("Aguijan Range")
AguijanRangeZone:SetRangeZone(ZONE:New("Aguijan"))
AguijanRangeZone:SetFunkManOn()
AguijanRangeZone:SetScoreBombDistance(200)
AguijanRangeZone:AddBombingTargets( AguijanRange, 30)
AguijanRangeZone:AddStrafePit(StrafeAguijan, 5000, 1000, nil, false, 20, 0)
AguijanRangeZone:SetDefaultPlayerSmokeBomb(false)
AguijanRangeZone:SetRangeControl(260)
AguijanRangeZone:SetInstructorRadio(270)
AguijanRangeZone:Start()
function AguijanRange:OnAfterImpact(From, Event, To, Result, Player)
local player = Player
local result = Result
end
function StrafeAguijan:OnAfterStrafeResult(From, Event, To, Player, Result)
local player = Player
local result = Result
end