× Tutorials about Modelling and Texturing form Minecraft

1.6 Model Changes (Updated)

  • Posts: 1782
  • Karma: 37
  • Thank you received: 49

Manus created the topic: 1.6 Model Changes (Updated)

All elements are additional. Models don't have to be changed if you don't want to.

Model Plane:
New Elements:
bodyGearDownModel = new ModelRendererTurbo[0]; //Part for gear, shown by default. Become invisible when pressing the Gear key
tailGearDownModel = new ModelRendererTurbo[0]; //Part for gear, shown by default. Become invisible when pressing the Gear key
rightWingGearDownModel = new ModelRendererTurbo[0]; //Part for gear, shown by default. Become invisible when pressing the Gear key
leftWingGearDownModel = new ModelRendererTurbo[0]; //Part for gear, shown by default. Become invisible when pressing the Gear key

bodyDoorOpenModel = new ModelRendererTurbo[0]; //Part for door, shown by default. Become invisible when pressing the door key
bodyDoorCloseModel = new ModelRendererTurbo[0]; //Part for door, shown by default. Become invisible when pressing the door key
tailDoorOpenModel = new ModelRendererTurbo[0]; //Part for door, not shown by default. Become visible when pressing the door key
tailDoorCloseModel = new ModelRendererTurbo[0]; //Part for door, not shown by default. Become visible when pressing the door key

rightWingPos1Model = new ModelRendererTurbo[0]; //Part for wings, shown by default. Become invisible when pressing the wing key
rightWingPos2Model = new ModelRendererTurbo[0]; //Part for wings, not shown by default. Become visible when pressing the wing key
leftWingPos1Model = new ModelRendererTurbo[0]; //Part for wings, shown by default. Become invisible when pressing the wing key
leftWingPos2Model = new ModelRendererTurbo[0]; //Part for wings, not shown by default. Become visible when pressing the wing key

Model Vehicle:
New Elements:
bodyDoorOpenModel = new ModelRendererTurbo[0]; //Part for door, shown by default. Become invisible when pressing the door key
bodyDoorCloseModel = new ModelRendererTurbo[0]; //Part for door, not shown by default. Become visible when pressing the door key
trailerModel = new ModelRendererTurbo[0]; //Part for trailers move left/right around the rotation point when the vehicle is turning
wheelAniModel = new ModelRendererTurbo[0]; //Part for wheels. The part is rotating around the Z Axis around its rotation point

Config Plane:
New Elements:
- HasGear (True/False) //Plane has movable gear. Default is False.
- HasDoor (True/False) //Plane has movable doors. Default is False.
- HasWing (True/False) //Plane has movable wings. Default is False.
- ParkPos (0.0 - 360.0) //Angle between main gear and tail/front gear in degrees. Default is 0.
- InflightInventory (True/False) //Planes Inventory is accessible while plane is not on ground. Default True.
- IsHelo (0/1/2) //Plane is Helo or VTOL. 0=Plane, 1 = VTOL, 2 = Helicopter
Underline = Standard

Config Vehicle:
New Elements:
- HasDoor (True/False) //Vehicle has movable doors. Default is False.
- CameraDistance (0.0 - XX) //Distance from Vehicle when in 3. Person View. Default is 5.
- RotateGunner (True/False) //Gunner is rotate with the turret when the turret is rotating. Default is False.

Nitro Model Thingy:
New Elements:
FlexBox
- bodyModel[0].addFlexBox(0F, 0F, 0F, 7, 7, 8, 0F, 0F, -4F, -1F, -1F, ModelRendererTurbo.MR_TOP);
bodyModel[0].addFlexBox(
Pos X (Float),
Pos Y (Float),
Pos Z (Float),
Size X (Int),
Size Y (Int),
Size Z (Int),
Overall Scale (Float),
Top Scale Front (Float),
Top Scale Back (Float),
Top Scale Left (Float),
Top Scale Right (Float),
Direction (String)
);

FlexTrapezoid
- bodyModel[0].addFlexTrapezoid(8F, -46F, -23F, 15, 15, 46, 0F, 0F, -7F, -7F, -7F, -8F, -8F, ModelRendererTurbo.MR_TOP);
bodyModel[0].addFlexTrapezoid(
Pos X (Float),
Pos Y (Float),
Pos Z (Float),
Size X (Int),
Size Y (Int),
Size Z (Int),
Overall Scale (Float),
Top Scale Front (Float),
Top Scale Back (Float),
Top Scale Left (Float),
Top Scale Right (Float),
Bottom Scale Left (Float),
Bottom Scale Right (Float),
Direction (String)
);

