public override void Init(IniLevelData data, byte act, Device dev) { for (int i = 0; i < 3; i++) { models[i] = ObjectHelper.LoadModel("Levels/Windy Valley/Act 2/Skybox model " + (i + 1).ToString(NumberFormatInfo.InvariantInfo) + ".sa1mdl"); meshes[i] = ObjectHelper.GetMeshes(models[i], dev); } }
public override void Init(IniLevelData data, byte act, Device dev) { SkyboxScale[] skyboxdata = SkyboxScaleList.Load("Levels/Twinkle Park/Skybox Data.ini"); if (skyboxdata.Length > act) Skybox_Scale = skyboxdata[act].Far.ToVector3(); model = ObjectHelper.LoadModel("Levels/Twinkle Park/Skybox model.sa1mdl"); meshes = ObjectHelper.GetMeshes(model, dev); NoRender = act == 1; }
public override void Init(IniLevelData data, byte act, Device dev) { SkyboxScale[] skyboxdata = SkyboxScaleList.Load("Levels/Emerald Coast/Skybox Data.ini"); if (skyboxdata.Length > act) Skybox_Scale = skyboxdata[act].Far.ToVector3(); model1 = ObjectHelper.LoadModel("Levels/Emerald Coast/Skybox model.sa1mdl"); mesh1 = ObjectHelper.GetMeshes(model1, dev); model2 = ObjectHelper.LoadModel("Levels/Emerald Coast/Skybox bottom model.sa1mdl"); mesh2 = ObjectHelper.GetMeshes(model2, dev); }
public override void Init(IniLevelData data, byte act, Device dev) { SkyboxScale[] skyboxdata = SkyboxScaleList.Load("Levels/Windy Valley/Skybox Data.ini"); if (skyboxdata.Length > act) Skybox_Scale = skyboxdata[act].Far.ToVector3(); for (int i = 0; i < 4; i++) { models[i] = ObjectHelper.LoadModel("Levels/Windy Valley/Act 3/Skybox model " + (i + 1).ToString(NumberFormatInfo.InvariantInfo) + ".sa1mdl"); meshes[i] = ObjectHelper.GetMeshes(models[i], dev); } }
public override void Init(IniLevelData data, byte act, Device dev) { carriermdl = ObjectHelper.LoadModel("Levels/Sky Chase/Egg Carrier model.sa1mdl"); carriermesh = ObjectHelper.GetMeshes(carriermdl, dev); }