Package com.flansmod.client.tmt

Examples of com.flansmod.client.tmt.ModelRendererTurbo


    int textureX = 64;
    int textureY = 64;
   
    bodyModel = new ModelRendererTurbo[1];
   
    bodyModel[0] = new ModelRendererTurbo(this, 0, 0, textureX, textureY);
    bodyModel[0].addBox(-5F, -0.5F, -3F, 10, 13, 6);
   
    skirtFrontModel = new ModelRendererTurbo[1];
   
    skirtFrontModel[0] = new ModelRendererTurbo(this, 32, 0, textureX, textureY);
    skirtFrontModel[0].addBox(-5F, 0F, -3F, 10, 12, 6);
   
    skirtRearModel = new ModelRendererTurbo[1];
   
    skirtRearModel[0] = new ModelRendererTurbo(this, 0, 19, textureX, textureY);
    skirtRearModel[0].addBox(-5F, 0F, -3F, 10, 12, 6);

    leftArmModel = new ModelRendererTurbo[1];
   
    leftArmModel[0] = new ModelRendererTurbo(this, 32, 19, textureX, textureY);
    leftArmModel[0].addBox(-1.5F, -2.5F, -2.5F, 5, 13, 5);

    rightArmModel = new ModelRendererTurbo[1];
   
    rightArmModel[0] = new ModelRendererTurbo(this, 32, 41, textureX, textureY);
    rightArmModel[0].addBox(-3.5F, -2.5F, -2.5F, 5, 13, 5);

  }
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(-14F, 2.5F, -1F, 22, 2, 2);
   
    gunModel[1] = new ModelRendererTurbo(this, 0, 4, textureX, textureY);
    gunModel[1].addBox(-15F, 2F, -1.5F, 1, 3, 3);
   
    gunModel[2] = new ModelRendererTurbo(this, 8, 4, textureX, textureY);
    gunModel[2].addBox(-5F, 2F, -1.5F, 8, 3, 3);
   
    gunModel[3] = new ModelRendererTurbo(this, 0, 13, textureX, textureY);
    gunModel[3].addBox(0F, 0F, -0.5F, 1, 2, 1);
   
    gunModel[4] = new ModelRendererTurbo(this, 4, 11, textureX, textureY);
    gunModel[4].addBox(4F, -1F, -0.5F, 1, 4, 1);
   
    //Scope
    scopeAttachPoint = new Vector3f(1.5F / 16F, 5F / 16F, 0F);
   
    //Barrel   
    barrelAttachPoint = new Vector3f(18F / 16F, 4F / 16F, 0F);
   
    //Stock   
    stockAttachPoint = new Vector3f(-1F / 16F, 1F / 16F, 0F);
   
    //Ammo
    ammoModel = new ModelRendererTurbo[4];
   
    ammoModel[0] = new ModelRendererTurbo(this, 14, 12, textureX, textureY);
    ammoModel[0].addBox(-1.5F, 0F, -1.5F, 3, 1, 3);
   
    ammoModel[1] = new ModelRendererTurbo(this, 26, 9, textureX, textureY);
    ammoModel[1].addTrapezoid(-2F, 1F, -2F, 4, 3, 4, 0F, -1F, ModelRendererTurbo.MR_TOP);
   
    ammoModel[2] = new ModelRendererTurbo(this, 38, 6, textureX, textureY);
    ammoModel[2].addTrapezoid(-2F, 4F, -2F, 4, 3, 4, 0F, -1F, ModelRendererTurbo.MR_BOTTOM);
   
    ammoModel[3] = new ModelRendererTurbo(this, 38, 5, textureX, textureY);
    ammoModel[3].addBox(-0.5F, -4F, -0.5F, 1, 4, 1);

   
    for(int i = 0; i < 4; i++)
    {
View Full Code Here

    int textureX = 128;
    int textureY = 128;
   
    attachmentModel = new ModelRendererTurbo[6];
   
    attachmentModel[0] = new ModelRendererTurbo(this, 0, 0, textureX, textureY);
    attachmentModel[0].addBox(-16F, 0F, -6F, 32, 3, 12);
   
    attachmentModel[1] = new ModelRendererTurbo(this, 0, 111, textureX, textureY);
    attachmentModel[1].addBox(-16F, 3F, -8F, 32, 1, 16);
   
    attachmentModel[2] = new ModelRendererTurbo(this, 0, 77, textureX, textureY);
    attachmentModel[2].addBox(-16F, 20F, -8F, 32, 1, 16);
   
    attachmentModel[3] = new ModelRendererTurbo(this, 0, 94, textureX, textureY);
    attachmentModel[3].addBox(-16F, 4F, -9F, 32, 16, 1);
   
    attachmentModel[4] = new ModelRendererTurbo(this, 0, 60, textureX, textureY);
    attachmentModel[4].addBox(-16F, 4F, 8F, 32, 16, 1);
   
    attachmentModel[5] = new ModelRendererTurbo(this, 0, 19, textureX, textureY);
    attachmentModel[5].addBox(-15F, 10.5F, -1.5F, 30, 3, 3);

    renderOffset = 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].addShapeBox(-4F, 0F, -1F, 2, 3, 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[1] = new ModelRendererTurbo(this, 8, 0, textureX, textureY);
    gunModel[1].addShapeBox(-3F, 3F, -1F, 4, 2, 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, 3F, -1.2F, 2, 1, 2.4F);
   
    gunModel[3] = new ModelRendererTurbo(this, 10, 5, textureX, textureY);
    gunModel[3].addBox(1F, 4F, -1F, 1, 1, 2)
   
    gunModel[4] = new ModelRendererTurbo(this, 30, 0, textureX, textureY);
    gunModel[4].addBox(-1.5F, 4F, -0.5F, 1, 1, 1)
   
    breakActionModel = new ModelRendererTurbo[2];
   
    breakActionModel[0] = new ModelRendererTurbo(this, 0, 12, textureX, textureY);
    breakActionModel[0].addBox(3F, 3F, -1.2F, 8, 1, 2.4F);
   
    breakActionModel[1] = new ModelRendererTurbo(this, 0, 9, textureX, textureY);
    breakActionModel[1].addBox(2F, 4F, -1F, 11, 1, 2);

    barrelBreakPoint = new Vector3f(3F / 16F, 3F / 16F, 0F);
   
    ammoModel = new ModelRendererTurbo[2];
   
    ammoModel[0] = new ModelRendererTurbo(this, 20, 0, textureX, textureY);
    ammoModel[0].addBox(1.9F, 4.1F, -0.9F, 3, 0.8F, 0.8F);
   
    ammoModel[1] = new ModelRendererTurbo(this, 20, 0, textureX, textureY);
    ammoModel[1].addBox(1.9F, 4.1F, 0.1F, 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[8];
   
    gunModel[0] = new ModelRendererTurbo(this, 0, 0, textureX, textureY);
    gunModel[0].addBox(-1F, 3F, -1F, 8, 2, 2);
   
    gunModel[1] = new ModelRendererTurbo(this, 0, 4, textureX, textureY);
    gunModel[1].addBox(0F, 2F, -1F, 6, 1, 2);
   
    gunModel[2] = new ModelRendererTurbo(this, 0, 7, textureX, textureY);
    gunModel[2].addBox(7F, 3F, -1F, 8, 1.5F, 2);
   
    gunModel[3] = new ModelRendererTurbo(this, 0, 11, textureX, textureY);
    gunModel[3].addBox(7F, 4.5F, -0.5F, 8, 0.5F, 1);
   
    gunModel[4] = new ModelRendererTurbo(this, 0, 13, textureX, textureY);
    gunModel[4].addBox(15F, 3.375F, -0.375F, 2, 0.75F, 0.75F);
   
    gunModel[5] = new ModelRendererTurbo(this, 6, 13, textureX, textureY);
    gunModel[5].addBox(17F, 3.25F, -0.5F, 1, 1, 1);

    gunModel[6] = new ModelRendererTurbo(this, 20, 0, textureX, textureY);
    gunModel[6].addBox(-0.75F, -3F, -0.75F, 1.5F, 4, 1.5F);
    gunModel[6].setRotationPoint(1F, 2F, 0F);
    gunModel[6].rotateAngleZ = -0.5F;
   
    gunModel[7] = new ModelRendererTurbo(this, 16, 5, textureX, textureY);
    gunModel[7].addBox(14F, 5F, -0.5F, 1, 1, 1);

    //Scope
    scopeAttachPoint = new Vector3f(4F / 16F, 5F / 16F, 0F);

    //Stock
    defaultStockModel = new ModelRendererTurbo[3];
   
    defaultStockModel[0] = new ModelRendererTurbo(this, 10, 13, textureX, textureY);
    defaultStockModel[0].addBox(-8F, 2F, -0.5F, 1, 2, 1);
   
    defaultStockModel[1] = new ModelRendererTurbo(this, 20, 6, textureX, textureY);
    defaultStockModel[1].addShapeBox(-7F, 2F, -0.5F, 5, 2, 1, 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);

    defaultStockModel[2] = new ModelRendererTurbo(this, 20, 9, textureX, textureY);
    defaultStockModel[2].addShapeBox(-2F, 3F, -1F, 1, 2, 2, 0F, /* 0 */ 0F, 0F, -0.5F, /* 1 */ 0F, 0F, 0F, /* 2 */ 0F, 0F, 0F, /* 3 */ 0F, 0F, -0.5F, /* 4 */ 0F, -1F, -0.5F, /* 5 */ 0F, 0F, 0F, /* 6 */ 0F, 0F, 0F, /* 7 */ 0F, -1F, -0.5F);
   
    stockAttachPoint = new Vector3f(-4F / 16F, 3.5F / 16F, 0F);
   
    //Barrel   
    barrelAttachPoint = new Vector3f(18F / 16F, 3.75F / 16F, 0F);
   
    //Grip
   
    gripAttachPoint = new Vector3f(10F / 16F, 3F / 16F, 0F);
   
    //Ammo
    ammoModel = new ModelRendererTurbo[1];
   
    ammoModel[0] = new ModelRendererTurbo(this, 26, 9, textureX, textureY);
    ammoModel[0].addBox(3.5F, -1F, -0.75F, 2, 4, 1.5F);
   
    gunSlideDistance = 0.5F;
    animationType = EnumAnimationType.BOTTOM_CLIP;
  }
View Full Code Here

  public ModelRendererTurbo[] spikeModel;

  public ModelBearTrap()
  {
    mineModel = new ModelRendererTurbo[7];
    mineModel[0] = new ModelRendererTurbo(this, 4, 0, 32, 8);
    mineModel[0].addBox(-2F, 0F, -3F, 4, 1, 1);
    mineModel[1] = new ModelRendererTurbo(this, 14, 0, 32, 8);
    mineModel[1].addBox(-3F, 0F, -2F, 1, 1, 4);
    mineModel[2] = new ModelRendererTurbo(this, 14, 0, 32, 8);
    mineModel[2].addBox(-3F, 0F, -2F, 1, 1, 4);
    mineModel[2].rotateAngleY = 3.14159265F;
    mineModel[3] = new ModelRendererTurbo(this, 4, 0, 32, 8);
    mineModel[3].addBox(-2F, 0F, -3F, 4, 1, 1);
    mineModel[3].rotateAngleY = 3.14159265F;

    mineModel[4] = new ModelRendererTurbo(this, 14, 0, 32, 8);
    mineModel[4].addBox(-0.5F, 0F, -2F, 1, 1, 4);
    mineModel[5] = new ModelRendererTurbo(this, 22, 0, 32, 8);
    mineModel[5].addBox(-0.5F, 0F, -5F, 1, 1, 2);
    mineModel[6] = new ModelRendererTurbo(this, 22, 0, 32, 8);
    mineModel[6].addBox(-0.5F, 0F, 3F, 1, 1, 2);
   
    buttonModel = new ModelRendererTurbo(this, 0, 0, 32, 8);
    buttonModel.addBox(-0.5F, 0.5F, -0.5F, 1, 1, 1);
   
    spikeModel = new ModelRendererTurbo[10];
   
    spikeModel[0] = new ModelRendererTurbo(this, 0, 0, 32, 8);
    spikeModel[0].addTrapezoid(-2F, 1F, -3F, 1, 1, 1, 0F, -0.5F, ModelRendererTurbo.MR_BOTTOM);
   
    spikeModel[1] = new ModelRendererTurbo(this, 0, 0, 32, 8);
    spikeModel[1].addTrapezoid(-3F, 1F, -2F, 1, 1, 1, 0F, -0.5F, ModelRendererTurbo.MR_BOTTOM);
   
    spikeModel[2] = new ModelRendererTurbo(this, 0, 0, 32, 8);
    spikeModel[2].addTrapezoid(-3F, 1F, -0.5F, 1, 1, 1, 0F, -0.5F, ModelRendererTurbo.MR_BOTTOM);

    spikeModel[3] = new ModelRendererTurbo(this, 0, 0, 32, 8);
    spikeModel[3].addTrapezoid(-3F, 1F, 1F, 1, 1, 1, 0F, -0.5F, ModelRendererTurbo.MR_BOTTOM);

    spikeModel[4] = new ModelRendererTurbo(this, 0, 0, 32, 8);
    spikeModel[4].addTrapezoid(-2F, 1F, 2F, 1, 1, 1, 0F, -0.5F, ModelRendererTurbo.MR_BOTTOM);

   
    spikeModel[5] = new ModelRendererTurbo(this, 0, 0, 32, 8);
    spikeModel[5].addTrapezoid(1F, 1F, -3F, 1, 1, 1, 0F, -0.5F, ModelRendererTurbo.MR_BOTTOM);
   
    spikeModel[6] = new ModelRendererTurbo(this, 0, 0, 32, 8);
    spikeModel[6].addTrapezoid(2F, 1F, -2F, 1, 1, 1, 0F, -0.5F, ModelRendererTurbo.MR_BOTTOM);

    spikeModel[7] = new ModelRendererTurbo(this, 0, 0, 32, 8);
    spikeModel[7].addTrapezoid(2F, 1F, -0.5F, 1, 1, 1, 0F, -0.5F, ModelRendererTurbo.MR_BOTTOM);

    spikeModel[8] = new ModelRendererTurbo(this, 0, 0, 32, 8);
    spikeModel[8].addTrapezoid(2F, 1F, 1F, 1, 1, 1, 0F, -0.5F, ModelRendererTurbo.MR_BOTTOM);

    spikeModel[9] = new ModelRendererTurbo(this, 0, 0, 32, 8);
    spikeModel[9].addTrapezoid(1F, 1F, 2F, 1, 1, 1, 0F, -0.5F, ModelRendererTurbo.MR_BOTTOM);

 
  }
View Full Code Here

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

    gunModel[3] = new ModelRendererTurbo(this, 10, 6, textureX, textureY);
    gunModel[3].addBox(-1F, 2F, -1F, 2, 1, 2);
   
    gunModel[4] = new ModelRendererTurbo(this, 28, 0, textureX, textureY);
    gunModel[4].addBox(-0.75F, -3F, -0.75F, 1.5F, 4, 1.5F);
    gunModel[4].setRotationPoint(-0.2F, 2F, 0F);
    gunModel[4].rotateAngleZ = -0.5F;
   
    gunModel[5] = new ModelRendererTurbo(this, 0, 13, textureX, textureY);
    gunModel[5].addBox(11F, 3.75F, -0.25F, 0.5F, 2, 0.5F);

    gunModel[6] = new ModelRendererTurbo(this, 4, 14, textureX, textureY);
    gunModel[6].addBox(11F, 3.25F, -0.25F, 3, 0.5F, 0.5F);

    //Ammo
    ammoModel = new ModelRendererTurbo[2];
   
    ammoModel[0] = new ModelRendererTurbo(this, 12, 12, textureX, textureY);
    ammoModel[0].addShapeBox(4F, 1F, -1F, 2, 2, 2, 0F, /* 0 */ -0.5F, 0.5F, 0F, /* 1 */ 0.5F, 0F, 0F, /* 2 */ 0.5F, 0F, 0F, /* 3 */ -0.5F, 0.5F, 0F, /* 4 */ 0F, 0F, 0F, /* 5 */ 0F, 0F, 0F, /* 6 */ 0F, 0F, 0F, /* 7 */ 0F, 0F, 0F);
   
    ammoModel[1] = new ModelRendererTurbo(this, 20, 12, textureX, textureY);
    ammoModel[1].addShapeBox(4F, -1F, -1F, 2, 2, 2, 0F, /* 0 */ -2F, 0F, 0F, /* 1 */ 1.25F, -1.25F, 0F, /* 2 */ 1.25F, -1.25F, 0F, /* 3 */ -2F, 0F, 0F, /* 4 */ -0.5F, -0.5F, 0F, /* 5 */ 0.5F, 0F, 0F, /* 6 */ 0.5F, 0F, 0F, /* 7 */ -0.5F, -0.5F, 0F);

    //Stock
    stockAttachPoint = new Vector3f(3F / 16F, 5F / 16F, 0F);
   
    defaultStockModel = new ModelRendererTurbo[4];
   
    defaultStockModel[0] = new ModelRendererTurbo(this, 12, 10, textureX, textureY);
    defaultStockModel[0].addBox(-2F, 3F, -0.5F, 1, 1, 1);
   
    defaultStockModel[1] = new ModelRendererTurbo(this, 16, 10, textureX, textureY);
    defaultStockModel[1].addShapeBox(-7F, 1F, -0.5F, 5, 1, 1, 0F, /* 0 */ 0F, 0F, 0F, /* 1 */ 0F, -2F, 0F, /* 2 */ 0F, -2F, 0F, /* 3 */ 0F, 0F, 0F, /* 4 */ 0F, -0.5F, 0F, /* 5 */ 0F, 1.5F, 0F, /* 6 */ 0F, 1.5F, 0F, /* 7 */ 0F, -0.5F, 0F);

    defaultStockModel[2] = new ModelRendererTurbo(this, 18, 8, textureX, textureY);
    defaultStockModel[2].addBox(-7F, 3.5F, -0.5F, 5, 0.5F, 1);

    defaultStockModel[3] = new ModelRendererTurbo(this, 28, 12, textureX, textureY);
    defaultStockModel[3].addBox(-8F, 1F, -0.5F, 1, 3, 1);

    //Barrel
    barrelAttachPoint = new Vector3f(11.75F / 16F, 3.5F / 16F, 0F);
   
    defaultBarrelModel = new ModelRendererTurbo[1];
   
    defaultBarrelModel[0] = new ModelRendererTurbo(this, 32, 14, textureX, textureY);
    defaultBarrelModel[0].addBox(11.5F, 3F, -0.5F, 2, 1, 1);
   
    //Scope
    scopeAttachPoint = new Vector3f(3F / 16F, 5F / 16F, 0F);
   
    defaultScopeModel = new ModelRendererTurbo[1];
   
    defaultScopeModel[0] = new ModelRendererTurbo(this, 38, 14, textureX, textureY);
    defaultScopeModel[0].addBox(4F, 5F, -0.5F, 1, 1, 1);
   
    gunSlideDistance = 0.25F;
    animationType = EnumAnimationType.BOTTOM_CLIP;
  }
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(13F, 3.5F, -0.5F, 5, 1, 1);
   
    gunModel[1] = new ModelRendererTurbo(this, 0, 2, textureX, textureY);
    gunModel[1].addBox(-1F, 3F, -1F, 13, 2, 2);
   
    gunModel[2] = new ModelRendererTurbo(this, 0, 6, textureX, textureY);
    gunModel[2].addBox(12F, 3F, -0.5F, 1, 2, 1);
   
    gunModel[3] = new ModelRendererTurbo(this, 4, 6, textureX, textureY);
    gunModel[3].addBox(16F, 4.5F, -0.5F, 1, 1, 1);
   
    gunModel[4] = new ModelRendererTurbo(this, 6, 6, textureX, textureY);
    gunModel[4].addBox(-1F, 0F, -1F, 1, 3, 2);
   
    //Scope
    defaultScopeModel = new ModelRendererTurbo[4];
   
    defaultScopeModel[0] = new ModelRendererTurbo(this, 0, 12, textureX, textureY);
    defaultScopeModel[0].addBox(-2F, 5.5F, -1F, 3, 2, 2);
   
    defaultScopeModel[1] = new ModelRendererTurbo(this, 0, 10, textureX, textureY);
    defaultScopeModel[1].addBox(1F, 6F, -0.5F, 1, 1, 1);
   
    defaultScopeModel[2] = new ModelRendererTurbo(this, 10, 12, textureX, textureY);
    defaultScopeModel[2].addBox(2F, 5.5F, -1F, 4, 2, 2);
       
    defaultScopeModel[3] = new ModelRendererTurbo(this, 11, 10, textureX, textureY);
    defaultScopeModel[3].addBox(1F, 4.5F, -0.5F, 5, 1, 1);
   
    scopeAttachPoint = new Vector3f(3F / 16F, 5F / 16F, 0F);
   
    //Barrel   
    barrelAttachPoint = new Vector3f(18F / 16F, 4F / 16F, 0F);
   
    //Stock
    defaultStockModel = new ModelRendererTurbo[3];
   
    defaultStockModel[0] = new ModelRendererTurbo(this, 12, 6, textureX, textureY);
    defaultStockModel[0].addBox(-5F, 3F, -1F, 4, 1, 2);
   
    defaultStockModel[1] = new ModelRendererTurbo(this, 24, 6, textureX, textureY);
    defaultStockModel[1].addBox(-5F, 0F, -1F, 4, 1, 2);
   
    defaultStockModel[2] = new ModelRendererTurbo(this, 23, 9, textureX, textureY);
    defaultStockModel[2].addBox(-8F, 0F, -1F, 3, 4, 2);
   
    stockAttachPoint = new Vector3f(-1F / 16F, 1F / 16F, 0F);
   
    //Ammo
    ammoModel = new ModelRendererTurbo[1];
   
    ammoModel[0] = new ModelRendererTurbo(this, 33, 9, textureX, textureY);
    ammoModel[0].addBox(2F, -1F, -1F, 3, 4, 2);
     
    gunSlideDistance = 0.5F;
    animationType = EnumAnimationType.BOTTOM_CLIP;
  }
