Package com.flansmod.client.tmt

Examples of com.flansmod.client.tmt.ModelRendererTurbo


    int textureX = 64;
    int textureY = 16;
   
    gunModel = new ModelRendererTurbo[3];
   
    gunModel[0] = new ModelRendererTurbo(this, 0, 0, textureX, textureY);
    gunModel[0].addBox(2F, 3.5F, -0.5F, 16, 1, 1);
   
    gunModel[1] = new ModelRendererTurbo(this, 0, 2, textureX, textureY);
    gunModel[1].addBox(-1F, 2F, -1F, 8, 3, 2);
   
    gunModel[2] = new ModelRendererTurbo(this, 0, 7, textureX, textureY);
    gunModel[2].addBox(7F, 3F, -1F, 6, 2, 2);
   
    //Scope
    defaultScopeModel = new ModelRendererTurbo[6];
   
    defaultScopeModel[0] = new ModelRendererTurbo(this, 0, 11, textureX, textureY);
    defaultScopeModel[0].addBox(-1F, 6F, -1F, 2, 2, 2);
   
    defaultScopeModel[1] = new ModelRendererTurbo(this, 34, 0, textureX, textureY);
    defaultScopeModel[1].addBox(1F, 6.5F, -0.5F, 4, 1, 1);
   
    defaultScopeModel[2] = new ModelRendererTurbo(this, 8, 11, textureX, textureY);
    defaultScopeModel[2].addBox(5F, 6F, -1F, 2, 2, 2);
   
    defaultScopeModel[3] = new ModelRendererTurbo(this, 6, 11, textureX, textureY);
    defaultScopeModel[3].addBox(1.5F, 5.5F, -0.5F, 1, 1, 1);
   
    defaultScopeModel[4] = new ModelRendererTurbo(this, 6, 11, textureX, textureY);
    defaultScopeModel[4].addBox(3.5F, 5.5F, -0.5F, 1, 1, 1);
   
    defaultScopeModel[5] = new ModelRendererTurbo(this, 14, 11, textureX, textureY);
    defaultScopeModel[5].addBox(0F, 4.5F, -0.5F, 6, 1, 1);
   
    scopeAttachPoint = new Vector3f(3F / 16F, 5F / 16F, 0F);
   
    //Barrel   
    barrelAttachPoint = new Vector3f(18F / 16F, 4F / 16F, 0F);
   
    //Stock
    defaultStockModel = new ModelRendererTurbo[2];
   
    defaultStockModel[0] = new ModelRendererTurbo(this, 20, 2, textureX, textureY);
    defaultStockModel[0].addBox(-2F, 2F, -1F, 1, 2, 2);
   
    defaultStockModel[1] = new ModelRendererTurbo(this, 19, 6, textureX, textureY);
    defaultStockModel[1].addBox(-8F, 1F, -1F, 6, 3, 2);
   
    stockAttachPoint = new Vector3f(-1F / 16F, 3F / 16F, 0F);
   
    //Ammo
    ammoModel = new ModelRendererTurbo[1];
   
    ammoModel[0] = new ModelRendererTurbo(this, 35, 8, textureX, textureY);
    ammoModel[0].addBox(3F, -4F, -1F, 3, 6, 2);
   
    gunSlideDistance = 0.5F;
    animationType = EnumAnimationType.BOTTOM_CLIP;
  }
