-
Notifications
You must be signed in to change notification settings - Fork 0
/
Bahia.lua
106 lines (82 loc) · 2.42 KB
/
Bahia.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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
-- Fragata Classe Niterói Marinha do Brasil
-- Bahia
mount_vfs_model_path (current_mod_path.."/Shapes")
mount_vfs_texture_path (current_mod_path.."/Textures/Bahia.zip")
GT = {};
GT_t.ws = 0;
set_recursive_metatable(GT, GT_t.generic_ship)
GT.visual = {}
GT.visual.shape = "Bahia";
GT.visual.shape_dstr = ""
-- GENERAL DATA***************************************************************************
GT.life = 800;
GT.mass = 7.25e+006;
GT.max_velocity = 15.4333
GT.race_velocity = 15.4333
GT.economy_velocity = 9.26;
GT.economy_distance = 1.59272e+007;
GT.race_distance = 1.59272e+007;
GT.shipLength = 131;
GT.Width = 14;
GT.Height = 25;
GT.Length = 131;
GT.DeckLevel = 5.6;
GT.X_nose = 77
GT.X_tail = -83
GT.Tail_Width = 40;
GT.Gamma_max = 0.35;
GT.Om = 0.05;
GT.speedup = 0.1014062;
GT.R_min = 212.4;
GT.distFindObstacles = 1048.6;
GT.numParking = 3;
GT.Helicopter_Num_ = 3;
GT.Landing_Point = {-65, 10.1, 0.0}
GT.airWeaponDist = 40000
GT.airFindDist = 70000
--[[ WEAPON SYSTEMS ****************************************************************************
GT.DM = {
{ area_name = "ZA_L", area_arg = 100, area_life = 27, area_fire = { pos = {3.7, 17.15, -6.25}, size = 0.5}},
}
-- Harpoon
ws = GT_t.inc_ws();
GT.WS[ws] = {}
set_recursive_metatable(GT.WS[ws], GT_t.WS_t.ship_HARPOON )
GT.WS[ws].area = 'ZA_L';
GT.WS[ws].pos = {40,15,15}
GT.WS[ws].LN[1].PL[1].ammo_capacity = 1;
GT.WS[ws].LN[1].BR = {
{connector_name = 'MM-40', drawArgument = 153},
}
--]]
-- RADAR
GT.WS = {}
local ws;
GT.WS.maxTargetDetectionRange = 20000;
GT.WS.radar_type = 102
GT.WS.searchRadarMaxElevation = math.rad(60);
GT.WS.searchRadarFrequencies = {{50.0e6, 54.0e6}, {2.0e9, 2.2e9}}
GT.Name = "Bahia"
GT.DisplayName = _("Bahia Landing Ship")
GT.Rate = 5500
GT.Sensors = { OPTIC = {"long-range naval optics", "long-range naval LLTV", "long-range naval FLIR"},
RADAR = {
"Patriot str",
"ticonderoga search radar",
}
};
GT.DetectionRange = GT.airFindDist;
GT.ThreatRange = GT.airWeaponDist;
GT.Singleton = "no";
GT.mapclasskey = "P0091000067";
GT.attribute = {wsType_Navy,wsType_Ship,wsType_ArmedShip,TICONDEROGA,
"Cruisers",
"RADAR_BAND1_FOR_ARM",
"DetectionByAWACS",
};
GT.Categories = {
{name = "Armed Ship"},
{name = "HelicopterCarrier"}
};
GT.Countries = { "Brazil",};
add_surface_unit(GT)