Skip to content

Commit

Permalink
Model + texture fix
Browse files Browse the repository at this point in the history
Changed lamp shape on 143
Removed a yellow strip on the lamp from Green, Lightblue, Magenta, Purple and Yellow
  • Loading branch information
squidman888 committed Aug 9, 2023
1 parent 0b53e68 commit 393f737
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/main/java/train/client/render/models/ModelClass143.java
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,7 @@ private void initbodyModel_1()
bodyModel[67].addBox(0F, 0F, 0F, 1, 1, 16, 0F); // Box 0
bodyModel[67].setRotationPoint(16F, 4.5F, -7F);

bodyModel[68].addShapeBox(0F, 0F, 0F, 1, 3, 5, 0F,0F, 0F, 0F, -0.5F, 0F, 0F, -0.5F, 0F, 0F, 0.25F, 0F, 0F, 0F, 0F, 0F, -0.5F, 0F, 0F, -0.5F, 0F, 0F, 0.25F, 0F, 0F); // Lamp
bodyModel[68].addShapeBox(0F, 0F, 0F, 1, 3, 5, 0F,0F, 0F, 0F, -0.5F, 0F, 0.6F, -0.5F, 0F, 0F, 0.25F, 0F, 0F, 0F, 0F, 0F, -0.5F, 0F, 0.6F, -0.5F, 0F, 0F, 0.25F, 0F, 0F); // Lamp
bodyModel[68].setRotationPoint(-29.5F, -4.5F, -9.5F);

bodyModel[69].addBox(0F, 0F, 0F, 1, 3, 11, 0F); // Box 75
Expand Down Expand Up @@ -726,7 +726,7 @@ private void initbodyModel_1()
bodyModel[133].addBox(0F, 0F, 0F, 10, 10, 0, 0F); // Box 1
bodyModel[133].setRotationPoint(11.5F, 0F, 7F);

bodyModel[134].addShapeBox(0F, 0F, 0F, 1, 3, 5, 0F,0.25F, 0F, 0F, -0.5F, 0F, 0F, -0.5F, 0F, 0F, 0F, 0F, 0F, 0.25F, 0F, 0F, -0.5F, 0F, 0F, -0.5F, 0F, 0F, 0F, 0F, 0F); // Lamp
bodyModel[134].addShapeBox(0F, 0F, 0F, 1, 3, 5, 0F,0.25F, 0F, 0F, -0.5F, 0F, 0F, -0.5F, 0F, 0.6F, 0F, 0F, 0F, 0.25F, 0F, 0F, -0.5F, 0F, 0F, -0.5F, 0F, 0.6F, 0F, 0F, 0F); // Lamp
bodyModel[134].setRotationPoint(-29.5F, -4.5F, 6.5F);

bodyModel[135].addShapeBox(0F, 0F, 0F, 1, 9, 1, 0F,-0.5F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, -0.25F, -0.75F, 0F, -0.25F, -0.25F, 0F, 0F, 0F, 0F, 0F, 0F, 0F, 0.25F, -0.5F, 0F, -0.25F); // Box 64
Expand Down Expand Up @@ -1207,3 +1207,4 @@ public void render(Entity entity, float f, float f1, float f2, float f3, float f

}


Binary file modified src/main/resources/assets/tc/textures/trains/Class143_Green.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/main/resources/assets/tc/textures/trains/Class143_Purple.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 393f737

Please sign in to comment.