× Tutorials about Modelling and Texturing form Minecraft

The Invisible Bug FAQ

  • Posts: 875
  • Karma: 55
  • Thank you received: 103

DerpiWolf created the topic: The Invisible Bug FAQ

So here's the thread that tries to help you for Invisible Models.

An "Invisible model" usually appears because you haven't put your models in right directory, or its named incorrectly. Eclipse should pull you up for any issues, but if not then do check here before posting any issues about an "Invisible Model".


--Did you put in the 'Model' prefix?--
All .java model files need a prefix. Flansmod checks for models that have a 'Model' prefix. If it doesn't have any, it won't check.







--Are they the same name?--

Check that the name of the .java file is exactly the same as what it is in the config notes. For this, you DON'T need the Model prefix. Beware, Case-Sensitive.
This also includes your Texture, make sure it matches the right name in the config as what the name of the texture file is.



Also, make sure you put it in the right package folder, and reference it in if you have done so.
As since the Ak47 model exists in the 'mw' folder, its written as mw.AK47.




--Package folder?--
Everything has a directory and must be specified if it's elsewhere. That's basic programming as it is.

So if your .java model files are in a specific folder, define the directory for that folder so the game can access it. This is done in the first line of your .java model file.



You only need to define where the folder is, NOT INCLUDING the model.



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

ImmenseTigerP replied the topic:

Does not help, since mine has everything you said, but still is invisible. Here is a look at my config: [sp]// Naming
Name Tiger (P)
ShortName TigerP
ItemID 4090
// Visuals
Model wot.TigerP
Color grey
Colour grey
Icon IconVehicleTigerP
MomentOfInertia 10.0
//For calculating whether wheels are on the ground or not for driving
WheelRadius 1.0
//Bouncy bouncy
Bounciness 0.3
//Misc
CanDrop True
Description On May 26, 1941, Adolf Hitler ordered Ferdinand Porsche and the Henschel company to develop prototypes of a new heavy tank. The prototypes were shown to the Führer on April 20, 1942. Manufacturing began, but the production run was cut short due to complexity of the tank's drive and control systems and a shortage of the required copper. Later, 90 produced hulls were converted into Ferdinand tank destroyers.
//---Driveables


//Visuals
Model TigerP
Texture SkinVehicleTigerP
ModelScale 1.0
//Movement
MaxThrottle 1
MaxNegativeThrottle -0.5
Drag 1.0
//Wheels
NumWheels 4
WheelPosition 0 -90 5 27
WheelPosition 1 -90 5 -26
WheelPosition 2 29 5 -26
WheelPosition 3 29 5 27
//Ammo
AllowAllAmmo False
AcceptAllAmmo False
AddAmmo shell
//Weapons
Primary SHELL
Secondary NONE
ShootDelayPrimary 329
ModePrimary SEMIAUTO
//Driver and Passengers
Driver 0 -32 0 -360 360 -6 7
RotatedDriverOffset -5 0 -9
Passengers 0
GunOrigin 1 0 30 0
BarrelPosition 0 36 0
//Inventory Slots
CargoSlots 0
ShellSlots 2
/Each section of the plane may have many parts
//The sections are tailWheel, tail, bay, topWing, leftWingWheel, leftWing, rightWingWheel,
//rightWing, nose, turret, coreWheel, core
AddRecipeParts turret 1 tankTurret 1 vehicleSeat
AddRecipeParts core 1 tankBody 1 vehicleSeat
AddRecipeParts leftTrack 1 catTrack
AddRecipeParts rightTrack 1 catTrack
//Health and Collision
SetupPart core 1820 -46 -3 -14 90 31 28
SetupPart turret 1820 -11 28 -14 44 18 28
SetupPart leftTrack 455 -45 -8 14 77 18 7
SetupPart rightTrack 455 -44 -8 -21 76 18 7
BulletDetection 10
//Misc
PlaceableOnLand True
OnRadar True
//Sounds
StartSound TankIdle
StartSoundLength 20
EngineSound TankMove
EngineSoundLength 60
ShootSoundPrimary wpn_85-107mm_set
ShootSoundSecondary DP28Shoot
//---Vehicle
//Visuals
HasDoor False
RotateWheels True
//Movement
TurnLeftSpeed 0.5
TurnRightSpeed 0.5
FourWheelDrive True
//Misc
SquashMobs True
Tank True
TankMode True
ShellDelay 329[/sp]

and now my model:
[sp]
//This File was created with the Minecraft-SMP Modelling Toolbox 2.1.2.0
// Copyright (C) 2015 Minecraft-SMP.de
// This file is for Flan's Flying Mod Version 4.0.x+

package com.flansmod.client.model.wot;

import com.flansmod.client.model.ModelVehicle;
import com.flansmod.client.tmt.Coord2D;
import com.flansmod.client.tmt.ModelRendererTurbo;
import com.flansmod.client.tmt.Shape2D;

public class ModelTigerP extends ModelVehicle
{
	int textureX = 4096;
	int textureY = 4096;

	public ModelTigerP()
	{
		initbodyModel();
		initturretModel();
		initbarrelModel();
		initleftTrackWheelModels();
		initrightTrackWheelModels();
		initleftTrackModel();
		initrightTrackModel();


		translateAll(0F, 0F, 0F);


		flipAll();
	}

