public static void loadVar() {//LOAD VARIABLES FOR PROGRAM //alpha = alpha.setXYZ("<(123, 423, 0123)]>"); path[0] = "C:\\Users\\Micah Richards\\Dropbox\\Programing\\C#\\NextGen\\DTView\\WindowsFormsApplication4"; //Create Archive List <String> SD = File.Read(path[0] + "\\Resources\\Archive.txt"); for (int i = 0; i < SD.Count; i += 9) { Archives.Add(new Archive(SD[i + 0], SD[i + 1], SD[i + 2], SD[i + 3], SD[i + 4], SD[i + 5], SD[i + 6], SD[i + 7])); } //0)Selection //1)Empty //2)Character //3)Dirt //4)Grass //5)Stone //6)Dark_Stone //7)Sand //8)Log //9)Leaves //10)Clouds //11)Water //12)Lava // Load textures //Textures[0] = new Texture("Wood"); //Textures[1] = new Texture("Dirt"); //Textures[2] = new Texture("Grass", "Dirt", "GDirt", "GDirt", "GDirt", "GDirt"); //Textures[3] = new Texture("Stone"); //Textures[4] = new Texture("DStone"); //Textures[5] = new Texture("Sand"); //Textures[6] = new Texture("Water"); //Textures[7] = new Texture("Cloud"); //Textures[8] = new Texture("SSide", "SSide", "Slime", "SSide", "SSide", "SSide"); //Textures[9] = new Texture("TRings", "TRings", "Trunk", "Trunk", "Trunk", "Trunk"); //Textures[10] = new Texture("Leaves"); //Textures[11] = new Texture("Lava"); //Textures[12] = new Texture("CCube"); //Textures[13] = new Texture("Select"); //Hey Micah, don't be stupid. If you add another texture, change that ^^^^^^^^^ //Set Colors Colors[0] = new Scheme(Color.FromArgb(255, 255, 255, 255)); // White Colors[1] = new Scheme(Color.FromArgb(255, 0, 255, 255)); // Teal Colors[2] = new Scheme(Color.FromArgb(255, 255, 0, 255)); // Purple Colors[3] = new Scheme(Color.FromArgb(255, 255, 255, 0)); // Yellow Colors[4] = new Scheme(Color.FromArgb(255, 0, 0, 255)); // Blue Colors[5] = new Scheme(Color.FromArgb(255, 255, 0, 0)); // Red Colors[6] = new Scheme(Color.FromArgb(255, 0, 255, 0)); // Green Colors[7] = new Scheme(Color.FromArgb(255, 0, 0, 0)); // Black //Set Transparency //TransP[0] = new Transparency(0); //TransP[1] = new Transparency(.1f); //TransP[2] = new Transparency(.2f); //TransP[3] = new Transparency(.3f); //TransP[4] = new Transparency(.4f); //TransP[5] = new Transparency(.5f); //TransP[6] = new Transparency(.6f); //TransP[7] = new Transparency(.7f); //TransP[8] = new Transparency(.8f); //TransP[9] = new Transparency(.9f); //TransP[10] = new Transparency(1); //Rotation Axis //rotAxis = rotAxis.setXYZ(0, 1, 0); Scene = convertToRoom(File.Read(path[0] + "\\parts\\Tree.ngs")); createRoom(); potato = new Intelligence(alpha.setXYZ(-1, -1, -1), -1, -1, -1, -1, -1, -1, -1, -1); }