Proper exosuit model

This commit is contained in:
DBotThePony 2022-10-21 20:08:19 +07:00
parent 70a0030be7
commit 834efad363
Signed by: DBot
GPG Key ID: DCC23B5715498507
3 changed files with 9 additions and 6 deletions

View File

@ -40,14 +40,16 @@ public final class ExosuitModel {
partdefinition.addOrReplaceChild("head", CubeListBuilder.create(), PartPose.offset(0.0F, 0.0F, 0.0F));
partdefinition.addOrReplaceChild("hat", CubeListBuilder.create(), PartPose.offset(0.0F, 0.0F, 0.0F));
partdefinition.addOrReplaceChild("body", CubeListBuilder.create().texOffs(20, 0).addBox(-3.0F, -0.1F, 3.5F, 6.0F, 8.0F, 3.0F, new CubeDeformation(0.0F))
partdefinition.addOrReplaceChild("body", CubeListBuilder.create()
.texOffs(20, 0).addBox(-3.0F, -0.1F, 3.5F, 6.0F, 8.0F, 3.0F, new CubeDeformation(0.0F))
.texOffs(0, 14).addBox(-3.0F, 8.6F, 3.5F, 6.0F, 3.0F, 3.0F, new CubeDeformation(0.0F))
.texOffs(0, 0).addBox(-3.5F, 0.5F, 1.5F, 7.0F, 11.0F, 3.0F, new CubeDeformation(0.0F))
.texOffs(18, 12).addBox(-4.0F, 9.0F, 2.5F, 1.0F, 2.0F, 3.0F, new CubeDeformation(0.0F))
.texOffs(18, 12).addBox(3.0F, 9.0F, 2.5F, 1.0F, 2.0F, 3.0F, new CubeDeformation(0.0F))
.texOffs(0, 20).addBox(-2.5F, 7.0F, 4.0F, 5.0F, 2.0F, 2.0F, new CubeDeformation(0.0F))
.texOffs(38, 0).addBox(2.0F, 1.0F, 3.5F, 2.0F, 6.0F, 2.0F, new CubeDeformation(0.0F))
.texOffs(15, 17).addBox(-4.0F, 1.0F, 2.5F, 2.0F, 3.0F, 3.0F, new CubeDeformation(0.0F)), PartPose.offset(0.0F, 0.0F, 0.0F));
.texOffs(15, 17).addBox(-4.0F, 1.0F, 2.5F, 2.0F, 3.0F, 3.0F, new CubeDeformation(0.0F))
, PartPose.offset(0.0F, 0.0F, 0.0F));
partdefinition.addOrReplaceChild("right_arm", CubeListBuilder.create(), PartPose.offset(-5.0F, 2.0F, 0.0F));
partdefinition.addOrReplaceChild("left_arm", CubeListBuilder.create(), PartPose.offset(5.0F, 2.0F, 0.0F));
@ -72,9 +74,10 @@ public final class ExosuitModel {
partdefinition.addOrReplaceChild("head", CubeListBuilder.create(), PartPose.offset(0.0F, 0.0F, 0.0F));
partdefinition.addOrReplaceChild("hat", CubeListBuilder.create(), PartPose.offset(0.0F, 0.0F, 0.0F));
partdefinition.addOrReplaceChild("body", CubeListBuilder.create().texOffs(20, 0).addBox(-3.0F, -0.1F, 3.5F, 6.0F, 8.0F, 3.0F, new CubeDeformation(0.0F))
.texOffs(29, 4).addBox(-2.0F, 0.9F, 6.5F, 4.0F, 1.0F, 0.0F, new CubeDeformation(0.0F))
.texOffs(29, 4).addBox(-2.0F, 2.9F, 6.5F, 4.0F, 1.0F, 0.0F, new CubeDeformation(0.0F)), PartPose.offset(0.0F, 0.0F, 0.0F));
partdefinition.addOrReplaceChild("body", CubeListBuilder.create()
.texOffs(12, 0).addBox(-2.0F, 0.9F, 5.5F, 4.0F, 1.0F, 1.0F, new CubeDeformation(0.0F))
.texOffs(12, 0).addBox(-2.0F, 2.9F, 5.5F, 4.0F, 1.0F, 1.0F, new CubeDeformation(0.0F))
, PartPose.offset(0.0F, 0.0F, 0.0F));
partdefinition.addOrReplaceChild("right_arm", CubeListBuilder.create(), PartPose.offset(-5.0F, 2.0F, 0.0F));
partdefinition.addOrReplaceChild("left_arm", CubeListBuilder.create(), PartPose.offset(5.0F, 2.0F, 0.0F));

View File

@ -86,7 +86,7 @@ class MatteryPlayerCapability(val ply: Player) : ICapabilityProvider, INBTSerial
}
var hasExoSuit by publicSynchronizer.bool(name = "hasExoSuit")
var displayExoSuit by publicSynchronizer.bool(name = "displayExoSuit")
var displayExoSuit by publicSynchronizer.bool(true, name = "displayExoSuit")
private val exoSuitSlotCountModifiersMap: MutableMap<UUID, Int> by synchronizer.Map(
keyCodec = UUIDValueCodec,

Binary file not shown.

Before

Width:  |  Height:  |  Size: 372 B

After

Width:  |  Height:  |  Size: 432 B