	private void initbodyModel()
	{
		bodyModel = new ModelRendererTurbo[47];
		bodyModel[0] = new ModelRendererTurbo(this, 1, 1, textureX, textureY); // C1
		bodyModel[1] = new ModelRendererTurbo(this, 353, 1, textureX, textureY); // C2
		bodyModel[2] = new ModelRendererTurbo(this, 441, 1, textureX, textureY); // C3
		bodyModel[3] = new ModelRendererTurbo(this, 513, 1, textureX, textureY); // C4
		bodyModel[4] = new ModelRendererTurbo(this, 321, 1, textureX, textureY); // C5
		bodyModel[5] = new ModelRendererTurbo(this, 577, 1, textureX, textureY); // C6
		bodyModel[6] = new ModelRendererTurbo(this, 1, 1, textureX, textureY); // C7
		bodyModel[7] = new ModelRendererTurbo(this, 633, 1, textureX, textureY); // C8
		bodyModel[8] = new ModelRendererTurbo(this, 321, 1, textureX, textureY); // C9
		bodyModel[9] = new ModelRendererTurbo(this, 361, 1, textureX, textureY); // C10
		bodyModel[10] = new ModelRendererTurbo(this, 873, 1, textureX, textureY); // C11
		bodyModel[11] = new ModelRendererTurbo(this, 1081, 1, textureX, textureY); // C12
		bodyModel[12] = new ModelRendererTurbo(this, 841, 1, textureX, textureY); // C13
		bodyModel[13] = new ModelRendererTurbo(this, 1409, 1, textureX, textureY); // C14
		bodyModel[14] = new ModelRendererTurbo(this, 409, 1, textureX, textureY); // C15
		bodyModel[15] = new ModelRendererTurbo(this, 481, 1, textureX, textureY); // C16
		bodyModel[16] = new ModelRendererTurbo(this, 1377, 1, textureX, textureY); // C17
		bodyModel[17] = new ModelRendererTurbo(this, 1449, 1, textureX, textureY); // B4
		bodyModel[18] = new ModelRendererTurbo(this, 553, 1, textureX, textureY); // C19
		bodyModel[19] = new ModelRendererTurbo(this, 1489, 1, textureX, textureY); // C20
		bodyModel[20] = new ModelRendererTurbo(this, 449, 1, textureX, textureY); // C21
		bodyModel[21] = new ModelRendererTurbo(this, 521, 1, textureX, textureY); // C22
		bodyModel[22] = new ModelRendererTurbo(this, 1505, 1, textureX, textureY); // C23
		bodyModel[23] = new ModelRendererTurbo(this, 1561, 1, textureX, textureY); // C24
		bodyModel[24] = new ModelRendererTurbo(this, 1617, 1, textureX, textureY); // C25
		bodyModel[25] = new ModelRendererTurbo(this, 1865, 1, textureX, textureY); // C26
		bodyModel[26] = new ModelRendererTurbo(this, 1417, 1, textureX, textureY); // C27
		bodyModel[27] = new ModelRendererTurbo(this, 2113, 1, textureX, textureY); // C28
		bodyModel[28] = new ModelRendererTurbo(this, 2129, 1, textureX, textureY); // C29
		bodyModel[29] = new ModelRendererTurbo(this, 2193, 1, textureX, textureY); // C30
		bodyModel[30] = new ModelRendererTurbo(this, 2249, 1, textureX, textureY); // C31
		bodyModel[31] = new ModelRendererTurbo(this, 2305, 1, textureX, textureY); // C32
		bodyModel[32] = new ModelRendererTurbo(this, 2345, 1, textureX, textureY); // C33
		bodyModel[33] = new ModelRendererTurbo(this, 2385, 1, textureX, textureY); // C34
		bodyModel[34] = new ModelRendererTurbo(this, 2433, 1, textureX, textureY); // C35
		bodyModel[35] = new ModelRendererTurbo(this, 585, 1, textureX, textureY); // C36
		bodyModel[36] = new ModelRendererTurbo(this, 865, 1, textureX, textureY); // C37
		bodyModel[37] = new ModelRendererTurbo(this, 2449, 1, textureX, textureY); // C38
		bodyModel[38] = new ModelRendererTurbo(this, 1529, 1, textureX, textureY); // C39
		bodyModel[39] = new ModelRendererTurbo(this, 409, 1, textureX, textureY); // C40
		bodyModel[40] = new ModelRendererTurbo(this, 481, 1, textureX, textureY); // C41
		bodyModel[41] = new ModelRendererTurbo(this, 1377, 1, textureX, textureY); // C42
		bodyModel[42] = new ModelRendererTurbo(this, 1601, 1, textureX, textureY); // C43
		bodyModel[43] = new ModelRendererTurbo(this, 377, 1, textureX, textureY); // C44
		bodyModel[44] = new ModelRendererTurbo(this, 417, 1, textureX, textureY); // C45
		bodyModel[45] = new ModelRendererTurbo(this, 633, 1, textureX, textureY); // C46
		bodyModel[46] = new ModelRendererTurbo(this, 481, 1, textureX, textureY); // C47

		bodyModel[0].addBox(0F, 0F, 0F, 143, 10, 30, 0F); // C1
		bodyModel[0].setRotationPoint(-106F, -5F, -15F);

		bodyModel[1].addFlexTrapezoid(0F, 0F, 0F, 11, 2, 30, 0F, 0.00F, -11.00F, 0.00F, 0F, 0F, 0F, ModelRendererTurbo.MR_TOP); // C2
		bodyModel[1].setRotationPoint(26F, -10F, -15F);

		bodyModel[2].addFlexTrapezoid(0F, 0F, 0F, 4, 6, 30, 0F, 0.00F, -4.00F, 0.00F, 0.00F, 0.00F, 0.00F, ModelRendererTurbo.MR_TOP); // C3
		bodyModel[2].setRotationPoint(37F, -8F, -15F);

		bodyModel[3].addFlexTrapezoid(0F, 0F, 0F, 1, 7, 30, 0F, 0.00F, 3.00F, 0.00F, 0.00F, 0.00F, 0.00F, ModelRendererTurbo.MR_TOP); // C4
		bodyModel[3].setRotationPoint(37F, -2F, -15F);

		bodyModel[4].addFlexTrapezoid(0F, 0F, 0F, 10, 10, 13, 0F, 0.00F, -3.00F, 0.00F, -11.00F, -11.00F, -11.00F, ModelRendererTurbo.MR_LEFT); // C5
		bodyModel[4].setRotationPoint(14F, -17F, 13F);

		bodyModel[5].addBox(0F, 0F, 0F, 12, 7, 26, 0F); // C6
		bodyModel[5].setRotationPoint(14F, -17F, -13F);

		bodyModel[6].addFlexTrapezoid(0F, 0F, 0F, 10, 7, 2, 0F, 0.00F, 3.00F, 11.00F, 0.00F, 0.00F, 0.00F, ModelRendererTurbo.MR_RIGHT); // C7
		bodyModel[6].setRotationPoint(14F, -17F, -15F);

		bodyModel[7].addBox(0F, 0F, 0F, 107, 10, 11, 0F); // C8
		bodyModel[7].setRotationPoint(-93F, -17F, 15F);

		bodyModel[8].addFlexTrapezoid(0F, 0F, 0F, 2, 7, 2, 0F, 0F, 0.00F, 0F, 0F, 0F, 0F, ModelRendererTurbo.MR_TOP); // C9
		bodyModel[8].setRotationPoint(24F, -17F, 13F);
		bodyModel[8].rotateAngleZ = 0.06981317F;

		bodyModel[9].addFlexTrapezoid(0F, 0F, 0F, 2, 7, 2, 0F, 0F, 0.00F, 0F, 0F, 0F, 0F, ModelRendererTurbo.MR_TOP); // C10
		bodyModel[9].setRotationPoint(24F, -17F, -15F);

		bodyModel[10].addBox(0F, 0F, 0F, 107, 10, 11, 0F); // C11
		bodyModel[10].setRotationPoint(-93F, -17F, -26F);

		bodyModel[11].addBox(0F, 0F, 0F, 132, 5, 30, 0F); // C12
		bodyModel[11].setRotationPoint(-106F, -10F, -15F);

		bodyModel[12].addFlexTrapezoid(-4F, 0F, 0F, 0, 3, 30, 0F, 2.00F, 0.00F, 0.00F, 0.00F, 0.00F, 0.00F, ModelRendererTurbo.MR_TOP); // C13
		bodyModel[12].setRotationPoint(35F, 2F, -15F);

		bodyModel[13].addBox(0F, 0F, 0F, 2, 12, 30, 0F); // C14
		bodyModel[13].setRotationPoint(-107F, -10F, -15F);

		bodyModel[14].addBox(0F, 0F, 0F, 12, 1, 13, 0F); // C15
		bodyModel[14].setRotationPoint(14F, -7F, 15F);
		bodyModel[14].rotateAngleZ = 0.29670597F;

		bodyModel[15].addBox(0F, 0F, 0F, 12, 1, 13, 0F); // C16
		bodyModel[15].setRotationPoint(14F, -7F, -28F);
		bodyModel[15].rotateAngleZ = 0.29670597F;

		bodyModel[16].addBox(0F, 0F, 0F, 13, 1, 13, 0F); // C17
		bodyModel[16].setRotationPoint(25.5F, -10.5F, 15F);

		bodyModel[17].addBox(0F, 0F, 0F, 13, 1, 13, 0F); // B4
		bodyModel[17].setRotationPoint(25.5F, -10.5F, -28F);

		bodyModel[18].addBox(0F, 0F, 0F, 13, 7, 1, 0F); // C19
		bodyModel[18].setRotationPoint(25.5F, -9.5F, 15F);

		bodyModel[19].addBox(0F, 0F, 0F, 13, 7, 1, 0F); // C20
		bodyModel[19].setRotationPoint(25.5F, -9.5F, -16F);

		bodyModel[20].addFlexTrapezoid(0F, 0F, 0F, 7, 7, 1, 0F, 0F, -7.00F, 0F, 0F, 0F, 0F, ModelRendererTurbo.MR_TOP); // C21
		bodyModel[20].setRotationPoint(38.5F, -9.5F, 15F);

		bodyModel[21].addFlexTrapezoid(0F, 0F, 0F, 7, 7, 1, 0F, 0F, -7.00F, 0F, 0F, 0F, 0F, ModelRendererTurbo.MR_TOP); // C22
		bodyModel[21].setRotationPoint(38.5F, -9.5F, -16F);

		bodyModel[22].addBox(0F, 0F, 0F, 11, 1, 13, 0F); // C23
		bodyModel[22].setRotationPoint(38.5F, -10.5F, 15F);
		bodyModel[22].rotateAngleZ = -0.76794487F;

		bodyModel[23].addBox(0F, 0F, 0F, 11, 1, 13, 0F); // C24
		bodyModel[23].setRotationPoint(38.5F, -10.5F, -28F);
		bodyModel[23].rotateAngleZ = -0.76794487F;

		bodyModel[24].addBox(0F, 0F, 0F, 107, 1, 13, 0F); // C25
		bodyModel[24].setRotationPoint(-92.5F, -7F, 15F);

		bodyModel[25].addBox(0F, 0F, 0F, 107, 1, 13, 0F); // C26
		bodyModel[25].setRotationPoint(-92.5F, -7F, -28F);

		bodyModel[26].addFlexTrapezoid(0F, 0F, 0F, 11, 10, 11, 0F, -5.00F, -3.00F, 0.00F, -11.00F, -11.00F, -11.00F, ModelRendererTurbo.MR_RIGHT); // C27
		bodyModel[26].setRotationPoint(-104F, -17F, 15F);

		bodyModel[27].addFlexTrapezoid(0F, 0F, 0F, 10, 10, 11, 0F, -4.50F, -3.00F, -11.00F, 0.00F, 0.00F, 0.00F, ModelRendererTurbo.MR_RIGHT); // C28
		bodyModel[27].setRotationPoint(-103F, -17F, -26F);

		bodyModel[28].addFlexTrapezoid(0F, 0F, 0F, 15, 7, 30, 0F, -15.00F, 0F, 0F, 0F, 0F, 0F, ModelRendererTurbo.MR_TOP); // C29
		bodyModel[28].setRotationPoint(-108F, -17F, -15F);

		bodyModel[29].addBox(0F, 0F, 0F, 11, 1, 13, 0F); // C30
		bodyModel[29].setRotationPoint(-92.5F, -6F, 15F);
		bodyModel[29].rotateAngleZ = 2.8099801F;

		bodyModel[30].addBox(0F, 0F, 0F, 11, 1, 13, 0F); // C31
		bodyModel[30].setRotationPoint(-92.5F, -6F, -28F);
		bodyModel[30].rotateAngleZ = 2.8099801F;

		bodyModel[31].addBox(0F, 0F, 0F, 5, 1, 13, 0F); // C32
		bodyModel[31].setRotationPoint(-107.6F, -10.54F, 15F);

		bodyModel[32].addBox(0F, 0F, 0F, 5, 1, 13, 0F); // C33
		bodyModel[32].setRotationPoint(-107.6F, -10.54F, -28F);

		bodyModel[33].addBox(0F, 0F, 0F, 9, 1, 13, 0F); // C34
		bodyModel[33].setRotationPoint(-113.4F, -3.62F, 15F);
		bodyModel[33].rotateAngleZ = 0.87266463F;

		bodyModel[34].addBox(0F, 0F, 0F, 9, 1, 13, 0F); // C35
		bodyModel[34].setRotationPoint(-113.4F, -3.62F, -28F);
		bodyModel[34].rotateAngleZ = 0.87266463F;

		bodyModel[35].addFlexTrapezoid(0F, 0F, 0F, 6, 7, 1, 0F, -6.00F, 0.00F, 0F, 0F, 0F, 0F, ModelRendererTurbo.MR_TOP); // C36
		bodyModel[35].setRotationPoint(-112.6F, -10.1F, 15F);

		bodyModel[36].addFlexTrapezoid(0F, 0F, 0F, 6, 7, 1, 0F, -6.00F, 0.00F, 0F, 0F, 0F, 0F, ModelRendererTurbo.MR_TOP); // C37
		bodyModel[36].setRotationPoint(-112.6F, -10.1F, -16F);

		bodyModel[37].addBox(0F, 0F, 0F, 107, 7, 30, 0F); // C38
		bodyModel[37].setRotationPoint(-93F, -17F, -15F);

		bodyModel[38].addFlexTrapezoid(0F, 0F, 0F, 2, 8, 26, 0F, 0F, 0F, 0F, 0F, 0F, 0F, ModelRendererTurbo.MR_TOP); // C39
		bodyModel[38].setRotationPoint(26F, -17F, -13F);

		bodyModel[39].addFlexTrapezoid(0F, 0F, 0F, 1, 8, 3, 0F, 0F, 0F, 0F, 0F, 0F, 0F, ModelRendererTurbo.MR_TOP); // C40
		bodyModel[39].setRotationPoint(28F, -17F, -12F);

		bodyModel[40].addBox(0F, 0F, 0F, 1, 2, 5, 0F); // C41
		bodyModel[40].setRotationPoint(28F, -11F, -9F);

		bodyModel[41].addFlexTrapezoid(0F, 0F, 0F, 1, 8, 3, 0F, 0F, 0F, 0F, 0F, 0F, 0F, ModelRendererTurbo.MR_TOP); // C42
		bodyModel[41].setRotationPoint(28F, -17F, -4F);

		bodyModel[42].addBox(0F, 0F, 0F, 7, 1, 1, 0F); // C43
		bodyModel[42].setRotationPoint(28F, -13F, -8F);

		bodyModel[43].addTrapezoid(0F, 0F, 0F, 1, 1, 1, 0F, 0.50F, ModelRendererTurbo.MR_LEFT); // C44
		bodyModel[43].setRotationPoint(30F, -13F, -8F);

		bodyModel[44].addTrapezoid(0F, 0F, 0F, 1, 1, 1, 0F, 0.50F, ModelRendererTurbo.MR_RIGHT); // C45
		bodyModel[44].setRotationPoint(32F, -13F, -8F);

		bodyModel[45].addBox(0F, 0F, 0F, 1, 2, 2, 0F); // C46
		bodyModel[45].setRotationPoint(31F, -13.5F, -8.5F);

		bodyModel[46].addBox(0F, 0F, 0F, 1, 2, 5, 0F); // C47
		bodyModel[46].setRotationPoint(28F, -17F, -9F);

	}

