Package com.flansmod.client.tmt

Examples of com.flansmod.client.tmt.ModelRendererTurbo


{
  public ModelRendererTurbo rockModel;

  public ModelRock()
  {
    rockModel = new ModelRendererTurbo(this, 0, 0, 8, 8);
    rockModel.addBox(-1F, -1F, -1F, 2, 2, 2);
  }
View Full Code Here


    int textureX = 64;
    int textureY = 32;
   
    bulletModel = new ModelRendererTurbo[3];
   
    bulletModel[0] = new ModelRendererTurbo(this, 14, 12, textureX, textureY);
    bulletModel[0].addBox(-1.5F, 0F, -1.5F, 3, 1, 3);
   
    bulletModel[1] = new ModelRendererTurbo(this, 26, 9, textureX, textureY);
    bulletModel[1].addTrapezoid(-2F, 1F, -2F, 4, 3, 4, 0F, -1F, ModelRendererTurbo.MR_TOP);
   
    bulletModel[2] = new ModelRendererTurbo(this, 38, 6, textureX, textureY);
    bulletModel[2].addTrapezoid(-2F, 4F, -2F, 4, 3, 4, 0F, -1F, ModelRendererTurbo.MR_BOTTOM);
  }
View Full Code Here

    int textureX = 32;
    int textureY = 64;
   
    bodyModel = new ModelRendererTurbo[9];
   
    bodyModel[0] = new ModelRendererTurbo(this, 0, 0, textureX, textureY);
    bodyModel[0].addBox(-4F, 0F, -3F, 8, 12, 1);
   
    bodyModel[1] = new ModelRendererTurbo(this, 0, 13, textureX, textureY);
    bodyModel[1].addBox(-6F, 2F, -3F, 2, 8, 1);

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

    //Handle
    bodyModel[4] = new ModelRendererTurbo(this, 0, 31, textureX, textureY);
    bodyModel[4].addBox(-2F, 5.5F, -6F, 4, 1, 1);
   
    bodyModel[5] = new ModelRendererTurbo(this, 10, 31, textureX, textureY);
    bodyModel[5].addBox(-2F, 5.5F, -5F, 1, 1, 1);
   
    bodyModel[6] = new ModelRendererTurbo(this, 14, 31, textureX, textureY);
    bodyModel[6].addBox(1F, 5.5F, -5F, 1, 1, 1);
   
    //Straps
    bodyModel[7] = new ModelRendererTurbo(this, 0, 33, textureX, textureY);
    bodyModel[7].addBox(-4F, -0.5F, -2.5F, 1, 13, 5);

    bodyModel[8] = new ModelRendererTurbo(this, 0, 33, textureX, textureY);
    bodyModel[8].addBox(3F, -0.5F, -2.5F, 1, 13, 5);
  }
