Package com.flansmod.client.tmt

Examples of com.flansmod.client.tmt.ModelRendererTurbo


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

    //Stock
    defaultStockModel = new ModelRendererTurbo[2];
   
    defaultStockModel[0] = new ModelRendererTurbo(this, 16, 5, textureX, textureY);
    defaultStockModel[0].addShapeBox(-6F, 0F, -1F, 2, 4, 2, 0F, /* 0 */ 0F, 0F, 0F, /* 1 */ 0F, -2F, 0F, /* 2 */ 0F, -2F, 0F, /* 3 */ 0F, 0F, 0F, /* 4 */ 0F, 0F, 0F, /* 5 */ 0F, 0F, 0F, /* 6 */ 0F, 0F, 0F, /* 7 */ 0F, 0F, 0F)
   
    defaultStockModel[1] = new ModelRendererTurbo(this, 24, 5, textureX, textureY);
    defaultStockModel[1].addShapeBox(-4F, 2F, -1F, 4, 3, 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)
   
    stockAttachPoint = new Vector3f(1F / 16F, 4F / 16F, 0F);
   
    //Barrel   
    barrelAttachPoint = new Vector3f(17F / 16F, 3.75F / 16F, 0F);
   
    //Grip
    gripAttachPoint = new Vector3f(10F / 16F, 3F / 16F, 0F);
   
    //Ammo
    ammoModel = new ModelRendererTurbo[1];
   
    ammoModel[0] = new ModelRendererTurbo(this, 12, 11, textureX, textureY);
    ammoModel[0].addShapeBox(4.5F, -2F, -0.5F, 2, 4, 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)
   
    gunSlideDistance = 0.5F;
    animationType = EnumAnimationType.BOTTOM_CLIP;
  }
View Full Code Here


    int textureX = 64;
    int textureY = 16;
   
    gunModel = new ModelRendererTurbo[2];
   
    gunModel[0] = new ModelRendererTurbo(this, 0, 0, textureX, textureY);
    gunModel[0].addBox(1F, 1.5F, -0.5F, 16, 1, 1);
   
    gunModel[1] = new ModelRendererTurbo(this, 0, 2, textureX, textureY);
    gunModel[1].addBox(-1F, 0F, -1F, 13, 2, 2);
       
    //Scope
    defaultScopeModel = new ModelRendererTurbo[5];
   
    defaultScopeModel[0] = new ModelRendererTurbo(this, 0, 9, textureX, textureY);
    defaultScopeModel[0].addBox(-1F, 4F, -1F, 2, 2, 2);
   
    defaultScopeModel[1] = new ModelRendererTurbo(this, 0, 13, textureX, textureY);
    defaultScopeModel[1].addBox(1F, 4.5F, -0.5F, 3, 1, 1);
   
    defaultScopeModel[2] = new ModelRendererTurbo(this, 8, 9, textureX, textureY);
    defaultScopeModel[2].addBox(4F, 4F, -1F, 3, 2, 2);
   
    defaultScopeModel[3] = new ModelRendererTurbo(this, 8, 13, textureX, textureY);
    defaultScopeModel[3].addBox(1F, 2.5F, -0.5F, 1, 2, 1);
   
    defaultScopeModel[4] = new ModelRendererTurbo(this, 12, 13, textureX, textureY);
    defaultScopeModel[4].addBox(3F, 2.5F, -0.5F, 1, 2, 1);
   
    scopeAttachPoint = new Vector3f(3F / 16F, 5F / 16F, 0F);
   
    //Barrel   
    barrelAttachPoint = new Vector3f(17F / 16F, 4.5F / 16F, 0F);
   
    //Stock
    defaultStockModel = new ModelRendererTurbo[2];
       
    defaultStockModel[0] = new ModelRendererTurbo(this, 16, 6, textureX, textureY);
    defaultStockModel[0].addBox(-2F, -0.5F, -1F, 1, 2, 2);
   
    defaultStockModel[1] = new ModelRendererTurbo(this, 18, 10, textureX, textureY);
    defaultStockModel[1].addBox(-8F, -1F, -1F, 6, 3, 2);
   
    stockAttachPoint = new Vector3f(-1F / 16F, 1F / 16F, 0F);
   
    //Ammo
    ammoModel = new ModelRendererTurbo[1];
   
    ammoModel[0] = new ModelRendererTurbo(this, 26, 6, textureX, textureY);
    ammoModel[0].addBox(1F, 0.5F, -0.5F, 3, 1, 1);
   
    translateAll(0, 2.5F, 0);
   
    gunSlideDistance = 0.5F;