	private void initturretModel()
	{
		turretModel = new ModelRendererTurbo[38];
		turretModel[0] = new ModelRendererTurbo(this, 2729, 1, textureX, textureY); // T3
		turretModel[1] = new ModelRendererTurbo(this, 2857, 1, textureX, textureY); // T2
		turretModel[2] = new ModelRendererTurbo(this, 2697, 1, textureX, textureY); // T3
		turretModel[3] = new ModelRendererTurbo(this, 2825, 1, textureX, textureY); // T4
		turretModel[4] = new ModelRendererTurbo(this, 2729, 1, textureX, textureY); // T5
		turretModel[5] = new ModelRendererTurbo(this, 2897, 1, textureX, textureY); // T6
		turretModel[6] = new ModelRendererTurbo(this, 2969, 1, textureX, textureY); // T7
		turretModel[7] = new ModelRendererTurbo(this, 3001, 1, textureX, textureY); // T8
		turretModel[8] = new ModelRendererTurbo(this, 3033, 1, textureX, textureY); // T9
		turretModel[9] = new ModelRendererTurbo(this, 3065, 1, textureX, textureY); // T10
		turretModel[10] = new ModelRendererTurbo(this, 3121, 1, textureX, textureY); // T11
		turretModel[11] = new ModelRendererTurbo(this, 3185, 1, textureX, textureY); // T12
		turretModel[12] = new ModelRendererTurbo(this, 1561, 1, textureX, textureY); // T13
		turretModel[13] = new ModelRendererTurbo(this, 3201, 1, textureX, textureY); // T14
		turretModel[14] = new ModelRendererTurbo(this, 1545, 1, textureX, textureY); // T15
		turretModel[15] = new ModelRendererTurbo(this, 481, 1, textureX, textureY); // T16
		turretModel[16] = new ModelRendererTurbo(this, 489, 1, textureX, textureY); // T17
		turretModel[17] = new ModelRendererTurbo(this, 409, 1, textureX, textureY); // T18
		turretModel[18] = new ModelRendererTurbo(this, 1561, 1, textureX, textureY); // T19
		turretModel[19] = new ModelRendererTurbo(this, 1105, 1, textureX, textureY); // T20
		turretModel[20] = new ModelRendererTurbo(this, 1377, 1, textureX, textureY); // T21
		turretModel[21] = new ModelRendererTurbo(this, 641, 1, textureX, textureY); // T22
		turretModel[22] = new ModelRendererTurbo(this, 3273, 1, textureX, textureY); // T23
		turretModel[23] = new ModelRendererTurbo(this, 3249, 1, textureX, textureY); // T24
		turretModel[24] = new ModelRendererTurbo(this, 3329, 1, textureX, textureY); // T25
		turretModel[25] = new ModelRendererTurbo(this, 3345, 1, textureX, textureY); // T26
		turretModel[26] = new ModelRendererTurbo(this, 3345, 1, textureX, textureY); // T27
		turretModel[27] = new ModelRendererTurbo(this, 3345, 1, textureX, textureY); // T28
		turretModel[28] = new ModelRendererTurbo(this, 3345, 1, textureX, textureY); // T29
		turretModel[29] = new ModelRendererTurbo(this, 3345, 1, textureX, textureY); // T30
		turretModel[30] = new ModelRendererTurbo(this, 3345, 1, textureX, textureY); // T31
		turretModel[31] = new ModelRendererTurbo(this, 3345, 1, textureX, textureY); // T32
		turretModel[32] = new ModelRendererTurbo(this, 1545, 1, textureX, textureY); // T33
		turretModel[33] = new ModelRendererTurbo(this, 489, 1, textureX, textureY); // T34
		turretModel[34] = new ModelRendererTurbo(this, 1545, 1, textureX, textureY); // T35
		turretModel[35] = new ModelRendererTurbo(this, 489, 1, textureX, textureY); // T36
		turretModel[36] = new ModelRendererTurbo(this, 1545, 1, textureX, textureY); // T37
		turretModel[37] = new ModelRendererTurbo(this, 1545, 1, textureX, textureY); // T38

		turretModel[0].addBox(0F, 0F, 0F, 30, 9, 30, 0F); // T3
		turretModel[0].setRotationPoint(-15F, -26F, -15F);

		turretModel[1].addFlexTrapezoid(0F, 0F, 0F, 3, 3, 30, 0F, 0F, 0F, 0F, 0F, 0F, 0F, ModelRendererTurbo.MR_TOP); // T2
		turretModel[1].setRotationPoint(15F, -20F, -15F);

		turretModel[2].addFlexTrapezoid(0F, 0F, 0F, 2, 3, 24, 0F, 0F, 0F, 0F, 0F, 0F, 0F, ModelRendererTurbo.MR_TOP); // T3
		turretModel[2].setRotationPoint(18F, -20F, -12F);

		turretModel[3].addFlexTrapezoid(0F, 0F, 0F, 24, 3, 3, 0F, 0.00F, 0.00F, 3.00F, 3.00F, 3.00F, 3.00F, ModelRendererTurbo.MR_FRONT); // T4
		turretModel[3].setRotationPoint(-12F, -20F, 15F);

		turretModel[4].addFlexTrapezoid(0F, 0F, 0F, 10, 16, 2, 0F, 0.00F, 0.00F, 7.00F, 7.00F, 7.00F, 7.00F, ModelRendererTurbo.MR_FRONT); // T5
		turretModel[4].setRotationPoint(-5F, -33F, 18F);

		turretModel[5].addFlexTrapezoid(0F, 0F, 0F, 30, 3, 3, 0F, 0.00F, 0.00F, -3.00F, -3.00F, -3.00F, -3.00F, ModelRendererTurbo.MR_FRONT); // T6
		turretModel[5].setRotationPoint(-15F, -20F, -18F);

		turretModel[6].addFlexTrapezoid(0F, 0F, 0F, 24, 16, 2, 0F, 0.00F, 0.00F, -7.00F, -7.00F, -7.00F, -7.00F, ModelRendererTurbo.MR_FRONT); // T7
		turretModel[6].setRotationPoint(-12F, -33F, -20F);

		turretModel[7].addFlexTrapezoid(0F, 0F, 0F, 3, 16, 24, 0F, 0F, 0F, 0F, 0F, 0F, 0F, ModelRendererTurbo.MR_TOP); // T8
		turretModel[7].setRotationPoint(-18F, -33F, -12F);

		turretModel[8].addFlexTrapezoid(0F, 0F, 0F, 2, 16, 10, 0F, 0F, 0F, 0F, 0F, 0F, 0F, ModelRendererTurbo.MR_TOP); // T9
		turretModel[8].setRotationPoint(-20F, -33F, -5F);

		turretModel[9].addFlexTrapezoid(0F, 0F, 0F, 24, 13, 3, 0F, 0.00F, 0.00F, 0.00F, 3.00F, 3.00F, 3.00F, ModelRendererTurbo.MR_FRONT); // T10
		turretModel[9].setRotationPoint(-12F, -33F, 15F);

		turretModel[10].addFlexTrapezoid(0F, 0F, 0F, 27, 13, 3, 0F, 0.00F, 0.00F, 0.00F, -3.00F, -3.00F, -3.00F, ModelRendererTurbo.MR_FRONT); // T11
		turretModel[10].setRotationPoint(-15F, -33F, -18F);

		turretModel[11].addFlexTrapezoid(0F, 0F, 0F, 12, 11, 7, 0F, 0.00F, 0.00F, -12.00F, 0.00F, 0.00F, 0.00F, ModelRendererTurbo.MR_FRONT); // T12
		turretModel[11].setRotationPoint(12F, -31F, -18F);

		turretModel[12].addFlexTrapezoid(0F, 0F, 0F, 0, 11, 5, 0F, 0.00F, 0.00F, 12.00F, 0.00F, 0.00F, 0.00F, ModelRendererTurbo.MR_FRONT); // T13
		turretModel[12].setRotationPoint(12F, -31F, 13F);

		turretModel[13].addBox(0F, 0F, 0F, 9, 11, 24, 0F); // T14
		turretModel[13].setRotationPoint(15F, -31F, -11F);

		turretModel[14].addFlexTrapezoid(0F, 0F, 0F, 2, 2, 1, 0F, 0.00F, -1.00F, 0F, 0F, 0F, 0F, ModelRendererTurbo.MR_TOP); // T15
		turretModel[14].setRotationPoint(24F, -30F, -11F);

		turretModel[15].addFlexTrapezoid(0F, 0F, 0F, 1, 1, 1, 0F, 0.00F, -1.00F, 0F, 0F, 0F, 0F, ModelRendererTurbo.MR_TOP); // T16
		turretModel[15].setRotationPoint(24F, -31F, -11F);

		turretModel[16].addFlexTrapezoid(0F, 0F, 0F, 1, 2, 1, 0F, 0.00F, 1.00F, 0F, 0F, 0F, 0F, ModelRendererTurbo.MR_TOP); // T17
		turretModel[16].setRotationPoint(24F, -23F, -11F);

		turretModel[17].addFlexTrapezoid(0F, 0F, 0F, 0, 1, 1, 0F, 0.00F, 1.00F, 0F, 0F, 0F, 0F, ModelRendererTurbo.MR_TOP); // T18
		turretModel[17].setRotationPoint(24F, -21F, -11F);

		turretModel[18].addFlexTrapezoid(0F, 0F, 0F, 2, 2, 1, 0F, 0.00F, -1.00F, 0F, 0F, 0F, 0F, ModelRendererTurbo.MR_TOP); // T19
		turretModel[18].setRotationPoint(24F, -30F, 12F);

		turretModel[19].addFlexTrapezoid(0F, 0F, 0F, 1, 1, 1, 0F, 0.00F, -1.00F, 0F, 0F, 0F, 0F, ModelRendererTurbo.MR_TOP); // T20
		turretModel[19].setRotationPoint(24F, -31F, 12F);

		turretModel[20].addFlexTrapezoid(0F, 0F, 0F, 1, 2, 1, 0F, 0.00F, 1.00F, 0F, 0F, 0F, 0F, ModelRendererTurbo.MR_TOP); // T21
		turretModel[20].setRotationPoint(24F, -23F, 12F);

		turretModel[21].addFlexTrapezoid(0F, 0F, 0F, 0, 1, 1, 0F, 0.00F, 1.00F, 0F, 0F, 0F, 0F, ModelRendererTurbo.MR_TOP); // T22
		turretModel[21].setRotationPoint(24F, -21F, 12F);

		turretModel[22].addFlexTrapezoid(0F, 0F, 0F, 12, 2, 24, 0F, 0F, -12.00F, 0F, 0F, 0F, 0F, ModelRendererTurbo.MR_TOP); // T23
		turretModel[22].setRotationPoint(12F, -33F, -11F);

		turretModel[23].addFlexTrapezoid(0F, 0F, 0F, 12, 2, 5, 0F, 0F, -12.00F, 0F, 0F, 0F, 0F, ModelRendererTurbo.MR_TOP); // T24
		turretModel[23].setRotationPoint(12F, -33F, 13F);

		turretModel[24].addFlexTrapezoid(0F, 0F, 0F, 12, 0, 0, 0F, 2.00F, 0.00F, 7.00F, 0.00F, 0.00F, 0.00F, ModelRendererTurbo.MR_RIGHT); // T25
		turretModel[24].setRotationPoint(12F, -31F, -11F);

		turretModel[25].addBox(0F, 0F, 0F, 27, 7, 30, 0F); // T26
		turretModel[25].setRotationPoint(-15F, -33F, -15F);

		turretModel[26].addFlexTrapezoid(0F, 0F, 0F, 4, 5, 12, 0F, 0.00F, 0F, 0F, 0F, 0F, 0F, ModelRendererTurbo.MR_TOP); // T27
		turretModel[26].setRotationPoint(-7F, -38F, 3F);

		turretModel[27].addFlexTrapezoid(0F, 0F, 0F, 4, 5, 12, 0F, 0.00F, 0F, 0F, 0F, 0F, 0F, ModelRendererTurbo.MR_TOP); // T28
		turretModel[27].setRotationPoint(-3F, -38F, 3F);

		turretModel[28].addFlexTrapezoid(0F, 0F, 0F, 4, 5, 8, 0F, 0.00F, 0F, 0F, 0F, 0F, 0F, ModelRendererTurbo.MR_TOP); // T29
		turretModel[28].setRotationPoint(-11F, -38F, 5F);

		turretModel[29].addFlexTrapezoid(0F, 0F, 0F, 3, 1, 9, 0F, 0.00F, 0F, 0F, 0F, 0F, 0F, ModelRendererTurbo.MR_TOP); // T30
		turretModel[29].setRotationPoint(-7F, -39F, 4.5F);

		turretModel[30].addFlexTrapezoid(0F, 0F, 0F, 3, 1, 9, 0F, 0.00F, 0F, 0F, 0F, 0F, 0F, ModelRendererTurbo.MR_TOP); // T31
		turretModel[30].setRotationPoint(-4F, -39F, 4.5F);

		turretModel[31].addFlexTrapezoid(0F, 0F, 0F, 3, 1, 5, 0F, 0.00F, 0F, 0F, 0F, 0F, 0F, ModelRendererTurbo.MR_TOP); // T32
		turretModel[31].setRotationPoint(-10F, -39F, 6.5F);

		turretModel[32].addFlexTrapezoid(0F, 0F, 0F, 3, 2, 1, 0F, 0.00F, -1.00F, 0F, 0F, 0F, 0F, ModelRendererTurbo.MR_TOP); // T33
		turretModel[32].setRotationPoint(24F, -28F, -11F);

		turretModel[33].addFlexTrapezoid(0F, 0F, 0F, 2, 2, 1, 0F, 0.00F, 1.00F, 0F, 0F, 0F, 0F, ModelRendererTurbo.MR_TOP); // T34
		turretModel[33].setRotationPoint(24F, -25F, -11F);

		turretModel[34].addFlexTrapezoid(0F, 0F, 0F, 3, 2, 1, 0F, 0.00F, -1.00F, 0F, 0F, 0F, 0F, ModelRendererTurbo.MR_TOP); // T35
		turretModel[34].setRotationPoint(24F, -28F, 12F);

		turretModel[35].addFlexTrapezoid(0F, 0F, 0F, 2, 2, 1, 0F, 0.00F, 1.00F, 0F, 0F, 0F, 0F, ModelRendererTurbo.MR_TOP); // T36
		turretModel[35].setRotationPoint(24F, -25F, 12F);

		turretModel[36].addBox(0F, 0F, 0F, 3, 1, 1, 0F); // T37
		turretModel[36].setRotationPoint(24F, -26F, -11F);

		turretModel[37].addBox(0F, 0F, 0F, 3, 1, 1, 0F); // T38
		turretModel[37].setRotationPoint(24F, -26F, 12F);

	}

