Ejemplo n.º 1
0
        public LomBank()
        {
            try {
                buildingName        = "LomBank West";
                buildingDescription = "In a radical new step towards diversification of the banking sector. Industry giant Lombank is selling office space to results-driven, high-liquidity kill squads and drug cartels. Be part of the change our financial industry needs.";
                price        = 3100000;
                owner        = (Owner)SinglePlayerOffice.Configs.GetValue(buildingName, "Owner", -1);
                blipPosition = new Vector3(-1581.127f, -558.608f, 34.953f);
                interiorIDs  = new List <int>()
                {
                    241921, 242177, 241665, 240897, 241153, 241409, 242433, 242689, 242945, 255489, 255745, 256001, 256257
                };
                exteriorIPLs = new List <string>()
                {
                    "sm_13_emissive", "sm_13_bld1", "sm_13_bld1_LOD"
                };
                entrance = new Entrance {
                    Trigger = new Vector3(-1581.127f, -558.608f, 34.953f),
                    Spawn   = new Vector3(-1582.192f, -556.967f, 34.954f),
                    Heading = 32.916f
                };
                office = new Office {
                    InteriorIDs = new List <int>()
                    {
                        241921, 242177, 241665, 240897, 241153, 241409, 242433, 242689, 242945
                    },
                    Trigger        = new Vector3(-1579.750f, -565.049f, 108.523f),
                    Spawn          = new Vector3(-1578.013f, -565.397f, 108.523f),
                    Heading        = 214.074f,
                    CamPos         = new Vector3(-1567.370f, -587.616f, 109.5f),
                    CamRot         = new Vector3(-5f, 0f, -12f),
                    CamFOV         = 60f,
                    InteriorStyles = new List <OfficeInteriorStyle>()
                    {
                        new OfficeInteriorStyle("Executive Rich", 0, "ex_sm_13_office_02b"),
                        new OfficeInteriorStyle("Executive Cool", 415000, "ex_sm_13_office_02c"),
                        new OfficeInteriorStyle("Executive Contrast", 500000, "ex_sm_13_office_02a"),
                        new OfficeInteriorStyle("Old Spice Classical", 685000, "ex_sm_13_office_01b"),
                        new OfficeInteriorStyle("Old Spice Vintage", 760000, "ex_sm_13_office_01c"),
                        new OfficeInteriorStyle("Old Spice Warms", 950000, "ex_sm_13_office_01a"),
                        new OfficeInteriorStyle("Power Broker Conservative", 835000, "ex_sm_13_office_03b"),
                        new OfficeInteriorStyle("Power Broker Polished", 910000, "ex_sm_13_office_03c"),
                        new OfficeInteriorStyle("Power Broker Ice", 1000000, "ex_sm_13_office_03a")
                    },
                    HasExtraDecors = SinglePlayerOffice.Configs.GetValue(buildingName, "HasExtraOfficeDecors", false)
                };
                office.InteriorStyle = GetOfficeInteriorStyle(SinglePlayerOffice.Configs.GetValue(buildingName, "OfficeInteriorStyle"));
                garageOne            = new Garage {
                    IPL              = "imp_sm_13_cargarage_a",
                    InteriorID       = 255489,
                    Trigger          = new Vector3(-1586.341f, -561.390f, 86.501f),
                    Spawn            = new Vector3(-1585.244f, -562.935f, 86.501f),
                    Heading          = -144f,
                    CamPos           = new Vector3(-1585.244f, -562.935f, 88.501f),
                    CamRot           = new Vector3(-5f, -1f, -144f),
                    CamFOV           = 90f,
                    DecorationCamPos = new Vector3(-1589.886f, -571.585f, 86.501f),
                    DecorationCamRot = new Vector3(5f, 0f, -94f),
                    DecorationCamFOV = 60f,
                    DecorationStyle  = GetGarageDecorationStyle(SinglePlayerOffice.Configs.GetValue(buildingName, "GarageOneDecorationStyle")),
                    LightingCamPos   = new Vector3(-1587.638f, -569.089f, 86.500f),
                    LightingCamRot   = new Vector3(55f, 0f, 165f),
                    LightingCamFOV   = 70f,
                    LightingStyle    = GetGarageLightingStyle(SinglePlayerOffice.Configs.GetValue(buildingName, "GarageOneLightingStyle")),
                    NumberingCamPos  = new Vector3(-1576.517f, -564.090f, 86.500f),
                    NumberingCamRot  = new Vector3(12f, 0f, -54f),
                    NumberingCamFOV  = 60f,
                    NumberingStyle   = GetGarageOneNumberingStyle(SinglePlayerOffice.Configs.GetValue(buildingName, "GarageOneNumberingStyle"))
                };
                garageTwo = new Garage {
                    IPL              = "imp_sm_13_cargarage_b",
                    InteriorID       = 255745,
                    Trigger          = new Vector3(-1562.919f, -556.852f, 86.501f),
                    Spawn            = new Vector3(-1564.414f, -557.834f, 86.501f),
                    Heading          = 126f,
                    CamPos           = new Vector3(-1564.414f, -557.834f, 88.501f),
                    CamRot           = new Vector3(-5f, -1f, 126f),
                    CamFOV           = 90f,
                    DecorationCamPos = new Vector3(-1573.072f, -553.264f, 86.501f),
                    DecorationCamRot = new Vector3(5f, 0f, 176f),
                    DecorationCamFOV = 60f,
                    DecorationStyle  = GetGarageDecorationStyle(SinglePlayerOffice.Configs.GetValue(buildingName, "GarageTwoDecorationStyle")),
                    LightingCamPos   = new Vector3(-1570.563f, -555.513f, 86.500f),
                    LightingCamRot   = new Vector3(55f, 0f, 76f),
                    LightingCamFOV   = 70f,
                    LightingStyle    = GetGarageLightingStyle(SinglePlayerOffice.Configs.GetValue(buildingName, "GarageTwoLightingStyle")),
                    NumberingCamPos  = new Vector3(-1565.695f, -566.624f, 86.500f),
                    NumberingCamRot  = new Vector3(12f, 0f, -142f),
                    NumberingCamFOV  = 60f,
                    NumberingStyle   = GetGarageTwoNumberingStyle(SinglePlayerOffice.Configs.GetValue(buildingName, "GarageTwoNumberingStyle"))
                };
                garageThree = new Garage {
                    IPL              = "imp_sm_13_cargarage_c",
                    InteriorID       = 256001,
                    Trigger          = new Vector3(-1558.330f, -580.248f, 86.501f),
                    Spawn            = new Vector3(-1559.331f, -578.897f, 86.501f),
                    Heading          = 36f,
                    CamPos           = new Vector3(-1559.331f, -578.897f, 88.501f),
                    CamRot           = new Vector3(-5f, -1f, 36f),
                    CamFOV           = 90f,
                    DecorationCamPos = new Vector3(-1554.784f, -570.093f, 86.501f),
                    DecorationCamRot = new Vector3(5f, 0f, 86f),
                    DecorationCamFOV = 60f,
                    DecorationStyle  = GetGarageDecorationStyle(SinglePlayerOffice.Configs.GetValue(buildingName, "GarageThreeDecorationStyle")),
                    LightingCamPos   = new Vector3(-1557.047f, -572.635f, 86.500f),
                    LightingCamRot   = new Vector3(55f, 0f, -14f),
                    LightingCamFOV   = 70f,
                    LightingStyle    = GetGarageLightingStyle(SinglePlayerOffice.Configs.GetValue(buildingName, "GarageThreeLightingStyle")),
                    NumberingCamPos  = new Vector3(-1568.135f, -577.467f, 86.500f),
                    NumberingCamRot  = new Vector3(12f, 0f, 128f),
                    NumberingCamFOV  = 60f,
                    NumberingStyle   = GetGarageThreeNumberingStyle(SinglePlayerOffice.Configs.GetValue(buildingName, "GarageThreeNumberingStyle"))
                };
                modShop = new ModShop {
                    IPL        = "imp_sm_13_modgarage",
                    InteriorID = 256257,
                    Trigger    = new Vector3(-1569.469f, -573.342f, 105.200f),
                    Spawn      = new Vector3(-1570.438f, -571.884f, 105.200f),
                    Heading    = 30.991f,
                    CamPos     = new Vector3(-1573.166f, -571.276f, 107.2f),
                    CamRot     = new Vector3(-20f, 0f, 126f),
                    CamFOV     = 70f,
                    FloorStyle = GetModShopFloorStyle(SinglePlayerOffice.Configs.GetValue(buildingName, "ModShopFloorStyle"))
                };
                heliPad = new HeliPad {
                    Trigger = new Vector3(-1560.776f, -569.241f, 114.448f),
                    Spawn   = new Vector3(-1561.777f, -567.676f, 114.448f),
                    Heading = 31.058f
                };
                purchaseCamPos = new Vector3(-1609.816f, -637.368f, 35f);
                purchaseCamRot = new Vector3(24f, 0f, -30f);
                purchaseFOV    = 67f;

                //officeSofaPos = new Vector3(-1564.563f, -583.634f, 107.523f);
                //officeSofaRot = new Vector3(0f, 0f, 216f);
                //officeSofaStartPos = new Vector3(-1564.908f, -583.143f, 108.523f);
                //officeSofaStartHeading = 36f;
                //officeTVTrigger = new Vector3(-1567.501f, -579.754f, 108.938f);
                //officeComputerChairPos = new Vector3(-1555.381f, -575.224f, 108.143f);
                //officeComputerChairRot = new Vector3(0f, 0f, -99f);
                //officeLeftSafeTrigger = new Vector3(-1555.248f, -572.382f, 108.523f);
                //officeLeftSafeStartPos = new Vector3(-1556.368f, -573.211f, 108.523f);
                //officeLeftSafeStartHeading = 306f;
                //officeRightSafeTrigger = new Vector3(-1553.079f, -575.399f, 108.523f);
                //officeRightSafeStartPos = new Vector3(-1554.314f, -576.325f, 108.523f);
                //officeRightSafeStartHeading = 306f;
                //officeRadioTrigger = new Vector3(-1559.245f, -573.592f, 108.523f);
                //officeRadioHeading = 38.517f;
                //officeBossChairTrigger = new Vector3(-1570.975f, -589.777f, 108.523f);
                //officeBossChairHeading = 39.281f;
                //officeStaffChairTriggers = new List<Vector3>() {
                //    new Vector3(-1573.8f, -589.477f, 108.523f),
                //    new Vector3(-1574.431f, -588.483f, 108.523f),
                //    new Vector3(-1575.140f, -587.551f, 108.523f),
                //    new Vector3(-1570.494f, -587.037f, 108.523f),
                //    new Vector3(-1571.157f, -586.029f, 108.523f),
                //    new Vector3(-1571.841f, -585.113f, 108.523f)

                //};
                //officeStaffChairHeadings = new List<float>() { 307.687f, 307.806f, 305.995f, 124.545f, 126.026f, 126.031f };
                //officeLaptopChairTriggers = new List<Vector3>() {
                //    new Vector3(-1574.990f, -582.261f, 108.523f),
                //    new Vector3(-1575.864f, -580.978f, 108.523f),
                //    new Vector3(-1576.795f, -579.749f, 108.523f)
                //};
                //officeLaptopChairHeadings = new List<float>() { 308.681f, 306.355f, 306.415f };
                //officeWardrobeTrigger = new Vector3(-1565.723f, -570.756f, 108.523f);
                //officeWardrobeHeading = 305.946f;
                //officeWardrobeCamPos = new Vector3(-1564.539f, -569.827f, 108.523f);
                //officeWardrobeCamRot = new Vector3(0f, 0f, 125.692f);
                //officeWardrobeCamFOV = 75f;
                //officePaChairPos = new Vector3(-1570.820f, -575.100f, 108.125f);
                //officePaChairRot = new Vector3(0f, 0f, -144f);

                CreateBuildingBlip();
                CreatePurchaseMenu();
                CreateTeleportMenu();
            }
            catch (Exception ex) {
                Logger.Log(ex.ToString());
            }
        }