View Full Code Here

  public ModelRendererTurbo bodyModel;
  public ModelRendererTurbo clothModel;

  public ModelMolotov()
  {
    bodyModel = new ModelRendererTurbo(this, 0, 0, 32, 16);
    bodyModel.addBox(-1F, -2F, -1F, 2, 4, 2);
    neckModel = new ModelRendererTurbo(this, 8, 0, 32, 16);
    neckModel.addBox(-0.5F, 2F, -0.5F, 1, 2, 1);
    clothModel = new ModelRendererTurbo(this, 0, 6, 32, 16);
    clothModel.addShapeBox(-1F, -0.5F, -0.5F, 2, 1, 5, 0F, /* 0 */ -0.5F, 0F, 0F, /* 1 */ -0.5F, 0F, 0F, /* 2 */ 0F, 0F, 0F, /* 3 */ 0F, 0F, 0F, /* 4 */ -0.5F, 0F, 0F, /* 5 */ -0.5F, 0F, 0F, /* 6 */ 0F, 0F, 0F, /* 7 */ 0F, 0F, 0F)
    clothModel.setRotationPoint(0F, 4F, 0F);
    clothModel.rotateAngleX = 1F;
  }
View Full Code Here

  public ModelPanzerfaust3() 
  {
// Gun
    gunModel = new ModelRendererTurbo[13];
    gunModel[0] = new ModelRendererTurbo(this,  11, textureX, textureY); // Grip
    gunModel[1] = new ModelRendererTurbo(this,  91, textureX, textureY); // Grip
    gunModel[2] = new ModelRendererTurbo(this,  171, textureX, textureY); // MainBody
    gunModel[3] = new ModelRendererTurbo(this,  571, textureX, textureY); // BodyCasement
    gunModel[4] = new ModelRendererTurbo(this,  811, textureX, textureY); // RingF
    gunModel[5] = new ModelRendererTurbo(this,  731, textureX, textureY); // Scope
    gunModel[6] = new ModelRendererTurbo(this,  971, textureX, textureY); // ScopeStand
    gunModel[7] = new ModelRendererTurbo(this,  1051, textureX, textureY); // RearLoader
    gunModel[8] = new ModelRendererTurbo(this,  1211, textureX, textureY); // RearGrip
    gunModel[9] = new ModelRendererTurbo(this,  891, textureX, textureY); // RearGrip
    gunModel[10] = new ModelRendererTurbo(this,  731, textureX, textureY); //
    gunModel[11] = new ModelRendererTurbo(this,  731, textureX, textureY); // Scope
    gunModel[12] = new ModelRendererTurbo(this,  731, textureX, textureY); // Scope

    gunModel[0].addBox(0F, 0F, 0F, 1, 3, 1, 0F); // Grip
    gunModel[0].setRotationPoint(-1F, -3.23F, -0.5F);

    gunModel[1].addBox(0F, 0F, 0F, 1, 2, 1, 0F); // Grip
    gunModel[1].setRotationPoint(-2F, -4.5F, -0.5F);

    gunModel[2].addBox(0F, 0F, 0F, 17, 2, 2, 0F); // MainBody
    gunModel[2].setRotationPoint(-18F, -6F, -1F);

    gunModel[3].addBox(0F, 0F, 0F, 6, 3, 3, 0F); // BodyCasement
    gunModel[3].setRotationPoint(-12F, -6.5F, -1.5F);

    gunModel[4].addBox(0F, 0F, 0F, 2, 3, 3, 0F); // RingF
    gunModel[4].setRotationPoint(-1F, -6.5F, -1.5F);

    gunModel[5].addBox(0F, 0F, 0F, 4, 1, 1, 0F); // Scope
    gunModel[5].setRotationPoint(-2F, -6F, 2.3F);

    gunModel[6].addBox(0F, 0F, 0F, 1, 1, 2, 0F); // ScopeStand
    gunModel[6].setRotationPoint(-1F, -6F, 0.3F);

    gunModel[7].addBox(0F, 0F, 0F, 1, 3, 3, 0F); // RearLoader
    gunModel[7].setRotationPoint(-19F, -6.5F, -1.5F);

    gunModel[8].addBox(0F, 0F, 0F, 2, 2, 1, 0F); // RearGrip
    gunModel[8].setRotationPoint(-13F, -4F, 0F);

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

    gunModel[10].addBox(0F, 0F, 0F, 4, 1, 1, 0F); // Scope
    gunModel[10].setRotationPoint(-2F, -7F, 1.3F);

    gunModel[11].addBox(0F, 0F, 0F, 4, 1, 1, 0F); // Scope
    gunModel[11].setRotationPoint(-2F, -8F, 2.3F);

    gunModel[12].addBox(0F, 0F, 0F, 4, 1, 1, 0F); // Scope
    gunModel[12].setRotationPoint(-2F, -7F, 3.3F);



// Ammo
    ammoModel = new ModelRendererTurbo[2];
    ammoModel[0] = new ModelRendererTurbo(this,  1291, textureX, textureY); // RocketMiddle
    ammoModel[1] = new ModelRendererTurbo(this,  1531, textureX, textureY); // RocketBody

    ammoModel[0].addBox(0F, 0F, 0F, 9, 1, 1, 0F); // RocketMiddle
    ammoModel[0].setRotationPoint(0F, -5.5F, -0.5F);

    ammoModel[1].addBox(0F, 0F, 0F, 4, 2, 2, 0F); // RocketBody
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].addBox(-0.75F, 1.5F, -0.5F, 20, 1, 1);
   
    gunModel[1] = new ModelRendererTurbo(this, 0, 2, textureX, textureY);
    gunModel[1].addBox(-1F, 0F, -1F, 13, 2, 2);
   
    gunModel[2] = new ModelRendererTurbo(this, 0, 6, textureX, textureY);
    gunModel[2].addBox(10F, -1F, -1F, 4, 1, 2);
   
    //Scope
    defaultScopeModel = new ModelRendererTurbo[4];
   
   
    defaultScopeModel[0] = new ModelRendererTurbo(this, 31, 3, textureX, textureY);
    defaultScopeModel[0].addBox(-2F, 4.5F, -0.5F, 6, 1, 1);
   
    defaultScopeModel[1] = new ModelRendererTurbo(this, 0, 9, textureX, textureY);
    defaultScopeModel[1].addTrapezoid(4F, 4F, -1F, 4, 2, 2, 0F, -0.5F, ModelRendererTurbo.MR_RIGHT);
   
    defaultScopeModel[2] = new ModelRendererTurbo(this, 8, 13, textureX, textureY);
    defaultScopeModel[2].addBox(1F, 2.5F, -0.5F, 1, 2, 1);
   
    defaultScopeModel[3] = new ModelRendererTurbo(this, 12, 13, textureX, textureY);
    defaultScopeModel[3].addBox(3F, 2.5F, -0.5F, 1, 2, 1);
   
    scopeAttachPoint = new Vector3f(3F / 16F, 5F / 16F, 0F);
   
    //Barrel   
    barrelAttachPoint = new Vector3f(17F / 16F, 4.5F / 16F, 0F);
   
    //Stock
    defaultStockModel = new ModelRendererTurbo[5];
   
    defaultStockModel[0] = new ModelRendererTurbo(this, 27, 10, textureX, textureY);
    defaultStockModel[0].addBox(-2F, -2F, -1F, 1, 4, 2);
   
    defaultStockModel[1] = new ModelRendererTurbo(this, 34, 13, textureX, textureY);
    defaultStockModel[1].addBox(-5F, -2F, -1F, 3, 1, 2);
   
    defaultStockModel[2] = new ModelRendererTurbo(this, 34, 10, textureX, textureY);
    defaultStockModel[2].addBox(-4F, 1F, -1F, 2, 1, 2);
   
    defaultStockModel[3] = new ModelRendererTurbo(this, 30, 5, textureX, textureY);
    defaultStockModel[3].addBox(-7F, -1F, -1F, 3, 3, 2);
   
    defaultStockModel[4] = new ModelRendererTurbo(this, 18, 10, textureX, textureY);
    defaultStockModel[4].addBox(-9F, -2F, -1F, 2, 4, 2);
   
    stockAttachPoint = new Vector3f(-1F / 16F, 1F / 16F, 0F);
   
    //Ammo
    ammoModel = new ModelRendererTurbo[1];
   
    ammoModel[0] = new ModelRendererTurbo(this, 41, 7, textureX, textureY);
    ammoModel[0].addShapeBox(3F, -2F, -1F, 3, 2, 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)
   
    translateAll(0, 2.5F, 0);
   
    gunSlideDistance = 0.5F;