	private void initbarrelModel()
	{
		barrelModel = new ModelRendererTurbo[8];
		barrelModel[0] = new ModelRendererTurbo(this, 3201, 1, textureX, textureY); // B1
		barrelModel[1] = new ModelRendererTurbo(this, 3201, 1, textureX, textureY); // B2
		barrelModel[2] = new ModelRendererTurbo(this, 3201, 1, textureX, textureY); // B3
		barrelModel[3] = new ModelRendererTurbo(this, 3201, 1, textureX, textureY); // B4
		barrelModel[4] = new ModelRendererTurbo(this, 3201, 1, textureX, textureY); // B5
		barrelModel[5] = new ModelRendererTurbo(this, 3201, 1, textureX, textureY); // B6
		barrelModel[6] = new ModelRendererTurbo(this, 3201, 1, textureX, textureY); // B7
		barrelModel[7] = new ModelRendererTurbo(this, 3201, 1, textureX, textureY); // B8

		barrelModel[0].addBox(10.5F, -23.5F, 0F, 1, 9, 24, 0F); // B1
		barrelModel[0].setRotationPoint(16F, -6.5F, -11F);

		barrelModel[1].addTrapezoid(10.5F, -23.5F, 0F, 1, 7, 10, 0F, 1.00F, ModelRendererTurbo.MR_RIGHT); // B2
		barrelModel[1].setRotationPoint(17F, -5.5F, -5F);

		barrelModel[2].addTrapezoid(10.5F, -23.5F, 0F, 1, 5, 5, 0F, 1.00F, ModelRendererTurbo.MR_RIGHT); // B3
		barrelModel[2].setRotationPoint(18F, -4.5F, -2.5F);

		barrelModel[3].addTrapezoid(10.5F, -23.5F, 0F, 1, 3, 3, 0F, 1.00F, ModelRendererTurbo.MR_RIGHT); // B4
		barrelModel[3].setRotationPoint(19F, -3.5F, -1.5F);

		barrelModel[4].addTrapezoid(10.5F, -23.5F, 0F, 45, 3, 3, 0F, 0.50F, ModelRendererTurbo.MR_RIGHT); // B5
		barrelModel[4].setRotationPoint(14F, -3.5F, -1.5F);

		barrelModel[5].addTrapezoid(10.5F, -23.5F, 0F, 98, 2, 2, 0F, 0.50F, ModelRendererTurbo.MR_RIGHT); // B6
		barrelModel[5].setRotationPoint(14F, -3F, -1F);

		barrelModel[6].addTrapezoid(10.5F, -23.5F, 0F, 5, 2, 2, 0F, 2.00F, ModelRendererTurbo.MR_LEFT); // B7
		barrelModel[6].setRotationPoint(103F, -3F, -1F);

		barrelModel[7].addBox(10.5F, -23.5F, 0F, 4, 3, 3, 0F); // B8
		barrelModel[7].setRotationPoint(108F, -3.5F, -1.5F);

	}

