//This File was created with the Minecraft-SMP Modelling Toolbox 2.2.1.1 // Copyright (C) 2015 Minecraft-SMP.de // This file is for Flan's Flying Mod Version 4.0.x+ package com.flansmod.client.model.ww2; //Path where the model is located import com.flansmod.client.model.ModelMG; import net.minecraft.entity.Entity; import com.flansmod.client.tmt.ModelRendererTurbo; import com.flansmod.client.tmt.Coord2D; import com.flansmod.client.tmt.Shape2D; public class ModelvickerskGO extends ModelMG //Same as Filename { int textureX = 64; int textureY = 64; public ModelvickerskGO() //Same as Filename { bipodModel = new ModelRendererTurbo[1]; bipodModel[0] = new ModelRendererTurbo(this, 17, 9, textureX, textureY); // Box 41 bipodModel[0].addShapeBox(-0.5F, -1.3F, -0.5F, 1, 2, 1, 0F, -0.2F, 0F, -0.2F, -0.2F, 0F, -0.2F, -0.2F, 0F, -0.2F, -0.2F, 0F, -0.2F, -0.2F, 0F, -0.2F, -0.2F, 0F, -0.2F, -0.2F, 0F, -0.2F, -0.2F, 0F, -0.2F); // Box 41 bipodModel[0].setRotationPoint(0F, 0F, 0F); gunModel = new ModelRendererTurbo[34]; gunModel[0] = new ModelRendererTurbo(this, 1, 1, textureX, textureY); // Import Barrel gunModel[1] = new ModelRendererTurbo(this, 33, 1, textureX, textureY); // Import FiringMechanism gunModel[2] = new ModelRendererTurbo(this, 1, 1, textureX, textureY); // Import Underbarrelhandle2 gunModel[3] = new ModelRendererTurbo(this, 41, 17, textureX, textureY); // Import UnderBarrel gunModel[4] = new ModelRendererTurbo(this, 9, 1, textureX, textureY); // Import Trigger gunModel[5] = new ModelRendererTurbo(this, 17, 1, textureX, textureY); // Import RearSight gunModel[6] = new ModelRendererTurbo(this, 33, 1, textureX, textureY); // Import FrontSight gunModel[7] = new ModelRendererTurbo(this, 49, 1, textureX, textureY); // Import Pump gunModel[8] = new ModelRendererTurbo(this, 57, 1, textureX, textureY); // Box 0 gunModel[9] = new ModelRendererTurbo(this, 1, 9, textureX, textureY); // Box 2 gunModel[10] = new ModelRendererTurbo(this, 1, 9, textureX, textureY); // Box 3 gunModel[11] = new ModelRendererTurbo(this, 33, 17, textureX, textureY); // Box 4 gunModel[12] = new ModelRendererTurbo(this, 57, 9, textureX, textureY); // Box 5 gunModel[13] = new ModelRendererTurbo(this, 1, 25, textureX, textureY); // Box 6 gunModel[14] = new ModelRendererTurbo(this, 57, 17, textureX, textureY); // Box 10 gunModel[15] = new ModelRendererTurbo(this, 17, 9, textureX, textureY); // Box 0 gunModel[16] = new ModelRendererTurbo(this, 1, 1, textureX, textureY); // Box 20 gunModel[17] = new ModelRendererTurbo(this, 33, 1, textureX, textureY); // Box 21 gunModel[18] = new ModelRendererTurbo(this, 1, 1, textureX, textureY); // Box 22 gunModel[19] = new ModelRendererTurbo(this, 41, 17, textureX, textureY); // Box 23 gunModel[20] = new ModelRendererTurbo(this, 9, 1, textureX, textureY); // Box 24 gunModel[21] = new ModelRendererTurbo(this, 17, 1, textureX, textureY); // Box 25 gunModel[22] = new ModelRendererTurbo(this, 33, 1, textureX, textureY); // Box 26 gunModel[23] = new ModelRendererTurbo(this, 49, 1, textureX, textureY); // Box 27 gunModel[24] = new ModelRendererTurbo(this, 57, 1, textureX, textureY); // Box 28 gunModel[25] = new ModelRendererTurbo(this, 1, 9, textureX, textureY); // Box 29 gunModel[26] = new ModelRendererTurbo(this, 1, 9, textureX, textureY); // Box 30 gunModel[27] = new ModelRendererTurbo(this, 33, 17, textureX, textureY); // Box 31 gunModel[28] = new ModelRendererTurbo(this, 57, 9, textureX, textureY); // Box 32 gunModel[29] = new ModelRendererTurbo(this, 1, 25, textureX, textureY); // Box 33 gunModel[30] = new ModelRendererTurbo(this, 57, 17, textureX, textureY); // Box 37 gunModel[31] = new ModelRendererTurbo(this, 17, 9, textureX, textureY); // Box 39 gunModel[32] = new ModelRendererTurbo(this, 17, 9, textureX, textureY); // Box 40 gunModel[33] = new ModelRendererTurbo(this, 17, 9, textureX, textureY); // Box 42 gunModel[0].addBox(3F, -2.2F, -9.5F, 1, 1, 22, 0F); // Import Barrel gunModel[0].setRotationPoint(0F, -3F, 0F); gunModel[1].addBox(2.5F, -2.5F, -7.5F, 2, 2, 9, 0F); // Import FiringMechanism gunModel[1].setRotationPoint(0F, -3F, 0F); gunModel[2].addShapeBox(2.5F, -2.5F, 7.5F, 2, 3, 1, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, -0.5F, 0F, 0F, -0.5F, 0F, 0F, -0.5F, 0F, 0F, -0.5F, 0F); // Import Underbarrelhandle2 gunModel[2].setRotationPoint(0F, -3F, 0F); gunModel[3].addBox(3F, -1.1F, -1.5F, 1, 1, 10, 0F); // Import UnderBarrel gunModel[3].setRotationPoint(0F, -3F, 0F); gunModel[4].addBox(3F, 0F, -9.7F, 1, 1, 4, 0F); // Import Trigger gunModel[4].setRotationPoint(0F, -3F, 0F); gunModel[5].addBox(3F, -3.2F, -6.5F, 1, 1, 1, 0F); // Import RearSight gunModel[5].setRotationPoint(0F, -3F, 0F); gunModel[6].addBox(3F, -3F, 9.5F, 1, 1, 1, 0F); // Import FrontSight gunModel[6].setRotationPoint(0F, -3F, 0F); gunModel[7].addBox(2F, -2F, -1.5F, 1, 1, 1, 0F); // Import Pump gunModel[7].setRotationPoint(0F, -3F, 0F); gunModel[8].addBox(3F, -4F, 1.5F, 1, 2, 1, 0F); // Box 0 gunModel[8].setRotationPoint(0F, -3F, 0F); gunModel[9].addBox(2.5F, -0.5F, -7.5F, 2, 1, 8, 0F); // Box 2 gunModel[9].setRotationPoint(0F, -3F, 0F); gunModel[10].addBox(3F, -2.2F, -10.5F, 1, 4, 1, 0F); // Box 3 gunModel[10].setRotationPoint(0F, -3F, 0F); gunModel[11].addBox(3F, -2.2F, -14.5F, 1, 1, 4, 0F); // Box 4 gunModel[11].setRotationPoint(0F, -3F, 0F); gunModel[12].addBox(3F, -1.2F, -14.5F, 1, 2, 2, 0F); // Box 5 gunModel[12].setRotationPoint(0F, -3F, 0F); gunModel[13].addBox(3F, 0.8F, -14.5F, 1, 1, 4, 0F); // Box 6 gunModel[13].setRotationPoint(0F, -3F, 0F); gunModel[14].addBox(3F, 0F, -6.7F, 1, 2, 2, 0F); // Box 10 gunModel[14].setRotationPoint(0F, -3F, 0F); gunModel[15].addShapeBox(3F, -0.3F, -0.5F, 1, 2, 1, 0F, -0.2F, 0F, -0.2F, -0.2F, 0F, -0.2F, -0.2F, 0F, -0.2F, -0.2F, 0F, -0.2F, -0.2F, 0F, -0.2F, -0.2F, 0F, -0.2F, -0.2F, 0F, -0.2F, -0.2F, 0F, -0.2F); // Box 0 gunModel[15].setRotationPoint(0F, -3F, 0F); gunModel[16].addBox(-4F, -2.2F, -9.5F, 1, 1, 22, 0F); // Box 20 gunModel[16].setRotationPoint(0F, -3F, 0F); gunModel[17].addBox(-4.5F, -2.5F, -7.5F, 2, 2, 9, 0F); // Box 21 gunModel[17].setRotationPoint(0F, -3F, 0F); gunModel[18].addShapeBox(-4.5F, -2.5F, 7.5F, 2, 3, 1, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, -0.5F, 0F, 0F, -0.5F, 0F, 0F, -0.5F, 0F, 0F, -0.5F, 0F); // Box 22 gunModel[18].setRotationPoint(0F, -3F, 0F); gunModel[19].addBox(-4F, -1.1F, -1.5F, 1, 1, 10, 0F); // Box 23 gunModel[19].setRotationPoint(0F, -3F, 0F); gunModel[20].addBox(-4F, 0F, -9.7F, 1, 1, 4, 0F); // Box 24 gunModel[20].setRotationPoint(0F, -3F, 0F); gunModel[21].addBox(-4F, -3.2F, -6.5F, 1, 1, 1, 0F); // Box 25 gunModel[21].setRotationPoint(0F, -3F, 0F); gunModel[22].addBox(-4F, -3F, 9.5F, 1, 1, 1, 0F); // Box 26 gunModel[22].setRotationPoint(0F, -3F, 0F); gunModel[23].addBox(-5F, -2F, -1.5F, 1, 1, 1, 0F); // Box 27 gunModel[23].setRotationPoint(0F, -3F, 0F); gunModel[24].addBox(-4F, -4F, 1.5F, 1, 2, 1, 0F); // Box 28 gunModel[24].setRotationPoint(0F, -3F, 0F); gunModel[25].addBox(-4.5F, -0.5F, -7.5F, 2, 1, 8, 0F); // Box 29 gunModel[25].setRotationPoint(0F, -3F, 0F); gunModel[26].addBox(-4F, -2.2F, -10.5F, 1, 4, 1, 0F); // Box 30 gunModel[26].setRotationPoint(0F, -3F, 0F); gunModel[27].addBox(-4F, -2.2F, -14.5F, 1, 1, 4, 0F); // Box 31 gunModel[27].setRotationPoint(0F, -3F, 0F); gunModel[28].addBox(-4F, -1.2F, -14.5F, 1, 2, 2, 0F); // Box 32 gunModel[28].setRotationPoint(0F, -3F, 0F); gunModel[29].addBox(-4F, 0.8F, -14.5F, 1, 1, 4, 0F); // Box 33 gunModel[29].setRotationPoint(0F, -3F, 0F); gunModel[30].addBox(-4F, 0F, -6.7F, 1, 2, 2, 0F); // Box 37 gunModel[30].setRotationPoint(0F, -3F, 0F); gunModel[31].addShapeBox(-4F, -0.3F, -0.5F, 1, 2, 1, 0F, -0.2F, 0F, -0.2F, -0.2F, 0F, -0.2F, -0.2F, 0F, -0.2F, -0.2F, 0F, -0.2F, -0.2F, 0F, -0.2F, -0.2F, 0F, -0.2F, -0.2F, 0F, -0.2F, -0.2F, 0F, -0.2F); // Box 39 gunModel[31].setRotationPoint(0F, -3F, 0F); gunModel[32].addShapeBox(-0.5F, 0.7F, -0.5F, 1, 2, 1, 0F, 3.4F, -0.5F, -0.3F, 3.4F, -0.5F, -0.3F, 3.4F, -0.5F, -0.3F, 3.4F, -0.5F, -0.3F, 3.4F, -0.5F, -0.3F, 3.4F, -0.5F, -0.3F, 3.4F, -0.5F, -0.3F, 3.4F, -0.5F, -0.3F); // Box 40 gunModel[32].setRotationPoint(0F, -3F, 0F); gunModel[33].addShapeBox(-0.5F, -2.3F, -0.5F, 1, 2, 1, 0F, 3.4F, -0.5F, -0.3F, 3.4F, -0.5F, -0.3F, 3.4F, -0.5F, -0.3F, 3.4F, -0.5F, -0.3F, 3.4F, -0.5F, -0.3F, 3.4F, -0.5F, -0.3F, 3.4F, -0.5F, -0.3F, 3.4F, -0.5F, -0.3F); // Box 42 gunModel[33].setRotationPoint(0F, -3F, 0F); ammoModel = new ModelRendererTurbo[6]; ammoModel[0] = new ModelRendererTurbo(this, 9, 25, textureX, textureY); // Box 7 ammoModel[1] = new ModelRendererTurbo(this, 1, 33, textureX, textureY); // Box 8 ammoModel[2] = new ModelRendererTurbo(this, 25, 33, textureX, textureY); // Box 9 ammoModel[3] = new ModelRendererTurbo(this, 9, 25, textureX, textureY); // Box 34 ammoModel[4] = new ModelRendererTurbo(this, 1, 33, textureX, textureY); // Box 35 ammoModel[5] = new ModelRendererTurbo(this, 25, 33, textureX, textureY); // Box 36 ammoModel[0].addBox(2.5F, -3.5F, -5F, 2, 1, 6, 0F); // Box 7 ammoModel[0].setRotationPoint(0F, -3F, 0F); ammoModel[1].addShapeBox(4.5F, -3.5F, -5F, 2, 1, 6, 0F, 0F, 0F, 0F, 0F, 0F, -2F, 0F, 0F, -2F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, -2F, 0F, 0F, -2F, 0F, 0F, 0F); // Box 8 ammoModel[1].setRotationPoint(0F, -3F, 0F); ammoModel[2].addShapeBox(0.5F, -3.5F, -5F, 2, 1, 6, 0F, 0F, 0F, -2F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, -2F, 0F, 0F, -2F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, -2F); // Box 9 ammoModel[2].setRotationPoint(0F, -3F, 0F); ammoModel[3].addBox(-4.5F, -3.5F, -5F, 2, 1, 6, 0F); // Box 34 ammoModel[3].setRotationPoint(0F, -3F, 0F); ammoModel[4].addShapeBox(-2.5F, -3.5F, -5F, 2, 1, 6, 0F, 0F, 0F, 0F, 0F, 0F, -2F, 0F, 0F, -2F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, -2F, 0F, 0F, -2F, 0F, 0F, 0F); // Box 35 ammoModel[4].setRotationPoint(0F, -3F, 0F); ammoModel[5].addShapeBox(-6.5F, -3.5F, -5F, 2, 1, 6, 0F, 0F, 0F, -2F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, -2F, 0F, 0F, -2F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, -2F); // Box 36 ammoModel[5].setRotationPoint(0F, -3F, 0F); flipAll(); } }