Ejemplo n.º 2
0
        public MazeBank()
        {
            try {
                buildingName        = "Maze Bank Tower";
                buildingDescription = "The building that defined the LS Skyline for a generation. Taller, Classier, more opulent, more shamelessly phallic, less structurally sound - you name it, the Maze Bank Tower is best in class.";
                price        = 4000000;
                owner        = (Owner)SinglePlayerOffice.Configs.GetValue(buildingName, "Owner", -1);
                blipPosition = new Vector3(-79.214f, -796.513f, 44.227f);
                interiorIDs  = new List <int>()
                {
                    239617, 239873, 239361, 238593, 238849, 239105, 240129, 240385, 240641, 254465, 254721, 254977, 255233
                };
                exteriorIPLs = new List <string>()
                {
                    "dt1_11_dt1_emissive_dt1_11", "dt1_11_dt1_tower"
                };
                entrance = new Entrance {
                    Trigger = new Vector3(-79.214f, -796.513f, 44.227f),
                    Spawn   = new Vector3(-80.690f, -795.859f, 44.227f),
                    Heading = 94.827f
                };
                office = new Office {
                    InteriorIDs = new List <int>()
                    {
                        239617, 239873, 239361, 238593, 238849, 239105, 240129, 240385, 240641
                    },
                    Trigger        = new Vector3(-75.771f, -827.188f, 243.386f),
                    Spawn          = new Vector3(-76.042f, -825.297f, 243.386f),
                    Heading        = 335.794f,
                    CamPos         = new Vector3(-63.668f, -804.309f, 244.5f),
                    CamRot         = new Vector3(-5f, 0f, 111f),
                    CamFOV         = 60f,
                    InteriorStyles = new List <OfficeInteriorStyle>()
                    {
                        new OfficeInteriorStyle("Executive Rich", 0, "ex_dt1_11_office_02b"),
                        new OfficeInteriorStyle("Executive Cool", 415000, "ex_dt1_11_office_02c"),
                        new OfficeInteriorStyle("Executive Contrast", 500000, "ex_dt1_11_office_02a"),
                        new OfficeInteriorStyle("Old Spice Classical", 685000, "ex_dt1_11_office_01b"),
                        new OfficeInteriorStyle("Old Spice Vintage", 760000, "ex_dt1_11_office_01c"),
                        new OfficeInteriorStyle("Old Spice Warms", 950000, "ex_dt1_11_office_01a"),
                        new OfficeInteriorStyle("Power Broker Conservative", 830000, "ex_dt1_11_office_03b"),
                        new OfficeInteriorStyle("Power Broker Polished", 910000, "ex_dt1_11_office_03c"),
                        new OfficeInteriorStyle("Power Broker Ice", 1000000, "ex_dt1_11_office_03a")
                    },
                    HasExtraDecors = SinglePlayerOffice.Configs.GetValue(buildingName, "HasExtraOfficeDecors", false)
                };
                office.InteriorStyle = GetOfficeInteriorStyle(SinglePlayerOffice.Configs.GetValue(buildingName, "OfficeInteriorStyle"));
                garageOne            = new Garage {
                    IPL              = "imp_dt1_11_cargarage_a",
                    InteriorID       = 254465,
                    Trigger          = new Vector3(-91.308f, -821.317f, 222.001f),
                    Spawn            = new Vector3(-90.054f, -821.810f, 222.000f),
                    Heading          = -110f,
                    CamPos           = new Vector3(-90.054f, -821.810f, 224.000f),
                    CamRot           = new Vector3(-5f, -1f, -110f),
                    CamFOV           = 90f,
                    DecorationCamPos = new Vector3(-89.055f, -831.615f, 222.001f),
                    DecorationCamRot = new Vector3(5f, 0f, -60f),
                    DecorationCamFOV = 60f,
                    DecorationStyle  = GetGarageDecorationStyle(SinglePlayerOffice.Configs.GetValue(buildingName, "GarageOneDecorationStyle")),
                    LightingCamPos   = new Vector3(-88.599f, -828.209f, 222.000f),
                    LightingCamRot   = new Vector3(55f, 0f, -160f),
                    LightingCamFOV   = 70f,
                    LightingStyle    = GetGarageLightingStyle(SinglePlayerOffice.Configs.GetValue(buildingName, "GarageOneLightingStyle")),
                    NumberingCamPos  = new Vector3(-82.111f, -817.941f, 222.001f),
                    NumberingCamRot  = new Vector3(12f, 0f, -20f),
                    NumberingCamFOV  = 60f,
                    NumberingStyle   = GetGarageOneNumberingStyle(SinglePlayerOffice.Configs.GetValue(buildingName, "GarageOneNumberingStyle"))
                };
                garageTwo = new Garage {
                    IPL              = "imp_dt1_11_cargarage_b",
                    InteriorID       = 254721,
                    Trigger          = new Vector3(-71.733f, -832.331f, 222.000f),
                    Spawn            = new Vector3(-71.108f, -830.692f, 222.001f),
                    Heading          = -20f,
                    CamPos           = new Vector3(-71.108f, -830.692f, 224.001f),
                    CamRot           = new Vector3(-5f, -1f, -20f),
                    CamFOV           = 90f,
                    DecorationCamPos = new Vector3(-61.260f, -829.552f, 222.001f),
                    DecorationCamRot = new Vector3(5f, 0f, 30f),
                    DecorationCamFOV = 60f,
                    DecorationStyle  = GetGarageDecorationStyle(SinglePlayerOffice.Configs.GetValue(buildingName, "GarageTwoDecorationStyle")),
                    LightingCamPos   = new Vector3(-64.710f, -829.159f, 222.001f),
                    LightingCamRot   = new Vector3(55f, 0f, -70f),
                    LightingCamFOV   = 70f,
                    LightingStyle    = GetGarageLightingStyle(SinglePlayerOffice.Configs.GetValue(buildingName, "GarageTwoLightingStyle")),
                    NumberingCamPos  = new Vector3(-75.044f, -822.666f, 222.001f),
                    NumberingCamRot  = new Vector3(12f, 0f, 70f),
                    NumberingCamFOV  = 60f,
                    NumberingStyle   = GetGarageTwoNumberingStyle(SinglePlayerOffice.Configs.GetValue(buildingName, "GarageTwoNumberingStyle"))
                };
                garageThree = new Garage {
                    IPL              = "imp_dt1_11_cargarage_c",
                    InteriorID       = 254977,
                    Trigger          = new Vector3(-78.528f, -805.686f, 222.001f),
                    Spawn            = new Vector3(-79.146f, -807.408f, 222.001f),
                    Heading          = 160f,
                    CamPos           = new Vector3(-79.146f, -807.408f, 224.001f),
                    CamRot           = new Vector3(-5f, -1f, 160f),
                    CamFOV           = 90f,
                    DecorationCamPos = new Vector3(-88.997f, -808.442f, 222.001f),
                    DecorationCamRot = new Vector3(5f, 0f, -150f),
                    DecorationCamFOV = 60f,
                    DecorationStyle  = GetGarageDecorationStyle(SinglePlayerOffice.Configs.GetValue(buildingName, "GarageThreeDecorationStyle")),
                    LightingCamPos   = new Vector3(-85.524f, -808.880f, 222.001f),
                    LightingCamRot   = new Vector3(55f, 0f, 110f),
                    LightingCamFOV   = 70f,
                    LightingStyle    = GetGarageLightingStyle(SinglePlayerOffice.Configs.GetValue(buildingName, "GarageThreeLightingStyle")),
                    NumberingCamPos  = new Vector3(-75.209f, -815.338f, 222.000f),
                    NumberingCamRot  = new Vector3(12f, 0f, -110f),
                    NumberingCamFOV  = 60f,
                    NumberingStyle   = GetGarageThreeNumberingStyle(SinglePlayerOffice.Configs.GetValue(buildingName, "GarageThreeNumberingStyle"))
                };
                modShop = new ModShop {
                    IPL        = "imp_dt1_11_modgarage",
                    InteriorID = 255233,
                    Trigger    = new Vector3(-68.824f, -814.253f, 285.000f),
                    Spawn      = new Vector3(-69.980f, -813.785f, 285.000f),
                    Heading    = 66.700f,
                    CamPos     = new Vector3(-72.767f, -814.608f, 287f),
                    CamRot     = new Vector3(-20f, 0f, 160f),
                    CamFOV     = 70f,
                    FloorStyle = GetModShopFloorStyle(SinglePlayerOffice.Configs.GetValue(buildingName, "ModShopFloorStyle"))
                };
                heliPad = new HeliPad {
                    Trigger = new Vector3(-67.784f, -821.609f, 321.287f),
                    Spawn   = new Vector3(-65.938f, -822.145f, 321.285f),
                    Heading = 253.635f
                };
                purchaseCamPos = new Vector3(-86.710f, -724.772f, 48f);
                purchaseCamRot = new Vector3(32f, 0f, 180f);
                purchaseFOV    = 90f;

                //officeSofaPos = new Vector3(-68.486f, -804.237f, 242.386f);
                //officeSofaRot = new Vector3(0f, 0f, 340f);
                //officeSofaStartPos = new Vector3(-68.700f, -804.797f, 243.386f);
                //officeSofaStartHeading = 160f;
                //officeTVTrigger = new Vector3(-70.083f, -808.826f, 243.801f);
                //officeComputerChairPos = new Vector3(-80.645f, -801.3f, 243.006f);
                //officeComputerChairRot = new Vector3(0f, 0f, 25f);
                //officeLeftSafeTrigger = new Vector3(-83.064f, -802.753f, 243.386f);
                //officeLeftSafeStartPos = new Vector3(-81.764f, -803.244f, 243.386f);
                //officeLeftSafeStartHeading = 70f;
                //officeRightSafeTrigger = new Vector3(-81.779f, -799.318f, 243.386f);
                //officeRightSafeStartPos = new Vector3(-80.329f, -799.799f, 243.386f);
                //officeRightSafeStartHeading = 70f;
                //officeRadioTrigger = new Vector3(-79.807f, -805.420f, 243.386f);
                //officeRadioHeading = 158.076f;
                //officeBossChairTrigger = new Vector3(-59.807f, -805.983f, 243.386f);
                //officeBossChairHeading = 159.971f;
                //officeStaffChairTriggers = new List<Vector3>() {
                //new Vector3(-58.570f, -808.573f, 243.386f),
                //    new Vector3(-59.061f, -809.654f, 243.386f),
                //    new Vector3(-59.457f, -810.764f, 243.386f),
                //    new Vector3(-62.394f, -807.197f, 243.386f),
                //    new Vector3(-62.813f, -808.352f, 243.386f),
                //    new Vector3(-63.273f, -809.462f, 243.386f)


                //};
                //officeStaffChairHeadings = new List<float>() { 70.543f, 69.427f, 70.151f, 248.893f, 250.610f, 249.552f };
                //officeLaptopChairTriggers = new List<Vector3>() {
                //    new Vector3(-63.980f, -813.590f, 243.386f),
                //    new Vector3(-64.423f, -815.084f, 243.386f),
                //    new Vector3(-64.970f, -816.533f, 243.386f)
                //};
                //officeLaptopChairHeadings = new List<float>() { 69.990f, 70.530f, 70.000f };
                //officeWardrobeTrigger = new Vector3(-78.625f, -812.353f, 243.386f);
                //officeWardrobeHeading = 70.638f;
                //officeWardrobeCamPos = new Vector3(-80.053f, -811.888f, 243.386f);
                //officeWardrobeCamRot = new Vector3(0f, 0f, 249.754f);
                //officeWardrobeCamFOV = 75f;
                //officePaChairPos = new Vector3(-72.069f, -814.251f, 242.988f);
                //officePaChairRot = new Vector3(0f, 0f, -20);

                CreateBuildingBlip();
                CreatePurchaseMenu();
                CreateTeleportMenu();
            }
            catch (Exception ex) {
                Logger.Log(ex.ToString());
            }
        }