View Full Code Here


  public ModelTornado()
  {

// Nose
    noseModel = new ModelRendererTurbo[2];
    noseModel[0] = new ModelRendererTurbo(this,  045, textureX, textureY); // Nose1
    noseModel[1] = new ModelRendererTurbo(this,  085, textureX, textureY); // Nose2

    noseModel[0].addShapeBox(0F, 0F, 0F, 35, 18, 18, 0F, 0F, -8.5F, -8.5F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, -8.5F, -8.5F, 0F, -8.5F, -8.5F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, -8.5F, -8.5F); //Test
    noseModel[0].setRotationPoint(-81F, -28F, -9F);

    noseModel[1].addBox(0F, 0F, 0F, 10, 1, 1, 0F); // Nose2
    noseModel[1].setRotationPoint(-91F, -19.5F, -0.5F);



// Body
    bodyModel = new ModelRendererTurbo[41];
    bodyModel[0] = new ModelRendererTurbo(this,  090, textureX, textureY); // Body1
    bodyModel[1] = new ModelRendererTurbo(this,  0135, textureX, textureY); // Body2
    bodyModel[2] = new ModelRendererTurbo(this,  0165, textureX, textureY); // Body3
    bodyModel[3] = new ModelRendererTurbo(this,  0180, textureX, textureY); // Body4
    bodyModel[4] = new ModelRendererTurbo(this,  0205, textureX, textureY); // Body5
    bodyModel[5] = new ModelRendererTurbo(this,  0205, textureX, textureY); // Body6
    bodyModel[6] = new ModelRendererTurbo(this,  0220, textureX, textureY); // Body7
    bodyModel[7] = new ModelRendererTurbo(this,  0250, textureX, textureY); // Body8
    bodyModel[8] = new ModelRendererTurbo(this,  0220, textureX, textureY); // Body9
    bodyModel[9] = new ModelRendererTurbo(this,  0275, textureX, textureY); // Body10
    bodyModel[10] = new ModelRendererTurbo(this,  0300, textureX, textureY); // Body11
    bodyModel[11] = new ModelRendererTurbo(this,  0335, textureX, textureY); // Body12HUD
    bodyModel[12] = new ModelRendererTurbo(this,  0350, textureX, textureY); // Body13
    bodyModel[13] = new ModelRendererTurbo(this,  20350, textureX, textureY); // Body14
    bodyModel[14] = new ModelRendererTurbo(this,  20350, textureX, textureY); // Body15
    bodyModel[15] = new ModelRendererTurbo(this,  35350, textureX, textureY); // Body16
    bodyModel[16] = new ModelRendererTurbo(this,  50350, textureX, textureY); // Body17
    bodyModel[17] = new ModelRendererTurbo(this,  0365, textureX, textureY); // Body18
    bodyModel[18] = new ModelRendererTurbo(this,  0380, textureX, textureY); // Body19
    bodyModel[19] = new ModelRendererTurbo(this,  0410, textureX, textureY); // Body20
    bodyModel[20] = new ModelRendererTurbo(this,  30410, textureX, textureY); // Body21
    bodyModel[21] = new ModelRendererTurbo(this,  30410, textureX, textureY); // Body22
    bodyModel[22] = new ModelRendererTurbo(this,  0425, textureX, textureY); // Body23
    bodyModel[23] = new ModelRendererTurbo(this,  0450, textureX, textureY); // Body24
    bodyModel[24] = new ModelRendererTurbo(this,  1200, textureX, textureY); // Body25
    bodyModel[25] = new ModelRendererTurbo(this,  12030, textureX, textureY); // Body26
    bodyModel[26] = new ModelRendererTurbo(this,  12050, textureX, textureY); // Body27
    bodyModel[27] = new ModelRendererTurbo(this,  12065, textureX, textureY); // Body28
    bodyModel[28] = new ModelRendererTurbo(this,  12050, textureX, textureY); // Body28
    bodyModel[29] = new ModelRendererTurbo(this,  12030, textureX, textureY); // Body29
    bodyModel[30] = new ModelRendererTurbo(this,  12050, textureX, textureY); // Body30
    bodyModel[31] = new ModelRendererTurbo(this,  12050, textureX, textureY); // Body31
    bodyModel[32] = new ModelRendererTurbo(this,  12065, textureX, textureY); // Body32
    bodyModel[33] = new ModelRendererTurbo(this,  120160, textureX, textureY); // Body33
    bodyModel[34] = new ModelRendererTurbo(this,  120210, textureX, textureY); // Body34
    bodyModel[35] = new ModelRendererTurbo(this,  120270, textureX, textureY); // Body35
    bodyModel[36] = new ModelRendererTurbo(this,  120300, textureX, textureY); // Body36
    bodyModel[37] = new ModelRendererTurbo(this,  120120, textureX, textureY); // Body37
    bodyModel[38] = new ModelRendererTurbo(this,  120140, textureX, textureY); // Body38
    bodyModel[39] = new ModelRendererTurbo(this,  120120, textureX, textureY); // Body39
    bodyModel[40] = new ModelRendererTurbo(this,  120140, textureX, textureY); // Body40

    bodyModel[0].addShapeBox(0F, 0F, 0F, 24, 20, 22, 0F, 0F, -2F, -2F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, -2F, -2F, 0F, 0F, -2F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, -2F); //Test
    bodyModel[0].setRotationPoint(-46F, -30F, -11F);

    bodyModel[1].addShapeBox(0F, 0F, 0F, 12, 10, 12, 0F, 0F, -8F, -3F, 0F, 0F, -3F, 0F, 0F, -3F, 0F, -8F, -3F, 0F, 0F, -3F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, -3F); //Test
    bodyModel[1].setRotationPoint(-36F, -38F, -6F);

    bodyModel[2].addShapeBox(0F, 0F, 0F, 2, 1, 8, 0F, 0F, 0F, -2F, 0F, 0F, -2F, 0F, 0F, -2F, 0F, 0F, -2F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F); //Test
    bodyModel[2].setRotationPoint(-24F, -39F, -4F);

    bodyModel[3].addShapeBox(0F, 0F, 0F, 2, 10, 12, 0F, 0F, 0F, -3F, 0F, 0F, -3F, 0F, 0F, -3F, 0F, 0F, -3F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F); //Test
    bodyModel[3].setRotationPoint(-24F, -38F, -6F);

    bodyModel[4].addShapeBox(0F, 0F, 0F, 2, 10, 1, 0F, 0F, 0F, 3F, 0F, 0F, 3F, 0F, 0F, -3F, 0F, 0F, -3F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F); //Test
    bodyModel[4].setRotationPoint(-24F, -38F, 6F);

    bodyModel[5].addShapeBox(0F, 0F, 0F, 2, 10, 1, 0F, 0F, 0F, -3F, 0F, 0F, -3F, 0F, 0F, 3F, 0F, 0F, 3F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F); //Test
    bodyModel[5].setRotationPoint(-24F, -38F, -7F);

    bodyModel[6].addShapeBox(0F, 0F, 0F, 34, 20, 4, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 1F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 1F); //Test
    bodyModel[6].setRotationPoint(-22F, -30F, -11F);

    bodyModel[7].addShapeBox(0F, 0F, 0F, 19, 10, 14, 0F, 0F, -2F, -4F, 0F, 0F, -4F, 0F, 0F, -4F, 0F, -2F, -4F, 0F, 0F, -1F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, -1F); //Test
    bodyModel[7].setRotationPoint(-22F, -40F, -7F);

    bodyModel[8].addShapeBox(0F, 0F, 0F, 34, 20, 4, 0F, 0F, 0F, 1F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 1F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F); //Test
    bodyModel[8].setRotationPoint(-22F, -30F, 7F);

    bodyModel[9].addBox(0F, 0F, 0F, 34, 4, 14, 0F); // Body10
    bodyModel[9].setRotationPoint(-22F, -14F, -7F);

    bodyModel[10].addBox(-4F, 0F, 0F, 4, 20, 14, 0F); // Body11
    bodyModel[10].setRotationPoint(-21F, -30F, -7F);
    bodyModel[10].rotateAngleZ = 0.5235988F;

    bodyModel[11].addBox(0F, -3F, -3F, 0, 6, 6, 0F); // Body12HUD
    bodyModel[11].setRotationPoint(-15F, -34F, 0F);

    bodyModel[12].addBox(0F, 2F, 0F, 2, 6, 6, 0F); // Body13
    bodyModel[12].setRotationPoint(-21F, -30F, -3F);
    bodyModel[12].rotateAngleZ = 0.5235988F;

    bodyModel[13].addBox(0F, 8F, 5F, 1, 4, 4, 0F); // Body14
    bodyModel[13].setRotationPoint(-21F, -30F, -3F);
    bodyModel[13].rotateAngleZ = 0.5235988F;

    bodyModel[14].addBox(0F, 8F, -3F, 1, 4, 4, 0F); // Body15
    bodyModel[14].setRotationPoint(-21F, -30F, -3F);
    bodyModel[14].rotateAngleZ = 0.5235988F;

    bodyModel[15].addBox(0F, 0F, 0F, 4, 6, 3, 0F); // Body16
    bodyModel[15].setRotationPoint(-15F, -21F, -1.5F);

    bodyModel[16].addBox(0F, 0F, 0F, 3, 5, 1, 0F); // Body17
    bodyModel[16].setRotationPoint(-14.5F, -26F, -0.5F);

    bodyModel[17].addBox(0F, 0F, 0F, 10, 2, 10, 0F); // Body18
    bodyModel[17].setRotationPoint(-4F, -16F, -5F);

    bodyModel[18].addBox(0F, 0F, 0F, 2, 18, 10, 0F); // Body19
    bodyModel[18].setRotationPoint(6F, -32F, -5F);

    bodyModel[19].addShapeBox(0F, 0F, 0F, 2, 1, 8, 0F, 0F, 0F, -2F, 0F, 0F, -2F, 0F, 0F, -2F, 0F, 0F, -2F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F); //Test
    bodyModel[19].setRotationPoint(-5F, -41F, -4F);

    bodyModel[20].addShapeBox(0F, 0F, 0F, 2, 10, 1, 0F, 0F, 0F, 4F, 0F, 0F, 4F, 0F, 0F, -4F, 0F, 0F, -4F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F); //Test
    bodyModel[20].setRotationPoint(-5F, -40F, 7F);

    bodyModel[21].addShapeBox(0F, 0F, 0F, 2, 10, 1, 0F, 0F, 0F, -4F, 0F, 0F, -4F, 0F, 0F, 4F, 0F, 0F, 4F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F); //Test
    bodyModel[21].setRotationPoint(-5F, -40F, -8F);

    bodyModel[22].addShapeBox(0F, 0F, 0F, 15, 9, 14, 0F, 0F, 1F, -4F, 0F, 0F, -4F, 0F, 0F, -4F, 0F, 1F, -4F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F); //Test
    bodyModel[22].setRotationPoint(-3F, -39F, -7F);

    bodyModel[23].addShapeBox(0F, 0F, 0F, 25, 14, 46, 0F, 0F, 0F, 0F, 0F, 0F, -5F, 0F, 0F, -5F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, -5F, 0F, 0F, -5F, 0F, 0F, 0F); //Test
    bodyModel[23].setRotationPoint(24F, -30F, -23F);

    bodyModel[24].addShapeBox(0F, 0F, 0F, 12, 10, 15, 0F, 0F, 0F, -4.5F, 0F, -0.5F, -4.5F, 0F, -0.5F, -4.5F, 0F, 0F, -4.5F, 0F, 0F, 0F, 0F, 0F, -0.5F, 0F, 0F, -0.5F, 0F, 0F, 0F); //Test
    bodyModel[24].setRotationPoint(12F, -40F, -7.5F);

    bodyModel[25].addBox(0F, 0F, 0F, 22, 4, 12, 0F); // Body26
    bodyModel[25].setRotationPoint(2F, -30F, -23F);

    bodyModel[26].addShapeBox(0F, 0F, 0F, 22, 8, 2, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, -12F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, -12F, 0F, 0F); //Test
    bodyModel[26].setRotationPoint(2F, -26F, -13F);

    bodyModel[27].addBox(0F, 0F, 0F, 10, 2, 12, 0F); // Body28
    bodyModel[27].setRotationPoint(14F, -18F, -23F);

    bodyModel[28].addShapeBox(0F, 0F, 0F, 22, 8, 2, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, -12F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, -12F, 0F, 0F); //Test
    bodyModel[28].setRotationPoint(2F, -26F, -23F);

    bodyModel[29].addBox(0F, 0F, 0F, 22, 4, 12, 0F); // Body29
    bodyModel[29].setRotationPoint(2F, -30F, 11F);

    bodyModel[30].addShapeBox(0F, 0F, 0F, 22, 8, 2, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, -12F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, -12F, 0F, 0F); //Test
    bodyModel[30].setRotationPoint(2F, -26F, 11F);

    bodyModel[31].addShapeBox(0F, 0F, 0F, 22, 8, 2, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, -12F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, -12F, 0F, 0F); //Test
    bodyModel[31].setRotationPoint(2F, -26F, 21F);

    bodyModel[32].addBox(0F, 0F, 0F, 10, 2, 12, 0F); // Body32
    bodyModel[32].setRotationPoint(14F, -18F, 11F);

    bodyModel[33].addBox(0F, 0F, 0F, 12, 20, 22, 0F); // Body33
    bodyModel[33].setRotationPoint(12F, -30F, -11F);

    bodyModel[34].addBox(0F, 0F, 0F, 44, 14, 36, 0F); // Body34
    bodyModel[34].setRotationPoint(49F, -30F, -18F);

    bodyModel[35].addShapeBox(0F, 0F, 0F, 69, 9, 14, 0F, 0F, 0F, -4F, 0F, 0F, -4F, 0F, 0F, -4F, 0F, 0F, -4F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F); //Test
    bodyModel[35].setRotationPoint(24F, -39F, -7F);

    bodyModel[36].addBox(0F, 0F, 0F, 69, 6, 22, 0F); // Body36
    bodyModel[36].setRotationPoint(24F, -16F, -11F);

    bodyModel[37].addShapeBox(0F, 0F, 0F, 28, 6, 11, 0F, 0F, 0F, 0F, -6F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, -6F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F); //Test
    bodyModel[37].setRotationPoint(39F, -29F, -29F);

    bodyModel[38].addShapeBox(0F, 0F, 0F, 20, 6, 11, 0F, 0F, 0F, -6F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, -6F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F); //Test
    bodyModel[38].setRotationPoint(19F, -29F, -29F);

    bodyModel[39].addShapeBox(0F, 0F, 0F, 28, 6, 11, 0F, 0F, 0F, 0F, 0F, 0F, 0F, -6F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, -6F, 0F, 0F, 0F, 0F, 0F); //Test
    bodyModel[39].setRotationPoint(39F, -29F, 18F);

    bodyModel[40].addShapeBox(0F, 0F, 0F, 20, 6, 11, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, -6F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, -6F); //Test
    bodyModel[40].setRotationPoint(19F, -29F, 18F);



// Tail
    tailModel = new ModelRendererTurbo[10];
    tailModel[0] = new ModelRendererTurbo(this,  120330, textureX, textureY); // Tail1
    tailModel[1] = new ModelRendererTurbo(this,  120380, textureX, textureY); // Tail2
    tailModel[2] = new ModelRendererTurbo(this,  120400, textureX, textureY); // Tail3
    tailModel[3] = new ModelRendererTurbo(this,  200450, textureX, textureY); // Tail4
    tailModel[4] = new ModelRendererTurbo(this,  200450, textureX, textureY); // Tail5
    tailModel[5] = new ModelRendererTurbo(this,  2400, textureX, textureY); // Tail6
    tailModel[6] = new ModelRendererTurbo(this,  24020, textureX, textureY); // Tail7
    tailModel[7] = new ModelRendererTurbo(this,  24040, textureX, textureY); // Tail8
    tailModel[8] = new ModelRendererTurbo(this,  240140, textureX, textureY); // Tail10
    tailModel[9] = new ModelRendererTurbo(this,  240140, textureX, textureY); // Tail12


    tailModel[0].addShapeBox(0F, 0F, 0F, 41, 14, 32, 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); //Test
    tailModel[0].setRotationPoint(93F, -30F, -16F);

    tailModel[1].addShapeBox(0F, 0F, 0F, 41, 6, 10, 0F, 0F, 3F, -2F, 0F, 0F, -2F, 0F, 0F, -2F, 0F, 3F, -2F, 0F, 0F, 2F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 2F); //Test
    tailModel[1].setRotationPoint(93F, -36F, -5F);

    tailModel[2].addShapeBox(0F, 0F, 0F, 41, 6, 22, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, -5F, 0F, 0F, -5F, 0F, 0F, 0F, 0F); //Test
    tailModel[2].setRotationPoint(93F, -16F, -11F);

    tailModel[3].addBox(0F, 0F, 0F, 14, 12, 12, 0F); // Tail4
    tailModel[3].setRotationPoint(134F, -29F, -15F);

    tailModel[4].addBox(0F, 0F, 0F, 14, 12, 12, 0F); // Tail5
    tailModel[4].setRotationPoint(134F, -29F, 3F);

    tailModel[5].addShapeBox(0F, 0F, 0F, 52, 8, 6, 0F, -18F, 0F, 0F, -2F, 0F, 0F, -2F, 0F, 0F, -18F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F); //Test
    tailModel[5].setRotationPoint(61F, -44F, -3F);

    tailModel[6].addShapeBox(0F, 0F, 0F, 19, 6, 6, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, -2F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, -2F, 0F, 0F); //Test
    tailModel[6].setRotationPoint(79F, -50F, -3F);

    tailModel[7].addShapeBox(0F, 0F, 0F, 47, 43, 2, 0F, -45F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, -45F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F); //Test
    tailModel[7].setRotationPoint(87F, -79F, -1F);

    tailModel[8].addShapeBox(0F, 0F, 0F, 47, 2, 34, 0F, -45F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, -45F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F); //Test
    tailModel[8].setRotationPoint(93F, -22F, -50F);

    tailModel[9].addShapeBox(0F, 0F, 0F, 47, 2, 34, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, -45F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, -45F, 0F, 0F); //Test
    tailModel[9].setRotationPoint(93F, -22F, 16F);




    // Yaw Flap
        yawFlapModel = new ModelRendererTurbo[1];
        yawFlapModel[0] = new ModelRendererTurbo(this,  24090, textureX, textureY); // Tail9

        yawFlapModel[0].addShapeBox(0F, 0F, -1F, 27, 43, 2, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, -26F, 0F, 0F, -26F, 0F, 0F, 0F, 0F, 0F); //Test
        yawFlapModel[0].setRotationPoint(134F, -79F, 0F);



    // Pitch Flap Left
        pitchFlapLeftModel = new ModelRendererTurbo[1];
        pitchFlapLeftModel[0] = new ModelRendererTurbo(this,  300200, textureX, textureY); // Tail11

        pitchFlapLeftModel[0].addShapeBox(0F, -1F, 0F, 16, 2, 34, 0F, 0F, 0F, 0F, 0F, 0F, 0F, -15F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, -15F, 0F, 0F, 0F, 0F, 0F); //Test
        pitchFlapLeftModel[0].setRotationPoint(140F, -21F, -50F);



    // Pitch Flap Right
        pitchFlapRightModel = new ModelRendererTurbo[1];
        pitchFlapRightModel[0] = new ModelRendererTurbo(this,  300200, textureX, textureY); // Tail13

        pitchFlapRightModel[0].addShapeBox(0F, -1F, 0F, 16, 2, 34, 0F, 0F, 0F, 0F, -15F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, -15F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F); //Test
        pitchFlapRightModel[0].setRotationPoint(140F, -21F, 16F);



   
   
// Right Wing
        rightWingPos2Model = new ModelRendererTurbo[1];
        rightWingPos2Model[0] = new ModelRendererTurbo(this,  240300, textureX, textureY); // LeftWing2

        rightWingPos2Model[0].addShapeBox(0F, 0F, -83F, 40, 3, 83, 0F, -27F, 0F, -4F, 10F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, -27F, 0F, -4F, 10F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F); //Test
        rightWingPos2Model[0].setRotationPoint(38F, -28F, -18F);



    // Left Wing Position 1
        leftWingPos1Model = new ModelRendererTurbo[1];
        leftWingPos1Model[0] = new ModelRendererTurbo(this,  240300, textureX, textureY); // LeftWing1

        leftWingPos1Model[0].addShapeBox(0F, 0F, 0F, 40, 3, 83, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 10F, 0F, 0F, -27F, 0F, -4F, 0F, 0F, 0F, 0F, 0F, 0F, 10F, 0F, 0F, -27F, 0F, -4F); //Test
        leftWingPos1Model[0].setRotationPoint(34F, -28F, 20F);
        leftWingPos1Model[0].rotateAngleY = -0.76794487F;
       
       
        // Right Wing
        rightWingPos1Model = new ModelRendererTurbo[1];
        rightWingPos1Model[0] = new ModelRendererTurbo(this,  240300, textureX, textureY); // LeftWing2

        rightWingPos1Model[0].addShapeBox(0F, 0F, -83F, 40, 3, 83, 0F, -27F, 0F, -4F, 10F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, -27F, 0F, -4F, 10F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F); //Test
        rightWingPos1Model[0].setRotationPoint(34F, -28F, -20F);
        rightWingPos1Model[0].rotateAngleY = 0.76794487F;
       
       

        // Body Wheel
            bodyWheelModel = new ModelRendererTurbo[8];
            bodyWheelModel[0] = new ModelRendererTurbo(this,  4000, textureX, textureY); // CoreWheel1
            bodyWheelModel[1] = new ModelRendererTurbo(this,  40020, textureX, textureY); // CoreWheel2
            bodyWheelModel[2] = new ModelRendererTurbo(this,  40045, textureX, textureY); // CoreWheel3
            bodyWheelModel[3] = new ModelRendererTurbo(this,  40060, textureX, textureY); // CoreWheel4
            bodyWheelModel[4] = new ModelRendererTurbo(this,  40060, textureX, textureY); // CoreWheel5
            bodyWheelModel[5] = new ModelRendererTurbo(this,  40045, textureX, textureY); // CoreWheel6
            bodyWheelModel[6] = new ModelRendererTurbo(this,  40060, textureX, textureY); // CoreWheel7
            bodyWheelModel[7] = new ModelRendererTurbo(this,  40060, textureX, textureY); // CoreWheel8

            bodyWheelModel[0].addBox(0F, 0F, 0F, 10, 6, 6, 0F); // CoreWheel1
            bodyWheelModel[0].setRotationPoint(-17F, -10F, -3F);

            bodyWheelModel[1].addBox(0F, 0F, 0F, 6, 10, 2, 0F); // CoreWheel2
            bodyWheelModel[1].setRotationPoint(-15F, -4F, -1F);

            bodyWheelModel[2].addBox(0F, 0F, 0F, 10, 6, 2, 0F); // CoreWheel3
            bodyWheelModel[2].setRotationPoint(-17F, 2F, -3F);

            bodyWheelModel[3].addShapeBox(0F, 0F, 0F, 10, 2, 2, 0F, -2F, 0F, 0F, -2F, 0F, 0F, -2F, 0F, 0F, -2F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F); //Test// CoreWheel4
            bodyWheelModel[3].setRotationPoint(-17F, 0F, -3F);

            bodyWheelModel[4].addShapeBox(0F, 0F, 0F, 10, 2, 2, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, -2F, 0F, 0F, -2F, 0F, 0F, -2F, 0F, 0F, -2F, 0F, 0F); //Test// CoreWheel5
            bodyWheelModel[4].setRotationPoint(-17F, 8F, -3F);

            bodyWheelModel[5].addBox(0F, 0F, 0F, 10, 6, 2, 0F); // CoreWheel6
            bodyWheelModel[5].setRotationPoint(-17F, 2F, 1F);

            bodyWheelModel[6].addShapeBox(0F, 0F, 0F, 10, 2, 2, 0F, -2F, 0F, 0F, -2F, 0F, 0F, -2F, 0F, 0F, -2F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F); //Test// CoreWheel7
            bodyWheelModel[6].setRotationPoint(-17F, 0F, 1F);

            bodyWheelModel[7].addShapeBox(0F, 0F, 0F, 10, 2, 2, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, -2F, 0F, 0F, -2F, 0F, 0F, -2F, 0F, 0F, -2F, 0F, 0F); //Test // CoreWheel8
            bodyWheelModel[7].setRotationPoint(-17F, 8F, 1F);



        // Left Wing Wheel
            leftWingWheelModel = new ModelRendererTurbo[5];
            leftWingWheelModel[0] = new ModelRendererTurbo(this,  40080, textureX, textureY); // LeftWingWheel1
            leftWingWheelModel[1] = new ModelRendererTurbo(this,  40020, textureX, textureY); // LeftWingWheel2
            leftWingWheelModel[2] = new ModelRendererTurbo(this,  40045, textureX, textureY); // LeftWingWheel3
            leftWingWheelModel[3] = new ModelRendererTurbo(this,  40060, textureX, textureY); // LeftWingWheel4
            leftWingWheelModel[4] = new ModelRendererTurbo(this,  40060, textureX, textureY); // LeftWingWheel5

            leftWingWheelModel[0].addBox(0F, 0F, 0F, 10, 12, 6, 0F); // LeftWingWheel1
            leftWingWheelModel[0].setRotationPoint(73F, -16F, -18F);

            leftWingWheelModel[1].addBox(0F, 0F, 0F, 6, 10, 2, 0F); // LeftWingWheel2
            leftWingWheelModel[1].setRotationPoint(75F, -4F, -16F);

            leftWingWheelModel[2].addBox(0F, 0F, 0F, 10, 6, 2, 0F); // LeftWingWheel3
            leftWingWheelModel[2].setRotationPoint(73F, 2F, -18F);

            leftWingWheelModel[3].addShapeBox(0F, 0F, 0F, 10, 2, 2, 0F, -2F, 0F, 0F, -2F, 0F, 0F, -2F, 0F, 0F, -2F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F); //Test // LeftWingWheel4
            leftWingWheelModel[3].setRotationPoint(73F, 0F, -18F);

            leftWingWheelModel[4].addShapeBox(0F, 0F, 0F, 10, 2, 2, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, -2F, 0F, 0F, -2F, 0F, 0F, -2F, 0F, 0F, -2F, 0F, 0F); //Test // LeftWingWheel5
            leftWingWheelModel[4].setRotationPoint(73F, 8F, -18F);



        // Right Wing Wheel
            rightWingWheelModel = new ModelRendererTurbo[5];
            rightWingWheelModel[0] = new ModelRendererTurbo(this,  40080, textureX, textureY); // RightWingWheel1
            rightWingWheelModel[1] = new ModelRendererTurbo(this,  40020, textureX, textureY); // RightWingWheel2
            rightWingWheelModel[2] = new ModelRendererTurbo(this,  40045, textureX, textureY); // RightWingWheel3
            rightWingWheelModel[3] = new ModelRendererTurbo(this,  40060, textureX, textureY); // RightWingWheel4
            rightWingWheelModel[4] = new ModelRendererTurbo(this,  40060, textureX, textureY); // RightWingWheel5

            rightWingWheelModel[0].addBox(0F, 0F, 0F, 10, 12, 6, 0F); // RightWingWheel1
            rightWingWheelModel[0].setRotationPoint(73F, -16F, 12F);

            rightWingWheelModel[1].addBox(0F, 0F, 0F, 6, 10, 2, 0F); // RightWingWheel2
            rightWingWheelModel[1].setRotationPoint(75F, -4F, 14F);

            rightWingWheelModel[2].addBox(0F, 0F, 0F, 10, 6, 2, 0F); // RightWingWheel3
            rightWingWheelModel[2].setRotationPoint(73F, 2F, 16F);

            rightWingWheelModel[3].addShapeBox(0F, 0F, 0F, 10, 2, 2, 0F, -2F, 0F, 0F, -2F, 0F, 0F, -2F, 0F, 0F, -2F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F); //Test // RightWingWheel4
            rightWingWheelModel[3].setRotationPoint(73F, 0F, 16F);

            rightWingWheelModel[4].addShapeBox(0F, 0F, 0F, 10, 2, 2, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, -2F, 0F, 0F, -2F, 0F, 0F, -2F, 0F, 0F, -2F, 0F, 0F); //Test // RightWingWheel5
            rightWingWheelModel[4].setRotationPoint(73F, 8F, 16F);



    // Left Wing Position 1
        leftWingPos2Model = new ModelRendererTurbo[1];
        leftWingPos2Model[0] = new ModelRendererTurbo(this,  240300, textureX, textureY); // LeftWing1

        leftWingPos2Model[0].addShapeBox(0F, 0F, 0F, 40, 3, 83, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 10F, 0F, 0F, -27F, 0F, -4F, 0F, 0F, 0F, 0F, 0F, 0F, 10F, 0F, 0F, -27F, 0F, -4F); //Test
        leftWingPos2Model[0].setRotationPoint(38F, -28F, 18F);


   
   

    translateAll(0, 0, 0);


    // Propeller
        propellerModels = new ModelRendererTurbo[1][1];
            propellerModels[0][0] = new ModelRendererTurbo(this,  00, textureX, textureY);
            propellerModels[0][0].addBox(0F, 0F, 0F, 10, 2, 2, 0F);
            propellerModels[0][0].setRotationPoint(65F, -23F, -1F);
       
       
        flipAll();
View Full Code Here

  public ModelRendererTurbo[] claymoreModel;

  public ModelClaymore()
  {
    claymoreModel = new ModelRendererTurbo[2];
    claymoreModel[0] = new ModelRendererTurbo(this, 0, 0, 32, 16);
    claymoreModel[0].addBox(-1F, 2F, -4F, 2, 4, 8);
    claymoreModel[1] = new ModelRendererTurbo(this, 12, 4, 32, 16);
    claymoreModel[1].addBox(0F, -2F, -4F, 0, 4, 8);
  }
View Full Code Here

    int textureY = 64;
   
    bodyModel = new ModelRendererTurbo[6];
   
   
    bodyModel[0] = new ModelRendererTurbo(this, 0, 0, textureX, textureY);
    bodyModel[0].addBox(-4.5F, -0.5F, -3F, 9, 13, 6);

    bodyModel[1] = new ModelRendererTurbo(this, 30, 0, textureX, textureY);
    bodyModel[1].addBox(-3F, 2F, -4F, 6, 12, 1);

    bodyModel[2] = new ModelRendererTurbo(this, 0, 19, textureX, textureY);
    bodyModel[2].addBox(-5.5F, 8F, -2F, 1, 3, 4);
   
    bodyModel[3] = new ModelRendererTurbo(this, 10, 19, textureX, textureY);
    bodyModel[3].addBox(4.5F, 8F, -2F, 1, 3, 4);

    //Neckguard
    //bodyModel[4] = new ModelRendererTurbo(this, 0, 22, textureX, textureY);
    //bodyModel[4].addBox(4.5F, -4F, -2F, 1, 4, 4);
   
    //bodyModel[5] = new ModelRendererTurbo(this, 0, 22, textureX, textureY);
    //bodyModel[5].addBox(-5.5F, -4F, -2F, 1, 4, 4);

    //bodyModel[6] = new ModelRendererTurbo(this, 0, 22, textureX, textureY);
    //bodyModel[6].addBox(-4.5F, -4F, 4F, 9, 4, 1);

    //Shoulderpads
    bodyModel[4] = new ModelRendererTurbo(this, 44, 0, textureX, textureY);
    bodyModel[4].addBox(4.5F, -2F, -3F, 4, 4, 6);

    bodyModel[5] = new ModelRendererTurbo(this, 44, 10, textureX, textureY);
    bodyModel[5].addBox(-8.5F, -2F, -3F, 4, 4, 6);
   
   
   
    leftArmModel = new ModelRendererTurbo[2];
   
    leftArmModel[0] = new ModelRendererTurbo(this, 0, 26, textureX, textureY);
    leftArmModel[0].addBox(-1.25F, -2F, -2.25F, 4.5F, 13, 4.5F);

    leftArmModel[1] = new ModelRendererTurbo(this, 20, 19, textureX, textureY);
    leftArmModel[1].addBox(2.75F, 2F, -1.5F, 1, 4, 3);

    rightArmModel = new ModelRendererTurbo[2];
   
    rightArmModel[0] = new ModelRendererTurbo(this, 0, 44, textureX, textureY);
    rightArmModel[0].addBox(-3.25F, -2F, -2.25F, 4.5F, 13, 4.5F);
   
    rightArmModel[1] = new ModelRendererTurbo(this, 20, 26, textureX, textureY);
    rightArmModel[1].addBox(-3.75F, 2F, -1.5F, 1, 4, 3);

  }
