356 lines
10 KiB
C#
356 lines
10 KiB
C#
using SharedLibraryCore.Configuration;
|
|
using SharedLibraryCore.Interfaces;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace LiveRadar.Configuration
|
|
{
|
|
class LiveRadarConfiguration : IBaseConfiguration
|
|
{
|
|
public List<MapInfo> Maps { get; set; }
|
|
|
|
public IBaseConfiguration Generate()
|
|
{
|
|
Maps = new List<MapInfo>()
|
|
{
|
|
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, // yxmax
|
|
Top = 44 // pymin
|
|
},
|
|
new MapInfo()
|
|
{
|
|
Name = "mp_rust",
|
|
Top = 212,
|
|
Bottom = 812,
|
|
Left = 314,
|
|
Right = 856,
|
|
MaxRight = -225,
|
|
MaxLeft = 1809,
|
|
MaxTop = 1773,
|
|
MaxBottom = -469,
|
|
ViewPositionRotation = 180
|
|
},
|
|
|
|
new MapInfo()
|
|
{
|
|
Name = "mp_subbase",
|
|
MaxLeft = 1841, // ymax
|
|
MaxRight = -3817, // ymin
|
|
MaxBottom = -1585, // xmin
|
|
MaxTop = 2593, // xmax
|
|
Left = 18, // pxmin
|
|
Right = 968, // pxmax
|
|
Bottom = 864, // pymax
|
|
Top = 160, // pymin
|
|
ViewPositionRotation = 180,
|
|
},
|
|
|
|
new MapInfo()
|
|
{
|
|
Name = "mp_estate",
|
|
Top = 52,
|
|
Bottom = 999,
|
|
Left = 173,
|
|
Right = 942,
|
|
MaxTop = 2103, // x max
|
|
MaxBottom = -5077, //x min
|
|
MaxLeft = 4437, // ymax
|
|
MaxRight = -1240, // y min
|
|
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()
|
|
{
|
|
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
|
|
},
|
|
};
|
|
|
|
return this;
|
|
}
|
|
|
|
public string Name() => "LiveRadar";
|
|
}
|
|
}
|