Ejemplo n.º 3
0
        public Arcadius()
        {
            try {
                buildingName        = "Arcadius Business Center";
                buildingDescription = "The City within the City, the Arcadius Business Center boats more AAA hedge funds, smoothie bars and executive suicides per square foot of office space than any other building in the business district. Welcome to Cutting edge.";
                price        = 2250000;
                owner        = (Owner)SinglePlayerOffice.Configs.GetValue(buildingName, "Owner", -1);
                blipPosition = new Vector3(-118.791f, -608.376f, 36.281f);
                interiorIDs  = new List <int>()
                {
                    237313, 237569, 237057, 236289, 236545, 236801, 237825, 238081, 238337, 253441, 253697, 253953, 254209
                };
                exteriorIPLs = new List <string>()
                {
                    "hei_dt1_02_w01", "dt1_02_helipad_01", "dt1_02_dt1_emissive_dt1_02"
                };
                entrance = new Entrance {
                    Trigger = new Vector3(-118.791f, -608.376f, 36.281f),
                    Spawn   = new Vector3(-117.505f, -608.885f, 36.281f),
                    Heading = 250.669f
                };
                office = new Office {
                    InteriorIDs = new List <int>()
                    {
                        237313, 237569, 237057, 236289, 236545, 236801, 237825, 238081, 238337
                    },
                    Trigger        = new Vector3(-141.670f, -620.949f, 168.821f),
                    Spawn          = new Vector3(-140.327f, -622.087f, 168.820f),
                    Heading        = 184.412f,
                    CamPos         = new Vector3(-142.224f, -646.676f, 170f),
                    CamRot         = new Vector3(-5f, 0f, -43f),
                    CamFOV         = 60f,
                    InteriorStyles = new List <OfficeInteriorStyle>()
                    {
                        new OfficeInteriorStyle("Executive Rich", 0, "ex_dt1_02_office_02b"),
                        new OfficeInteriorStyle("Executive Cool", 415000, "ex_dt1_02_office_02c"),
                        new OfficeInteriorStyle("Executive Contrast", 500000, "ex_dt1_02_office_02a"),
                        new OfficeInteriorStyle("Old Spice Classical", 685000, "ex_dt1_02_office_01b"),
                        new OfficeInteriorStyle("Old Spice Vintage", 760000, "ex_dt1_02_office_01c"),
                        new OfficeInteriorStyle("Old Spice Warms", 950000, "ex_dt1_02_office_01a"),
                        new OfficeInteriorStyle("Power Broker Conservative", 835000, "ex_dt1_02_office_03b"),
                        new OfficeInteriorStyle("Power Broker Polished", 910000, "ex_dt1_02_office_03c"),
                        new OfficeInteriorStyle("Power Broker Ice", 1000000, "ex_dt1_02_office_03a")
                    },
                    HasExtraDecors = SinglePlayerOffice.Configs.GetValue(buildingName, "HasExtraOfficeDecors", false)
                };
                office.InteriorStyle = GetOfficeInteriorStyle(SinglePlayerOffice.Configs.GetValue(buildingName, "OfficeInteriorStyle"));
                garageOne            = new Garage {
                    IPL              = "imp_dt1_02_cargarage_a",
                    InteriorID       = 253441,
                    Trigger          = new Vector3(-198.649f, -580.730f, 136.001f),
                    Spawn            = new Vector3(-196.790f, -580.510f, 136.001f),
                    Heading          = -84f,
                    CamPos           = new Vector3(-196.790f, -580.510f, 138f),
                    CamRot           = new Vector3(-5f, -1f, -84f),
                    CamFOV           = 90f,
                    DecorationCamPos = new Vector3(-191.550f, -588.963f, 136.000f),
                    DecorationCamRot = new Vector3(5f, 0f, -34f),
                    DecorationCamFOV = 60f,
                    DecorationStyle  = GetGarageDecorationStyle(SinglePlayerOffice.Configs.GetValue(buildingName, "GarageOneDecorationStyle")),
                    LightingCamPos   = new Vector3(-192.656f, -585.665f, 136.000f),
                    LightingCamRot   = new Vector3(55f, 0f, -135f),
                    LightingCamFOV   = 70f,
                    LightingStyle    = GetGarageLightingStyle(SinglePlayerOffice.Configs.GetValue(buildingName, "GarageOneLightingStyle")),
                    NumberingCamPos  = new Vector3(-191.463f, -573.653f, 136.001f),
                    NumberingCamRot  = new Vector3(12f, 0f, 6.520f),
                    NumberingCamFOV  = 60f,
                    NumberingStyle   = GetGarageOneNumberingStyle(SinglePlayerOffice.Configs.GetValue(buildingName, "GarageOneNumberingStyle"))
                };
                garageTwo = new Garage {
                    IPL              = "imp_dt1_02_cargarage_b",
                    InteriorID       = 253697,
                    Trigger          = new Vector3(-124.515f, -571.676f, 136.001f),
                    Spawn            = new Vector3(-122.979f, -571.062f, 136.001f),
                    Heading          = -69f,
                    CamPos           = new Vector3(-122.979f, -571.062f, 138f),
                    CamRot           = new Vector3(-5f, -1f, -69f),
                    CamFOV           = 90f,
                    DecorationCamPos = new Vector3(-115.602f, -577.715f, 136.001f),
                    DecorationCamRot = new Vector3(5f, 0f, -19f),
                    DecorationCamFOV = 60f,
                    DecorationStyle  = GetGarageDecorationStyle(SinglePlayerOffice.Configs.GetValue(buildingName, "GarageTwoDecorationStyle")),
                    LightingCamPos   = new Vector3(-117.451f, -574.830f, 136.000f),
                    LightingCamRot   = new Vector3(55f, 0f, -120f),
                    LightingCamFOV   = 70f,
                    LightingStyle    = GetGarageLightingStyle(SinglePlayerOffice.Configs.GetValue(buildingName, "GarageTwoLightingStyle")),
                    NumberingCamPos  = new Vector3(-119.268f, -563.180f, 136.000f),
                    NumberingCamRot  = new Vector3(12f, 0f, 21f),
                    NumberingCamFOV  = 60f,
                    NumberingStyle   = GetGarageTwoNumberingStyle(SinglePlayerOffice.Configs.GetValue(buildingName, "GarageTwoNumberingStyle"))
                };
                garageThree = new Garage {
                    IPL              = "imp_dt1_02_cargarage_c",
                    InteriorID       = 253953,
                    Trigger          = new Vector3(-135.621f, -622.349f, 136.001f),
                    Spawn            = new Vector3(-135.882f, -623.975f, 136.001f),
                    Heading          = 171f,
                    CamPos           = new Vector3(-135.882f, -623.975f, 138f),
                    CamRot           = new Vector3(-5f, -1f, 171f),
                    CamFOV           = 90f,
                    DecorationCamPos = new Vector3(-145.349f, -627.036f, 136.001f),
                    DecorationCamRot = new Vector3(5f, 0f, -139f),
                    DecorationCamFOV = 60f,
                    DecorationStyle  = GetGarageDecorationStyle(SinglePlayerOffice.Configs.GetValue(buildingName, "GarageThreeDecorationStyle")),
                    LightingCamPos   = new Vector3(-141.992f, -626.889f, 136.000f),
                    LightingCamRot   = new Vector3(55f, 0f, 120f),
                    LightingCamFOV   = 70f,
                    LightingStyle    = GetGarageLightingStyle(SinglePlayerOffice.Configs.GetValue(buildingName, "GarageThreeLightingStyle")),
                    NumberingCamPos  = new Vector3(-130.550f, -631.243f, 136.000f),
                    NumberingCamRot  = new Vector3(12f, 0f, -98f),
                    NumberingCamFOV  = 60f,
                    NumberingStyle   = GetGarageThreeNumberingStyle(SinglePlayerOffice.Configs.GetValue(buildingName, "GarageThreeNumberingStyle"))
                };
                modShop = new ModShop {
                    IPL        = "imp_dt1_02_modgarage",
                    InteriorID = 254209,
                    Trigger    = new Vector3(-138.322f, -592.926f, 167.000f),
                    Spawn      = new Vector3(-139.104f, -591.805f, 167.000f),
                    Heading    = 34.856f,
                    CamPos     = new Vector3(-142.051f, -591.137f, 169f),
                    CamRot     = new Vector3(-20f, 0f, 130f),
                    CamFOV     = 70f,
                    FloorStyle = GetModShopFloorStyle(SinglePlayerOffice.Configs.GetValue(buildingName, "ModShopFloorStyle"))
                };
                heliPad = new HeliPad {
                    Trigger = new Vector3(-155.139f, -602.231f, 201.735f),
                    Spawn   = new Vector3(-156.460f, -603.294f, 201.735f),
                    Heading = 128.035f
                };
                purchaseCamPos = new Vector3(-167.906f, -487.694f, 40f);
                purchaseCamRot = new Vector3(30f, 0, -170f);
                purchaseFOV    = 70f;

                //officeSofaPos = new Vector3(-137.806f, -644.631f, 167.820f);
                //officeSofaRot = new Vector3(0f, 0f, 186f);
                //officeSofaStartPos = new Vector3(-137.859f, -644.034f, 168.820f);
                //officeSofaStartHeading = 6f;
                //officeTVTrigger = new Vector3(-138.406f, -639.809f, 169.235f);
                //officeComputerChairPos = new Vector3(-125.645f, -641.945f, 168.441f);
                //officeComputerChairRot = new Vector3(0f, 0f, -129f);
                //officeLeftSafeTrigger = new Vector3(-124.192f, -639.577f, 168.821f);
                //officeLeftSafeStartPos = new Vector3(-125.492f, -639.708f, 168.820f);
                //officeLeftSafeStartHeading = 276f;
                //officeRightSafeTrigger = new Vector3(-123.742f, -643.171f, 168.821f);
                //officeRightSafeStartPos = new Vector3(-125.272f, -643.433f, 168.820f);
                //officeRightSafeStartHeading = 276f;
                //officeRadioTrigger = new Vector3(-128.186f, -638.605f, 168.821f);
                //officeRadioHeading = 5.807f;
                //officeBossChairTrigger = new Vector3(-146.374f, -646.895f, 168.821f);
                //officeBossChairHeading = 6.006f;
                //officeStaffChairTriggers = new List<Vector3>() {
                //    new Vector3(-148.771f, -645.045f, 168.820f),
                //    new Vector3(-148.799f, -643.852f, 168.821f),
                //    new Vector3(-148.961f, -642.664f, 168.821f),
                //    new Vector3(-144.661f, -644.588f, 168.821f),
                //    new Vector3(-144.785f, -643.439f, 168.821f),
                //    new Vector3(-144.888f, -642.273f, 168.821f)

                //};
                //officeStaffChairHeadings = new List<float>() { 276.992f, 277.038f, 276.835f, 94.423f, 95.754f, 98.838f };
                //officeLaptopChairTriggers = new List<Vector3>() {
                //    new Vector3(-146.074f, -638.172f, 168.820f),
                //    new Vector3(-146.187f, -636.645f, 168.820f),
                //    new Vector3(-146.405f, -635.169f, 168.820f)
                //};
                //officeLaptopChairHeadings = new List<float>() { 278.144f, 275.984f, 275.789f };
                //officeWardrobeTrigger = new Vector3(-132.303f, -632.859f, 168.820f);
                //officeWardrobeHeading = 276.090f;
                //officeWardrobeCamPos = new Vector3(-130.797f, -632.694f, 168.820f);
                //officeWardrobeCamRot = new Vector3(0f, 0f, 96.009f);
                //officeWardrobeCamFOV = 75f;
                //officePaChairPos = new Vector3(-138.994f, -634.089f, 168.423f);
                //officePaChairRot = new Vector3(0f, 0f, -174f);

                CreateBuildingBlip();
                CreatePurchaseMenu();
                CreateTeleportMenu();
            }
            catch (Exception ex) {
                Logger.Log(ex.ToString());
            }
        }