View Full Code Here

public class ModelVulcan extends ModelMG
{
  public ModelVulcan()
  {
    bipodModel = new ModelRendererTurbo[3];
    bipodModel[0] = new ModelRendererTurbo(this, 0, 0);
    bipodModel[0].addBox(0F, 0F, 0F, 1, 5, 1);
    bipodModel[0].rotateAngleZ = 3.14159265F / 4F + 0.2F;
    bipodModel[0].rotateAngleX = -3.14159265F / 4F;
    bipodModel[0].setRotationPoint(2.66F, 0F, 4F);
    bipodModel[1] = new ModelRendererTurbo(this, 0, 0);
    bipodModel[1].addBox(-1F, 0F, 0F, 1, 5, 1);
    bipodModel[1].rotateAngleZ = -3.14159265F / 4F - 0.2F;
    bipodModel[1].rotateAngleX = -3.14159265F / 4F;
    bipodModel[1].setRotationPoint(-2.66F, 0F, 4F);
    bipodModel[2] = new ModelRendererTurbo(this, 0, 0);
    bipodModel[2].addBox(-1F, 0F, 0F, 1, 5, 1);
    bipodModel[2].rotateAngleX = 3.14159265F / 3F;
    bipodModel[2].setRotationPoint(0F, 0F, -4F);

    gunModel = new ModelRendererTurbo[4];
    gunModel[0] = new ModelRendererTurbo(this, 0, 0);
    gunModel[0].addBox(-2F, -1F, -4F, 4, 5, 12);
    gunModel[0].setRotationPoint(0F, 4F, 0F);
    gunModel[1] = new ModelRendererTurbo(this, 0, 17);
    gunModel[1].addBox(-1F, -1F, -12F, 2, 3, 10);
    gunModel[1].setRotationPoint(0F, 6F, 0F);
    gunModel[2] = new ModelRendererTurbo(this, 0, 6);
    gunModel[2].addBox(-1F, -0F, 8F, 2, 2, 4);
    gunModel[2].setRotationPoint(0F, 6F, 0F);
    gunModel[3] = new ModelRendererTurbo(this, 4, 0);
    gunModel[3].addBox(-1F, -2F, 12F, 2, 4, 2);
    gunModel[3].setRotationPoint(0F, 6F, 0F);

    ammoModel = new ModelRendererTurbo[1];
    ammoModel[0] = new ModelRendererTurbo(this, 20, 0);
    ammoModel[0].addBox(-7F, -2F, -2F, 5, 4, 4);
    ammoModel[0].setRotationPoint(0F, 6F, 0F);
  }
View Full Code Here