View Full Code Here

    int textureX = 512; //The x-size of the texture
    int textureY = 256//The y-size of the texture
 
        bodyModel = new ModelRendererTurbo[12];
       
        bodyModel[0] = new ModelRendererTurbo(this, 0, 0, textureX, textureY); //Main body section
    bodyModel[0].addBox(-24F, 8F, -10F, 48, 32, 20);   
   
    bodyModel[1] = new ModelRendererTurbo(this, 0, 54, textureX, textureY); //Front body section
    bodyModel[1].addBox(-64F, 8F, -10F, 40, 16, 20)
   
    bodyModel[2] = new ModelRendererTurbo(this, 0, 92, textureX, textureY); //Cockpit back
    bodyModel[2].addShapeBox(-40F, 24F, -10F, 16, 16, 20, 0F, /* 0 */ 0F, 0F, 0F, /* 1 */ 0F, 0F, 0F, /* 2 */ 0F, 0F, 0F, /* 3 */ 0F, 0F, 0F, /* 4 */ 0F, 0F, -2F, /* 5 */ 0F, 0F, -2F, /* 6 */ 0F, 0F, -2F, /* 7 */ 0F, 0F, -2F);
   
    bodyModel[3] = new ModelRendererTurbo(this, 74, 92, textureX, textureY); //Cockpit front
    bodyModel[3].addShapeBox(-64F, 24F, -10F, 24, 16, 20, 0F, /* 0 */ 0F, 0F, 0F, /* 1 */ 0F, 0F, 0F, /* 2 */ 0F, 0F, 0F, /* 3 */ 0F, 0F, 0F, /* 4 */ -6F, -6F, -2F, /* 5 */ 0F, 0F, -2F, /* 6 */ 0F, 0F, -2F, /* 7 */ -6F, -6F, -2F);
   
    bodyModel[4] = new ModelRendererTurbo(this, 0, 92, textureX, textureY); //Cockpit back inside
    bodyModel[4].flip = true;
    bodyModel[4].addShapeBox(-40F, 24F, -10F, 16, 16, 20, 0F, /* 0 */ 0F, 0F, 0F, /* 1 */ 0F, 0F, 0F, /* 2 */ 0F, 0F, 0F, /* 3 */ 0F, 0F, 0F, /* 4 */ 0F, 0F, -2F, /* 5 */ 0F, 0F, -2F, /* 6 */ 0F, 0F, -2F, /* 7 */ 0F, 0F, -2F);
   
    bodyModel[5] = new ModelRendererTurbo(this, 74, 92, textureX, textureY); //Cockpit front inside
    bodyModel[5].flip = true;
    bodyModel[5].addShapeBox(-64F, 24F, -10F, 24, 16, 20, 0F, /* 0 */ 0F, 0F, 0F, /* 1 */ 0F, 0F, 0F, /* 2 */ 0F, 0F, 0F, /* 3 */ 0F, 0F, 0F, /* 4 */ -6F, -6F, -2F, /* 5 */ 0F, 0F, -2F, /* 6 */ 0F, 0F, -2F, /* 7 */ -6F, -6F, -2F);
       
    bodyModel[6] = new ModelRendererTurbo(this, 0, 130, textureX, textureY); //Top blade base
    bodyModel[6].addTrapezoid(-24F, 40F, -10F, 48, 8, 20, 0F, -4F, ModelRendererTurbo.MR_BOTTOM)
   
        bodyModel[7] = new ModelRendererTurbo(this, 0, 160, textureX, textureY); //Rear jet
    bodyModel[7].addBox(24F, 26F, -6F, 8, 12, 12);   
   
    bodyModel[8] = new ModelRendererTurbo(this, 42, 160, textureX, textureY); //Side jet
    bodyModel[8].addBox(0F, 26F, 10F, 24, 12, 4);   

    bodyModel[9] = new ModelRendererTurbo(this, 42, 178, textureX, textureY); //Side jet
    bodyModel[9].addBox(0F, 26F, -14F, 24, 12, 4);   
   
    bodyModel[10] = new ModelRendererTurbo(this, 162, 114, textureX, textureY); //Front body section insides
    bodyModel[10].flip = true;
    bodyModel[10].addBox(-64F, 8F, -10F, 40, 16, 20)

    bodyModel[11] = new ModelRendererTurbo(this, 162, 176, textureX, textureY); //Nose piece
    bodyModel[11].addTrapezoid(-72F, 16F, -10F, 8, 8, 20, 0F, -3F, ModelRendererTurbo.MR_RIGHT)

    //Right wing
    rightWingModel = new ModelRendererTurbo[4];
       
    rightWingModel[0] = new ModelRendererTurbo(this, 162, 52, textureX, textureY); //Main piece
    rightWingModel[0].addShapeBox(-12F, 21F, -38F, 24, 2, 28, 0F, /* 0 */ -8F, 0F, 0F, /* 1 */ 0F, 0F, 0F, /* 2 */ 0F, 0F, 0F, /* 3 */ 0F, 0F, 0F, /* 4 */ -8F, 0F, 0F, /* 5 */ 0F, 0F, 0F, /* 6 */ 0F, 0F, 0F, /* 7 */ 0F, 0F, 0F);     
       
    rightWingModel[1] = new ModelRendererTurbo(this, 162, 84, textureX, textureY); //Tip
    rightWingModel[1].addBox(-8F, 20F, -42F, 24, 4, 4)
   
    rightWingModel[2] = new ModelRendererTurbo(this, 162, 94, textureX, textureY); //Missile launcher connecting piece
    rightWingModel[2].addBox(-4F, 19F, -30F, 16, 2, 2)
   
    rightWingModel[3] = new ModelRendererTurbo(this, 162, 100, textureX, textureY); //Missile launcher box
    rightWingModel[3].addBox(-8F, 13F, -32F, 24, 6, 6)
   
    //Left wing
    leftWingModel = new ModelRendererTurbo[4];
       
    leftWingModel[0] = new ModelRendererTurbo(this, 268, 52, textureX, textureY); //Main piece
    leftWingModel[0].addShapeBox(-12F, 21F, 10F, 24, 2, 28, 0F, /* 0 */ 0F, 0F, 0F, /* 1 */ 0F, 0F, 0F, /* 2 */ 0F, 0F, 0F, /* 3 */ -8F, 0F, 0F, /* 4 */ 0F, 0F, 0F, /* 5 */ 0F, 0F, 0F, /* 6 */ 0F, 0F, 0F, /* 7 */ -8F, 0F, 0F);     
       
    leftWingModel[1] = new ModelRendererTurbo(this, 268, 84, textureX, textureY); //Tip
    leftWingModel[1].addBox(-8F, 20F, 38F, 24, 4, 4)
   
    leftWingModel[2] = new ModelRendererTurbo(this, 268, 94, textureX, textureY); //Missile launcher connecting piece
    leftWingModel[2].addBox(-4F, 19F, 28F, 16, 2, 2)
   
    leftWingModel[3] = new ModelRendererTurbo(this, 268, 100, textureX, textureY); //Missile launcher box
    leftWingModel[3].addBox(-8F, 13F, 26F, 24, 6, 6)
   
    //Skids
    skidsModel = new ModelRendererTurbo[6];
   
    skidsModel[0] = new ModelRendererTurbo(this, 0, 196, textureX, textureY); //Skid
    skidsModel[0].addBox(-48F, -4F, -24F, 72, 2, 4);   
   
    skidsModel[1] = new ModelRendererTurbo(this, 0, 204, textureX, textureY); //Skid
    skidsModel[1].addBox(-48F, -4F, 20F, 72, 2, 4);       
   
    skidsModel[2] = new ModelRendererTurbo(this, 100, 160, textureX, textureY); //Strut
    skidsModel[2].addShapeBox(-24F, -2F, 8F, 2, 10, 2, 0F, /* 0 */ 0F, 0F, -12F, /* 1 */ 0F, 0F, -12F, /* 2 */ 0F, 0F, 12F, /* 3 */ 0F, 0F, 12F, /* 4 */ 0F, 0F, 0F, /* 5 */ 0F, 0F, 0F, /* 6 */ 0F, 0F, 0F, /* 7 */ 0F, 0F, 0F);       

    skidsModel[3] = new ModelRendererTurbo(this, 110, 160, textureX, textureY); //Strut
    skidsModel[3].addShapeBox(16F, -2F, 8F, 2, 10, 2, 0F, /* 0 */ 0F, 0F, -12F, /* 1 */ 0F, 0F, -12F, /* 2 */ 0F, 0F, 12F, /* 3 */ 0F, 0F, 12F, /* 4 */ 0F, 0F, 0F, /* 5 */ 0F, 0F, 0F, /* 6 */ 0F, 0F, 0F, /* 7 */ 0F, 0F, 0F);       
   
    skidsModel[4] = new ModelRendererTurbo(this, 120, 160, textureX, textureY); //Strut
    skidsModel[4].addShapeBox(-24F, -2F, -10F, 2, 10, 2, 0F, /* 0 */ 0F, 0F, 12F, /* 1 */ 0F, 0F, 12F, /* 2 */ 0F, 0F, -12F, /* 3 */ 0F, 0F, -12F, /* 4 */ 0F, 0F, 0F, /* 5 */ 0F, 0F, 0F, /* 6 */ 0F, 0F, 0F, /* 7 */ 0F, 0F, 0F);       

    skidsModel[5] = new ModelRendererTurbo(this, 130, 160, textureX, textureY); //Strut
    skidsModel[5].addShapeBox(16F, -2F, -10F, 2, 10, 2, 0F, /* 0 */ 0F, 0F, 12F, /* 1 */ 0F, 0F, 12F, /* 2 */ 0F, 0F, -12F, /* 3 */ 0F, 0F, -12F, /* 4 */ 0F, 0F, 0F, /* 5 */ 0F, 0F, 0F, /* 6 */ 0F, 0F, 0F, /* 7 */ 0F, 0F, 0F);       
   
   
     
    tailModel = new ModelRendererTurbo[2];
   
    tailModel[0] = new ModelRendererTurbo(this, 138, 0, textureX, textureY); //Tail
    tailModel[0].addShapeBox(24F, 8F, -10F, 80, 16, 20, 0F, /* 0 */ 0F, 0F, 0F, /* 1 */ 0F, -8F, -8F, /* 2 */ 0F, -8F, -8F, /* 3 */ 0F, 0F, 0F, /* 4 */ 0F, 0F, 0F, /* 5 */ 0F, 0F, -8F, /* 6 */ 0F, 0F, -8F, /* 7 */ 0F, 0F, 0F);

    tailModel[1] = new ModelRendererTurbo(this, 340, 0, textureX, textureY); //Tail fin
    tailModel[1].addShapeBox(88F, 24F, -2F, 16, 24, 4, 0F, /* 0 */ 0F, 0F, 0F, /* 1 */ 0F, 0F, 0F, /* 2 */ 0F, 0F, 0F, /* 3 */ 0F, 0F, 0F, /* 4 */ -20F, 0F, -1F, /* 5 */ 16F, 0F, -1F, /* 6 */ 16F, 0F, -1F, /* 7 */ -20F, 0F, -1F);

   
    //Main helicopter rotors
    heliMainRotorModels = new ModelRendererTurbo[1][4];
   
    heliMainRotorModels[0][0] = new ModelRendererTurbo(this, 100, 184, textureX, textureY); //Stalk bit
    heliMainRotorModels[0][0].addBox(-1F, 48F, -1F, 2, 8, 2)
   
    heliMainRotorModels[0][1] = new ModelRendererTurbo(this, 110, 184, textureX, textureY); //Bit between the blades
    heliMainRotorModels[0][1].addBox(-4F, 56F, -2F, 8, 1, 4)
   
    heliMainRotorModels[0][2] = new ModelRendererTurbo(this, 0, 212, textureX, textureY); //Blade
    heliMainRotorModels[0][2].addBox(4F, 56F, -2F, 72, 1, 8)
   
    heliMainRotorModels[0][3] = new ModelRendererTurbo(this, 0, 223, textureX, textureY); //Blade
    heliMainRotorModels[0][3].addBox(4F, 56F, -2F, 72, 1, 8)
    heliMainRotorModels[0][3].rotateAngleY = (float)Math.PI;
       
    //The helicopter rotor origins for rendering. Better than the old propeller rotation point code
    heliMainRotorOrigins = new Vector3f[] { new Vector3f(0F, 48F / 16F, 0F) };
   
   
    //Tail helicopter rotors
    heliTailRotorModels = new ModelRendererTurbo[1][4];
   
    heliTailRotorModels[0][0] = new ModelRendererTurbo(this, 138, 38, textureX, textureY); //Stalk bit
    heliTailRotorModels[0][0].addBox(111.5F, 43.5F, 1F, 1, 1, 4)
   
    heliTailRotorModels[0][1] = new ModelRendererTurbo(this, 150, 38, textureX, textureY); //Bit between the blades
    heliTailRotorModels[0][1].addBox(110F, 43.5F, 5F, 4, 1, 1)
   
    heliTailRotorModels[0][2] = new ModelRendererTurbo(this, 150, 42, textureX, textureY); //Blade
    heliTailRotorModels[0][2].addBox(114F, 43F, 5F, 8, 2, 1)
   
    heliTailRotorModels[0][3] = new ModelRendererTurbo(this, 150, 46, textureX, textureY); //Blade
    heliTailRotorModels[0][3].addBox(102F, 43F, 5F, 8, 2, 1)

    //The helicopter rotor origins for rendering. Better than the old propeller rotation point code
    heliTailRotorOrigins = new Vector3f[] { new Vector3f(112F / 16F, 44F / 16F, 1F / 16F) };
   
    heliRotorSpeeds = new float[] { 1F };

    ModelRendererTurbo[][] noseGun = new ModelRendererTurbo[4][];
    //A swivel chair for the dorsal gunner with some gun supports
    noseGun[0] = new ModelRendererTurbo[0];

    //A single barrel with no recoil effects
    noseGun[1] = new ModelRendererTurbo[1];
    noseGun[1][0] = new ModelRendererTurbo(this, 198, 206, textureX, textureY);
    noseGun[1][0].addBox(-4, -3, -3, 8, 6, 6);  
   
    //No recoil part just yet
    noseGun[2] = new ModelRendererTurbo[0];
   
    //A single barrel with no recoil effects
    noseGun[3] = new ModelRendererTurbo[6];
    noseGun[3][0] = new ModelRendererTurbo(this, 162, 206, textureX, textureY);
    noseGun[3][0].addBox(4, -3, -3, 2, 6, 6);
   
    noseGun[3][1] = new ModelRendererTurbo(this, 162, 220, textureX, textureY);
    noseGun[3][1].addBox(6, -2, -2, 16, 1, 1);
   
    noseGun[3][2] = new ModelRendererTurbo(this, 162, 224, textureX, textureY);
    noseGun[3][2].addBox(6, -2, 1, 16, 1, 1);
   
    noseGun[3][3] = new ModelRendererTurbo(this, 162, 228, textureX, textureY);
    noseGun[3][3].addBox(6, 1, -2, 16, 1, 1);
   
    noseGun[3][4] = new ModelRendererTurbo(this, 162, 232, textureX, textureY);
    noseGun[3][4].addBox(6, 1, 1, 16, 1, 1);
 
    noseGun[3][5] = new ModelRendererTurbo(this, 180, 206, textureX, textureY);
    noseGun[3][5].addBox(18, -3, -3, 2, 6, 6);
   
    for(ModelRendererTurbo[] dorsalGunParts : noseGun)
      for(ModelRendererTurbo dorsalGunPart : dorsalGunParts)
        dorsalGunPart.setRotationPoint(-64, 12, 0);