Ejemplo n.º 4
0
        public MazeBankWest()
        {
            try {
                buildingName        = "Maze Bank West";
                buildingDescription = "Maze has been the target for more boycotts, demonstrations and civil rights lawsuits than any other bank in America. Access to that wealth of experience doesn't come cheap, but a good education is an investment worth any price.";
                price        = 1000000;
                owner        = (Owner)SinglePlayerOffice.Configs.GetValue(buildingName, "Owner", -1);
                blipPosition = new Vector3(-1370.370f, -503.067f, 33.157f);
                interiorIDs  = new List <int>()
                {
                    244225, 244481, 243969, 243201, 243457, 243713, 244737, 244993, 245249, 256513, 256769, 257025, 257281
                };
                exteriorIPLs = new List <string>()
                {
                    "sm_15_bld2_dtl", "hei_sm_15_bld2", "sm_15_bld2_LOD", "sm_15_bld2_dtl3", "sm_15_bld1_dtl3", "sm_15_bld2_railing", "sm_15_emissive", "sm_15_emissive_LOD"
                };
                entrance = new Entrance {
                    Trigger = new Vector3(-1370.370f, -503.067f, 33.157f),
                    Spawn   = new Vector3(-1371.608f, -503.967f, 33.157f),
                    Heading = 125.509f
                };
                office = new Office {
                    InteriorIDs = new List <int>()
                    {
                        244225, 244481, 243969, 243201, 243457, 243713, 244737, 244993, 245249
                    },
                    Trigger        = new Vector3(-1392.566f, -480.734f, 72.042f),
                    Spawn          = new Vector3(-1391.416f, -479.347f, 72.042f),
                    Heading        = 281.429f,
                    CamPos         = new Vector3(-1366.876f, -480.338f, 73f),
                    CamRot         = new Vector3(-5f, 0f, 50f),
                    CamFOV         = 60f,
                    InteriorStyles = new List <OfficeInteriorStyle>()
                    {
                        new OfficeInteriorStyle("Executive Rich", 0, "ex_sm_15_office_02b"),
                        new OfficeInteriorStyle("Executive Cool", 415000, "ex_sm_15_office_02c"),
                        new OfficeInteriorStyle("Executive Contrast", 500000, "ex_sm_15_office_02a"),
                        new OfficeInteriorStyle("Old Spice Classical", 685000, "ex_sm_15_office_01b"),
                        new OfficeInteriorStyle("Old Spice Vintage", 760000, "ex_sm_15_office_01c"),
                        new OfficeInteriorStyle("Old Spice Warms", 950000, "ex_sm_15_office_01a"),
                        new OfficeInteriorStyle("Power Broker Conservative", 835000, "ex_sm_15_office_03b"),
                        new OfficeInteriorStyle("Power Broker Polished", 910000, "ex_sm_15_office_03c"),
                        new OfficeInteriorStyle("Power Broker Ice", 1000000, "ex_sm_15_office_03a")
                    },
                    HasExtraDecors = SinglePlayerOffice.Configs.GetValue(buildingName, "HasExtraOfficeDecors", false)
                };
                office.InteriorStyle = GetOfficeInteriorStyle(SinglePlayerOffice.Configs.GetValue(buildingName, "OfficeInteriorStyle"));
                garageOne            = new Garage {
                    IPL              = "imp_sm_15_cargarage_a",
                    InteriorID       = 256513,
                    Trigger          = new Vector3(-1396.394f, -480.688f, 57.100f),
                    Spawn            = new Vector3(-1394.713f, -480.488f, 57.100f),
                    Heading          = -81f,
                    CamPos           = new Vector3(-1394.713f, -480.488f, 59.100f),
                    CamRot           = new Vector3(-5f, -1f, -81f),
                    CamFOV           = 90f,
                    DecorationCamPos = new Vector3(-1388.986f, -488.544f, 57.100f),
                    DecorationCamRot = new Vector3(5f, 0f, -31f),
                    DecorationCamFOV = 60f,
                    DecorationStyle  = GetGarageDecorationStyle(SinglePlayerOffice.Configs.GetValue(buildingName, "GarageOneDecorationStyle")),
                    LightingCamPos   = new Vector3(-1390.211f, -485.338f, 57.100f),
                    LightingCamRot   = new Vector3(55f, 0f, -131f),
                    LightingCamFOV   = 70f,
                    LightingStyle    = GetGarageLightingStyle(SinglePlayerOffice.Configs.GetValue(buildingName, "GarageOneLightingStyle")),
                    NumberingCamPos  = new Vector3(-1389.410f, -473.260f, 57.100f),
                    NumberingCamRot  = new Vector3(12f, 0f, 10f),
                    NumberingCamFOV  = 60f,
                    NumberingStyle   = GetGarageOneNumberingStyle(SinglePlayerOffice.Configs.GetValue(buildingName, "GarageOneNumberingStyle"))
                };
                garageTwo = new Garage {
                    IPL              = "imp_sm_15_cargarage_b",
                    InteriorID       = 256769,
                    Trigger          = new Vector3(-1396.407f, -480.761f, 49.101f),
                    Spawn            = new Vector3(-1394.687f, -480.479f, 49.101f),
                    Heading          = -81f,
                    CamPos           = new Vector3(-1394.687f, -480.479f, 51.101f),
                    CamRot           = new Vector3(-5f, -1f, -81f),
                    CamFOV           = 90f,
                    DecorationCamPos = new Vector3(-1389.047f, -488.542f, 49.101f),
                    DecorationCamRot = new Vector3(5f, 0f, -31f),
                    DecorationCamFOV = 60f,
                    DecorationStyle  = GetGarageDecorationStyle(SinglePlayerOffice.Configs.GetValue(buildingName, "GarageTwoDecorationStyle")),
                    LightingCamPos   = new Vector3(-1390.268f, -485.402f, 49.101f),
                    LightingCamRot   = new Vector3(55f, 0f, -131f),
                    LightingCamFOV   = 70f,
                    LightingStyle    = GetGarageLightingStyle(SinglePlayerOffice.Configs.GetValue(buildingName, "GarageTwoLightingStyle")),
                    NumberingCamPos  = new Vector3(-1389.405f, -473.322f, 49.101f),
                    NumberingCamRot  = new Vector3(12f, 0f, 10f),
                    NumberingCamFOV  = 60f,
                    NumberingStyle   = GetGarageTwoNumberingStyle(SinglePlayerOffice.Configs.GetValue(buildingName, "GarageTwoNumberingStyle"))
                };
                garageThree = new Garage {
                    IPL              = "imp_sm_15_cargarage_c",
                    InteriorID       = 257025,
                    Trigger          = new Vector3(-1367.133f, -472.392f, 57.101f),
                    Spawn            = new Vector3(-1368.905f, -472.632f, 57.101f),
                    Heading          = 99f,
                    CamPos           = new Vector3(-1368.905f, -472.632f, 59.101f),
                    CamRot           = new Vector3(-5f, -1f, 99f),
                    CamFOV           = 90f,
                    DecorationCamPos = new Vector3(-1374.548f, -464.566f, 57.100f),
                    DecorationCamRot = new Vector3(5f, 0f, 149f),
                    DecorationCamFOV = 60f,
                    DecorationStyle  = GetGarageDecorationStyle(SinglePlayerOffice.Configs.GetValue(buildingName, "GarageThreeDecorationStyle")),
                    LightingCamPos   = new Vector3(-1373.297f, -467.776f, 57.100f),
                    LightingCamRot   = new Vector3(55f, 0f, 49f),
                    LightingCamFOV   = 70f,
                    LightingStyle    = GetGarageLightingStyle(SinglePlayerOffice.Configs.GetValue(buildingName, "GarageThreeLightingStyle")),
                    NumberingCamPos  = new Vector3(-1374.141f, -479.781f, 57.100f),
                    NumberingCamRot  = new Vector3(12f, 0f, -170f),
                    NumberingCamFOV  = 60f,
                    NumberingStyle   = GetGarageThreeNumberingStyle(SinglePlayerOffice.Configs.GetValue(buildingName, "GarageThreeNumberingStyle"))
                };
                modShop = new ModShop {
                    IPL        = "imp_sm_15_modgarage",
                    InteriorID = 257281,
                    Trigger    = new Vector3(-1392.375f, -482.942f, 78.200f),
                    Spawn      = new Vector3(-1390.757f, -482.723f, 78.200f),
                    Heading    = 275.322f,
                    CamPos     = new Vector3(-1388.860f, -480.712f, 80.2f),
                    CamRot     = new Vector3(-20f, 0f, 9f),
                    CamFOV     = 70f,
                    FloorStyle = GetModShopFloorStyle(SinglePlayerOffice.Configs.GetValue(buildingName, "ModShopFloorStyle"))
                };
                heliPad = new HeliPad {
                    Trigger = new Vector3(-1369.535f, -472.037f, 84.447f),
                    Spawn   = new Vector3(-1368.162f, -471.002f, 84.447f),
                    Heading = 304.157f
                };
                purchaseCamPos = new Vector3(-1320.468f, -534.793f, 40f);
                purchaseCamRot = new Vector3(12f, 0f, 40f);
                purchaseFOV    = 60f;

                //officeSofaPos = new Vector3(-1369.017f, -476.016f, 71.05f);
                //officeSofaRot = new Vector3(0f, 0f, 262f);
                //officeSofaStartPos = new Vector3(-1369.649f, -475.963f, 72.050f);
                //officeSofaStartHeading = 82f;
                //officeTVTrigger = new Vector3(-1373.887f, -476.763f, 72.457f);
                //officeComputerChairPos = new Vector3(-1372.186f, -463.935f, 71.662f);
                //officeComputerChairRot = new Vector3(0f, 0f, -37f);
                //officeLeftSafeTrigger = new Vector3(-1374.602f, -462.492f, 72.042f);
                //officeLeftSafeStartPos = new Vector3(-1374.428f, -463.860f, 72.042f);
                //officeLeftSafeStartHeading = 8f;
                //officeRightSafeTrigger = new Vector3(-1371.012f, -461.985f, 72.042f);
                //officeRightSafeStartPos = new Vector3(-1370.773f, -463.448f, 72.042f);
                //officeRightSafeStartHeading = 8f;
                //officeRadioTrigger = new Vector3(-1375.435f, -466.592f, 72.042f);
                //officeRadioHeading = 99.656f;
                //officeBossChairTrigger = new Vector3(-1366.565f, -484.533f, 72.042f);
                //officeBossChairHeading = 98.170f;
                //officeStaffChairTriggers = new List<Vector3>() {
                //    new Vector3(-1368.276f, -486.732f, 72.042f),
                //    new Vector3(-1369.445f, -487.079f, 72.042f),
                //    new Vector3(-1370.602f, -487.322f, 72.042f),
                //    new Vector3(-1368.891f, -482.801f, 72.042f),
                //    new Vector3(-1370.087f, -482.876f, 72.042f),
                //    new Vector3(-1371.214f, -483.069f, 72.042f)

                //};
                //officeStaffChairHeadings = new List<float>() { 8.117f, 10.439f, 8.851f, 186.431f, 187.639f, 188.926f };
                //officeLaptopChairTriggers = new List<Vector3>() {
                //    new Vector3(-1375.267f, -484.522f, 72.042f),
                //    new Vector3(-1376.765f, -484.648f, 72.042f),
                //    new Vector3(-1378.255f, -484.893f, 72.042f)
                //};
                //officeLaptopChairHeadings = new List<float>() { 7.009f, 8.154f, 10.243f };
                //officeWardrobeTrigger = new Vector3(-1381.006f, -470.913f, 72.042f);
                //officeWardrobeHeading = 8.162f;
                //officeWardrobeCamPos = new Vector3(-1381.236f, -469.422f, 72.042f);
                //officeWardrobeCamRot = new Vector3(0f, 0f, 187.570f);
                //officeWardrobeCamFOV = 75f;
                //officePaChairPos = new Vector3(-1379.528f, -477.600f, 71.644f);
                //officePaChairRot = new Vector3(0f, 0f, -82f);

                CreateBuildingBlip();
                CreatePurchaseMenu();
                CreateTeleportMenu();
            }
            catch (Exception ex) {
                Logger.Log(ex.ToString());
            }
        }