    int textureX = 16;
    int textureY = 32;
   
    gunModel = new ModelRendererTurbo[2];
   
    gunModel[0] = new ModelRendererTurbo(this, 0, 0, textureX, textureY);
    gunModel[0].addShapeBox(-1F, -2F, -1F, 2, 24, 2, 0F, /* 0 */ 0F, 0F, 0F, /* 1 */ 0F, 0F, 0F, /* 2 */ 0F, 0F, 0F, /* 3 */ 0F, 0F, 0F, /* 4 */ 0.5F, 0F, 0.5F, /* 5 */ 0.5F, 0F, 0.5F, /* 6 */ 0.5F, 0F, 0.5F, /* 7 */ 0.5F, 0F, 0.5F)
   
    gunModel[1] = new ModelRendererTurbo(this, 0, 27, textureX, textureY);
    gunModel[1].addBox(-1.5F, -4F, -1.5F, 3, 2, 3);
   
    for(int i = 0; i < 2; i++)
      gunModel[i].setRotationPoint(0F, 0F, 0F);
   
View Full Code Here

  int textureY = 32;

  public ModelAUG()
  {
    gunModel = new ModelRendererTurbo[11];
    gunModel[0] = new ModelRendererTurbo(this, 0, 7, textureX, textureY);
    gunModel[1] = new ModelRendererTurbo(this, 0, 0, textureX, textureY);
    gunModel[2] = new ModelRendererTurbo(this, 13, 2, textureX, textureY);
    gunModel[3] = new ModelRendererTurbo(this, 21, 7, textureX, textureY);
    gunModel[4] = new ModelRendererTurbo(this, 8, 12, textureX, textureY);
    gunModel[5] = new ModelRendererTurbo(this, 24, 1, textureX, textureY);
    gunModel[6] = new ModelRendererTurbo(this, 0, 18, textureX, textureY);
    gunModel[7] = new ModelRendererTurbo(this, 27, 4, textureX, textureY);
    gunModel[8] = new ModelRendererTurbo(this, 23, 13, textureX, textureY);
    gunModel[9] = new ModelRendererTurbo(this, 0, 22, textureX, textureY);
    gunModel[10] = new ModelRendererTurbo(this, 5, 22, textureX, textureY);

    gunModel[0].addBox(-6F, -3.25F, -3.25F, 8, 2, 2, 0F); // Box 0
    gunModel[0].setRotationPoint(0F, 0F, 0F);
    gunModel[0].rotateAngleX = -0.78539816F;

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

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

    gunModel[3].addShapeBox(-0.4F, -3F, -0.5F, 2, 4, 1, 0F,-0.1F, 0F, 0F,-0.1F, 0F, 0F,-0.1F, 0F, 0F,-0.1F, 0F, 0F,-0.1F, 0F, 0F,-0.1F, 0F, 0F,-0.1F, 0F, 0F,-0.1F, 0F, 0F); // Box 4
    gunModel[3].setRotationPoint(0F, 0F, 0F);
    gunModel[3].rotateAngleZ = -0.13962634F;

    gunModel[4].addShapeBox(2F, -3F, -3F, 5, 2, 2, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, -0.25F,0F, 0F, -0.25F,0F, -0.25F, 0F,0F, -0.25F, 0F,0F, -0.25F, -0.25F,0F, -0.25F, -0.25F); // Box 6
    gunModel[4].setRotationPoint(0F, 0F, 0F);
    gunModel[4].rotateAngleX = -0.78539816F;

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

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

    gunModel[7].addShapeBox(6.5F, -5F, -0.5F, 1, 2, 1, 0F,0F, 0F, 0F,0F, -1F, 0F,0F, -1F, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F); // Box 10
    gunModel[7].setRotationPoint(0F, 0F, 0F);

    gunModel[8].addBox(4.5F, -2.6F, -0.5F, 3, 1, 1, 0F); // Box 13
    gunModel[8].setRotationPoint(0F, 0F, 0F);

    gunModel[9].addShapeBox(-2.5F, -5F, -0.5F, 1, 1, 1, 0F,0F, -1F, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, -1F, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F); // Box 14
    gunModel[9].setRotationPoint(0F, 0F, 0F);

    gunModel[10].addShapeBox(-7F, -3.25F, -3.25F, 1, 2, 2, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,0F, 0F, 0F,-0.1F, 0F, 0F); // Box 15
    gunModel[10].setRotationPoint(0F, 0F, 0F);
    gunModel[10].rotateAngleX = -0.78539816F;


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

    ammoModel[0].addBox(-4F, -2.7F, -0.5F, 2, 4, 1, 0F); // Box 5
    ammoModel[0].setRotationPoint(0F, 0F, 0F);
    ammoModel[0].rotateAngleZ = 0.15707963F;


    slideModel = new ModelRendererTurbo[2];
    slideModel[0] = new ModelRendererTurbo(this, 19, 17, textureX, textureY);
    slideModel[1] = new ModelRendererTurbo(this, 19, 17, textureX, textureY);

    slideModel[0].addShapeBox(3F, -4.1F, 0.4F, 1, 1, 1, 0F,-0.5F, 0F, -0.3F,0F, 0F, -0.3F,0F, 0F, -0.3F,-0.5F, 0F, -0.3F,0F, 0F, -0.3F,0F, 0F, -0.3F,0F, 0F, -0.3F,0F, 0F, -0.3F); // Box 11
    slideModel[0].setRotationPoint(0F, 0F, 0F);

    slideModel[1].addShapeBox(3F, -4.1F, -1.4F, 1, 1, 1, 0F,-0.5F, 0F, -0.3F,0F, 0F, -0.3F,0F, 0F, -0.3F,-0.5F, 0F, -0.3F,0F, 0F, -0.3F,0F, 0F, -0.3F,0F, 0F, -0.3F,0F, 0F, -0.3F); // Box 20
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].addBox(-0.5F, 4F, -0.75F, 9, 1, 1.5F);

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

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