View Full Code Here

    int textureX = 64;
    int textureY = 16;
   
    gunModel = new ModelRendererTurbo[4];
   
    gunModel[0] = new ModelRendererTurbo(this, 0, 0, textureX, textureY);
    gunModel[0].addBox(-4F, 2F, -1F, 12, 3, 2);
   
    gunModel[1] = new ModelRendererTurbo(this, 0, 5, textureX, textureY);
    gunModel[1].addBox(-0F, -2F, -1F, 2, 4, 2);
   
    gunModel[2] = new ModelRendererTurbo(this, 8, 5, textureX, textureY);
    gunModel[2].addBox(6.9F, 4.2F, -0.5F, 1, 1, 1);
   
    gunModel[3] = new ModelRendererTurbo(this, 0, 12, textureX, textureY);
    gunModel[3].addBox(8F, 2.25F, -1F, 6, 2, 2);
   
    //Scope
    scopeAttachPoint = new Vector3f(4F / 16F, 5F / 16F, 0F);

    //Stock
    defaultStockModel = new ModelRendererTurbo[2];
   
    defaultStockModel[0] = new ModelRendererTurbo(this, 8, 7, textureX, textureY);
    defaultStockModel[0].addBox(-7F, 1F, -1F, 3, 3, 2);
   
    defaultStockModel[1] = new ModelRendererTurbo(this, 18, 7, textureX, textureY);
    defaultStockModel[1].addBox(-10F, 0F, -1F, 3, 3, 2);
   
    stockAttachPoint = new Vector3f(-4F / 16F, 3.5F / 16F, 0F);
   
    //Barrel
    defaultBarrelModel = new ModelRendererTurbo[2];
       
    defaultBarrelModel[0] = new ModelRendererTurbo(this, 30, 14, textureX, textureY);
    defaultBarrelModel[0].addBox(14F, 2.5F, -0.5F, 3, 1, 1);
   
    defaultBarrelModel[1] = new ModelRendererTurbo(this, 16, 12, textureX, textureY);
    defaultBarrelModel[1].addBox(17F, 2.5F, -0.5F, 1, 2, 1);
   
    barrelAttachPoint = new Vector3f(14F / 16F, 3.25F / 16F, 0F);
   
    //Ammo
    ammoModel = new ModelRendererTurbo[3];
   
    ammoModel[0] = new ModelRendererTurbo(this, 28, 0, textureX, textureY);
    ammoModel[0].addBox(4F, -2F, -1F, 3, 4, 2);
   
    ammoModel[1] = new ModelRendererTurbo(this, 20, 12, textureX, textureY);
    ammoModel[1].addBox(5F, -4F, -1F, 3, 2, 2);
   
    ammoModel[2] = new ModelRendererTurbo(this, 28, 7, textureX, textureY);
    ammoModel[2].addBox(6F, -5F, -1F, 2, 1, 2);
   
    gunSlideDistance = 0.5F;
    animationType = EnumAnimationType.BOTTOM_CLIP;
  }