	private void initleftTrackWheelModels()
	{
		leftTrackWheelModels = new ModelRendererTurbo[1];
		leftTrackWheelModels[0] = new ModelRendererTurbo(this, 0, 0, textureX, textureY); // LW1

		leftTrackWheelModels[0].addShapeBox(-7F, -8F, -1.5F, 14, 14, 3, 0F,0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F); // LW1
		leftTrackWheelModels[0].setRotationPoint(0F, 1F, 20.5F);

	}

	private void initrightTrackWheelModels()
	{
		rightTrackWheelModels = new ModelRendererTurbo[1];
		rightTrackWheelModels[0] = new ModelRendererTurbo(this, 0, 0, textureX, textureY); // RW1

		rightTrackWheelModels[0].addShapeBox(-7F, -8F, -1.5F, 14, 14, 3, 0F,0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0F); // RW1
		rightTrackWheelModels[0].setRotationPoint(0F, 1F, -21.5F);

	}

	private void initleftTrackModel()
	{
		leftTrackModel = new ModelRendererTurbo[1];
		leftTrackModel[0] = new ModelRendererTurbo(this, 0, 0, textureX, textureY); // LT1

		leftTrackModel[0].addBox(0F, 0F, 0F, 119, 1, 11, 0F); // LT1
		leftTrackModel[0].setRotationPoint(-90F, 9F, 16F);

	}