View Full Code Here

  int textureY = 32;

  public ModelSPAS()
  {
    gunModel = new ModelRendererTurbo[11];
    gunModel[0] = new ModelRendererTurbo(this, 0, 7, textureX, textureY);
    gunModel[1] = new ModelRendererTurbo(this, 8, 7, textureX, textureY);
    gunModel[2] = new ModelRendererTurbo(this, 0, 12, textureX, textureY);
    gunModel[3] = new ModelRendererTurbo(this, 8, 11, textureX, textureY);
    gunModel[4] = new ModelRendererTurbo(this, 8, 16, textureX, textureY);
    gunModel[5] = new ModelRendererTurbo(this, 0, 19, textureX, textureY);
    gunModel[6] = new ModelRendererTurbo(this, 12, 0, textureX, textureY);
    gunModel[7] = new ModelRendererTurbo(this, 15, 2, textureX, textureY);
    gunModel[8] = new ModelRendererTurbo(this, 16, 19, textureX, textureY);
    gunModel[9] = new ModelRendererTurbo(this, 1, 22, textureX, textureY);
    gunModel[10] = new ModelRendererTurbo(this, 12, 0, textureX, textureY);

    gunModel[0].addShapeBox(0F, -2.3F, -1F, 2, 3, 2, 0F,0F, 0F, -0.2F,0F, 0F, -0.2F,0F, 0F, -0.2F,0F, 0F, -0.2F,1F, -0.5F, -0.2F,-1F, 0F, -0.2F,-1F, 0F, -0.2F,1F, -0.5F, -0.2F); // Box 0
    gunModel[0].setRotationPoint(0F, 0F, 0F);

    gunModel[1].addShapeBox(-0.5F, -4.3F, -1F, 5, 2, 2, 0F,-0.5F, 0F, -0.1F,-0.5F, 0F, -0.1F,-0.5F, 0F, -0.1F,-0.5F, 0F, -0.1F,0F, 0F, -0.1F,-0.5F, 0F, -0.1F,-0.5F, 0F, -0.1F,0F, 0F, -0.1F); // Box 1
    gunModel[1].setRotationPoint(0F, 0F, 0F);

    gunModel[2].addBox(4F, -5F, -1F, 2, 3, 2, 0F); // Box 2
    gunModel[2].setRotationPoint(0F, 0F, 0F);

    gunModel[3].addShapeBox(6F, -5F, -1F, 6, 3, 2, 0F,0F, -0.5F, 0F,0F, -0.5F, 0F,0F, -0.5F, 0F,0F, -0.5F, 0F,0F, 0F, 0F,0F, -0.15F, 0F,0F, -0.15F, 0F,0F, 0F, 0F); // Box 3
    gunModel[3].setRotationPoint(0F, 0F, 0F);

    gunModel[4].addBox(6F, -3.2F, -0.5F, 8, 1, 1, 0F); // Box 5
    gunModel[4].setRotationPoint(0F, 0F, 0F);

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

    gunModel[6].addBox(12F, -5.4F, -0.5F, 1, 1, 1, 0F); // Box 8
    gunModel[6].setRotationPoint(0F, 0F, 0F);

    gunModel[7].addShapeBox(-2F, -3.1F, -1.5F, 3, 1, 3, 0F,0F, 0F, -0.5F,0F, 0F, -0.5F,0F, 0F, -0.5F,0F, 0F, -0.5F,0F, 0F, -0.5F,0F, 0F, -0.5F,0F, 0F, -0.5F,0F, 0F, -0.5F); // Box 9
    gunModel[7].setRotationPoint(0F, 0F, 0F);
    gunModel[7].rotateAngleZ = 0.29670597F;

    gunModel[8].addShapeBox(-4F, -3.1F, -1.5F, 2, 1, 3, 0F,-0.5F, 0.4F, -0.5F,0F, 0F, -0.5F,0F, 0F, -0.5F,-0.5F, 0.4F, -0.5F,-0.2F, -0.5F, -0.5F,0F, 0F, -0.5F,0F, 0F, -0.5F,-0.2F, -0.5F, -0.5F); // Box 10
    gunModel[8].setRotationPoint(0F, 0F, 0F);
    gunModel[8].rotateAngleZ = 0.29670597F;

    gunModel[9].addBox(-5.3F, -2.5F, -1F, 1, 3, 2, 0F); // Box 11
    gunModel[9].setRotationPoint(0F, 0F, 0F);
    gunModel[9].rotateAngleZ = -0.05235988F;

    gunModel[10].addBox(6F, -4.4F, -0.5F, 1, 1, 1, 0F); // Box 13
    gunModel[10].setRotationPoint(0F, 0F, 0F);


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

    ammoModel[0].addBox(2F, -3.5F, -0.5F, 2, 1, 1, 0F); // Box 7
    ammoModel[0].setRotationPoint(0F, 0F, 0F);


    pumpModel = new ModelRendererTurbo[1];
    pumpModel[0] = new ModelRendererTurbo(this, 23, 6, textureX, textureY);

    pumpModel[0].addShapeBox(6.75F, -4.25F, -1.5F, 4, 3, 3, 0F,0F, -0.5F, -0.25F,0F, -0.5F, -0.25F,0F, -0.5F, -0.25F,0F, -0.5F, -0.25F,0F, -0.5F, -0.25F,0F, -0.5F, -0.25F,0F, -0.5F, -0.25F,0F, -0.5F, -0.25F); // Box 4
    pumpModel[0].setRotationPoint(0F, 0F, 0F);

View Full Code Here

    int textureX = 64;
    int textureY = 16;
   
    gunModel = new ModelRendererTurbo[3];
   
    gunModel[0] = new ModelRendererTurbo(this, 0, 0, textureX, textureY);
    gunModel[0].addShapeBox(-1F, -2F, -0.5F, 2, 4, 1, 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[1] = new ModelRendererTurbo(this, 6, 0, textureX, textureY);
    gunModel[1].addShapeBox(1F, 0F, -0.5F, 5, 2, 1, 0F, /* 0 */ -0.5F, 0F, 0F, /* 1 */ 0F, 0F, 0F, /* 2 */ 0F, 0F, 0F, /* 3 */ -0.5F, 0F, 0F, /* 4 */ -1F, 0F, 0F, /* 5 */ 0F, 0F, 0F, /* 6 */ 0F, 0F, 0F, /* 7 */ -1F, 0F, 0F)

    gunModel[2] = new ModelRendererTurbo(this, 18, 0, textureX, textureY);
    gunModel[2].addShapeBox(0F, 2F, -0.5F, 2, 2, 1, 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)
   
    breakActionModel = new ModelRendererTurbo[1];
   
    breakActionModel[0] = new ModelRendererTurbo(this, 0, 6, textureX, textureY);
    breakActionModel[0].addBox(2F, 2F, -1F, 6, 2, 2);

    barrelBreakPoint = new Vector3f(6F / 16F, 2F / 16F, 0F);
   
    ammoModel = new ModelRendererTurbo[1];
   
    ammoModel[0] = new ModelRendererTurbo(this, 0, 14, textureX, textureY);
    ammoModel[0].addBox(2.5F, 2.5F, -0.5F, 5, 1, 1);
   
    barrelAttachPoint = new Vector3f(7.5F / 16F, 4F / 16F, 0F);
   
    scopeAttachPoint = new Vector3f(4F / 16F, 5F / 16F, 0F);
View Full Code Here

    {
    int textureX = 64;
    int textureY = 64;
   
        baseModel = new ModelRendererTurbo[5];
        baseModel[0] = new ModelRendererTurbo(this, 0, 0, textureX, textureY);
        baseModel[0].addBox(-4F, 16F , -4F, 8, 2, 8, 0.0F)//Base piece
       
        baseModel[1] = new ModelRendererTurbo(this, 32, 0, textureX, textureY);
    baseModel[1].addShapeBox(-4F, 0F, -4F, 2, 16, 2, 0F, /* 0 */ 4F, 0F, 4F, /* 1 */ -4F, 0F, 4F, /* 2 */ -4F, 0F, -4F, /* 3 */ 4F, 0F, -4F, /* 4 */ 0F, 0F, 0F, /* 5 */ 0F, 0F, 0F, /* 6 */ 0F, 0F, 0F, /* 7 */ 0F, 0F, 0F)
   
        baseModel[2] = new ModelRendererTurbo(this, 40, 0, textureX, textureY);
    baseModel[2].addShapeBox(2F, 0F, -4F, 2, 16, 2, 0F, /* 0 */ -4F, 0F, 4F, /* 1 */ 4F, 0F, 4F, /* 2 */ 4F, 0F, -4F, /* 3 */ -4F, 0F, -4F, /* 4 */ 0F, 0F, 0F, /* 5 */ 0F, 0F, 0F, /* 6 */ 0F, 0F, 0F, /* 7 */ 0F, 0F, 0F)
        baseModel[3] = new ModelRendererTurbo(this, 48, 0, textureX, textureY);
    baseModel[3].addShapeBox(2F, 0F, 2F, 2, 16, 2, 0F, /* 0 */ -4F, 0F, -4F, /* 1 */ 4F, 0F, -4F, /* 2 */ 4F, 0F, 4F, /* 3 */ -4F, 0F, 4F, /* 4 */ 0F, 0F, 0F, /* 5 */ 0F, 0F, 0F, /* 6 */ 0F, 0F, 0F, /* 7 */ 0F, 0F, 0F)

        baseModel[4] = new ModelRendererTurbo(this, 56, 0, textureX, textureY);
    baseModel[4].addShapeBox(-4F, 0F, 2F, 2, 16, 2, 0F, /* 0 */ 4F, 0F, -4F, /* 1 */ -4F, 0F, -4F, /* 2 */ -4F, 0F, 4F, /* 3 */ 4F, 0F, 4F, /* 4 */ 0F, 0F, 0F, /* 5 */ 0F, 0F, 0F, /* 6 */ 0F, 0F, 0F, /* 7 */ 0F, 0F, 0F)

    //"Seat" model
    seatModel = new ModelRendererTurbo[5];
   
    seatModel[0] = new ModelRendererTurbo(this, 0, 10, textureX, textureY)//Base 
    seatModel[0].addBox(-4F, 18F , -4F, 8, 1, 8, 0.0F)
   
    seatModel[1] = new ModelRendererTurbo(this, 0, 19, textureX, textureY)//Side bit 
    seatModel[1].addBox(-2F, 19F , -4F, 4, 7, 1, 0.0F)
   
    seatModel[2] = new ModelRendererTurbo(this, 16, 19, textureX, textureY)//Side bit 
    seatModel[2].addBox(-2F, 19F , 3F, 4, 7, 1, 0.0F)
   
    seatModel[3] = new ModelRendererTurbo(this, 0, 27, textureX, textureY)//Ammo box 
    seatModel[3].addBox(-3F, 18F , 4F, 6, 6, 2, 0.0F)
   
    seatModel[4] = new ModelRendererTurbo(this, 17, 27, textureX, textureY)//Camera
    seatModel[4].addBox(-3F, 19F , -9F, 6, 5, 5, 0.0F)
     
    //Gun model
    gunModel = new ModelRendererTurbo[4];
   
    gunModel[0] = new ModelRendererTurbo(this, 0, 37, textureX, textureY);
    gunModel[0].addBox(-4F, -3F, -3F, 8, 6, 6, 0.0F);    //Gun Block
          
    gunModel[1] = new ModelRendererTurbo(this, 0, 49, textureX, textureY);
    gunModel[1].addBox(4F, -1F, -2F, 2, 4, 4, 0.0F);    //Gun Block

    gunModel[2] = new ModelRendererTurbo(this, 12, 49, textureX, textureY);
    gunModel[2].addBox(8F, -1F, -2F, 2, 4, 4, 0.0F);    //Barrel Connecty piece
   
    gunModel[3] = new ModelRendererTurbo(this, 24, 49, textureX, textureY);
    gunModel[3].addBox(14F, -1F, -2F, 4, 4, 4, 0.0F);    //Barrel Connecty piece
   
    barrelModel = new ModelRendererTurbo[4][1];
   
    barrelModel[0][0] = new ModelRendererTurbo(this, 34, 18, textureX, textureY);
    barrelModel[0][0].addBox(6F, 1.5F, 0.5F, 14, 1, 1, 0.0F);
   
    barrelModel[1][0] = new ModelRendererTurbo(this, 34, 20, textureX, textureY);
    barrelModel[1][0].addBox(6F, 1.5F, -1.5F, 14, 1, 1, 0.0F);
   
    barrelModel[2][0] = new ModelRendererTurbo(this, 34, 22, textureX, textureY);
    barrelModel[2][0].addBox(6F, -0.5F, -1.5F, 14, 1, 1, 0.0F);
   
    barrelModel[3][0] = new ModelRendererTurbo(this, 34, 24, textureX, textureY);
    barrelModel[3][0].addBox(6F, -0.5F, 0.5F, 14, 1, 1, 0.0F);

   
    //Even though I can't be bothered to add ammo models, this definition is still needed
    ammoModel = new ModelRendererTurbo[0][0];
View Full Code Here

    int textureX = 128;
    int textureY = 64;
   
    headModel = new ModelRendererTurbo[10];
   
    headModel[0] = new ModelRendererTurbo(this, 28, 20, textureX, textureY);
    headModel[0].addBox(-4.5F, -9F, -4.5F, 9, 9, 9);
   
    headModel[1] = new ModelRendererTurbo(this, 20, 38, textureX, textureY);
    headModel[1].addBox(-3F, -10F, -3F, 6, 1, 6);
   
    headModel[2] = new ModelRendererTurbo(this, 38, 38, textureX, textureY);
    headModel[2].addBox(-2F, -11F, -2F, 4, 1, 4);
   
    //Side panels
    headModel[3] = new ModelRendererTurbo(this, 20, 45, textureX, textureY);
    headModel[3].addShapeBox(-5.5F, -7F, -4.5F, 1, 7, 9, 0F, /* 0 */ 1F, 0F, 0F, /* 1 */ -1F, 0F, 0F, /* 2 */ -1F, 0F, 1F, /* 3 */ 1F, 0F, 2F, /* 4 */ 0F, 0F, 0F, /* 5 */ 0F, 0F, 0F, /* 6 */ 0F, 0F, 0F, /* 7 */ 0F, 0F, 0F)
   
    headModel[4] = new ModelRendererTurbo(this, 40, 45, textureX, textureY);
    headModel[4].addShapeBox(4.5F, -7F, -4.5F, 1, 7, 9, 0F, /* 0 */ -1F, 0F, 0F, /* 1 */ 1F, 0F, 0F, /* 2 */ 1F, 0F, 2F, /* 3 */ -1F, 0F, 1F, /* 4 */ 0F, 0F, 0F, /* 5 */ 0F, 0F, 0F, /* 6 */ 0F, 0F, 1F, /* 7 */ 0F, 0F, 0F)
   
    headModel[5] = new ModelRendererTurbo(this, 64, 0, textureX, textureY);
    headModel[5].addShapeBox(-4.5F, -7F, 4.5F, 9, 7, 1, 0F, /* 0 */ 1F, 0F, -1F, /* 1 */ 1F, 0F, -1F, /* 2 */ 2F, 0F, 1F, /* 3 */ 2F, 0F, 1F, /* 4 */ 0F, 0F, 0F, /* 5 */ 0F, 0F, 0F, /* 6 */ 1F, 0F, 0F, /* 7 */ 1F, 0F, 0F)

    //Faceplate
    headModel[6] = new ModelRendererTurbo(this, 64, 8, textureX, textureY);
    headModel[6].addShapeBox(-4F, -7F, -5.5F, 8, 7, 1, 0F, /* 0 */ 0F, 0F, 0F, /* 1 */ 0F, 0F, 0F, /* 2 */ 1F, 0F, 0F, /* 3 */ 1F, 0F, 0F, /* 4 */ 0F, 0F, 0F, /* 5 */ 0F, 0F, 0F, /* 6 */ 1F, 0F, 0F, /* 7 */ 1F, 0F, 0F)

    headModel[7] = new ModelRendererTurbo(this, 65, 17, textureX, textureY);
    headModel[7].addBox(-3F, 0F, -5.5F, 6, 1, 1);
   
    headModel[8] = new ModelRendererTurbo(this, 66, 19, textureX, textureY);
    headModel[8].addBox(-2F, 1F, -5.5F, 4, 1, 1);
   
    headModel[9] = new ModelRendererTurbo(this, 65, 17, textureX, textureY);
    headModel[9].addBox(-3F, -8F, -5.5F, 6, 1, 1);

  }
View Full Code Here

    int textureX = 64;
    int textureY = 16;
   
    gunModel = new ModelRendererTurbo[6];
   
    gunModel[0] = new ModelRendererTurbo(this, 0, 0, textureX, textureY);
    gunModel[0].addShapeBox(-5F, 2F, -1F, 2, 2, 2, 0F, /* 0 */ 0F, 0F, 0F, /* 1 */ 0F, 0F, 0F, /* 2 */ 0F, 0F, 0F, /* 3 */ 0F, 0F, 0F, /* 4 */ 0F, 0F, 0F, /* 5 */ 0.8F, 0F, 0F, /* 6 */ 0.8F, 0F, 0F, /* 7 */ 0F, 0F, 0F)
   
    gunModel[1] = new ModelRendererTurbo(this, 8, 0, textureX, textureY);
    gunModel[1].addShapeBox(-3F, 2F, -1F, 4, 3, 2, 0F, /* 0 */ 0F, 0F, 0F, /* 1 */ 0F, 0F, 0F, /* 2 */ 0F, 0F, 0F, /* 3 */ 0F, 0F, 0F, /* 4 */ -1F, -0.5F, 0F, /* 5 */ 0F, 0F, 0F, /* 6 */ 0F, 0F, 0F, /* 7 */ -1F, -0.5F, 0F)

    gunModel[2] = new ModelRendererTurbo(this, 0, 5, textureX, textureY);
    gunModel[2].addBox(1F, 2F, -1F, 2, 1, 2);
   
    gunModel[3] = new ModelRendererTurbo(this, 10, 5, textureX, textureY);
    gunModel[3].addBox(1F, 3F, -1F, 1, 2, 2)
   
    gunModel[4] = new ModelRendererTurbo(this, 30, 0, textureX, textureY);
    gunModel[4].addBox(-1.5F, 4F, -0.5F, 1, 1, 1)
   
    gunModel[5] = new ModelRendererTurbo(this, 20, 2, textureX, textureY);
    gunModel[5].addShapeBox(-9F, 1F, -1F, 4, 3, 2, 0F, /* 0 */ 0F, 1F, 0F, /* 1 */ 0F, 0F, 0F, /* 2 */ 0F, 0F, 0F, /* 3 */ 0F, 1F, 0F, /* 4 */ 0F, 0F, 0F, /* 5 */ 0F, 0F, 0F, /* 6 */ 0F, 0F, 0F, /* 7 */ 0F, 0F, 0F)

    breakActionModel = new ModelRendererTurbo[4];
   
    breakActionModel[0] = new ModelRendererTurbo(this, 0, 12, textureX, textureY);
    breakActionModel[0].addBox(3F, 2F, -1F, 8, 2, 2);
   
    breakActionModel[1] = new ModelRendererTurbo(this, 0, 8, textureX, textureY);
    breakActionModel[1].addBox(2F, 4F, -0.5F, 15, 1, 1);

    breakActionModel[2] = new ModelRendererTurbo(this, 0, 10, textureX, textureY);
    breakActionModel[2].addBox(2F, 2.9F, -0.5F, 15, 1, 1);
   
    breakActionModel[3] = new ModelRendererTurbo(this, 20, 13, textureX, textureY);
    breakActionModel[3].addBox(2.25F, 3.5F, -0.25F, 14.5F, 2, 0.5F);
   
    breakAngle = 60F;

    barrelBreakPoint = new Vector3f(3F / 16F, 2F / 16F, 0F);
   
    ammoModel = new ModelRendererTurbo[2];
   
    ammoModel[0] = new ModelRendererTurbo(this, 20, 0, textureX, textureY);
    ammoModel[0].addBox(1.9F, 3F, -0.4F, 3, 0.8F, 0.8F);
   
    ammoModel[1] = new ModelRendererTurbo(this, 20, 0, textureX, textureY);
    ammoModel[1].addBox(1.9F, 4.1F, -0.4F, 3, 0.8F, 0.8F);
   
    barrelAttachPoint = new Vector3f(7.5F / 16F, 4F / 16F, 0F);
   
    scopeAttachPoint = new Vector3f(3F / 16F, 5F / 16F, 0F);
View Full Code Here

    int textureX = 64;
    int textureY = 16;
   
    gunModel = new ModelRendererTurbo[5];
   
    gunModel[0] = new ModelRendererTurbo(this, 0, 0, textureX, textureY);
    gunModel[0].addBox(2F, 3F, -1F, 4, 2, 2);
   
    gunModel[1] = new ModelRendererTurbo(this, 12, 0, textureX, textureY);
    gunModel[1].addBox(3F, 4.5F, -0.5F, 15, 1, 1);
   
    gunModel[2] = new ModelRendererTurbo(this, 0, 4, textureX, textureY);
    gunModel[2].addShapeBox(-2F, 3F, -1F, 4, 2, 2, 0F, /* 0 */ 0F, 0F, 0F, /* 1 */ 0F, 0F, 0F, /* 2 */ 0F, 0F, 0F, /* 3 */ 0F, 0F, 0F, /* 4 */ 0F, -1F, 0F, /* 5 */ 0F, 0F, 0F, /* 6 */ 0F, 0F, 0F, /* 7 */ 0F, -1F, 0F)
   
    gunModel[3] = new ModelRendererTurbo(this, 0, 8, textureX, textureY);
    gunModel[3].addShapeBox(-2F, 1F, -1F, 2, 2, 2, 0F, /* 0 */ 0F, -1F, 0F, /* 1 */ -0.5F, 0F, 0F, /* 2 */ -0.5F, 0F, 0F, /* 3 */ 0F, -1F, 0F, /* 4 */ 0F, 0F, 0F, /* 5 */ 0F, 0F, 0F, /* 6 */ 0F, 0F, 0F, /* 7 */ 0F, 0F, 0F)
       
    gunModel[4] = new ModelRendererTurbo(this, 0, 12, textureX, textureY);
    gunModel[4].addShapeBox(1F, 2F, -1F, 3, 1, 2, 0F, /* 0 */ -1F, 0F, 0F, /* 1 */ -1F, 0F, 0F, /* 2 */ -1F, 0F, 0F, /* 3 */ -1F, 0F, 0F, /* 4 */ 0F, 0F, 0F, /* 5 */ 0F, 0F, 0F, /* 6 */ 0F, 0F, 0F, /* 7 */ 0F, 0F, 0F)
   
    //Shotgun Handle
    pumpModel = new ModelRendererTurbo[2];
   
    pumpModel[0] = new ModelRendererTurbo(this, 12, 2, textureX, textureY);
    pumpModel[0].addBox(2F, 3.25F, -0.5F, 10, 1, 1);
   
    pumpModel[1] = new ModelRendererTurbo(this, 12, 4, textureX, textureY);
    pumpModel[1].addBox(7F, 2.75F, -1F, 4, 2, 2);
   
    //Scope
    scopeAttachPoint = new Vector3f(5F / 16F, 5F / 16F, 0F);

    //Stock
    defaultStockModel = new ModelRendererTurbo[2];
   
    defaultStockModel[0] = new ModelRendererTurbo(this, 10, 8, textureX, textureY);
    defaultStockModel[0].addBox(-8F, 1F, -1F, 1, 3, 2);
   
    defaultStockModel[1] = new ModelRendererTurbo(this, 16, 8, textureX, textureY);
    defaultStockModel[1].addShapeBox(-7F, 1F, -1F, 5, 3, 2, 0F, /* 0 */ 0F, 0F, 0F, /* 1 */ 0F, -1F, 0F, /* 2 */ 0F, -1F, 0F, /* 3 */ 0F, 0F, 0F, /* 4 */ 0F, 0F, 0F, /* 5 */ 0F, 0F, 0F, /* 6 */ 0F, 0F, 0F, /* 7 */ 0F, 0F, 0F)
   
    stockAttachPoint = new Vector3f(1F / 16F, 4F / 16F, 0F);
   
    //Barrel   
    barrelAttachPoint = new Vector3f(18F / 16F, 4F / 16F, 0F);
   
    //Grip
    gripAttachPoint = new Vector3f(9F / 16F, 2.25F / 16F, 0F);
   
    //Ammo
    ammoModel = new ModelRendererTurbo[1];
   
    ammoModel[0] = new ModelRendererTurbo(this, 14, 14, textureX, textureY);
    ammoModel[0].addBox(4F, 3.5F, -0.5F, 2, 1, 1);
   
    translateAll(0F, -0.5F, 0F);
     
    gunSlideDistance = 0.5F;
View Full Code Here

  public ModelFleshLump()
  {
    fleshModel = new ModelRendererTurbo[2];

    fleshModel[0] = new ModelRendererTurbo(this, 0, 0, 16, 16);
    fleshModel[0].addShapeBox(-2F, -2F, -3F, 5, 5, 4, 0F, /* 0 */ 0.5F, 0.5F, -0.5F, /* 1 */ 0F, 0.5F, 0F, /* 2 */ 0F, 0F, 0F, /* 3 */ -1F, 0.5F, 0F, /* 4 */ 0.5F, 0F, 0F, /* 5 */ 1F, 0F, 0F, /* 6 */ -0.5F, 0.5F, 1F, /* 7 */ 0.5F, 0.5F, 1F)
    fleshModel[1] = new ModelRendererTurbo(this, 8, 0, 16, 16);
    fleshModel[1].addShapeBox(-2F, -2F, 0F, 4, 5, 5, 0F, /* 0 */ 0F, -1F, 0.5F, /* 1 */ -0.5F, 0.5F, 0F, /* 2 */ 1F, 0F, 0F, /* 3 */ 0.5F, 0.5F, 0.5F, /* 4 */ -1F, 1F, 0F, /* 5 */ -1F, 0F, 0.5F, /* 6 */ 1F, 0F, 0F, /* 7 */ 0.5F, 0F, -1F)
  }
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.