View Full Code Here

  int textureY = 32;

  public ModelMTAR()
  {
    gunModel = new ModelRendererTurbo[8];
    gunModel[0] = new ModelRendererTurbo(this, 1, 6, textureX, textureY);
    gunModel[1] = new ModelRendererTurbo(this, 0, 10, textureX, textureY);
    gunModel[2] = new ModelRendererTurbo(this, 7, 7, textureX, textureY);
    gunModel[3] = new ModelRendererTurbo(this, 0, 14, textureX, textureY);
    gunModel[4] = new ModelRendererTurbo(this, 7, 4, textureX, textureY);
    gunModel[5] = new ModelRendererTurbo(this, 3, 3, textureX, textureY);
    gunModel[6] = new ModelRendererTurbo(this, 8, 1, textureX, textureY);
    gunModel[7] = new ModelRendererTurbo(this, 0, 19, textureX, textureY);

    gunModel[0].addShapeBox(-0.25F, -1.8F, -0.5F, 2, 3, 1, 0F,-0.25F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,-0.25F, 0F, 0F,-0.25F, 0F, 0F,0F, -0.25F, 0F,0F, -0.25F, 0F,-0.25F, 0F, 0F); // Box 14
    gunModel[0].setRotationPoint(0F, 0F, 0F);
    gunModel[0].rotateAngleZ = -0.13962634F;

    gunModel[1].addBox(-1.5F, -4.5F, -1F, 6, 2, 2, 0F); // Box 15
    gunModel[1].setRotationPoint(0F, 0F, 0F);

    gunModel[2].addShapeBox(4.5F, -3.25F, -1F, 2, 1, 2, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, -0.3F,0F, 0F, -0.3F,0F, 0F, -0.3F,0F, 0F, -0.3F); // Box 16
    gunModel[2].setRotationPoint(0F, 0F, 0F);

    gunModel[3].addShapeBox(-5.5F, -4.5F, -1F, 4, 3, 2, 0F,0.25F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,0.25F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F); // Box 17
    gunModel[3].setRotationPoint(0F, 0F, 0F);

    gunModel[4].addShapeBox(4.5F, -4.25F, -1F, 2, 1, 2, 0F,0F, 0F, -0.3F,0F, 0F, -0.3F,0F, 0F, -0.3F,0F, 0F, -0.3F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F); // Box 18
    gunModel[4].setRotationPoint(0F, 0F, 0F);

    gunModel[5].addBox(6F, -3.75F, -0.5F, 2, 1, 1, 0F); // Box 20
    gunModel[5].setRotationPoint(0F, 0F, 0F);

    gunModel[6].addBox(0.2F, -2.5F, -1F, 3, 1, 2, 0F); // Box 21
    gunModel[6].setRotationPoint(0F, 0F, 0F);

    gunModel[7].addBox(0F, -5F, -0.5F, 6, 1, 1, 0F); // Box 22
    gunModel[7].setRotationPoint(0F, 0F, 0F);


    ammoModel = new ModelRendererTurbo[1];
    ammoModel[0] = new ModelRendererTurbo(this, 0, 21, textureX, textureY);

    ammoModel[0].addShapeBox(-3.8F, -3F, -0.5F, 2, 5, 1, 0F,0.25F, 0F, 0.2F,-0.25F, 0F, 0.2F,-0.25F, 0F, 0.2F,0.25F, 0F, 0.2F,0F, 0F, 0.2F,0F, -0.5F, 0.2F,0F, -0.5F, 0.2F,0F, 0F, 0.2F); // Box 19
    ammoModel[0].setRotationPoint(0F, 0F, 0F);


    slideModel = new ModelRendererTurbo[1];
    slideModel[0] = new ModelRendererTurbo(this, 6, 21, textureX, textureY);

    slideModel[0].addShapeBox(2.5F, -4F, -1F, 1, 1, 2, 0F,0F, 0F, 0.25F,0F, 0F, 0.25F,0F, 0F, 0.25F,0F, 0F, 0.25F,0F, 0F, 0.25F,0F, 0F, 0.25F,0F, 0F, 0.25F,0F, 0F, 0.25F); // Box 23
    slideModel[0].setRotationPoint(0F, 0F, 0F);

View Full Code Here

   
    bulletModel = new ModelRendererTurbo[4];
   
    bulletModel = new ModelRendererTurbo[4];
   
    bulletModel[0] = new ModelRendererTurbo(this, 72, 212, textureX, textureY);
    bulletModel[0].addBox(-20F, -3F, -3F, 40, 6, 6);
   
    bulletModel[1] = new ModelRendererTurbo(this, 72, 226, textureX, textureY);
    bulletModel[1].addTrapezoid(20F, -3F, -3F, 8, 6, 6, 0F, -3F, ModelRendererTurbo.MR_LEFT);
   
    bulletModel[2] = new ModelRendererTurbo(this, 102, 226, textureX, textureY);
    bulletModel[2].addShapeBox(-20F, -7F, 0F, 20, 14, 0, 0F, /* 0 */ 0F, 0F, 0F, /* 1 */ 0F, -4F, 0F, /* 2 */ 0F, -4F, 0F, /* 3 */ 0F, 0F, 0F, /* 4 */ 0F, 0F, 0F, /* 5 */ 0F, -4F, 0F, /* 6 */ 0F, -4F, 0F, /* 7 */ 0F, 0F, 0F)
   
    bulletModel[3] = new ModelRendererTurbo(this, 88, 242, textureX, textureY);
    bulletModel[3].addShapeBox(-20F, 0F, -7F, 20, 0, 14, 0F, /* 0 */ 0F, 0F, 0F, /* 1 */ 0F, 0F, -4F, /* 2 */ 0F, 0F, -4F, /* 3 */ 0F, 0F, 0F, /* 4 */ 0F, 0F, 0F, /* 5 */ 0F, 0F, -4F, /* 6 */ 0F, 0F, -4F, /* 7 */ 0F, 0F, 0F)

    for(int i = 0; i < 4; i++)
      bulletModel[i].rotateAngleZ = (float)Math.PI / 2F;
   
View Full Code Here

  int textureY = 1024;

  public ModelT90()
  {
    bodyModel = new ModelRendererTurbo[59];
    bodyModel[0] = new ModelRendererTurbo(this, 0, 55, textureX, textureY); // Import Body1
    bodyModel[1] = new ModelRendererTurbo(this, 0, 108, textureX, textureY); // Import Body2
    bodyModel[2] = new ModelRendererTurbo(this, 0, 170, textureX, textureY); // Import Body4
    bodyModel[3] = new ModelRendererTurbo(this, 0, 190, textureX, textureY); // Import Body5
    bodyModel[4] = new ModelRendererTurbo(this, 0, 190, textureX, textureY); // Import Body6
    bodyModel[5] = new ModelRendererTurbo(this, 0, 190, textureX, textureY); // Import Body7
    bodyModel[6] = new ModelRendererTurbo(this, 0, 170, textureX, textureY); // Import Body8
    bodyModel[7] = new ModelRendererTurbo(this, 0, 240, textureX, textureY); // Import Body9
    bodyModel[8] = new ModelRendererTurbo(this, 0, 290, textureX, textureY); // Import Body10
    bodyModel[9] = new ModelRendererTurbo(this, 0, 290, textureX, textureY); // Import Body11
    bodyModel[10] = new ModelRendererTurbo(this, 0, 310, textureX, textureY); // Import Body12
    bodyModel[11] = new ModelRendererTurbo(this, 0, 330, textureX, textureY); // Import Body13
    bodyModel[12] = new ModelRendererTurbo(this, 0, 350, textureX, textureY); // Import Body14
    bodyModel[13] = new ModelRendererTurbo(this, 0, 380, textureX, textureY); // Import Body15
    bodyModel[14] = new ModelRendererTurbo(this, 0, 400, textureX, textureY); // Import Body16
    bodyModel[15] = new ModelRendererTurbo(this, 0, 400, textureX, textureY); // Import Body17
    bodyModel[16] = new ModelRendererTurbo(this, 0, 400, textureX, textureY); // Import Body18
    bodyModel[17] = new ModelRendererTurbo(this, 0, 400, textureX, textureY); // Import Body19
    bodyModel[18] = new ModelRendererTurbo(this, 0, 430, textureX, textureY); // Import Body20
    bodyModel[19] = new ModelRendererTurbo(this, 0, 430, textureX, textureY); // Import Body21
    bodyModel[20] = new ModelRendererTurbo(this, 0, 430, textureX, textureY); // Import Body22
    bodyModel[21] = new ModelRendererTurbo(this, 0, 430, textureX, textureY); // Import Body23
    bodyModel[22] = new ModelRendererTurbo(this, 0, 440, textureX, textureY); // Import Body24
    bodyModel[23] = new ModelRendererTurbo(this, 0, 460, textureX, textureY); // Import Body25
    bodyModel[24] = new ModelRendererTurbo(this, 0, 490, textureX, textureY); // Import Body26
    bodyModel[25] = new ModelRendererTurbo(this, 0, 520, textureX, textureY); // Import Body27
    bodyModel[26] = new ModelRendererTurbo(this, 0, 550, textureX, textureY); // Import Body28
    bodyModel[27] = new ModelRendererTurbo(this, 0, 430, textureX, textureY); // Import Body29
    bodyModel[28] = new ModelRendererTurbo(this, 0, 430, textureX, textureY); // Import Body30
    bodyModel[29] = new ModelRendererTurbo(this, 0, 570, textureX, textureY); // Import Body31
    bodyModel[30] = new ModelRendererTurbo(this, 0, 590, textureX, textureY); // Import Body32
    bodyModel[31] = new ModelRendererTurbo(this, 0, 610, textureX, textureY); // Import Body33
    bodyModel[32] = new ModelRendererTurbo(this, 0, 630, textureX, textureY); // Import Body34
    bodyModel[33] = new ModelRendererTurbo(this, 0, 650, textureX, textureY); // Import Body35
    bodyModel[34] = new ModelRendererTurbo(this, 0, 310, textureX, textureY); // Import Body36
    bodyModel[35] = new ModelRendererTurbo(this, 0, 330, textureX, textureY); // Import Body37
    bodyModel[36] = new ModelRendererTurbo(this, 0, 350, textureX, textureY); // Import Body38
    bodyModel[37] = new ModelRendererTurbo(this, 0, 380, textureX, textureY); // Import Body39
    bodyModel[38] = new ModelRendererTurbo(this, 0, 400, textureX, textureY); // Import Body40
    bodyModel[39] = new ModelRendererTurbo(this, 0, 400, textureX, textureY); // Import Body41
    bodyModel[40] = new ModelRendererTurbo(this, 0, 400, textureX, textureY); // Import Body42
    bodyModel[41] = new ModelRendererTurbo(this, 0, 400, textureX, textureY); // Import Body43
    bodyModel[42] = new ModelRendererTurbo(this, 0, 430, textureX, textureY); // Import Body44
    bodyModel[43] = new ModelRendererTurbo(this, 0, 430, textureX, textureY); // Import Body45
    bodyModel[44] = new ModelRendererTurbo(this, 0, 430, textureX, textureY); // Import Body46
    bodyModel[45] = new ModelRendererTurbo(this, 0, 430, textureX, textureY); // Import Body47
    bodyModel[46] = new ModelRendererTurbo(this, 0, 440, textureX, textureY); // Import Body48
    bodyModel[47] = new ModelRendererTurbo(this, 0, 460, textureX, textureY); // Import Body49
    bodyModel[48] = new ModelRendererTurbo(this, 0, 490, textureX, textureY); // Import Body50
    bodyModel[49] = new ModelRendererTurbo(this, 0, 520, textureX, textureY); // Import Body51
    bodyModel[50] = new ModelRendererTurbo(this, 0, 550, textureX, textureY); // Import Body52
    bodyModel[51] = new ModelRendererTurbo(this, 0, 430, textureX, textureY); // Import Body53
    bodyModel[52] = new ModelRendererTurbo(this, 0, 430, textureX, textureY); // Import Body54
    bodyModel[53] = new ModelRendererTurbo(this, 0, 570, textureX, textureY); // Import Body55
    bodyModel[54] = new ModelRendererTurbo(this, 0, 590, textureX, textureY); // Import Body56
    bodyModel[55] = new ModelRendererTurbo(this, 0, 610, textureX, textureY); // Import Body57
    bodyModel[56] = new ModelRendererTurbo(this, 0, 630, textureX, textureY); // Import Body58
    bodyModel[57] = new ModelRendererTurbo(this, 0, 650, textureX, textureY); // Import Body59
    bodyModel[58] = new ModelRendererTurbo(this, 0, 680, textureX, textureY); // Import Body60

    bodyModel[0].addShapeBox(0F, 0F, 0F, 27, 10, 40, 0F,0F, 0F, 0F,0F, -8F, 0F,0F, -8F, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F); // Import Body1
    bodyModel[0].setRotationPoint(46F, -19F, -20F);

    bodyModel[1].addBox(0F, 0F, 0F, 101, 10, 40, 0F); // Import Body2
    bodyModel[1].setRotationPoint(-55F, -19F, -20F);

    bodyModel[2].addBox(0F, 0F, 0F, 10, 5, 1, 0F); // Import Body4
    bodyModel[2].setRotationPoint(-65F, -19F, -20F);

    bodyModel[3].addShapeBox(0F, 0F, 0F, 12, 4, 38, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,-4F, 0F, 0F,-4F, 0F, 0F,-4F, 0F, 0F,-4F, 0F, 0F); // Import Body5
    bodyModel[3].setRotationPoint(-67F, -16F, -19F);

    bodyModel[4].addBox(0F, 0F, 0F, 12, 4, 38, 0F); // Import Body6
    bodyModel[4].setRotationPoint(-67F, -20F, -19F);

    bodyModel[5].addShapeBox(0F, 0F, 0F, 12, 4, 38, 0F,-4F, 0F, 0F,-4F, 0F, 0F,-4F, 0F, 0F,-4F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F); // Import Body7
    bodyModel[5].setRotationPoint(-67F, -24F, -19F);

    bodyModel[6].addBox(0F, 0F, 0F, 10, 5, 1, 0F); // Import Body8
    bodyModel[6].setRotationPoint(-65F, -19F, 19F);

    bodyModel[7].addBox(0F, 0F, 0F, 20, 2, 40, 0F); // Import Body9
    bodyModel[7].setRotationPoint(-52F, -21F, -20F);

    bodyModel[8].addShapeBox(0F, 0F, 0F, 10, 1, 10, 0F,-2F, 0F, -2F,-2F, 0F, -2F,-2F, 0F, -2F,-2F, 0F, -2F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F); // Import Body10
    bodyModel[8].setRotationPoint(-47F, -22F, -15F);

    bodyModel[9].addShapeBox(0F, 0F, 0F, 10, 1, 10, 0F,-2F, 0F, -2F,-2F, 0F, -2F,-2F, 0F, -2F,-2F, 0F, -2F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F); // Import Body11
    bodyModel[9].setRotationPoint(-47F, -22F, 5F);

    bodyModel[10].addBox(0F, 0F, 0F, 93, 2, 14, 0F); // Import Body12
    bodyModel[10].setRotationPoint(-55F, -19F, -34F);

    bodyModel[11].addBox(0F, 0F, 0F, 93, 8, 2, 0F); // Import Body13
    bodyModel[11].setRotationPoint(-55F, -17F, -34F);

    bodyModel[12].addShapeBox(0F, 0F, 0F, 21, 17, 1, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, -8F, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, -8F, 0F); // Import Body14
    bodyModel[12].setRotationPoint(-35F, -18F, -34.5F);

    bodyModel[13].addBox(0F, 0F, 0F, 18, 9, 1, 0F); // Import Body15
    bodyModel[13].setRotationPoint(-54F, -18F, -34.5F);

    bodyModel[14].addBox(0F, 0F, 0F, 12, 17, 1, 0F); // Import Body16
    bodyModel[14].setRotationPoint(-13F, -18F, -34.5F);

    bodyModel[15].addBox(0F, 0F, 0F, 12, 17, 1, 0F); // Import Body17
    bodyModel[15].setRotationPoint(0F, -18F, -34.5F);

    bodyModel[16].addBox(0F, 0F, 0F, 12, 17, 1, 0F); // Import Body18
    bodyModel[16].setRotationPoint(13F, -18F, -34.5F);

    bodyModel[17].addBox(0F, 0F, 0F, 12, 17, 1, 0F); // Import Body19
    bodyModel[17].setRotationPoint(26F, -18F, -34.5F);

    bodyModel[18].addShapeBox(0F, 0F, 0F, 12, 2, 1, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,-5F, 0F, 0F,-5F, 0F, 0F,-5F, 0F, 0F,-5F, 0F, 0F); // Import Body20
    bodyModel[18].setRotationPoint(-13F, -1F, -34.5F);

    bodyModel[19].addShapeBox(0F, 0F, 0F, 12, 2, 1, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,-5F, 0F, 0F,-5F, 0F, 0F,-5F, 0F, 0F,-5F, 0F, 0F); // Import Body21
    bodyModel[19].setRotationPoint(0F, -1F, -34.5F);

    bodyModel[20].addShapeBox(0F, 0F, 0F, 12, 2, 1, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,-5F, 0F, 0F,-5F, 0F, 0F,-5F, 0F, 0F,-5F, 0F, 0F); // Import Body22
    bodyModel[20].setRotationPoint(13F, -1F, -34.5F);

    bodyModel[21].addShapeBox(0F, 0F, 0F, 12, 2, 1, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,-5F, 0F, 0F,-5F, 0F, 0F,-5F, 0F, 0F,-5F, 0F, 0F); // Import Body23
    bodyModel[21].setRotationPoint(26F, -1F, -34.5F);

    bodyModel[22].addBox(0F, 0F, 0F, 78, 8, 2, 0F); // Import Body24
    bodyModel[22].setRotationPoint(-14F, -9F, -34F);

    bodyModel[23].addShapeBox(0F, 0F, 0F, 36, 6, 14, 0F,0F, 0F, 0F,-35F, 0F, 0F,-35F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F); // Import Body25
    bodyModel[23].setRotationPoint(38F, -19F, -34F);

    bodyModel[24].addShapeBox(0F, 0F, 0F, 40, 4, 14, 0F,0F, 0F, 0F,-4F, 0F, 0F,-4F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F); // Import Body26
    bodyModel[24].setRotationPoint(38F, -13F, -34F);

    bodyModel[25].addShapeBox(0F, 0F, 0F, 12, 16, 1, 0F,0F, 1F, 0F,0F, -1F, 0F,0F, -1F, 0F,0F, 1F, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F); // Import Body27
    bodyModel[25].setRotationPoint(39F, -17F, -34.5F);

    bodyModel[26].addShapeBox(0F, 0F, 0F, 12, 15, 1, 0F,0F, 0F, 0F,0F, -2F, 0F,0F, -2F, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F); // Import Body28
    bodyModel[26].setRotationPoint(52F, -16F, -34.5F);

    bodyModel[27].addShapeBox(0F, 0F, 0F, 12, 2, 1, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,-5F, 0F, 0F,-5F, 0F, 0F,-5F, 0F, 0F,-5F, 0F, 0F); // Import Body29
    bodyModel[27].setRotationPoint(39F, -1F, -34.5F);

    bodyModel[28].addShapeBox(0F, 0F, 0F, 12, 2, 1, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,-5F, 0F, 0F,-5F, 0F, 0F,-5F, 0F, 0F,-5F, 0F, 0F); // Import Body30
    bodyModel[28].setRotationPoint(52F, -1F, -34.5F);

    bodyModel[29].addShapeBox(0F, 0F, 0F, 14, 3, 14, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,-13F, 0F, 0F,-13F, 0F, 0F,0F, 0F, 0F); // Import Body31
    bodyModel[29].setRotationPoint(64F, -9F, -34F);

    bodyModel[30].addBox(0F, 0F, 0F, 19, 1, 12, 0F); // Import Body32
    bodyModel[30].setRotationPoint(-54F, -19.5F, -33F);

    bodyModel[31].addBox(0F, 0F, 0F, 13, 1, 12, 0F); // Import Body33
    bodyModel[31].setRotationPoint(-32F, -19.5F, -33F);

    bodyModel[32].addBox(0F, 0F, 0F, 51, 1, 12, 0F); // Import Body34
    bodyModel[32].setRotationPoint(-16F, -19.5F, -33F);

    bodyModel[33].addShapeBox(0F, 0F, 0F, 119, 16, 1, 0F,0F, 0F, 0F,0F, -4F, 0F,0F, -4F, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F); // Import Body35
    bodyModel[33].setRotationPoint(-55F, -17F, -21F);

    bodyModel[34].addBox(0F, 0F, 0F, 93, 2, 14, 0F); // Import Body36
    bodyModel[34].setRotationPoint(-55F, -19F, 20F);

    bodyModel[35].addBox(0F, 0F, 0F, 93, 8, 2, 0F); // Import Body37
    bodyModel[35].setRotationPoint(-55F, -17F, 32F);

    bodyModel[36].addShapeBox(0F, 0F, 0F, 21, 17, 1, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, -8F, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, -8F, 0F); // Import Body38
    bodyModel[36].setRotationPoint(-35F, -18F, 33.5F);

    bodyModel[37].addBox(0F, 0F, 0F, 18, 9, 1, 0F); // Import Body39
    bodyModel[37].setRotationPoint(-54F, -18F, 33.5F);

    bodyModel[38].addBox(0F, 0F, 0F, 12, 17, 1, 0F); // Import Body40
    bodyModel[38].setRotationPoint(-13F, -18F, 33.5F);

    bodyModel[39].addBox(0F, 0F, 0F, 12, 17, 1, 0F); // Import Body41
    bodyModel[39].setRotationPoint(0F, -18F, 33.5F);

    bodyModel[40].addBox(0F, 0F, 0F, 12, 17, 1, 0F); // Import Body42
    bodyModel[40].setRotationPoint(13F, -18F, 33.5F);

    bodyModel[41].addBox(0F, 0F, 0F, 12, 17, 1, 0F); // Import Body43
    bodyModel[41].setRotationPoint(26F, -18F, 33.5F);

    bodyModel[42].addShapeBox(0F, 0F, 0F, 12, 2, 1, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,-5F, 0F, 0F,-5F, 0F, 0F,-5F, 0F, 0F,-5F, 0F, 0F); // Import Body44
    bodyModel[42].setRotationPoint(-13F, -1F, 33.5F);

    bodyModel[43].addShapeBox(0F, 0F, 0F, 12, 2, 1, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,-5F, 0F, 0F,-5F, 0F, 0F,-5F, 0F, 0F,-5F, 0F, 0F); // Import Body45
    bodyModel[43].setRotationPoint(0F, -1F, 33.5F);

    bodyModel[44].addShapeBox(0F, 0F, 0F, 12, 2, 1, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,-5F, 0F, 0F,-5F, 0F, 0F,-5F, 0F, 0F,-5F, 0F, 0F); // Import Body46
    bodyModel[44].setRotationPoint(13F, -1F, 33.5F);

    bodyModel[45].addShapeBox(0F, 0F, 0F, 12, 2, 1, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,-5F, 0F, 0F,-5F, 0F, 0F,-5F, 0F, 0F,-5F, 0F, 0F); // Import Body47
    bodyModel[45].setRotationPoint(26F, -1F, 33.5F);

    bodyModel[46].addBox(0F, 0F, 0F, 78, 8, 2, 0F); // Import Body48
    bodyModel[46].setRotationPoint(-14F, -9F, 32F);

    bodyModel[47].addShapeBox(0F, 0F, 0F, 36, 6, 14, 0F,0F, 0F, 0F,-35F, 0F, 0F,-35F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F); // Import Body49
    bodyModel[47].setRotationPoint(38F, -19F, 20F);

    bodyModel[48].addShapeBox(0F, 0F, 0F, 40, 4, 14, 0F,0F, 0F, 0F,-4F, 0F, 0F,-4F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F); // Import Body50
    bodyModel[48].setRotationPoint(38F, -13F, 20F);

    bodyModel[49].addShapeBox(0F, 0F, 0F, 12, 16, 1, 0F,0F, 1F, 0F,0F, -1F, 0F,0F, -1F, 0F,0F, 1F, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F); // Import Body51
    bodyModel[49].setRotationPoint(39F, -17F, 33.5F);

    bodyModel[50].addShapeBox(0F, 0F, 0F, 12, 15, 1, 0F,0F, 0F, 0F,0F, -2F, 0F,0F, -2F, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F); // Import Body52
    bodyModel[50].setRotationPoint(52F, -16F, 33.5F);

    bodyModel[51].addShapeBox(0F, 0F, 0F, 12, 2, 1, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,-5F, 0F, 0F,-5F, 0F, 0F,-5F, 0F, 0F,-5F, 0F, 0F); // Import Body53
    bodyModel[51].setRotationPoint(39F, -1F, 33.5F);

    bodyModel[52].addShapeBox(0F, 0F, 0F, 12, 2, 1, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,-5F, 0F, 0F,-5F, 0F, 0F,-5F, 0F, 0F,-5F, 0F, 0F); // Import Body54
    bodyModel[52].setRotationPoint(52F, -1F, 33.5F);

    bodyModel[53].addShapeBox(0F, 0F, 0F, 14, 3, 14, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,-13F, 0F, 0F,-13F, 0F, 0F,0F, 0F, 0F); // Import Body55
    bodyModel[53].setRotationPoint(64F, -9F, 20F);

    bodyModel[54].addBox(0F, 0F, 0F, 19, 1, 12, 0F); // Import Body56
    bodyModel[54].setRotationPoint(-54F, -19.5F, 21F);

    bodyModel[55].addBox(0F, 0F, 0F, 13, 1, 12, 0F); // Import Body57
    bodyModel[55].setRotationPoint(-32F, -19.5F, 21F);

    bodyModel[56].addBox(0F, 0F, 0F, 51, 1, 12, 0F); // Import Body58
    bodyModel[56].setRotationPoint(-16F, -19.5F, 21F);

    bodyModel[57].addShapeBox(0F, 0F, 0F, 119, 16, 1, 0F,0F, 0F, 0F,0F, -4F, 0F,0F, -4F, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F); // Import Body59
    bodyModel[57].setRotationPoint(-55F, -17F, 20F);

    bodyModel[58].addShapeBox(0F, 0F, 0F, 128, 8, 40, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,-20F, 0F, 0F,-20F, 0F, 0F,-20F, 0F, 0F,-20F, 0F, 0F); // Import Body60
    bodyModel[58].setRotationPoint(-55F, -9F, -20F);


    turretModel = new ModelRendererTurbo[21];
    turretModel[0] = new ModelRendererTurbo(this, 0, 735, textureX, textureY); // Import Turret1
    turretModel[1] = new ModelRendererTurbo(this, 0, 820, textureX, textureY); // Import Turret2
    turretModel[2] = new ModelRendererTurbo(this, 0, 900, textureX, textureY); // Import Turret3
    turretModel[3] = new ModelRendererTurbo(this, 140, 900, textureX, textureY); // Import Turret4
    turretModel[4] = new ModelRendererTurbo(this, 200, 170, textureX, textureY); // Import Turret5
    turretModel[5] = new ModelRendererTurbo(this, 0, 170, textureX, textureY); // Import Turret6
    turretModel[6] = new ModelRendererTurbo(this, 200, 200, textureX, textureY); // Import Turret7
    turretModel[7] = new ModelRendererTurbo(this, 200, 200, textureX, textureY); // Import Turret7
    turretModel[8] = new ModelRendererTurbo(this, 200, 220, textureX, textureY); // Import Turret8
    turretModel[9] = new ModelRendererTurbo(this, 200, 270, textureX, textureY); // Import Turret10
    turretModel[10] = new ModelRendererTurbo(this, 200, 270, textureX, textureY); // Import Turret11
    turretModel[11] = new ModelRendererTurbo(this, 200, 270, textureX, textureY); // Import Turret12
    turretModel[12] = new ModelRendererTurbo(this, 200, 290, textureX, textureY); // Import Turret13
    turretModel[13] = new ModelRendererTurbo(this, 200, 340, textureX, textureY); // Import Turret14
    turretModel[14] = new ModelRendererTurbo(this, 200, 350, textureX, textureY); // Import Turret15
    turretModel[15] = new ModelRendererTurbo(this, 200, 370, textureX, textureY); // Import Turret16
    turretModel[16] = new ModelRendererTurbo(this, 200, 390, textureX, textureY); // Import Turret17
    turretModel[17] = new ModelRendererTurbo(this, 200, 390, textureX, textureY); // Import Turret18
    turretModel[18] = new ModelRendererTurbo(this, 200, 390, textureX, textureY); // Import Turret19
    turretModel[19] = new ModelRendererTurbo(this, 200, 390, textureX, textureY); // Import Turret20
    turretModel[20] = new ModelRendererTurbo(this, 200, 390, textureX, textureY); // Import Turret21

    turretModel[0].addShapeBox(0F, 0F, 0F, 64, 9, 68, 0F,-16F, 0F, -20F,0F, 0F, -9F,0F, 0F, -9F,-16F, 0F, -20F,-16F, 0F, -11F,0F, 0F, 0F,0F, 0F, 0F,-16F, 0F, -11F); // Import Turret1
    turretModel[0].setRotationPoint(-44F, -35F, -34F);

    turretModel[1].addShapeBox(0F, 0F, 0F, 64, 4, 68, 0F,-16F, 0F, -11F,0F, 0F, 0F,0F, 0F, 0F,-16F, 0F, -11F,-20F, 0F, -20F,0F, 0F, -9F,0F, 0F, -9F,-20F, 0F, -20F); // Import Turret2
    turretModel[1].setRotationPoint(-44F, -26F, -34F);

    turretModel[2].addShapeBox(0F, 0F, 0F, 17, 9, 50, 0F,0F, 0F, 0F,0F, 0F, -9F,0F, 0F, -9F,0F, 0F, 0F,0F, 0F, 9F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 9F); // Import Turret3
    turretModel[2].setRotationPoint(20F, -35F, -25F);

    turretModel[3].addShapeBox(0F, 0F, 0F, 17, 4, 50, 0F,0F, 0F, 9F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 9F,0F, 0F, 0F,0F, 0F, -9F,0F, 0F, -9F,0F, 0F, 0F); // Import Turret4
    turretModel[3].setRotationPoint(20F, -26F, -25F);

    turretModel[4].addShapeBox(0F, 0F, 0F, 8, 4, 13, 0F,0F, 0F, 0F,0F, 0F, -4F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, -9F,0F, -3F, -9F,0F, -3F, 0F,0F, 0F, 0F); // Import Turret5
    turretModel[4].setRotationPoint(37F, -26F, -25F);

    turretModel[5].addShapeBox(0F, 0F, 0F, 8, 4, 13, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, -4F,0F, 0F, 0F,0F, 0F, 0F,0F, -3F, 0F,0F, -3F, -9F,0F, 0F, -9F); // Import Turret6
    turretModel[5].setRotationPoint(37F, -26F, 12F);

    turretModel[6].addShapeBox(0F, 0F, 0F, 8, 4, 6, 0F,0F, 5F, 0F,0F, 0F, 0F,0F, 0F, -2F,0F, 5F, -2F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 3F,0F, 0F, 7F); // Import Turret7
    turretModel[6].setRotationPoint(37F, -30F, 12F);

    turretModel[7].addShapeBox(0F, 0F, 0F, 8, 4, 6, 0F,0F, 5F, -2F,0F, 0F, -2F,0F, 0F, 0F,0F, 5F, 0F,0F, 0F, 7F,0F, 0F, 3F,0F, 0F, 0F,0F, 0F, 0F); // Import Turret7
    turretModel[7].setRotationPoint(37F, -30F, -18F);

    turretModel[8].addShapeBox(0F, 0F, 0F, 9, 7, 34, 0F,0F, -2F, -4F,0F, 0F, -4F,0F, 0F, -4F,0F, -2F, -4F,0F, 0F, -4F,0F, 2F, -4F,0F, 2F, -4F,0F, 0F, -4F); // Import Turret8
    turretModel[8].setRotationPoint(-37F, -35F, -17F);

    turretModel[9].addBox(0F, 0F, 0F, 12, 1, 4, 0F); // Import Turret10
    turretModel[9].setRotationPoint(-2F, -35.81333F, 10F);

    turretModel[10].addShapeBox(0F, 0F, 0F, 12, 1, 4, 0F,0F, 0F, 0F,0F, 0F, 0F,-4F, 0F, 0F,-4F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,-4F, 0F, 0F,-4F, 0F, 0F); // Import Turret11
    turretModel[10].setRotationPoint(-2F, -35.81333F, 14F);

    turretModel[11].addShapeBox(0F, 0F, 0F, 12, 1, 4, 0F,-4F, 0F, 0F,-4F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,-4F, 0F, 0F,-4F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F); // Import Turret12
    turretModel[11].setRotationPoint(-2F, -35.81333F, 6F);

    turretModel[12].addBox(0F, 0F, 0F, 8, 3, 8, 0F); // Import Turret13
    turretModel[12].setRotationPoint(-16F, -37.81333F, 0F);

    turretModel[13].addBox(0F, 0F, 0F, 4, 3, 4, 0F); // Import Turret14
    turretModel[13].setRotationPoint(-14F, -40.81333F, 2F);

    turretModel[14].addBox(0F, 0F, 0F, 2, 12, 2, 0F); // Import Turret15
    turretModel[14].setRotationPoint(-13F, -52.81333F, 3F);

    turretModel[15].addBox(0F, 0F, 0F, 8, 3, 11, 0F); // Import Turret16
    turretModel[15].setRotationPoint(-24F, -37.81333F, -14F);

    turretModel[16].addBox(0F, 0F, 0F, 4, 7, 2, 0F); // Import Turret17
    turretModel[16].setRotationPoint(-22F, -44.81333F, -14F);

    turretModel[17].addBox(0F, 0F, 0F, 4, 7, 2, 0F); // Import Turret18
    turretModel[17].setRotationPoint(-22F, -44.81333F, -5F);

    turretModel[18].addBox(0F, 0F, 0F, 15, 3, 45, 0F); // Import Turret19
    turretModel[18].setRotationPoint(1.5F, -22F, -22.5F);

    turretModel[19].addShapeBox(0F, 0F, 0F, 15, 3, 45, 0F,0F, 0F, 0F,0F, 0F, -15F,0F, 0F, -15F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, -15F,0F, 0F, -15F,0F, 0F, 0F); // Import Turret20
    turretModel[19].setRotationPoint(16.5F, -22F, -22.5F);

    turretModel[20].addShapeBox(0F, 0F, 0F, 15, 3, 45, 0F,0F, 0F, -15F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, -15F,0F, 0F, -15F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, -15F); // Import Turret21
    turretModel[20].setRotationPoint(-13.5F, -22F, -22.5F);


    barrelModel = new ModelRendererTurbo[10];
    barrelModel[0] = new ModelRendererTurbo(this, 200, 450, textureX, textureY); // Import Barrel1
    barrelModel[1] = new ModelRendererTurbo(this, 200, 490, textureX, textureY); // Import Barrel2
    barrelModel[2] = new ModelRendererTurbo(this, 200, 520, textureX, textureY); // Import Barrel3
    barrelModel[3] = new ModelRendererTurbo(this, 200, 550, textureX, textureY); // Import Barrel4
    barrelModel[4] = new ModelRendererTurbo(this, 200, 570, textureX, textureY); // Import Barrel5
    barrelModel[5] = new ModelRendererTurbo(this, 200, 585, textureX, textureY); // Import Barrel6
    barrelModel[6] = new ModelRendererTurbo(this, 200, 600, textureX, textureY); // Import Barrel7
    barrelModel[7] = new ModelRendererTurbo(this, 200, 620, textureX, textureY); // Import Barrel8
    barrelModel[8] = new ModelRendererTurbo(this, 200, 630, textureX, textureY); // Import Barrel9
    barrelModel[9] = new ModelRendererTurbo(this, 230, 630, textureX, textureY); // Import Barrel10

    barrelModel[0].addShapeBox(0F, 0F, 0F, 8, 6, 22, 0F,0F, 7F, 1F,0F, 2F, 1F,0F, 2F, 1F,0F, 7F, 1F,0F, 0F, 1F,0F, -3F, 1F,0F, -3F, 1F,0F, 0F, 1F); // Import Barrel1
    barrelModel[0].setRotationPoint(37F, -28F, -11F);

    barrelModel[1].addShapeBox(-7F, -6F, -6F, 18, 6, 12, 0F,0F, 0F, 0F,-7F, 0F, 0F,-7F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F); // Import Barrel2
    barrelModel[1].setRotationPoint(37F, -28F, 0F);

    barrelModel[2].addShapeBox(-7F, 0F, -6F, 18, 5, 12, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,-5F, -3F, 0F,-5F, -3F, 0F,0F, 0F, 0F); // Import Barrel3
    barrelModel[2].setRotationPoint(37F, -28F, 0F);

    barrelModel[3].addShapeBox(3F, -5F, -2.5F, 94, 5, 5, 0F,0F, 0F, 0F,-10F, 0F, 0F,-10F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,-10F, 0F, 0F,-10F, 0F, 0F,0F, 0F, 0F); // Import Barrel4
    barrelModel[3].setRotationPoint(37F, -28F, 0F);

    barrelModel[4].addBox(41F, -5.5F, -3F, 16, 6, 6, 0F); // Import Barrel5
    barrelModel[4].setRotationPoint(37F, -28F, 0F);

    barrelModel[5].addBox(0F, -1.5F, 0F, 4, 3, 7, 0F); // Import Barrel6
    barrelModel[5].setRotationPoint(-22F, -42.81333F, -12F);

    barrelModel[6].addBox(-4F, -3F, 2F, 13, 4, 4, 0F); // Import Barrel7
    barrelModel[6].setRotationPoint(-22F, -42.81F, -12F);

    barrelModel[7].addBox(9F, -2.5F, 2.5F, 7, 3, 3, 0F); // Import Barrel8
    barrelModel[7].setRotationPoint(-22F, -42.81333F, -12F);

    barrelModel[8].addBox(16F, -2F, 3F, 7, 2, 2, 0F); // Import Barrel9
    barrelModel[8].setRotationPoint(-22F, -42.81333F, -12F);

    barrelModel[9].addBox(-4F, -3F, 6F, 4, 7, 8, 0F); // Import Barrel10
    barrelModel[9].setRotationPoint(-22F, -42.81333F, -12F);


    leftTrackModel = new ModelRendererTurbo[27];
    leftTrackModel[0] = new ModelRendererTurbo(this, 400, 150, textureX, textureY); // Import LeftTrack1
    leftTrackModel[1] = new ModelRendererTurbo(this, 400, 200, textureX, textureY); // Import LeftTrack2
    leftTrackModel[2] = new ModelRendererTurbo(this, 400, 240, textureX, textureY); // Import LeftTrack3
    leftTrackModel[3] = new ModelRendererTurbo(this, 400, 260, textureX, textureY); // Import LeftTrack4
    leftTrackModel[4] = new ModelRendererTurbo(this, 400, 300, textureX, textureY); // Import LeftTrack5
    leftTrackModel[5] = new ModelRendererTurbo(this, 400, 340, textureX, textureY); // Import LeftTrack6
    leftTrackModel[6] = new ModelRendererTurbo(this, 400, 360, textureX, textureY); // Import LeftTrack7
    leftTrackModel[7] = new ModelRendererTurbo(this, 400, 380, textureX, textureY); // Import LeftTrack8
    leftTrackModel[8] = new ModelRendererTurbo(this, 400, 380, textureX, textureY); // Import LeftTrack9
    leftTrackModel[9] = new ModelRendererTurbo(this, 400, 380, textureX, textureY); // Import LeftTrack11
    leftTrackModel[10] = new ModelRendererTurbo(this, 400, 380, textureX, textureY); // Import LeftTrack13
    leftTrackModel[11] = new ModelRendererTurbo(this, 400, 380, textureX, textureY); // Import LeftTrack14
    leftTrackModel[12] = new ModelRendererTurbo(this, 400, 380, textureX, textureY); // Import LeftTrack15
    leftTrackModel[13] = new ModelRendererTurbo(this, 400, 380, textureX, textureY); // Import LeftTrack16
    leftTrackModel[14] = new ModelRendererTurbo(this, 400, 400, textureX, textureY); // Import LeftTrack17
    leftTrackModel[15] = new ModelRendererTurbo(this, 400, 400, textureX, textureY); // Import LeftTrack18
    leftTrackModel[16] = new ModelRendererTurbo(this, 400, 400, textureX, textureY); // Import LeftTrack19
    leftTrackModel[17] = new ModelRendererTurbo(this, 400, 400, textureX, textureY); // Import LeftTrack20
    leftTrackModel[18] = new ModelRendererTurbo(this, 400, 400, textureX, textureY); // Import LeftTrack21
    leftTrackModel[19] = new ModelRendererTurbo(this, 400, 400, textureX, textureY); // Import LeftTrack22
    leftTrackModel[20] = new ModelRendererTurbo(this, 400, 420, textureX, textureY); // Import LeftTrack23
    leftTrackModel[21] = new ModelRendererTurbo(this, 400, 420, textureX, textureY); // Import LeftTrack24
    leftTrackModel[22] = new ModelRendererTurbo(this, 400, 420, textureX, textureY); // Import LeftTrack25
    leftTrackModel[23] = new ModelRendererTurbo(this, 400, 420, textureX, textureY); // Import LeftTrack26
    leftTrackModel[24] = new ModelRendererTurbo(this, 400, 420, textureX, textureY); // Import LeftTrack27
    leftTrackModel[25] = new ModelRendererTurbo(this, 400, 420, textureX, textureY); // Import LeftTrack28
    leftTrackModel[26] = new ModelRendererTurbo(this, 400, 440, textureX, textureY); // Import LeftTrack29

    leftTrackModel[0].addBox(0F, 0F, 0F, 2, 10, 11, 0F); // Import LeftTrack1
    leftTrackModel[0].setRotationPoint(73F, -9F, 21F);

    leftTrackModel[1].addBox(-2F, 0F, 0F, 2, 16, 11, 0F); // Import LeftTrack2
    leftTrackModel[1].setRotationPoint(75F, 1F, 21.1F);
    leftTrackModel[1].rotateAngleZ = -0.9599311F;

    leftTrackModel[2].addBox(-90F, 0F, 0F, 90, 2, 11, 0F); // Import LeftTrack3
    leftTrackModel[2].setRotationPoint(62F, 8F, 21F);

    leftTrackModel[3].addBox(0F, 0F, 0F, 2, 16, 11, 0F); // Import LeftTrack4
    leftTrackModel[3].setRotationPoint(-49F, -17F, 21F);

    leftTrackModel[4].addBox(0F, 0F, 0F, 2, 24, 11, 0F); // Import LeftTrack5
    leftTrackModel[4].setRotationPoint(-49F, -1F, 21.1F);
    leftTrackModel[4].rotateAngleZ = 1.099557F;

    leftTrackModel[5].addShapeBox(0F, 0F, 0F, 12, 4, 7, 0F,-4F, 0F, 0F,-4F, 0F, 0F,-4F, 0F, 0F,-4F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F); // Import LeftTrack6
    leftTrackModel[5].setRotationPoint(-45F, -11F, 23F);

    leftTrackModel[6].addBox(0F, 0F, 0F, 12, 4, 7, 0F); // Import LeftTrack7
    leftTrackModel[6].setRotationPoint(-45F, -7F, 23F);

    leftTrackModel[7].addShapeBox(0F, 0F, 0F, 12, 4, 7, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,-4F, 0F, 0F,-4F, 0F, 0F,-4F, 0F, 0F,-4F, 0F, 0F); // Import LeftTrack8
    leftTrackModel[7].setRotationPoint(-45F, -3F, 23F);

    leftTrackModel[8].addShapeBox(0F, 0F, 0F, 12, 4, 7, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,-4F, 0F, 0F,-4F, 0F, 0F,-4F, 0F, 0F,-4F, 0F, 0F); // Import LeftTrack9
    leftTrackModel[8].setRotationPoint(-30F, 4F, 23F);

    leftTrackModel[9].addShapeBox(0F, 0F, 0F, 12, 4, 7, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,-4F, 0F, 0F,-4F, 0F, 0F,-4F, 0F, 0F,-4F, 0F, 0F); // Import LeftTrack11
    leftTrackModel[9].setRotationPoint(-14F, 4F, 23F);

    leftTrackModel[10].addShapeBox(0F, 0F, 0F, 12, 4, 7, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,-4F, 0F, 0F,-4F, 0F, 0F,-4F, 0F, 0F,-4F, 0F, 0F); // Import LeftTrack13
    leftTrackModel[10].setRotationPoint(2F, 4F, 23F);

    leftTrackModel[11].addShapeBox(0F, 0F, 0F, 12, 4, 7, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,-4F, 0F, 0F,-4F, 0F, 0F,-4F, 0F, 0F,-4F, 0F, 0F); // Import LeftTrack14
    leftTrackModel[11].setRotationPoint(34F, 4F, 23F);

    leftTrackModel[12].addShapeBox(0F, 0F, 0F, 12, 4, 7, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,-4F, 0F, 0F,-4F, 0F, 0F,-4F, 0F, 0F,-4F, 0F, 0F); // Import LeftTrack15
    leftTrackModel[12].setRotationPoint(18F, 4F, 23F);

    leftTrackModel[13].addShapeBox(0F, 0F, 0F, 12, 4, 7, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,-4F, 0F, 0F,-4F, 0F, 0F,-4F, 0F, 0F,-4F, 0F, 0F); // Import LeftTrack16
    leftTrackModel[13].setRotationPoint(52F, 4F, 23F);

    leftTrackModel[14].addBox(0F, 0F, 0F, 12, 4, 7, 0F); // Import LeftTrack17
    leftTrackModel[14].setRotationPoint(-30F, 0F, 23F);

    leftTrackModel[15].addBox(0F, 0F, 0F, 12, 4, 7, 0F); // Import LeftTrack18
    leftTrackModel[15].setRotationPoint(-14F, 0F, 23F);

    leftTrackModel[16].addBox(0F, 0F, 0F, 12, 4, 7, 0F); // Import LeftTrack19
    leftTrackModel[16].setRotationPoint(2F, 0F, 23F);

    leftTrackModel[17].addBox(0F, 0F, 0F, 12, 4, 7, 0F); // Import LeftTrack20
    leftTrackModel[17].setRotationPoint(18F, 0F, 23F);

    leftTrackModel[18].addBox(0F, 0F, 0F, 12, 4, 7, 0F); // Import LeftTrack21
    leftTrackModel[18].setRotationPoint(34F, 0F, 23F);

    leftTrackModel[19].addBox(0F, 0F, 0F, 12, 4, 7, 0F); // Import LeftTrack22
    leftTrackModel[19].setRotationPoint(52F, 0F, 23F);

    leftTrackModel[20].addShapeBox(0F, 0F, 0F, 12, 4, 7, 0F,-4F, 0F, 0F,-4F, 0F, 0F,-4F, 0F, 0F,-4F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F); // Import LeftTrack23
    leftTrackModel[20].setRotationPoint(-30F, -4F, 23F);

    leftTrackModel[21].addShapeBox(0F, 0F, 0F, 12, 4, 7, 0F,-4F, 0F, 0F,-4F, 0F, 0F,-4F, 0F, 0F,-4F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F); // Import LeftTrack24
    leftTrackModel[21].setRotationPoint(-14F, -4F, 23F);

    leftTrackModel[22].addShapeBox(0F, 0F, 0F, 12, 4, 7, 0F,-4F, 0F, 0F,-4F, 0F, 0F,-4F, 0F, 0F,-4F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F); // Import LeftTrack25
    leftTrackModel[22].setRotationPoint(2F, -4F, 23F);

    leftTrackModel[23].addShapeBox(0F, 0F, 0F, 12, 4, 7, 0F,-4F, 0F, 0F,-4F, 0F, 0F,-4F, 0F, 0F,-4F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F); // Import LeftTrack26
    leftTrackModel[23].setRotationPoint(18F, -4F, 23F);

    leftTrackModel[24].addShapeBox(0F, 0F, 0F, 12, 4, 7, 0F,-4F, 0F, 0F,-4F, 0F, 0F,-4F, 0F, 0F,-4F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F); // Import LeftTrack27
    leftTrackModel[24].setRotationPoint(34F, -4F, 23F);

    leftTrackModel[25].addShapeBox(0F, 0F, 0F, 12, 4, 7, 0F,-4F, 0F, 0F,-4F, 0F, 0F,-4F, 0F, 0F,-4F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F); // Import LeftTrack28
    leftTrackModel[25].setRotationPoint(52F, -4F, 23F);

    leftTrackModel[26].addShapeBox(0F, 0F, 0F, 101, 21, 3, 0F,0F, 0F, 0F,0F, -5F, 0F,0F, -5F, 0F,0F, 0F, 0F,-5F, 0F, 0F,-5F, 0F, 0F,-5F, 0F, 0F,-5F, 0F, 0F); // Import LeftTrack29
    leftTrackModel[26].setRotationPoint(-35F, -17F, 25F);


    rightTrackModel = new ModelRendererTurbo[27];
    rightTrackModel[0] = new ModelRendererTurbo(this, 400, 150, textureX, textureY); // Import RightTrack1
    rightTrackModel[1] = new ModelRendererTurbo(this, 400, 200, textureX, textureY); // Import RightTrack2
    rightTrackModel[2] = new ModelRendererTurbo(this, 400, 240, textureX, textureY); // Import RightTrack3
    rightTrackModel[3] = new ModelRendererTurbo(this, 400, 260, textureX, textureY); // Import RightTrack4
    rightTrackModel[4] = new ModelRendererTurbo(this, 400, 300, textureX, textureY); // Import RightTrack5
    rightTrackModel[5] = new ModelRendererTurbo(this, 400, 340, textureX, textureY); // Import RightTrack6
    rightTrackModel[6] = new ModelRendererTurbo(this, 400, 360, textureX, textureY); // Import RightTrack7
    rightTrackModel[7] = new ModelRendererTurbo(this, 400, 380, textureX, textureY); // Import RightTrack8
    rightTrackModel[8] = new ModelRendererTurbo(this, 400, 380, textureX, textureY); // Import RightTrack9
    rightTrackModel[9] = new ModelRendererTurbo(this, 400, 380, textureX, textureY); // Import RightTrack11
    rightTrackModel[10] = new ModelRendererTurbo(this, 400, 380, textureX, textureY); // Import RightTrack13
    rightTrackModel[11] = new ModelRendererTurbo(this, 400, 380, textureX, textureY); // Import RightTrack14
    rightTrackModel[12] = new ModelRendererTurbo(this, 400, 380, textureX, textureY); // Import RightTrack15
    rightTrackModel[13] = new ModelRendererTurbo(this, 400, 380, textureX, textureY); // Import RightTrack16
    rightTrackModel[14] = new ModelRendererTurbo(this, 400, 400, textureX, textureY); // Import RightTrack17
    rightTrackModel[15] = new ModelRendererTurbo(this, 400, 400, textureX, textureY); // Import RightTrack18
    rightTrackModel[16] = new ModelRendererTurbo(this, 400, 400, textureX, textureY); // Import RightTrack19
    rightTrackModel[17] = new ModelRendererTurbo(this, 400, 400, textureX, textureY); // Import RightTrack20
    rightTrackModel[18] = new ModelRendererTurbo(this, 400, 400, textureX, textureY); // Import RightTrack21
    rightTrackModel[19] = new ModelRendererTurbo(this, 400, 400, textureX, textureY); // Import RightTrack22
    rightTrackModel[20] = new ModelRendererTurbo(this, 400, 420, textureX, textureY); // Import RightTrack23
    rightTrackModel[21] = new ModelRendererTurbo(this, 400, 420, textureX, textureY); // Import RightTrack24
    rightTrackModel[22] = new ModelRendererTurbo(this, 400, 420, textureX, textureY); // Import RightTrack25
    rightTrackModel[23] = new ModelRendererTurbo(this, 400, 420, textureX, textureY); // Import RightTrack26
    rightTrackModel[24] = new ModelRendererTurbo(this, 400, 420, textureX, textureY); // Import RightTrack27
    rightTrackModel[25] = new ModelRendererTurbo(this, 400, 420, textureX, textureY); // Import RightTrack28
    rightTrackModel[26] = new ModelRendererTurbo(this, 400, 440, textureX, textureY); // Import RightTrack29

    rightTrackModel[0].addBox(0F, 0F, 0F, 2, 10, 11, 0F); // Import RightTrack1
    rightTrackModel[0].setRotationPoint(73F, -9F, -32F);

    rightTrackModel[1].addBox(-2F, 0F, 0F, 2, 16, 11, 0F); // Import RightTrack2
View Full Code Here

    int textureX = 32;
    int textureY = 16
   
    gunModel = new ModelRendererTurbo[3];
   
    gunModel[0] = new ModelRendererTurbo(this, 0, 0, textureX, textureY);
    gunModel[0].addBox(-1F, 3F, -1F, 7, 1, 2);
   
    gunModel[1] = new ModelRendererTurbo(this, 0, 3, textureX, textureY);
    gunModel[1].addShapeBox(-1F, -1F, -1F, 2, 4, 2, 0F, /* 0 */ 0F, 0F, 0F, /* 1 */ 0F, 0F, 0F, /* 2 */ 0F, 0F, 0F, /* 3 */ 0F, 0F, 0F, /* 4 */ -1F, 0F, 0F, /* 5 */ 1F, 0F, 0F, /* 6 */ 1F, 0F, 0F, /* 7 */ -1F, 0F, 0F)
   
    gunModel[2] = new ModelRendererTurbo(this, 8, 3, textureX, textureY);
    gunModel[2].addBox(0.5F, 3.5F, -0.5F, 6, 1, 1);
   
    slideModel = new ModelRendererTurbo[2];
   
    slideModel[0] = new ModelRendererTurbo(this, 0, 9, textureX, textureY);
    slideModel[0].addShapeBox(-1F, 4F, -1F, 7, 1, 2, 0F, /* 0 */ 0F, 0F, 0F, /* 1 */ 0F, 0F, 0F, /* 2 */ 0F, 0F, 0F, /* 3 */ 0F, 0F, 0F, /* 4 */ -1F, 0F, 0F, /* 5 */ 0F, 0F, 0F, /* 6 */ 0F, 0F, 0F, /* 7 */ -1F, 0F, 0F)
   
    slideModel[1] = new ModelRendererTurbo(this, 8, 5, textureX, textureY);
    slideModel[1].addBox(0F, 4.5F, -0.5F, 1, 1, 1);

    ammoModel = new ModelRendererTurbo[1];
   
    ammoModel[0] = new ModelRendererTurbo(this, 16, 5, textureX, textureY);
    ammoModel[0].addShapeBox(0F, -0.9F, -0.5F, 2, 4, 1, 0F, /* 0 */ 0.9F, 0F, 0F, /* 1 */ -1.1F, 0F, 0F, /* 2 */ -1.1F, 0F, 0F, /* 3 */ 0.9F, 0F, 0F, /* 4 */ -0.1F, 0F, 0F, /* 5 */ -0.1F, 0F, 0F, /* 6 */ -0.1F, 0F, 0F, /* 7 */ -0.1F, 0F, 0F)
   
    translateAll(0F, 0F, 0F);
   
    barrelAttachPoint = new Vector3f(6.5F / 16F, 4F / 16F, 0F);
View Full Code Here

    int textureX = 256;
    int textureY = 256;
   
    bodyModel = new ModelRendererTurbo[4];
   
    bodyModel[0] = new ModelRendererTurbo(this, 0, 0, textureX, textureY)//Centrepiece
    bodyModel[0].addBox(-24F, -4F, -8F, 48, 9, 16);
   
    bodyModel[1] = new ModelRendererTurbo(this, 0, 25, textureX, textureY)//Track cover piece
    bodyModel[1].addBox(-24F, 5F, -16F, 48, 1, 32);
   
    bodyModel[2] = new ModelRendererTurbo(this, 0, 58, textureX, textureY)//Front mudflap
    bodyModel[2].addBox(0F, -1F, -16F, 6, 1, 32);
    bodyModel[2].setRotationPoint(24F, 6F, 0F);
    bodyModel[2].rotateAngleZ = -(float)Math.PI / 4F;
   
    bodyModel[3] = new ModelRendererTurbo(this, 0, 58, textureX, textureY)//Rear mudflap
    bodyModel[3].addBox(0F, -1F, -16F, 6, 1, 32);
    bodyModel[3].setRotationPoint(-24F, 6F, 0F);
    bodyModel[3].rotateAngleZ = -(float)Math.PI / 4F;
    bodyModel[3].rotateAngleY = (float)Math.PI;

    leftTrackModel = new ModelRendererTurbo[8];
   
    leftTrackModel[0] = new ModelRendererTurbo(this, 0, 94, textureX, textureY)//Left track bottom
    leftTrackModel[0].addBox(-23F, -8F, -16F, 46, 1, 8);
   
    leftTrackModel[1] = new ModelRendererTurbo(this, 0, 104, textureX, textureY)//Left track top
    leftTrackModel[1].addBox(-23F, 3F, -16F, 46, 1, 8);
   
    leftTrackModel[2] = new ModelRendererTurbo(this, 0, 114, textureX, textureY)//Left track back
    leftTrackModel[2].addBox(-23F, -7F, -16F, 1, 10, 8);
   
    leftTrackModel[3] = new ModelRendererTurbo(this, 20, 114, textureX, textureY)//Left track front
    leftTrackModel[3].addBox(22F, -7F, -16F, 1, 10, 8);
   
    leftTrackModel[4] = new ModelRendererTurbo(this, 40, 114, textureX, textureY)//Left track wheel 1
    leftTrackModel[4].addBox(-21.5F, -6.5F, -16F, 9, 9, 4);
   
    leftTrackModel[5] = new ModelRendererTurbo(this, 40, 114, textureX, textureY)//Left track wheel 2
    leftTrackModel[5].addBox(-10.5F, -6.5F, -16F, 9, 9, 4);

    leftTrackModel[6] = new ModelRendererTurbo(this, 40, 114, textureX, textureY)//Left track wheel 3
    leftTrackModel[6].addBox(1.5F, -6.5F, -16F, 9, 9, 4);

    leftTrackModel[7] = new ModelRendererTurbo(this, 40, 114, textureX, textureY)//Left track wheel 4
    leftTrackModel[7].addBox(12.5F, -6.5F, -16F, 9, 9, 4);

    rightTrackModel = new ModelRendererTurbo[8];
   
    rightTrackModel[0] = new ModelRendererTurbo(this, 0, 94, textureX, textureY)//Right track bottom
    rightTrackModel[0].addBox(-23F, -8F, -16F, 46, 1, 8);
    rightTrackModel[0].rotateAngleY = (float)Math.PI;
   
    rightTrackModel[1] = new ModelRendererTurbo(this, 0, 104, textureX, textureY)//Right track top
    rightTrackModel[1].addBox(-23F, 3F, -16F, 46, 1, 8);
    rightTrackModel[1].rotateAngleY = (float)Math.PI;
   
    rightTrackModel[2] = new ModelRendererTurbo(this, 0, 114, textureX, textureY)//Right track back
    rightTrackModel[2].addBox(-23F, -7F, -16F, 1, 10, 8);
    rightTrackModel[2].rotateAngleY = (float)Math.PI;
   
    rightTrackModel[3] = new ModelRendererTurbo(this, 20, 114, textureX, textureY)//Right track front
    rightTrackModel[3].addBox(22F, -7F, -16F, 1, 10, 8);
    rightTrackModel[3].rotateAngleY = (float)Math.PI;
   
    rightTrackModel[4] = new ModelRendererTurbo(this, 40, 114, textureX, textureY)//Right track wheel 1
    rightTrackModel[4].addBox(-21.5F, -6.5F, -16F, 9, 9, 4);
    rightTrackModel[4].rotateAngleY = (float)Math.PI;
   
    rightTrackModel[5] = new ModelRendererTurbo(this, 40, 114, textureX, textureY)//Right track wheel 2
    rightTrackModel[5].addBox(-10.5F, -6.5F, -16F, 9, 9, 4);
    rightTrackModel[5].rotateAngleY = (float)Math.PI;
   
    rightTrackModel[6] = new ModelRendererTurbo(this, 40, 114, textureX, textureY)//Right track wheel 3
    rightTrackModel[6].addBox(1.5F, -6.5F, -16F, 9, 9, 4);
    rightTrackModel[6].rotateAngleY = (float)Math.PI;
   
    rightTrackModel[7] = new ModelRendererTurbo(this, 40, 114, textureX, textureY)//Right track wheel 4
    rightTrackModel[7].addBox(12.5F, -6.5F, -16F, 9, 9, 4);
    rightTrackModel[7].rotateAngleY = (float)Math.PI;
   
    turretModel = new ModelRendererTurbo[7];
   
    turretModel[0] = new ModelRendererTurbo(this, 0, 134, textureX, textureY)//Turret base
    turretModel[0].addBox(-12F, 6F, -12F, 24, 2, 24);
   
    turretModel[1] = new ModelRendererTurbo(this, 0, 162, textureX, textureY)//Seat back
    turretModel[1].addBox(4F, 8F, -6F, 1, 16, 12);
   
    turretModel[2] = new ModelRendererTurbo(this, 28, 162, textureX, textureY)//Seat footrest
    turretModel[2].addBox(12F, 6F, -6F, 4, 2, 12);
   
    turretModel[3] = new ModelRendererTurbo(this, 0, 192, textureX, textureY)//Supports for missile stand
    turretModel[3].addShapeBox(-12F, 8F, -6F, 16, 16, 2, 0F, /* 0 */ 0F, 0F, 0F, /* 1 */ 0F, 0F, 0F, /* 2 */ 0F, 0F, 0F, /* 3 */ 0F, 0F, 0F, /* 4 */ -8F, 0F, 0F, /* 5 */ 0F, 0F, 0F, /* 6 */ 0F, 0F, 0F, /* 7 */ -8F, 0F, 0F)
   
    turretModel[4] = new ModelRendererTurbo(this, 0, 212, textureX, textureY)//Supports for missile stand
    turretModel[4].addBox(-4F, 24F, -6F, 8, 8, 2);
   
    turretModel[5] = new ModelRendererTurbo(this, 38, 192, textureX, textureY)//Supports for missile stand
    turretModel[5].addShapeBox(-12F, 8F, 4F, 16, 16, 2, 0F, /* 0 */ 0F, 0F, 0F, /* 1 */ 0F, 0F, 0F, /* 2 */ 0F, 0F, 0F, /* 3 */ 0F, 0F, 0F, /* 4 */ -8F, 0F, 0F, /* 5 */ 0F, 0F, 0F, /* 6 */ 0F, 0F, 0F, /* 7 */ -8F, 0F, 0F)
   
    turretModel[6] = new ModelRendererTurbo(this, 38, 212, textureX, textureY)//Supports for missile stand
    turretModel[6].addBox(-4F, 24F, 4F, 8, 8, 2);
   
    barrelModel = new ModelRendererTurbo[4];
   
    barrelModel[0] = new ModelRendererTurbo(this, 0, 224, textureX, textureY)//Missile centre piece
    barrelModel[0].addBox(-12F, -4F, -4F, 24, 8, 8);
    barrelModel[0].setRotationPoint(0F, 32F, 0F);
   
    barrelModel[1] = new ModelRendererTurbo(this, 0, 242, textureX, textureY)//Missile attachment rail
    barrelModel[1].addBox(-6F, 4F, -1F, 12, 8, 2);
    barrelModel[1].setRotationPoint(0F, 32F, 0F);
   
    barrelModel[2] = new ModelRendererTurbo(this, 30, 242, textureX, textureY)//Missile attachment rail
    barrelModel[2].addBox(-6F, -1F, -12F, 12, 2, 8);
    barrelModel[2].setRotationPoint(0F, 32F, 0F);
   
    barrelModel[3] = new ModelRendererTurbo(this, 30, 242, textureX, textureY)//Missile attachment rail
    barrelModel[3].addBox(-6F, -1F, 4F, 12, 2, 8);
    barrelModel[3].setRotationPoint(0F, 32F, 0F);
   
    ammoModel = new ModelRendererTurbo[3][4];
   
    for(int i = 0; i < 3; i++)
    {
      float yOffset = i == 1 ? 12F : 0F;
     
      ammoModel[i] = new ModelRendererTurbo[4];
     
      ammoModel[i][0] = new ModelRendererTurbo(this, 72, 212, textureX, textureY);
      ammoModel[i][0].addBox(-20F, -3F + yOffset, -3F + i * 12F - 12F, 40, 6, 6);
     
      ammoModel[i][1] = new ModelRendererTurbo(this, 72, 226, textureX, textureY);
      ammoModel[i][1].addTrapezoid(20F, -3F + yOffset, -3F + i * 12F - 12F, 8, 6, 6, 0F, -3F, ModelRendererTurbo.MR_LEFT);
     
      ammoModel[i][2] = new ModelRendererTurbo(this, 102, 226, textureX, textureY);
      ammoModel[i][2].addShapeBox(-20F, -7F + yOffset, 0F + i * 12F - 12F, 20, 14, 0, 0F, /* 0 */ 0F, 0F, 0F, /* 1 */ 0F, -4F, 0F, /* 2 */ 0F, -4F, 0F, /* 3 */ 0F, 0F, 0F, /* 4 */ 0F, 0F, 0F, /* 5 */ 0F, -4F, 0F, /* 6 */ 0F, -4F, 0F, /* 7 */ 0F, 0F, 0F)
     
      ammoModel[i][3] = new ModelRendererTurbo(this, 88, 242, textureX, textureY);
      ammoModel[i][3].addShapeBox(-20F, 0F + yOffset, -7F + i * 12F - 12F, 20, 0, 14, 0F, /* 0 */ 0F, 0F, 0F, /* 1 */ 0F, 0F, -4F, /* 2 */ 0F, 0F, -4F, /* 3 */ 0F, 0F, 0F, /* 4 */ 0F, 0F, 0F, /* 5 */ 0F, 0F, -4F, /* 6 */ 0F, 0F, -4F, /* 7 */ 0F, 0F, 0F)

      for(int j = 0; j < 4; j++)
      {
        ammoModel[i][j].setRotationPoint(0F, 32F, 0F);
View Full Code Here

TOP

Related Classes of com.flansmod.client.tmt.ModelRendererTurbo

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.