ShapeBox
- bodyModel[0].addShapeBox(0F, 0F, 0F, 76, 17, 17, 0F, -11F, 0F, -10F, -20F, -4F, -7F, -20F, -4F, 0F, -11F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F);
bodyModel[0].addShapeBox(
Pos X (Float),
Pos Y (Float),
Pos Z (Float),
Size X (Int),
Size Y (Int),
Size Z (Int),
Overall Scale (Float),
Modification X Pos 1 (Float),
Modification Y Pos 1 (Float),
Modification Z Pos 1 (Float),
Modification X Pos 2 (Float),
Modification Y Pos 2 (Float),
Modification Z Pos 2 (Float),
Modification X Pos 3 (Float),
Modification Y Pos 3 (Float),
Modification Z Pos 3 (Float),
Modification X Pos 4 (Float),
Modification Y Pos 4 (Float),
Modification Z Pos 4 (Float),
Modification X Pos 5 (Float),
Modification Y Pos 5 (Float),
Modification Z Pos 5 (Float),
Modification X Pos 6 (Float),
Modification Y Pos 6 (Float),
Modification Z Pos 6 (Float),
Modification X Pos 7 (Float),
Modification Y Pos 7 (Float),
Modification Z Pos 7 (Float),
Modification X Pos 8 (Float),
Modification Y Pos 8 (Float),
Modification Z Pos 8 (Float),
);


How to update your models:
Plane:
Paste this into the model:
bodyGearDownModel = new ModelRendererTurbo[0];
tailGearDownModel = new ModelRendererTurbo[0];
rightWingGearDownModel = new ModelRendererTurbo[0];
leftWingGearDownModel = new ModelRendererTurbo[0];
bodyDoorOpenModel = new ModelRendererTurbo[0];
bodyDoorCloseModel = new ModelRendererTurbo[0];
tailDoorOpenModel = new ModelRendererTurbo[0];
tailDoorCloseModel = new ModelRendererTurbo[0];
rightWingPos1Model = new ModelRendererTurbo[0];
rightWingPos2Model = new ModelRendererTurbo[0];
leftWingPos1Model = new ModelRendererTurbo[0];
leftWingPos2Model = new ModelRendererTurbo[0];

Vehicles:
Paste this into the model:
bodyDoorOpenModel = new ModelRendererTurbo[0];
bodyDoorCloseModel = new ModelRendererTurbo[0];
trailerModel = new ModelRendererTurbo[0];
wheelAniModel = new ModelRendererTurbo[0];

The config files don't need to be changed.

How to create a Gear/ Wing / Door
Use the new parts as normal. Build you model and build the java code. Instead placing the parts of the gear in the bodyModel, move them into bodyGearDownModel now.

Example:
rightWingGearDownModel = new ModelRendererTurbo[5];
rightWingGearDownModel[0] = new ModelRendererTurbo(this, 0, 400, textureX, textureY);
rightWingGearDownModel[1] = new ModelRendererTurbo(this, 30, 400, textureX, textureY);
rightWingGearDownModel[2] = new ModelRendererTurbo(this, 0, 420, textureX, textureY);
rightWingGearDownModel[3] = new ModelRendererTurbo(this, 10, 420, textureX, textureY);
rightWingGearDownModel[4] = new ModelRendererTurbo(this, 40, 420, textureX, textureY);

rightWingGearDownModel[0].addBox(0F, 0F, 0F, 10, 10, 2, 0F); // FWL1
rightWingGearDownModel[0].setRotationPoint(-16F, 0F, -17F);

rightWingGearDownModel[1].addBox(0F, 0F, 0F, 4, 4, 2, 0F); // FWL2
rightWingGearDownModel[1].setRotationPoint(-13F, 3F, -16F);

rightWingGearDownModel[2].addBox(0F, 0F, 0F, 2, 16, 1, 0F); // FWL3
rightWingGearDownModel[2].setRotationPoint(-9F, -9F, -10F);
rightWingGearDownModel[2].rotateAngleX = -0.3316126F;
rightWingGearDownModel[2].rotateAngleZ = -0.2094395F;

rightWingGearDownModel[3].addBox(0F, 0F, 0F, 11, 6, 1, 0F); // FWL4
rightWingGearDownModel[3].setRotationPoint(-16.5F, 0F, -12F);
rightWingGearDownModel[3].rotateAngleX = -0.3316126F;

rightWingGearDownModel[4].addBox(0F, 0F, 0F, 4, 15, 1, 0F); // FWL5
rightWingGearDownModel[4].setRotationPoint(-10F, -9F, -9F);
rightWingGearDownModel[4].rotateAngleX = -0.3316126F;
rightWingGearDownModel[4].rotateAngleZ = -0.2094395F;

#12348
The topic has been locked.
  • Posts: 899
  • Karma: 26
  • Thank you received: 53

TaskForce51 replied the topic:

Do you have any new models?


The Big 51
#12352
The topic has been locked.
  • Posts: 1073
  • Karma: 1
  • Thank you received: 0

MegaStannyBoy replied the topic:

Will thi describe how to make moveable gear and stuff like that?

#12359
The topic has been locked.
  • Posts: 2194
  • Karma: 2
  • Thank you received: 0

MegaF-16 replied the topic:

well what about the vehicles?

#12365
The topic has been locked.
  • Posts: 1782
  • Karma: 37
  • Thank you received: 49

Manus replied the topic:

So, updated

#12398
The topic has been locked.
  • Posts: 1073
  • Karma: 1
  • Thank you received: 0

MegaStannyBoy replied the topic:

Great! Will this be a side-mod or will it be in the official mod release?

#12399
The topic has been locked.
 
Latest Forum Posts
 
Latest Blog Posts
 
User Online
 
User Menu