Package com.flansmod.client.tmt

Examples of com.flansmod.client.tmt.ModelRendererTurbo


  {


// Gun
    gunModel = new ModelRendererTurbo[6];
    gunModel[0] = new ModelRendererTurbo(this,  11, textureX, textureY); // Grip
    gunModel[1] = new ModelRendererTurbo(this,  171, textureX, textureY); // Body
    gunModel[2] = new ModelRendererTurbo(this,  491, textureX, textureY); // UnderBody
    gunModel[3] = new ModelRendererTurbo(this,  411, textureX, textureY); // Muzzle
    gunModel[4] = new ModelRendererTurbo(this,  731, textureX, textureY); // Trigger
    gunModel[5] = new ModelRendererTurbo(this,  1291, textureX, textureY); // Barrel

    gunModel[0].addBox(0F, 0F, 0F, 2, 5, 2, 0F); // Grip
    gunModel[0].setRotationPoint(0F, -2.5F, -1F);
    gunModel[0].rotateAngleZ = -0.1396263F;

    gunModel[1].addBox(0F, 0F, 0F, 9, 1, 2, 0F); // Body
    gunModel[1].setRotationPoint(-1F, -3F, -1F);

    gunModel[2].addBox(0F, 0F, 0F, 7, 1, 1, 0F); // UnderBody
    gunModel[2].setRotationPoint(1F, -2.5F, -0.5F);

    gunModel[3].addBox(0F, 0F, 0F, 1, 1, 1, 0F); // Muzzle
    gunModel[3].setRotationPoint(7.5F, -3.5F, -0.5F);

    gunModel[4].addBox(0F, 0F, 0F, 2, 1, 1, 0F); // Trigger
    gunModel[4].setRotationPoint(1.5F, -1.5F, -0.5F);

    gunModel[5].addBox(0F, 0F, 0F, 8, 1, 1, 0F); // Barrel
    gunModel[5].setRotationPoint(0F, -3.5F, -0.5F);



// Ammo
    ammoModel = new ModelRendererTurbo[3];
    ammoModel[0] = new ModelRendererTurbo(this,  811, textureX, textureY); // Magazine
    ammoModel[1] = new ModelRendererTurbo(this,  891, textureX, textureY); // Magazine
    ammoModel[2] = new ModelRendererTurbo(this,  971, textureX, textureY); // Magazine

    ammoModel[0].addBox(0F, 0F, 0F, 1, 5, 1, 0F); // Magazine
    ammoModel[0].setRotationPoint(0F, 2F, -0.5F);
    ammoModel[0].rotateAngleZ = -0.1396263F;

    ammoModel[1].addBox(0F, 0F, 0F, 1, 5, 1, 0F); // Magazine
    ammoModel[1].setRotationPoint(-0.5F, 1.9F, -0.5F);
    ammoModel[1].rotateAngleZ = -0.1396263F;

    ammoModel[2].addBox(0F, 0F, 0F, 1, 1, 1, 0F); // Magazine
    ammoModel[2].setRotationPoint(-0.9F, 6.3F, -0.5F);
    ammoModel[2].rotateAngleZ = -0.1396263F;



// Slide
    slideModel = new ModelRendererTurbo[2];
    slideModel[0] = new ModelRendererTurbo(this,  1051, textureX, textureY); // Slide
    slideModel[1] = new ModelRendererTurbo(this,  1531, textureX, textureY); // Slide

    slideModel[0].addBox(0F, 0F, 0F, 9, 1, 2, 0F); // Slide
    slideModel[0].setRotationPoint(-1F, -4F, -1F);

    slideModel[1].addBox(0F, 0F, 0F, 1, 1, 1, 0F); // Slide
View Full Code Here


    int textureX = 32;
    int textureY = 32
   
    gunModel = new ModelRendererTurbo[6];
   
    gunModel[0] = new ModelRendererTurbo(this, 0, 0, textureX, textureY);
    gunModel[0].addBox(-3F, 1F, -1F, 7, 1, 2);
   
    gunModel[1] = new ModelRendererTurbo(this, 0, 3, textureX, textureY);
    gunModel[1].addBox(-2F, -3F, -1F, 3, 4, 2);
   
    gunModel[2] = new ModelRendererTurbo(this, 0, 13, textureX, textureY);
    gunModel[2].addBox(-1F, 2.1F, -0.5F, 11, 1, 1);
   
    gunModel[3] = new ModelRendererTurbo(this, 0, 9, textureX, textureY);
    gunModel[3].addBox(2F, 3F, -1F, 8, 2, 2);

    gunModel[4] = new ModelRendererTurbo(this, 10, 3, textureX, textureY);
    gunModel[4].addBox(10F, 2F, -1F, 2, 3, 2);
   
    gunModel[5] = new ModelRendererTurbo(this, 0, 23, textureX, textureY);
    gunModel[5].addBox(10.5F, 4.2F, -0.5F, 1, 1, 1);
   
    slideModel = new ModelRendererTurbo[4];
   
    slideModel[0] = new ModelRendererTurbo(this, 0, 15, textureX, textureY);
    slideModel[0].addBox(-2F, 2F, -1F, 4, 3, 2);
   
    slideModel[1] = new ModelRendererTurbo(this, 0, 20, textureX, textureY);
    slideModel[1].addBox(2F, 2F, -1F, 8, 1, 2);
   
    slideModel[2] = new ModelRendererTurbo(this, 0, 23, textureX, textureY);
    slideModel[2].addBox(-3F, 3F, -0.5F, 1, 1, 1);
   
    slideModel[3] = new ModelRendererTurbo(this, 0, 23, textureX, textureY);
    slideModel[3].addBox(-1.5F, 4.2F, -0.5F, 1, 1, 1);

    ammoModel = new ModelRendererTurbo[1];
   
    ammoModel[0] = new ModelRendererTurbo(this, 0, 25, textureX, textureY);
    ammoModel[0].addBox(-1.5F, -2.8F, -0.5F, 2, 4, 1);
   
    translateAll(0F, 1F, 0F);
   
    barrelAttachPoint = new Vector3f(12F / 16F, 4.5F / 16F, 0F);
View Full Code Here

{
    public ModelBomb()
    {
        bombModel = new ModelRendererTurbo[4]
   
      bombModel[0] = new ModelRendererTurbo(this, 104, 0, 128, 64);
        bombModel[1] = new ModelRendererTurbo(this, 104, 0, 128, 64);
   
        bombModel[2] = new ModelRendererTurbo(this, 56, 8, 128, 64);
        bombModel[3] = new ModelRendererTurbo(this, 56, 8, 128, 64);
 
    bombModel[0].addTrapezoid(-2F, 0F, -2F, 4, 1, 4, 0.0F, 1.0F, ModelRendererTurbo.MR_TOP);
    bombModel[1].addBox(-2F, 1F , -2F, 4, 6, 4, 0.0F)
        bombModel[2].addTrapezoid(-2F, 7F, -2F, 4, 1, 4, 0.0F, 1.0F, ModelRendererTurbo.MR_BOTTOM);
        bombModel[3].addBox(-2F, 8F, -2F, 4, 2, 4, 0.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(0F, 3F, -1F, 3, 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[1] = new ModelRendererTurbo(this, 10, 0, textureX, textureY);
    gunModel[1].addShapeBox(0F, 2F, -1F, 2, 1, 2, 0F, /* 0 */ 0F, 0F, 0F, /* 1 */ -1F, 0F, 0F, /* 2 */ -1F, 0F, 0F, /* 3 */ 0F, 0F, 0F, /* 4 */ 0F, 0F, 0F, /* 5 */ 0F, 0F, 0F, /* 6 */ 0F, 0F, 0F, /* 7 */ 0F, 0F, 0F);
   
    gunModel[2] = new ModelRendererTurbo(this, 0, 4, textureX, textureY);
    gunModel[2].addBox(3F, 3.05F, -0.45F, 7, 0.9F, 0.9F);

    gunModel[3] = new ModelRendererTurbo(this, 0, 6, textureX, textureY);
    gunModel[3].addBox(3F, 4.05F, -0.45F, 10, 0.9F, 0.9F);

    gunModel[4] = new ModelRendererTurbo(this, 0, 8, textureX, textureY);
    gunModel[4].addBox(3F, 3.25F, -0.75F, 5, 1.5F, 1.5F);
   
    //Shotgun Handle
    //leverActionModel = new ModelRendererTurbo[2];
   
    //leverActionModel[0] = new ModelRendererTurbo(this, 12, 2, textureX, textureY);
    //leverActionModel[0].addBox(2F, 3.25F, -0.5F, 10, 1, 1);
    //
    //leverActionModel[1] = new ModelRendererTurbo(this, 12, 4, textureX, textureY);
    //leverActionModel[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, 18, 0, textureX, textureY);
    defaultStockModel[0].addShapeBox(-2F, 1F, -1F, 2, 2, 2, 0F, /* 0 */ 0F, 0F, 0F, /* 1 */ 0F, -1F, 0F, /* 2 */ 0F, -1F, 0F, /* 3 */ 0F, 0F, 0F, /* 4 */ 0F, 0F, 0F, /* 5 */ 0F, 1F, 0F, /* 6 */ 0F, 1F, 0F, /* 7 */ 0F, 0F, 0F);
   
    defaultStockModel[1] = new ModelRendererTurbo(this, 28, 0, textureX, textureY);
    defaultStockModel[1].addShapeBox(-8F, 0F, -1F, 6, 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(0F / 16F, 3F / 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, 0, 14, textureX, textureY);
    ammoModel[0].addBox(1F, 3F, -0.5F, 2, 1, 1);
   
    translateAll(0F, -0.5F, 0F);
     
    gunSlideDistance = 0.5F;
View Full Code Here

    int textureX = 64;
    int textureY = 32;
   
    bulletModel = new ModelRendererTurbo[3];
   
    bulletModel[0] = new ModelRendererTurbo(this, 60, 0, textureX, textureY);
    bulletModel[0].addBox(-0.5F, -10F, -0.5F, 1, 20, 1);
   
    bulletModel[1] = new ModelRendererTurbo(this, 55, 0, textureX, textureY);
    bulletModel[1].addBox(-1F, -10F, 0F, 2, 1, 0);
   
    bulletModel[2] = new ModelRendererTurbo(this, 55, 2, textureX, textureY);
    bulletModel[2].addBox(0F, -10F, -1F, 0, 1, 2);
   
  }
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, -2F, -1F, 3, 4, 2);
   
    gunModel[1] = new ModelRendererTurbo(this, 0, 6, textureX, textureY);
    gunModel[1].addBox(-1F, 2F, -1F, 8, 1, 2);

    gunModel[2] = new ModelRendererTurbo(this, 0, 9, textureX, textureY);
    gunModel[2].addBox(-0.5F, 3.5F, -0.5F, 8, 1, 1);

    slideModel = new ModelRendererTurbo[3];
   
    slideModel[0] = new ModelRendererTurbo(this, 0, 12, textureX, textureY);
    slideModel[0].addBox(-1F, 3F, -1F, 8, 2, 2);
   
    slideModel[1] = new ModelRendererTurbo(this, 10, 2, textureX, textureY);
    slideModel[1].addBox(5.95F, 4.5F, -0.5F, 1, 1, 1);
   
    slideModel[2] = new ModelRendererTurbo(this, 8, 0, textureX, textureY);
    slideModel[2].addBox(-0.8F, 4.5F, -0.5F, 1, 1, 1);

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

    int textureX = 32;
    int textureY = 16;
   
    gunModel = new ModelRendererTurbo[7];
   
    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].addShapeBox(0F, 2F, -1F, 6, 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);

    gunModel[2] = new ModelRendererTurbo(this, 0, 7, textureX, textureY);
    gunModel[2].addBox(1F, -1F, -1F, 2, 3, 2);
   
    gunModel[3] = new ModelRendererTurbo(this, 0, 12, textureX, textureY);
    gunModel[3].addBox(0F, 5F, -0.5F, 1, 0.5F, 1);
   
    gunModel[4] = new ModelRendererTurbo(this, 0, 14, textureX, textureY);
    gunModel[4].addBox(6F, 5F, -0.5F, 1, 0.5F, 1);
   
    gunModel[5] = new ModelRendererTurbo(this, 4, 12, textureX, textureY);
    gunModel[5].addBox(6.5F, 3.25F, -0.5F, 1, 1, 1);

    gunModel[6] = new ModelRendererTurbo(this, 4, 14, textureX, textureY);
    gunModel[6].addBox(7F, 3.5F, -0.25F, 2, 0.5F, 0.5F);

    ammoModel = new ModelRendererTurbo[1];
   
    ammoModel[0] = new ModelRendererTurbo(this, 10, 7, textureX, textureY);
    ammoModel[0].addBox(1.25F, -4F, -0.75F, 1.5F, 6, 1.5F);
   
    barrelAttachPoint = new Vector3f(7.5F / 16F, 3.75F / 16F, 0F);
   
    scopeAttachPoint = new Vector3f(3F / 16F, 5F / 16F, 0F);
View Full Code Here

    int textureX = 64;
    int textureY = 32;
   
    gunModel = new ModelRendererTurbo[5];
   
    gunModel[0] = new ModelRendererTurbo(this, 0, 0, textureX, textureY);
    gunModel[0].addBox(-15F, 2.5F, -1F, 25, 2, 2);
   
    gunModel[1] = new ModelRendererTurbo(this, 0, 4, textureX, textureY);
    gunModel[1].addBox(-16F, 2F, -1.5F, 1, 3, 3);
   
    gunModel[2] = new ModelRendererTurbo(this, 8, 4, textureX, textureY);
    gunModel[2].addBox(10F, 2F, -1.5F, 2, 3, 3);
   
    gunModel[3] = new ModelRendererTurbo(this, 0, 10, textureX, textureY);
    gunModel[3].addBox(0F, -0.5F, -0.5F, 1, 3, 1);
   
    gunModel[4] = new ModelRendererTurbo(this, 4, 10, textureX, textureY);
    gunModel[4].addBox(3F, -0.5F, -1F, 6, 3, 2);
   
    for(int i = 0; i < 5; i++)
    {
      gunModel[i].setRotationPoint(0F, 0F, 2F);
    }
   
    //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[3];
   
    ammoModel[0] = new ModelRendererTurbo(this, 60, 0, textureX, textureY);
    ammoModel[0].addBox(-0.5F, -10F, -0.5F, 1, 20, 1);
   
    ammoModel[1] = new ModelRendererTurbo(this, 55, 0, textureX, textureY);
    ammoModel[1].addBox(-1F, -10F, 0F, 2, 1, 0);
   
    ammoModel[2] = new ModelRendererTurbo(this, 55, 2, textureX, textureY);
    ammoModel[2].addBox(0F, -10F, -1F, 0, 1, 2);

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

    int textureX = 128;
    int textureY = 64;
   
    leftLegModel = new ModelRendererTurbo[1];
   
    leftLegModel[0] = new ModelRendererTurbo(this, 84, 0, textureX, textureY);
    leftLegModel[0].addBox(-2.1F, 9F, -3F, 5, 3, 6);


    rightLegModel = new ModelRendererTurbo[1];
   
    rightLegModel[0] = new ModelRendererTurbo(this, 84, 9, textureX, textureY);
    rightLegModel[0].addBox(-2.9F, 9F, -3F, 5, 3, 6);

  }
View Full Code Here

  public ModelRendererTurbo headModel;
  public ModelRendererTurbo bodyModel;

  public ModelRoundGrenade()
  {
    bodyModel = new ModelRendererTurbo(this, 0, 0, 16, 8);
    bodyModel.addBox(-1F, -1F, -1F, 2, 2, 2);
    headModel = new ModelRendererTurbo(this, 8, 0, 16, 8);
    headModel.addBox(-0.5F, -0.5F, 0.5F, 1, 1, 1);
    bodyModel.rotateAngleX = -3.14159265F / 2F;
    headModel.rotateAngleX = -3.14159265F / 2F;
  }
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.