View Full Code Here

    int textureX = 64;
    int textureY = 16;
   
    gunModel = new ModelRendererTurbo[4];
   
    gunModel[0] = new ModelRendererTurbo(this, 0, 0, textureX, textureY);
    gunModel[0].addBox(-4F, 2F, -1F, 12, 3, 2);
   
    gunModel[1] = new ModelRendererTurbo(this, 0, 5, textureX, textureY);
    gunModel[1].addBox(-0F, -2F, -1F, 2, 4, 2);
   
    gunModel[2] = new ModelRendererTurbo(this, 8, 5, textureX, textureY);
    gunModel[2].addBox(6.9F, 4.2F, -0.5F, 1, 1, 1);
   
    gunModel[3] = new ModelRendererTurbo(this, 0, 12, textureX, textureY);
    gunModel[3].addBox(8F, 2.25F, -1F, 6, 2, 2);
   
    //Scope
    scopeAttachPoint = new Vector3f(4F / 16F, 5F / 16F, 0F);

    //Stock
    defaultStockModel = new ModelRendererTurbo[2];
   
    defaultStockModel[0] = new ModelRendererTurbo(this, 8, 7, textureX, textureY);
    defaultStockModel[0].addBox(-7F, 2F, -1F, 3, 2, 2);
   
    defaultStockModel[1] = new ModelRendererTurbo(this, 18, 6, textureX, textureY);
    defaultStockModel[1].addBox(-11F, 0F, -1F, 4, 4, 2);
   
    stockAttachPoint = new Vector3f(-4F / 16F, 3.5F / 16F, 0F);
   
    //Barrel
    defaultBarrelModel = new ModelRendererTurbo[4];
       
    defaultBarrelModel[0] = new ModelRendererTurbo(this, 30, 14, textureX, textureY);
    defaultBarrelModel[0].addBox(14F, 2.5F, -0.5F, 8, 1, 1);
   
    defaultBarrelModel[1] = new ModelRendererTurbo(this, 16, 12, textureX, textureY);
    defaultBarrelModel[1].addBox(22F, 2.5F, -0.5F, 1, 2, 1);
   
    defaultBarrelModel[2] = new ModelRendererTurbo(this, 38, 0, textureX, textureY);
    defaultBarrelModel[2].addShapeBox(20F, -2.5F, -1F, 1, 5, 1, 0F, /* 0 */ 0F, 0F, 3F, /* 1 */ 0F, 0F, 3F, /* 2 */ 0F, 0F, -3F, /* 3 */ 0F, 0F, -3F, /* 4 */ 0F, 0F, 0F, /* 5 */ 0F, 0F, 0F, /* 6 */ 0F, 0F, 0F, /* 7 */ 0F, 0F, 0F)
   
    defaultBarrelModel[3] = new ModelRendererTurbo(this, 38, 0, textureX, textureY);
    defaultBarrelModel[3].addShapeBox(20F, -2.5F, 0F, 1, 5, 1, 0F, /* 0 */ 0F, 0F, -3F, /* 1 */ 0F, 0F, -3F, /* 2 */ 0F, 0F, 3F, /* 3 */ 0F, 0F, 3F, /* 4 */ 0F, 0F, 0F, /* 5 */ 0F, 0F, 0F, /* 6 */ 0F, 0F, 0F, /* 7 */ 0F, 0F, 0F)
   
    barrelAttachPoint = new Vector3f(14F / 16F, 3.25F / 16F, 0F);
   
    //Ammo
    ammoModel = new ModelRendererTurbo[3];
   
    ammoModel[0] = new ModelRendererTurbo(this, 28, 0, textureX, textureY);
    ammoModel[0].addBox(4F, -1F, -1F, 3, 3, 2);
   
    ammoModel[1] = new ModelRendererTurbo(this, 20, 12, textureX, textureY);
    ammoModel[1].addBox(5F, -3F, -1F, 3, 2, 2);
   
    ammoModel[2] = new ModelRendererTurbo(this, 30, 7, textureX, textureY);
    ammoModel[2].addBox(6F, -5F, -1F, 3, 2, 2);
   
    gunSlideDistance = 0.5F;
    animationType = EnumAnimationType.BOTTOM_CLIP;
  }
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.