    gunModel[3] = new ModelRendererTurbo(this, 26, 0, textureX, textureY);
    gunModel[3].addBox(8.5F, 3F, -0.5F, 1, 1, 1);
   
    gunModel[5] = new ModelRendererTurbo(this, 26, 0, textureX, textureY);
    gunModel[5].addBox(7F, 5F, -0.5F, 1, 1, 1);

    gunModel[4] = new ModelRendererTurbo(this, 0, 9, textureX, textureY);
    gunModel[4].addBox(-0.75F, -3F, -0.75F, 1.5F, 4, 1.5F);
    gunModel[4].setRotationPoint(1F, 2F, 0F);
    gunModel[4].rotateAngleZ = -0.5F;
   
    //Ammo
    ammoModel = new ModelRendererTurbo[1];
   
    ammoModel[0] = new ModelRendererTurbo(this, 8, 9, textureX, textureY);
    ammoModel[0].addShapeBox(3F, -1F, -0.5F, 2, 4, 1, 0F, /* 0 */ -1F, 0F, 0F, /* 1 */ 0.8F, -0.2F, 0F, /* 2 */ 0.8F, -0.2F, 0F, /* 3 */ -1F, 0F, 0F, /* 4 */ 0F, 0F, 0F, /* 5 */ 0F, 0F, 0F, /* 6 */ 0F, 0F, 0F, /* 7 */ 0F, 0F, 0F);
   
