× Post your Help request here

.java compiling failed, help needed

  • Posts: 23
  • Karma: 1
  • Thank you received: 0

mr_engino created the topic: .java compiling failed, help needed

trying my hand at making models for flans mod, started with a simple tank. I tried to compile the completed .java file, but whenever I do, it says there are 30 errors. help requested.

#79736
The topic has been locked.
  • Posts: 1793
  • Karma: 39
  • Thank you received: 52

Manus replied the topic: .java compiling failed, help needed

well... this errors are needed to fix the problem. You have to post them too

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

mr_engino replied the topic: .java compiling failed, help needed

here is what I keep getting:

/Modelcardtank.java:12: error: cannot find symbol
import com.flansmod.client.model.ModelVehicle;
^
symbol: class ModelVehicle
location: package com.flansmod.client.model
/Modelcardtank.java:13: error: package com.flansmod.client.tmt does not exist
import com.flansmod.client.tmt.ModelRendererTurbo;
^
/Modelcardtank.java:14: error: package com.flansmod.client.tmt does not exist
import com.flansmod.client.tmt.Coord2D;
^
/Modelcardtank.java:15: error: package com.flansmod.client.tmt does not exist
import com.flansmod.client.tmt.Shape2D;
^
/Modelcardtank.java:17: error: cannot find symbol
public class Modelcardtank extends ModelVehicle //Same as Filename
^
symbol: class ModelVehicle
/Modelcardtank.java:24: error: cannot find symbol
bodyModel = new ModelRendererTurbo[3];
^
symbol: variable bodyModel
location: class Modelcardtank
/Modelcardtank.java:24: error: cannot find symbol
bodyModel = new ModelRendererTurbo[3];
^
symbol: class ModelRendererTurbo
location: class Modelcardtank
/Modelcardtank.java:25: error: cannot find symbol
bodyModel[0] = new ModelRendererTurbo(this, 2, 30, textureX, textureY); // body
^
symbol: variable bodyModel
location: class Modelcardtank
/Modelcardtank.java:25: error: cannot find symbol
bodyModel[0] = new ModelRendererTurbo(this, 2, 30, textureX, textureY); // body
^
symbol: class ModelRendererTurbo
location: class Modelcardtank
/Modelcardtank.java:26: error: cannot find symbol
bodyModel[1] = new ModelRendererTurbo(this, 39, 1, textureX, textureY); // turret
^
symbol: variable bodyModel
location: class Modelcardtank
/Modelcardtank.java:26: error: cannot find symbol
bodyModel[1] = new ModelRendererTurbo(this, 39, 1, textureX, textureY); // turret
^
symbol: class ModelRendererTurbo
location: class Modelcardtank
/Modelcardtank.java:27: error: cannot find symbol
bodyModel[2] = new ModelRendererTurbo(this, 0, 3, textureX, textureY); // cannon
^
symbol: variable bodyModel
location: class Modelcardtank
/Modelcardtank.java:27: error: cannot find symbol
bodyModel[2] = new ModelRendererTurbo(this, 0, 3, textureX, textureY); // cannon
^
symbol: class ModelRendererTurbo
location: class Modelcardtank
/Modelcardtank.java:29: error: cannot find symbol
bodyModel[0].addBox(0F, 0F, 0F, 40, 20, 20, 0F); // body
^
symbol: variable bodyModel
location: class Modelcardtank
/Modelcardtank.java:30: error: cannot find symbol
bodyModel[0].setRotationPoint(-20F, -10F, -10F);
^
symbol: variable bodyModel
location: class Modelcardtank
/Modelcardtank.java:32: error: cannot find symbol
bodyModel[1].addShape3D(0F, 0F, 0F, new Shape2D(new Coord2D[] { new Coord2D(0, 0, 0, 0), new Coord2D(14, 0, 14, 0), new Coord2D(14, 11, 14, 11), new Coord2D(10, 14, 10, 14), new Coord2D(0, 14, 0, 14) }), 14, 14, 14, 54, 14, ModelRendererTurbo.MR_FRONT, new float[] {14 ,10 ,5 ,11 ,14}); // turret
^
symbol: class Shape2D
location: class Modelcardtank
/Modelcardtank.java:32: error: cannot find symbol
bodyModel[1].addShape3D(0F, 0F, 0F, new Shape2D(new Coord2D[] { new Coord2D(0, 0, 0, 0), new Coord2D(14, 0, 14, 0), new Coord2D(14, 11, 14, 11), new Coord2D(10, 14, 10, 14), new Coord2D(0, 14, 0, 14) }), 14, 14, 14, 54, 14, ModelRendererTurbo.MR_FRONT, new float[] {14 ,10 ,5 ,11 ,14}); // turret
^
symbol: class Coord2D
location: class Modelcardtank
/Modelcardtank.java:32: error: cannot find symbol
bodyModel[1].addShape3D(0F, 0F, 0F, new Shape2D(new Coord2D[] { new Coord2D(0, 0, 0, 0), new Coord2D(14, 0, 14, 0), new Coord2D(14, 11, 14, 11), new Coord2D(10, 14, 10, 14), new Coord2D(0, 14, 0, 14) }), 14, 14, 14, 54, 14, ModelRendererTurbo.MR_FRONT, new float[] {14 ,10 ,5 ,11 ,14}); // turret
^
symbol: class Coord2D
location: class Modelcardtank
/Modelcardtank.java:32: error: cannot find symbol
bodyModel[1].addShape3D(0F, 0F, 0F, new Shape2D(new Coord2D[] { new Coord2D(0, 0, 0, 0), new Coord2D(14, 0, 14, 0), new Coord2D(14, 11, 14, 11), new Coord2D(10, 14, 10, 14), new Coord2D(0, 14, 0, 14) }), 14, 14, 14, 54, 14, ModelRendererTurbo.MR_FRONT, new float[] {14 ,10 ,5 ,11 ,14}); // turret
^
symbol: class Coord2D
location: class Modelcardtank
/Modelcardtank.java:32: error: cannot find symbol
bodyModel[1].addShape3D(0F, 0F, 0F, new Shape2D(new Coord2D[] { new Coord2D(0, 0, 0, 0), new Coord2D(14, 0, 14, 0), new Coord2D(14, 11, 14, 11), new Coord2D(10, 14, 10, 14), new Coord2D(0, 14, 0, 14) }), 14, 14, 14, 54, 14, ModelRendererTurbo.MR_FRONT, new float[] {14 ,10 ,5 ,11 ,14}); // turret
^
symbol: class Coord2D
location: class Modelcardtank
/Modelcardtank.java:32: error: cannot find symbol
bodyModel[1].addShape3D(0F, 0F, 0F, new Shape2D(new Coord2D[] { new Coord2D(0, 0, 0, 0), new Coord2D(14, 0, 14, 0), new Coord2D(14, 11, 14, 11), new Coord2D(10, 14, 10, 14), new Coord2D(0, 14, 0, 14) }), 14, 14, 14, 54, 14, ModelRendererTurbo.MR_FRONT, new float[] {14 ,10 ,5 ,11 ,14}); // turret
^
symbol: class Coord2D
location: class Modelcardtank
/Modelcardtank.java:32: error: cannot find symbol
bodyModel[1].addShape3D(0F, 0F, 0F, new Shape2D(new Coord2D[] { new Coord2D(0, 0, 0, 0), new Coord2D(14, 0, 14, 0), new Coord2D(14, 11, 14, 11), new Coord2D(10, 14, 10, 14), new Coord2D(0, 14, 0, 14) }), 14, 14, 14, 54, 14, ModelRendererTurbo.MR_FRONT, new float[] {14 ,10 ,5 ,11 ,14}); // turret
^
symbol: class Coord2D
location: class Modelcardtank
/Modelcardtank.java:32: error: cannot find symbol
bodyModel[1].addShape3D(0F, 0F, 0F, new Shape2D(new Coord2D[] { new Coord2D(0, 0, 0, 0), new Coord2D(14, 0, 14, 0), new Coord2D(14, 11, 14, 11), new Coord2D(10, 14, 10, 14), new Coord2D(0, 14, 0, 14) }), 14, 14, 14, 54, 14, ModelRendererTurbo.MR_FRONT, new float[] {14 ,10 ,5 ,11 ,14}); // turret
^
symbol: variable ModelRendererTurbo
location: class Modelcardtank
/Modelcardtank.java:32: error: cannot find symbol
bodyModel[1].addShape3D(0F, 0F, 0F, new Shape2D(new Coord2D[] { new Coord2D(0, 0, 0, 0), new Coord2D(14, 0, 14, 0), new Coord2D(14, 11, 14, 11), new Coord2D(10, 14, 10, 14), new Coord2D(0, 14, 0, 14) }), 14, 14, 14, 54, 14, ModelRendererTurbo.MR_FRONT, new float[] {14 ,10 ,5 ,11 ,14}); // turret
^
symbol: variable bodyModel
location: class Modelcardtank
/Modelcardtank.java:33: error: cannot find symbol
bodyModel[1].setRotationPoint(0F, -10F, -7F);
^
symbol: variable bodyModel
location: class Modelcardtank
/Modelcardtank.java:34: error: cannot find symbol
bodyModel[1].rotateAngleY = -3.14159265F;
^
symbol: variable bodyModel
location: class Modelcardtank
/Modelcardtank.java:36: error: cannot find symbol
bodyModel[2].addBox(0F, 0F, 0F, 10, 6, 6, 0F); // cannon
^
symbol: variable bodyModel
location: class Modelcardtank
/Modelcardtank.java:37: error: cannot find symbol
bodyModel[2].setRotationPoint(14F, -20F, -3F);
^
symbol: variable bodyModel
location: class Modelcardtank
/Modelcardtank.java:41: error: cannot find symbol
translateAll(0F, 0F, 0F);
^
symbol: method translateAll(float,float,float)
location: class Modelcardtank
/Modelcardtank.java:44: error: cannot find symbol
flipAll();
^
symbol: method flipAll()
location: class Modelcardtank
30 errors

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