	private void initrightTrackModel()
	{
		rightTrackModel = new ModelRendererTurbo[1];
		rightTrackModel[0] = new ModelRendererTurbo(this, 0, 0, textureX, textureY); // RT1

		rightTrackModel[0].addBox(0F, 0F, 1F, 119, 1, 11, 0F); // RT1
		rightTrackModel[0].setRotationPoint(-90F, 9F, -29F);

	}

}
[/sp]

[EDIT]Found out there were two lines saying where the model was located.

#53807
The topic has been locked.
  • Posts: 875
  • Karma: 55
  • Thank you received: 103

DerpiWolf replied the topic:

You've mentioned the Model parameter twice in your config.

Yeah, try to avoid double parameters, otherwise either the latest overrides the first, or a redundant error comes up.



#53811
The topic has been locked.
  • Posts: 2845
  • Karma: 44
  • Thank you received: 113

Prototype replied the topic:

You're using the large model export. You really don't need that, use the other one, might save some grief.



Stephen King wrote: “Don't ask me silly questions
I won't play silly games
I'm just a simple choo choo train
And I'll always be the same"

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

ImmenseTigerP replied the topic:

[quote1427206484=Prototype]
You're using the large model export. You really don't need that, use the other one, might save some grief.
[/quote1427206484]

Changed the model export to the regular Flans Mod Model as I looked for the error that was causing my model to be invisible. Now the only problem I have now is just the model moving around when I place it.

#53828
The topic has been locked.
  • Posts: 2845
  • Karma: 44
  • Thank you received: 113

Prototype replied the topic:

Make sure your front and rear wheels are the same distance away from the centre in the X direction.

WheelPosition 0 -55 5 27
WheelPosition 1 -55 5 -26
WheelPosition 2 55 5 -26
WheelPosition 3 55 5 27

Try those positions, see if it's any better.



Stephen King wrote: “Don't ask me silly questions
I won't play silly games
I'm just a simple choo choo train
And I'll always be the same"

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