    //ammoModel[1] = new ModelRendererTurbo(this, 12, 9, textureX, textureY);
    //ammoModel[1].addShapeBox(3.5F, -3F, -0.5F, 1, 3, 1, 0F, /* 0 */ -2.5F, -1F, 0F, /* 1 */ 2F, -1.5F, 0F, /* 2 */ 2F, -1.5F, 0F, /* 3 */ -2.5F, -1F, 0F, /* 4 */ -1F, 0F, 0F, /* 5 */ 0.8F, 0.2F, 0F, /* 6 */ 0.8F, 0.2F, 0F, /* 7 */ -1F, 0F, 0F);

    //Stock
    stockAttachPoint = new Vector3f(-1F / 16F, 3.5F / 16F, 0F);
   
    defaultGripModel = new ModelRendererTurbo[1];
   
    defaultGripModel[0] = new ModelRendererTurbo(this, 21, 9, textureX, textureY);
    defaultGripModel[0].addBox(7F, 1F, -0.5F, 1, 2, 1);
   
    //Barrel
    barrelAttachPoint = new Vector3f(9F / 16F, 3.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(-2F, 1F, -1F, 12, 2, 2);
   
    gunModel[1] = new ModelRendererTurbo(this, 0, 4, textureX, textureY);
    gunModel[1].addBox(-8F, -1F, -1F, 6, 5, 2);
   
    gunModel[2] = new ModelRendererTurbo(this, 0, 11, textureX, textureY);
    gunModel[2].addBox(-2F, -2F, -1F, 3, 3, 2);
   
    gunModel[3] = new ModelRendererTurbo(this, 10, 13, textureX, textureY);
    gunModel[3].addBox(1F, -2F, -1F, 8, 1, 2);
   
    gunModel[4] = new ModelRendererTurbo(this, 14, 9, textureX, textureY);
    gunModel[4].addBox(5F, -1F, -1F, 1, 2, 2);
   
    gunModel[5] = new ModelRendererTurbo(this, 18, 7, textureX, textureY);
    gunModel[5].addBox(8F, -1F, -1F, 1, 2, 2);
   
    gunModel[6] = new ModelRendererTurbo(this, 16, 4, textureX, textureY);
    gunModel[6].addBox(9F, 0F, -1F, 1, 1, 2);
   
    gunModel[7] = new ModelRendererTurbo(this, 25, 1, textureX, textureY);
    gunModel[7].addBox(4.9F, 2F, -1.5F, 5, 3, 3);
       
    //Scope
    scopeAttachPoint = new Vector3f(7.5F / 16F, 5F / 16F, 0F);
   
    //Barrel
    defaultBarrelModel = new ModelRendererTurbo[1];
       
    defaultBarrelModel[0] = new ModelRendererTurbo(this, 21, 11, textureX, textureY);
    defaultBarrelModel[0].addBox(10F, 1.5F, -0.5F, 1, 1, 1);
   
    barrelAttachPoint = new Vector3f(10F / 16F, 2F / 16F, 0F);
   
    //Ammo
    ammoModel = new ModelRendererTurbo[1];
   
    ammoModel[0] = new ModelRendererTurbo(this, 28, 13, textureX, textureY);
    ammoModel[0].addBox(-2F, 3F, -1F, 11, 1, 2);
   
    gunSlideDistance = 0.5F;
    animationType = EnumAnimationType.P90;
  }
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.