2019-07-21 18:14:44 -04:00
|
|
|
|
using SharedLibraryCore.Interfaces;
|
2019-07-05 21:53:03 -04:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
2023-02-11 21:46:08 -05:00
|
|
|
|
namespace IW4MAdmin.Plugins.LiveRadar.Configuration;
|
|
|
|
|
|
|
|
|
|
public class LiveRadarConfiguration : IBaseConfiguration
|
2019-07-05 21:53:03 -04:00
|
|
|
|
{
|
2023-02-11 21:46:08 -05:00
|
|
|
|
public List<MapInfo> Maps { get; set; }
|
2019-07-05 21:53:03 -04:00
|
|
|
|
|
2023-02-11 21:46:08 -05:00
|
|
|
|
public IBaseConfiguration Generate()
|
|
|
|
|
{
|
|
|
|
|
Maps = new List<MapInfo>()
|
2019-07-05 21:53:03 -04:00
|
|
|
|
{
|
2023-02-11 21:46:08 -05:00
|
|
|
|
new MapInfo()
|
|
|
|
|
{
|
|
|
|
|
Name = "mp_afghan",
|
|
|
|
|
MaxLeft = 4600, // ymax
|
|
|
|
|
MaxRight = -1100, // ymin
|
|
|
|
|
MaxBottom = -1400, // xmin
|
|
|
|
|
MaxTop = 4600, // xmax
|
|
|
|
|
Left = 52, // pxmin
|
|
|
|
|
Right = 898, // pxmax
|
|
|
|
|
Bottom = 930, // pymax
|
|
|
|
|
Top = 44 // pymin
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
new MapInfo()
|
|
|
|
|
{
|
|
|
|
|
Name = "mp_rust",
|
|
|
|
|
Top = 212,
|
|
|
|
|
Bottom = 812,
|
|
|
|
|
Left = 314,
|
|
|
|
|
Right = 856,
|
|
|
|
|
MaxRight = -225,
|
|
|
|
|
MaxLeft = 1809,
|
|
|
|
|
MaxTop = 1773,
|
|
|
|
|
MaxBottom = -469
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
new MapInfo()
|
|
|
|
|
{
|
|
|
|
|
Name = "mp_terminal",
|
|
|
|
|
Top = 174,
|
|
|
|
|
Bottom = 846,
|
|
|
|
|
Left = 18,
|
|
|
|
|
Right = 1011,
|
|
|
|
|
MaxTop = 2929,
|
|
|
|
|
MaxBottom = -513,
|
|
|
|
|
MaxLeft = 7521,
|
|
|
|
|
MaxRight = 2447
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
new MapInfo()
|
|
|
|
|
{
|
|
|
|
|
Name = "mp_subbase",
|
|
|
|
|
MaxLeft = 1841,
|
|
|
|
|
MaxRight = -3817,
|
|
|
|
|
MaxBottom = -1585,
|
|
|
|
|
MaxTop = 2593,
|
|
|
|
|
Left = 18,
|
|
|
|
|
Right = 968,
|
|
|
|
|
Bottom = 864,
|
|
|
|
|
Top = 160,
|
|
|
|
|
ViewPositionRotation = 180,
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
new MapInfo()
|
|
|
|
|
{
|
|
|
|
|
Name = "mp_estate",
|
|
|
|
|
Top = 52,
|
|
|
|
|
Bottom = 999,
|
|
|
|
|
Left = 173,
|
|
|
|
|
Right = 942,
|
|
|
|
|
MaxTop = 2103,
|
|
|
|
|
MaxBottom = -5077,
|
|
|
|
|
MaxLeft = 4437,
|
|
|
|
|
MaxRight = -1240,
|
|
|
|
|
Rotation = 143,
|
|
|
|
|
CenterX = -1440,
|
|
|
|
|
CenterY = 1920,
|
|
|
|
|
Scaler = 0.85f,
|
|
|
|
|
ViewPositionRotation = 180
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
new MapInfo()
|
|
|
|
|
{
|
|
|
|
|
Name = "mp_highrise",
|
|
|
|
|
MaxBottom = -3909,
|
|
|
|
|
MaxTop = 1649,
|
|
|
|
|
MaxRight = 5111,
|
|
|
|
|
MaxLeft = 8906,
|
|
|
|
|
Left = 108,
|
|
|
|
|
Right = 722,
|
|
|
|
|
Top = 66,
|
|
|
|
|
Bottom = 974,
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
new MapInfo()
|
|
|
|
|
{
|
|
|
|
|
Name = "mp_quarry",
|
|
|
|
|
MaxBottom = -5905,
|
|
|
|
|
MaxTop = -1423,
|
|
|
|
|
MaxRight = -2095,
|
|
|
|
|
MaxLeft = 3217,
|
|
|
|
|
Left = 126,
|
|
|
|
|
Right = 968,
|
|
|
|
|
Top = 114,
|
|
|
|
|
Bottom = 824
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
new MapInfo()
|
|
|
|
|
{
|
|
|
|
|
Name = "mp_boneyard",
|
|
|
|
|
MaxBottom = -1756,
|
|
|
|
|
MaxTop = 2345,
|
|
|
|
|
MaxRight = -715,
|
|
|
|
|
MaxLeft = 1664,
|
|
|
|
|
Left = 248,
|
|
|
|
|
Right = 728,
|
|
|
|
|
Top = 68,
|
|
|
|
|
Bottom = 897
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
new MapInfo()
|
|
|
|
|
{
|
|
|
|
|
Name = "mp_brecourt",
|
|
|
|
|
MaxBottom = -3797,
|
|
|
|
|
MaxTop = 4240,
|
|
|
|
|
MaxRight = -3876,
|
|
|
|
|
MaxLeft = 2575,
|
|
|
|
|
Left = 240,
|
|
|
|
|
Right = 846,
|
|
|
|
|
Top = 180,
|
|
|
|
|
Bottom = 934
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
new MapInfo()
|
|
|
|
|
{
|
|
|
|
|
Name = "mp_checkpoint",
|
|
|
|
|
MaxBottom = -2273,
|
|
|
|
|
MaxTop = 2153,
|
|
|
|
|
MaxRight = -3457,
|
|
|
|
|
MaxLeft = 2329,
|
|
|
|
|
Left = 30,
|
|
|
|
|
Right = 1010,
|
|
|
|
|
Top = 136,
|
|
|
|
|
Bottom = 890
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
new MapInfo()
|
|
|
|
|
{
|
|
|
|
|
Name = "mp_derail",
|
|
|
|
|
MaxBottom = -2775,
|
|
|
|
|
MaxTop = 3886,
|
|
|
|
|
MaxRight = -3807,
|
|
|
|
|
MaxLeft = 4490,
|
|
|
|
|
Left = 130,
|
|
|
|
|
Right = 892,
|
|
|
|
|
Top = 210,
|
|
|
|
|
Bottom = 829
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
new MapInfo()
|
|
|
|
|
{
|
|
|
|
|
Name = "mp_favela",
|
|
|
|
|
MaxBottom = -2017,
|
|
|
|
|
MaxTop = 1769,
|
|
|
|
|
MaxRight = -1239,
|
|
|
|
|
MaxLeft = 2998,
|
|
|
|
|
Left = 120,
|
|
|
|
|
Right = 912,
|
|
|
|
|
Top = 174,
|
|
|
|
|
Bottom = 878
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
new MapInfo()
|
|
|
|
|
{
|
|
|
|
|
Name = "mp_invasion",
|
|
|
|
|
MaxBottom = -3673,
|
|
|
|
|
MaxTop = 2540,
|
|
|
|
|
MaxRight = -3835,
|
|
|
|
|
MaxLeft = 980,
|
|
|
|
|
Left = 20,
|
|
|
|
|
Right = 808,
|
|
|
|
|
Top = 0,
|
|
|
|
|
Bottom = 1006
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
new MapInfo()
|
2019-07-05 21:53:03 -04:00
|
|
|
|
{
|
2023-02-11 21:46:08 -05:00
|
|
|
|
Name = "mp_nightshift",
|
|
|
|
|
MaxBottom = -2497,
|
|
|
|
|
MaxTop = 1977,
|
|
|
|
|
MaxRight = -2265,
|
|
|
|
|
MaxLeft = 945,
|
|
|
|
|
Left = 246,
|
|
|
|
|
Right = 826,
|
|
|
|
|
Top = 104,
|
|
|
|
|
Bottom = 916
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
new MapInfo()
|
|
|
|
|
{
|
|
|
|
|
Name = "mp_rundown",
|
|
|
|
|
MaxBottom = -2304,
|
|
|
|
|
MaxTop = 3194,
|
|
|
|
|
MaxRight = -3558,
|
|
|
|
|
MaxLeft = 3361,
|
|
|
|
|
Left = 32,
|
|
|
|
|
Right = 1030,
|
|
|
|
|
Top = 96,
|
|
|
|
|
Bottom = 892
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
new MapInfo()
|
|
|
|
|
{
|
|
|
|
|
Name = "mp_underpass",
|
|
|
|
|
MaxBottom = -601,
|
|
|
|
|
MaxTop = 3761,
|
|
|
|
|
MaxRight = -1569,
|
|
|
|
|
MaxLeft = 3615,
|
|
|
|
|
Left = 42,
|
|
|
|
|
Right = 978,
|
|
|
|
|
Top = 157,
|
|
|
|
|
Bottom = 944
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
new MapInfo()
|
|
|
|
|
{
|
|
|
|
|
Name = "mp_abandon",
|
|
|
|
|
MaxBottom = -1290,
|
|
|
|
|
MaxTop = 3855,
|
|
|
|
|
MaxRight = -2907,
|
|
|
|
|
MaxLeft = 2723,
|
|
|
|
|
Left = 6,
|
|
|
|
|
Right = 1016,
|
|
|
|
|
Top = 32,
|
|
|
|
|
Bottom = 945
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
new MapInfo()
|
|
|
|
|
{
|
|
|
|
|
Name = "mp_compact",
|
|
|
|
|
MaxBottom = 0,
|
|
|
|
|
MaxTop = 4264,
|
|
|
|
|
MaxRight = -1552,
|
|
|
|
|
MaxLeft = 3344,
|
|
|
|
|
Left = 35,
|
|
|
|
|
Right = 1003,
|
|
|
|
|
Top = 94,
|
|
|
|
|
Bottom = 935
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
new MapInfo()
|
|
|
|
|
{
|
|
|
|
|
Name = "mp_complex",
|
|
|
|
|
MaxBottom = -2869,
|
|
|
|
|
MaxTop = 2867,
|
|
|
|
|
MaxRight = -4204,
|
|
|
|
|
MaxLeft = -1218,
|
|
|
|
|
Left = 282,
|
|
|
|
|
Right = 749,
|
|
|
|
|
Top = 48,
|
|
|
|
|
Bottom = 991
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
new MapInfo()
|
|
|
|
|
{
|
|
|
|
|
Name = "mp_crash",
|
|
|
|
|
MaxBottom = -953,
|
|
|
|
|
MaxTop = 1811,
|
|
|
|
|
MaxRight = -2129,
|
|
|
|
|
MaxLeft = 2277,
|
|
|
|
|
Left = 52,
|
|
|
|
|
Right = 1017,
|
|
|
|
|
Top = 201,
|
|
|
|
|
Bottom = 807
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
new MapInfo()
|
|
|
|
|
{
|
|
|
|
|
Name = "mp_fuel2",
|
|
|
|
|
MaxBottom = -2218,
|
|
|
|
|
MaxTop = 4324,
|
|
|
|
|
MaxRight = -3115,
|
|
|
|
|
MaxLeft = 3193,
|
|
|
|
|
Left = 39,
|
|
|
|
|
Right = 888,
|
|
|
|
|
Top = 24,
|
|
|
|
|
Bottom = 906
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
new MapInfo()
|
|
|
|
|
{
|
|
|
|
|
Name = "mp_overgrown",
|
|
|
|
|
MaxBottom = -2052,
|
|
|
|
|
MaxTop = 3236,
|
|
|
|
|
MaxRight = -5393,
|
|
|
|
|
MaxLeft = 808,
|
|
|
|
|
Left = 17,
|
|
|
|
|
Right = 1024,
|
|
|
|
|
Top = 0,
|
|
|
|
|
Bottom = 847
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
new MapInfo()
|
|
|
|
|
{
|
|
|
|
|
Name = "mp_storm",
|
|
|
|
|
MaxBottom = -2317,
|
|
|
|
|
MaxTop = 2537,
|
|
|
|
|
MaxRight = -2223,
|
|
|
|
|
MaxLeft = 2097,
|
|
|
|
|
Left = 79,
|
|
|
|
|
Right = 932,
|
|
|
|
|
Top = 20,
|
|
|
|
|
Bottom = 995
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
new MapInfo()
|
|
|
|
|
{
|
|
|
|
|
Name = "mp_strike",
|
|
|
|
|
MaxBottom = -2504,
|
|
|
|
|
MaxTop = 3359,
|
|
|
|
|
MaxRight = -3105,
|
|
|
|
|
MaxLeft = 2822,
|
|
|
|
|
Left = 40,
|
|
|
|
|
Right = 969,
|
|
|
|
|
Top = 36,
|
|
|
|
|
Bottom = 955
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
new MapInfo()
|
|
|
|
|
{
|
|
|
|
|
Name = "mp_trailerpark",
|
|
|
|
|
MaxBottom = -2709,
|
|
|
|
|
MaxTop = 2027,
|
|
|
|
|
MaxRight = -1719,
|
|
|
|
|
MaxLeft = 1666,
|
|
|
|
|
Left = 152,
|
|
|
|
|
Right = 785,
|
|
|
|
|
Top = 50,
|
|
|
|
|
Bottom = 931
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
new MapInfo()
|
|
|
|
|
{
|
|
|
|
|
Name = "mp_vacant",
|
|
|
|
|
MaxBottom = -2089,
|
|
|
|
|
MaxTop = 1652,
|
|
|
|
|
MaxRight = -1393,
|
|
|
|
|
MaxLeft = 1789,
|
|
|
|
|
Left = 122,
|
|
|
|
|
Right = 909,
|
|
|
|
|
Top = 16,
|
|
|
|
|
Bottom = 951
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
new MapInfo()
|
|
|
|
|
{
|
|
|
|
|
Name = "mp_nuked",
|
|
|
|
|
MaxLeft = 1211,
|
|
|
|
|
MaxRight = -557,
|
|
|
|
|
MaxBottom = -2110,
|
|
|
|
|
MaxTop = 2092,
|
|
|
|
|
Left = 340,
|
|
|
|
|
Right = 698,
|
|
|
|
|
Bottom = 930,
|
|
|
|
|
Top = 92
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
new MapInfo()
|
|
|
|
|
{
|
|
|
|
|
Name = "mp_killhouse",
|
|
|
|
|
MaxLeft = 4276,
|
|
|
|
|
MaxRight = 2973,
|
|
|
|
|
MaxBottom = -1164,
|
|
|
|
|
MaxTop = 1392,
|
|
|
|
|
Left = 319,
|
|
|
|
|
Right = 758,
|
|
|
|
|
Bottom = 937,
|
|
|
|
|
Top = 87
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
return this;
|
2019-07-05 21:53:03 -04:00
|
|
|
|
}
|
2023-02-11 21:46:08 -05:00
|
|
|
|
|
|
|
|
|
public string Name() => "LiveRadar";
|
2019-07-05 21:53:03 -04:00
|
|
|
|
}
|