AK重制史味动画

This commit is contained in:
Atsuihsio 2024-05-26 01:05:58 +08:00
parent a276a166b9
commit 78b8eebb7a
9 changed files with 1645 additions and 432 deletions

View file

@ -99,37 +99,37 @@ public class MortarGUIScreen extends AbstractContainerScreen<MortarGUIMenu> {
super.init();
button_zeng_da_yang_jiao = Button.builder(Component.translatable("gui.target.mortar_gui.button_zeng_da_yang_jiao"), e -> {
TargetMod.PACKET_HANDLER.sendToServer(new MortarGUIButtonMessage(0, x, y, z));
MortarGUIButtonMessage.handleButtonAction(entity, 0, x, y, z);
MortarGUIButtonMessage.handleButtonAction(entity, 0);
}).bounds(this.leftPos + 42, this.topPos + 124, 29, 20).build();
GUI_STATE.put("button:button_zeng_da_yang_jiao", button_zeng_da_yang_jiao);
this.addRenderableWidget(button_zeng_da_yang_jiao);
button_empty = Button.builder(Component.translatable("gui.target.mortar_gui.button_empty"), e -> {
TargetMod.PACKET_HANDLER.sendToServer(new MortarGUIButtonMessage(1, x, y, z));
MortarGUIButtonMessage.handleButtonAction(entity, 1, x, y, z);
MortarGUIButtonMessage.handleButtonAction(entity, 1);
}).bounds(this.leftPos - 73, this.topPos + 124, 30, 20).build();
GUI_STATE.put("button:button_empty", button_empty);
this.addRenderableWidget(button_empty);
button_10 = Button.builder(Component.translatable("gui.target.mortar_gui.button_10"), e -> {
TargetMod.PACKET_HANDLER.sendToServer(new MortarGUIButtonMessage(2, x, y, z));
MortarGUIButtonMessage.handleButtonAction(entity, 2, x, y, z);
MortarGUIButtonMessage.handleButtonAction(entity, 2);
}).bounds(this.leftPos + 43, this.topPos + 151, 28, 20).build();
GUI_STATE.put("button:button_10", button_10);
this.addRenderableWidget(button_10);
button_101 = Button.builder(Component.translatable("gui.target.mortar_gui.button_101"), e -> {
TargetMod.PACKET_HANDLER.sendToServer(new MortarGUIButtonMessage(3, x, y, z));
MortarGUIButtonMessage.handleButtonAction(entity, 3, x, y, z);
MortarGUIButtonMessage.handleButtonAction(entity, 3);
}).bounds(this.leftPos - 73, this.topPos + 151, 30, 20).build();
GUI_STATE.put("button:button_101", button_101);
this.addRenderableWidget(button_101);
button_05 = Button.builder(Component.translatable("gui.target.mortar_gui.button_05"), e -> {
TargetMod.PACKET_HANDLER.sendToServer(new MortarGUIButtonMessage(4, x, y, z));
MortarGUIButtonMessage.handleButtonAction(entity, 4, x, y, z);
MortarGUIButtonMessage.handleButtonAction(entity, 4);
}).bounds(this.leftPos - 73, this.topPos + 97, 30, 20).build();
GUI_STATE.put("button:button_05", button_05);
this.addRenderableWidget(button_05);
button_051 = Button.builder(Component.translatable("gui.target.mortar_gui.button_051"), e -> {
TargetMod.PACKET_HANDLER.sendToServer(new MortarGUIButtonMessage(5, x, y, z));
MortarGUIButtonMessage.handleButtonAction(entity, 5, x, y, z);
MortarGUIButtonMessage.handleButtonAction(entity, 5);
}).bounds(this.leftPos + 42, this.topPos + 97, 29, 20).build();
GUI_STATE.put("button:button_051", button_051);
this.addRenderableWidget(button_051);

View file

@ -91,11 +91,11 @@ public class AK47Item extends GunItem implements GeoItem, AnimatedItem {
}
if (stack.getOrCreateTag().getBoolean("reloading") && stack.getOrCreateTag().getBoolean("empty_reload")) {
return event.setAndContinue(RawAnimation.begin().thenPlay("animation.ak47.reload"));
return event.setAndContinue(RawAnimation.begin().thenPlay("animation.ak47.reload_empty"));
}
if (stack.getOrCreateTag().getBoolean("reloading") && !stack.getOrCreateTag().getBoolean("empty_reload")) {
return event.setAndContinue(RawAnimation.begin().thenPlay("animation.ak47.reload2"));
return event.setAndContinue(RawAnimation.begin().thenPlay("animation.ak47.reload_normal"));
}
if (stack.getOrCreateTag().getInt("fire_mode") == 0 && stack.getOrCreateTag().getDouble("cg") > 0) {
@ -183,7 +183,7 @@ public class AK47Item extends GunItem implements GeoItem, AnimatedItem {
tag.putDouble("reload_time", 0);
}
if (tag.getBoolean("reloading") && tag.getInt("ammo") == 0) {
if (tag.getDouble("reload_time") == 57) {
if (tag.getDouble("reload_time") == 66) {
entity.getPersistentData().putDouble("id", id);
if (!entity.level().isClientSide()) {
SoundTool.playLocalSound(player, TargetModSounds.AK_47_RELOAD_EMPTY.get(), 100, 1);
@ -203,7 +203,7 @@ public class AK47Item extends GunItem implements GeoItem, AnimatedItem {
GunReload.reload(entity, GunInfo.Type.RIFLE);
}
} else if (tag.getBoolean("reloading") && tag.getInt("ammo") > 0) {
if (tag.getDouble("reload_time") == 41) {
if (tag.getDouble("reload_time") == 51) {
entity.getPersistentData().putDouble("id", id);
if (!entity.level().isClientSide()) {
SoundTool.playLocalSound(player, TargetModSounds.AK_47_RELOAD_NORMAL.get(), 100, 1);

View file

@ -54,7 +54,7 @@ public class MortarGUIButtonMessage {
context.setPacketHandled(true);
}
private static void handleButtonAction(Player player, int buttonID) {
public static void handleButtonAction(Player player, int buttonID) {
Entity looking = TraceTool.findLookingEntity(player, 6);
if (looking == null) return;
if (looking instanceof LivingEntity living) {

View file

@ -178,12 +178,12 @@ public class PlayerReloadProcedure {
tag.putBoolean("reloading", true);
tag.putBoolean("empty_reload", false);
tag.putDouble("id", (Mth.nextDouble(RandomSource.create(), 1, 1919810)));
tag.putDouble("reload_time", 41);
tag.putDouble("reload_time", 51);
} else if (tag.getInt("ammo") == 0) {
tag.putBoolean("reloading", true);
tag.putDouble("empty_reload", 1);
tag.putDouble("id", (Mth.nextDouble(RandomSource.create(), 1, 1919810)));
tag.putDouble("reload_time", 57);
tag.putDouble("reload_time", 66);
}
}
if ((player.getMainHandItem().getItem() == TargetModItems.M_4.get()

File diff suppressed because it is too large Load diff

View file

@ -13,7 +13,7 @@
"bones": [
{
"name": "camera",
"pivot": [2.57141, 4.96276, 6.77702]
"pivot": [2.57141, 4.76276, 7.27702]
},
{
"name": "root",
@ -7737,32 +7737,7 @@
{
"name": "magazine",
"parent": "0",
"pivot": [0.5, 1, -3.5]
},
{
"name": "Lefthand",
"parent": "magazine",
"pivot": [5.9, -4.6, 1.6],
"rotation": [63.02145, 26.28878, -12.70535],
"cubes": [
{
"origin": [4.3, -4.6, -0.15],
"size": [3, 12, 4],
"uv": {
"north": {"uv": [12, 0], "uv_size": [3, 12]},
"east": {"uv": [0, 0], "uv_size": [4, 12]},
"south": {"uv": [4, 12], "uv_size": [3, 12]},
"west": {"uv": [4, 0], "uv_size": [4, 12]},
"up": {"uv": [13, 12], "uv_size": [3, 4]},
"down": {"uv": [15, 4], "uv_size": [3, -4]}
}
}
]
},
{
"name": "megazing2",
"parent": "magazine",
"pivot": [6.05277, -4.30277, -7.80277],
"pivot": [0.5, -1.3922, -2.72863],
"cubes": [
{
"origin": [0.32123, -0.14318, -2.80179],
@ -8022,9 +7997,52 @@
}
]
},
{
"name": "bullet",
"parent": "magazine",
"pivot": [0.50283, 1.51538, -1.50152],
"cubes": [
{
"origin": [0.3238, 1.33635, -2.08242],
"size": [0.35805, 0.35805, 0.9922],
"uv": {
"north": {"uv": [1.5, 81.625], "uv_size": [-0.75, -3.25]},
"east": {"uv": [1.5, 81.625], "uv_size": [-0.75, -3.25]},
"south": {"uv": [1.5, 81.625], "uv_size": [-0.75, -3.25]},
"west": {"uv": [1.5, 81.625], "uv_size": [-0.75, -3.25]},
"up": {"uv": [0.75, 78.375], "uv_size": [0.75, 3.25]},
"down": {"uv": [0.75, 78.375], "uv_size": [0.75, 3.25]}
}
},
{
"origin": [0.37, 1.38255, -2.48162],
"size": [0.26565, 0.26565, 1.53],
"uv": {
"north": {"uv": [2.75, 81.625], "uv_size": [-0.75, -3.25]},
"east": {"uv": [2.75, 81.625], "uv_size": [-0.75, -3.25]},
"south": {"uv": [2.75, 81.625], "uv_size": [-0.75, -3.25]},
"west": {"uv": [2.75, 81.625], "uv_size": [-0.75, -3.25]},
"up": {"uv": [2, 78.375], "uv_size": [0.75, 3.25]},
"down": {"uv": [2, 78.375], "uv_size": [0.75, 3.25]}
}
},
{
"origin": [0.3238, 1.33635, -0.99782],
"size": [0.35805, 0.35805, 0.0924],
"uv": {
"north": {"uv": [1.5, 81.625], "uv_size": [-0.75, -3.25]},
"east": {"uv": [1.5, 81.625], "uv_size": [-0.75, -3.25]},
"south": {"uv": [1.5, 81.625], "uv_size": [-0.75, -3.25]},
"west": {"uv": [1.5, 81.625], "uv_size": [-0.75, -3.25]},
"up": {"uv": [0.75, 78.375], "uv_size": [0.75, 3.25]},
"down": {"uv": [0.75, 78.375], "uv_size": [0.75, 3.25]}
}
}
]
},
{
"name": "bone20",
"parent": "megazing2",
"parent": "magazine",
"pivot": [0.25733, -5.62718, -2.14124],
"cubes": [
{
@ -8277,7 +8295,7 @@
},
{
"name": "bone19",
"parent": "megazing2",
"parent": "magazine",
"pivot": [1.04904, -2.51341, -5.66438],
"cubes": [
{
@ -8391,13 +8409,687 @@
]
},
{
"name": "Righthand",
"name": "magazine2",
"parent": "0",
"pivot": [-3.2, -5.7, 11.9],
"rotation": [67.68798, -14.81107, 2.40023],
"pivot": [6.5, -4.3922, 7.27137],
"cubes": [
{
"origin": [-4.2, -4.7, 9.9],
"origin": [6.32123, -3.14318, 7.19821],
"size": [0.35753, 0.81422, 0.32139],
"pivot": [7.04904, -2.67704, 6.97055],
"rotation": [-11.25, 0, 0],
"uv": {
"north": {"uv": [47, 49], "uv_size": [0.25, 0.75]},
"east": {"uv": [49, 47], "uv_size": [0.25, 0.75]},
"south": {"uv": [48, 49], "uv_size": [0.25, 0.75]},
"west": {"uv": [49, 48], "uv_size": [0.25, 0.75]},
"up": {"uv": [70, 8], "uv_size": [0.25, 0.25]},
"down": {"uv": [9, 70.25], "uv_size": [0.25, -0.25]}
}
},
{
"origin": [6.32123, -2.44276, 7.25556],
"size": [0.35753, 0.96656, 0.32139],
"uv": {
"north": {"uv": [23, 47], "uv_size": [0.25, 1]},
"east": {"uv": [47, 23], "uv_size": [0.25, 1]},
"south": {"uv": [24, 47], "uv_size": [0.25, 1]},
"west": {"uv": [47, 24], "uv_size": [0.25, 1]},
"up": {"uv": [70, 9], "uv_size": [0.25, 0.25]},
"down": {"uv": [10, 70.25], "uv_size": [0.25, -0.25]}
}
},
{
"origin": [6.22123, -2.00526, 7.204],
"size": [0.55753, 0.53687, 0.32608],
"uv": {
"north": {"uv": [25, 47], "uv_size": [0.5, 0.5]},
"east": {"uv": [53, 10], "uv_size": [0.25, 0.5]},
"south": {"uv": [47, 25], "uv_size": [0.5, 0.5]},
"west": {"uv": [11, 53], "uv_size": [0.25, 0.5]},
"up": {"uv": [53, 11], "uv_size": [0.5, 0.25]},
"down": {"uv": [12, 53.25], "uv_size": [0.5, -0.25]}
}
},
{
"origin": [6.32123, -3.81895, 7.00531],
"size": [0.35753, 0.81422, 0.32139],
"pivot": [7.04904, -3.35281, 6.77765],
"rotation": [-22.5, 0, 0],
"uv": {
"north": {"uv": [49, 49], "uv_size": [0.25, 0.75]},
"east": {"uv": [0, 50], "uv_size": [0.25, 0.75]},
"south": {"uv": [50, 0], "uv_size": [0.25, 0.75]},
"west": {"uv": [1, 50], "uv_size": [0.25, 0.75]},
"up": {"uv": [70, 10], "uv_size": [0.25, 0.25]},
"down": {"uv": [11, 70.25], "uv_size": [0.25, -0.25]}
}
},
{
"origin": [6.32123, -4.99967, 6.51575],
"size": [0.35753, 0.81422, 0.32139],
"pivot": [7.04904, -4.53353, 7.28809],
"rotation": [-33.75, 0, 0],
"uv": {
"north": {"uv": [50, 1], "uv_size": [0.25, 0.75]},
"east": {"uv": [2, 50], "uv_size": [0.25, 0.75]},
"south": {"uv": [50, 2], "uv_size": [0.25, 0.75]},
"west": {"uv": [3, 50], "uv_size": [0.25, 0.75]},
"up": {"uv": [70, 11], "uv_size": [0.25, 0.25]},
"down": {"uv": [12, 70.25], "uv_size": [0.25, -0.25]}
}
},
{
"origin": [6.32123, -4.99461, 6.24745],
"size": [0.35753, 0.81422, 0.32139],
"pivot": [7.04904, -4.52847, 6.0198],
"rotation": [-45, 0, 0],
"uv": {
"north": {"uv": [50, 3], "uv_size": [0.25, 0.75]},
"east": {"uv": [4, 50], "uv_size": [0.25, 0.75]},
"south": {"uv": [50, 4], "uv_size": [0.25, 0.75]},
"west": {"uv": [5, 50], "uv_size": [0.25, 0.75]},
"up": {"uv": [70, 12], "uv_size": [0.25, 0.25]},
"down": {"uv": [13, 70.25], "uv_size": [0.25, -0.25]}
}
},
{
"origin": [6.32123, -5.88842, 5.09738],
"size": [0.35753, 0.91187, 0.32139],
"pivot": [7.04904, -5.32462, 4.86973],
"rotation": [-67.5, 0, 0],
"uv": {
"north": {"uv": [26, 47], "uv_size": [0.25, 1]},
"east": {"uv": [47, 26], "uv_size": [0.25, 1]},
"south": {"uv": [27, 47], "uv_size": [0.25, 1]},
"west": {"uv": [47, 27], "uv_size": [0.25, 1]},
"up": {"uv": [70, 13], "uv_size": [0.25, 0.25]},
"down": {"uv": [14, 70.25], "uv_size": [0.25, -0.25]}
}
},
{
"origin": [6.32123, -7.528, 4.60055],
"size": [0.35753, 0.81422, 0.32139],
"pivot": [7.04904, -7.06186, 6.8729],
"rotation": [-56.25, 0, 0],
"uv": {
"north": {"uv": [50, 5], "uv_size": [0.25, 0.75]},
"east": {"uv": [6, 50], "uv_size": [0.25, 0.75]},
"south": {"uv": [50, 6], "uv_size": [0.25, 0.75]},
"west": {"uv": [7, 50], "uv_size": [0.25, 0.75]},
"up": {"uv": [70, 14], "uv_size": [0.25, 0.25]},
"down": {"uv": [15, 70.25], "uv_size": [0.25, -0.25]}
}
},
{
"origin": [6.24472, -7.86087, 9.23539],
"size": [0.51056, 1.16153, 0.20113],
"pivot": [6.5, -4.67411, 7.40576],
"rotation": [-67.5, 0, 0],
"uv": {
"north": {"uv": [6, 41], "uv_size": [0.5, 1.25]},
"east": {"uv": [14, 45], "uv_size": [0.25, 1.25]},
"south": {"uv": [41, 6], "uv_size": [0.5, 1.25]},
"west": {"uv": [45, 14], "uv_size": [0.25, 1.25]},
"up": {"uv": [53, 12], "uv_size": [0.5, 0.25]},
"down": {"uv": [13, 53.25], "uv_size": [0.5, -0.25]}
}
},
{
"origin": [6.24472, -7.05661, 8.80127],
"size": [0.51056, 1.1627, 0.20113],
"pivot": [6.5, -4.67411, 7.40576],
"rotation": [-56.25, 0, 0],
"uv": {
"north": {"uv": [7, 41], "uv_size": [0.5, 1.25]},
"east": {"uv": [15, 45], "uv_size": [0.25, 1.25]},
"south": {"uv": [41, 8], "uv_size": [0.5, 1.25]},
"west": {"uv": [16, 45], "uv_size": [0.25, 1.25]},
"up": {"uv": [53, 13], "uv_size": [0.5, 0.25]},
"down": {"uv": [14, 53.25], "uv_size": [0.5, -0.25]}
}
},
{
"origin": [6.24472, -6.18196, 8.53262],
"size": [0.51056, 1.1627, 0.20113],
"pivot": [6.5, -4.67411, 7.40576],
"rotation": [-45, 0, 0],
"uv": {
"north": {"uv": [41, 10], "uv_size": [0.5, 1.25]},
"east": {"uv": [45, 16], "uv_size": [0.25, 1.25]},
"south": {"uv": [12, 41], "uv_size": [0.5, 1.25]},
"west": {"uv": [17, 45], "uv_size": [0.25, 1.25]},
"up": {"uv": [53, 14], "uv_size": [0.5, 0.25]},
"down": {"uv": [15, 53.25], "uv_size": [0.5, -0.25]}
}
},
{
"origin": [6.24472, -5.2717, 8.43977],
"size": [0.51056, 1.1627, 0.20113],
"pivot": [6.5, -4.67411, 7.40576],
"rotation": [-33.75, 0, 0],
"uv": {
"north": {"uv": [13, 41], "uv_size": [0.5, 1.25]},
"east": {"uv": [18, 45], "uv_size": [0.25, 1.25]},
"south": {"uv": [41, 13], "uv_size": [0.5, 1.25]},
"west": {"uv": [19, 45], "uv_size": [0.25, 1.25]},
"up": {"uv": [53, 15], "uv_size": [0.5, 0.25]},
"down": {"uv": [16, 53.25], "uv_size": [0.5, -0.25]}
}
},
{
"origin": [6.24472, -4.36082, 8.52629],
"size": [0.51056, 1.1627, 0.20113],
"pivot": [6.5, -4.67411, 7.40576],
"rotation": [-22.5, 0, 0],
"uv": {
"north": {"uv": [15, 41], "uv_size": [0.5, 1.25]},
"east": {"uv": [20, 45], "uv_size": [0.25, 1.25]},
"south": {"uv": [17, 41], "uv_size": [0.5, 1.25]},
"west": {"uv": [45, 20], "uv_size": [0.25, 1.25]},
"up": {"uv": [53, 16], "uv_size": [0.5, 0.25]},
"down": {"uv": [17, 53.25], "uv_size": [0.5, -0.25]}
}
},
{
"origin": [6.24472, -3.48432, 8.78885],
"size": [0.51056, 1.1627, 0.20113],
"pivot": [6.5, -4.67411, 7.40576],
"rotation": [-11.25, 0, 0],
"uv": {
"north": {"uv": [21, 41], "uv_size": [0.5, 1.25]},
"east": {"uv": [21, 45], "uv_size": [0.25, 1.25]},
"south": {"uv": [41, 21], "uv_size": [0.5, 1.25]},
"west": {"uv": [45, 22], "uv_size": [0.25, 1.25]},
"up": {"uv": [53, 17], "uv_size": [0.5, 0.25]},
"down": {"uv": [18, 53.25], "uv_size": [0.5, -0.25]}
}
},
{
"origin": [6.24472, -2.67588, 9.21736],
"size": [0.51056, 0.09119, 0.20113],
"uv": {
"north": {"uv": [53, 18], "uv_size": [0.5, 0.25]},
"east": {"uv": [70, 15], "uv_size": [0.25, 0.25]},
"south": {"uv": [19, 53], "uv_size": [0.5, 0.25]},
"west": {"uv": [16, 70], "uv_size": [0.25, 0.25]},
"up": {"uv": [53, 19], "uv_size": [0.5, 0.25]},
"down": {"uv": [20, 53.25], "uv_size": [0.5, -0.25]}
}
},
{
"origin": [6.10306, -5.27904, 4.81044],
"size": [0.79387, 0.1645, 1.38174],
"pivot": [7.04904, -5.51341, 4.33562],
"rotation": [-67.5, 0, 0],
"uv": {
"north": {"uv": [50, 7], "uv_size": [0.75, 0.25]},
"east": {"uv": [26, 44], "uv_size": [1.5, 0.25]},
"south": {"uv": [8, 50], "uv_size": [0.75, 0.25]},
"west": {"uv": [44, 26], "uv_size": [1.5, 0.25]},
"up": {"uv": [30, 36], "uv_size": [0.75, 1.5]},
"down": {"uv": [31, 37.5], "uv_size": [0.75, -1.5]}
}
},
{
"origin": [6.10306, -4.85326, 4.81044],
"size": [0.79387, 0.1645, 1.38174],
"pivot": [7.04904, -5.51341, 4.33562],
"rotation": [-67.5, 0, 0],
"uv": {
"north": {"uv": [50, 8], "uv_size": [0.75, 0.25]},
"east": {"uv": [44, 27], "uv_size": [1.5, 0.25]},
"south": {"uv": [9, 50], "uv_size": [0.75, 0.25]},
"west": {"uv": [28, 44], "uv_size": [1.5, 0.25]},
"up": {"uv": [32, 36], "uv_size": [0.75, 1.5]},
"down": {"uv": [33, 37.5], "uv_size": [0.75, -1.5]}
}
},
{
"origin": [6.22253, -2.63458, 9.16338],
"size": [0.55493, 0.61697, 0.39754],
"uv": {
"north": {"uv": [28, 47], "uv_size": [0.5, 0.5]},
"east": {"uv": [47, 28], "uv_size": [0.5, 0.5]},
"south": {"uv": [29, 47], "uv_size": [0.5, 0.5]},
"west": {"uv": [47, 29], "uv_size": [0.5, 0.5]},
"up": {"uv": [30, 47], "uv_size": [0.5, 0.5]},
"down": {"uv": [47, 30.5], "uv_size": [0.5, -0.5]}
}
},
{
"origin": [6.22253, -2.13458, 9.56093],
"size": [0.55493, 0.11697, 0.1],
"uv": {
"north": {"uv": [53, 20], "uv_size": [0.5, 0.25]},
"east": {"uv": [70, 16], "uv_size": [0.25, 0.25]},
"south": {"uv": [21, 53], "uv_size": [0.5, 0.25]},
"west": {"uv": [17, 70], "uv_size": [0.25, 0.25]},
"up": {"uv": [53, 21], "uv_size": [0.5, 0.25]},
"down": {"uv": [22, 53.25], "uv_size": [0.5, -0.25]}
}
}
]
},
{
"name": "bone23",
"parent": "magazine2",
"pivot": [6.25733, -8.62718, 7.85876],
"cubes": [
{
"origin": [6.10547, -2.65707, 7.7445],
"size": [0.78906, 0.52167, 0.12817],
"uv": {
"north": {"uv": [44, 28], "uv_size": [0.75, 0.5]},
"east": {"uv": [53, 22], "uv_size": [0.25, 0.5]},
"south": {"uv": [44, 29], "uv_size": [0.75, 0.5]},
"west": {"uv": [23, 53], "uv_size": [0.25, 0.5]},
"up": {"uv": [50, 9], "uv_size": [0.75, 0.25]},
"down": {"uv": [10, 50.25], "uv_size": [0.75, -0.25]}
}
},
{
"origin": [6.10547, -3.36911, 7.68619],
"size": [0.78906, 0.82773, 0.12817],
"pivot": [6.22774, -2.89523, 7.2562],
"rotation": [-11.25, 0, 0],
"uv": {
"north": {"uv": [37, 41], "uv_size": [0.75, 0.75]},
"east": {"uv": [50, 10], "uv_size": [0.25, 0.75]},
"south": {"uv": [38, 41], "uv_size": [0.75, 0.75]},
"west": {"uv": [11, 50], "uv_size": [0.25, 0.75]},
"up": {"uv": [50, 11], "uv_size": [0.75, 0.25]},
"down": {"uv": [12, 50.25], "uv_size": [0.75, -0.25]}
}
},
{
"origin": [6.10547, -4.0561, 7.49008],
"size": [0.78906, 0.82773, 0.12817],
"pivot": [6.22774, -3.58222, 7.0601],
"rotation": [-22.5, 0, 0],
"uv": {
"north": {"uv": [39, 41], "uv_size": [0.75, 0.75]},
"east": {"uv": [50, 12], "uv_size": [0.25, 0.75]},
"south": {"uv": [41, 39], "uv_size": [0.75, 0.75]},
"west": {"uv": [13, 50], "uv_size": [0.25, 0.75]},
"up": {"uv": [50, 13], "uv_size": [0.75, 0.25]},
"down": {"uv": [14, 50.25], "uv_size": [0.75, -0.25]}
}
},
{
"origin": [6.10547, -5.25642, 6.9924],
"size": [0.78906, 0.82773, 0.12817],
"pivot": [6.22774, -4.78254, 7.57901],
"rotation": [-33.75, 0, 0],
"uv": {
"north": {"uv": [41, 40], "uv_size": [0.75, 0.75]},
"east": {"uv": [50, 14], "uv_size": [0.25, 0.75]},
"south": {"uv": [41, 41], "uv_size": [0.75, 0.75]},
"west": {"uv": [15, 50], "uv_size": [0.25, 0.75]},
"up": {"uv": [50, 15], "uv_size": [0.75, 0.25]},
"down": {"uv": [16, 50.25], "uv_size": [0.75, -0.25]}
}
},
{
"origin": [6.10547, -7.82671, 5.04541],
"size": [0.78906, 0.82773, 0.12817],
"pivot": [6.22774, -7.35284, 7.15693],
"rotation": [-56.25, 0, 0],
"uv": {
"north": {"uv": [1, 42], "uv_size": [0.75, 0.75]},
"east": {"uv": [50, 16], "uv_size": [0.25, 0.75]},
"south": {"uv": [42, 2], "uv_size": [0.75, 0.75]},
"west": {"uv": [17, 50], "uv_size": [0.25, 0.75]},
"up": {"uv": [50, 17], "uv_size": [0.75, 0.25]},
"down": {"uv": [18, 50.25], "uv_size": [0.75, -0.25]}
}
},
{
"origin": [6.10547, -5.25127, 6.71965],
"size": [0.78906, 0.82773, 0.12817],
"pivot": [6.22774, -4.7774, 6.28967],
"rotation": [-45, 0, 0],
"uv": {
"north": {"uv": [42, 3], "uv_size": [0.75, 0.75]},
"east": {"uv": [50, 18], "uv_size": [0.25, 0.75]},
"south": {"uv": [42, 4], "uv_size": [0.75, 0.75]},
"west": {"uv": [19, 50], "uv_size": [0.25, 0.75]},
"up": {"uv": [50, 19], "uv_size": [0.75, 0.25]},
"down": {"uv": [20, 50.25], "uv_size": [0.75, -0.25]}
}
},
{
"origin": [6.10547, -8.04288, 5.14607],
"size": [0.78906, 0.44742, 0.12884],
"pivot": [6.24254, -7.99213, 7.49823],
"rotation": [-56.25, 0, 0],
"uv": {
"north": {"uv": [30, 44], "uv_size": [0.75, 0.5]},
"east": {"uv": [53, 23], "uv_size": [0.25, 0.5]},
"south": {"uv": [44, 30], "uv_size": [0.75, 0.5]},
"west": {"uv": [24, 53], "uv_size": [0.25, 0.5]},
"up": {"uv": [50, 20], "uv_size": [0.75, 0.25]},
"down": {"uv": [21, 50.25], "uv_size": [0.75, -0.25]}
}
},
{
"origin": [6.10547, -5.63628, 7.0229],
"size": [0.78906, 0.92789, 0.12884],
"pivot": [6.24254, -5.10506, 6.52604],
"rotation": [-45, 0, 0],
"uv": {
"north": {"uv": [16, 39], "uv_size": [0.75, 1]},
"east": {"uv": [31, 47], "uv_size": [0.25, 1]},
"south": {"uv": [39, 16], "uv_size": [0.75, 1]},
"west": {"uv": [47, 31], "uv_size": [0.25, 1]},
"up": {"uv": [50, 21], "uv_size": [0.75, 0.25]},
"down": {"uv": [22, 50.25], "uv_size": [0.75, -0.25]}
}
},
{
"origin": [6.10547, -5.64205, 7.32864],
"size": [0.78906, 0.92789, 0.12884],
"pivot": [6.24254, -5.11083, 7.97139],
"rotation": [-33.75, 0, 0],
"uv": {
"north": {"uv": [39, 17], "uv_size": [0.75, 1]},
"east": {"uv": [32, 47], "uv_size": [0.25, 1]},
"south": {"uv": [18, 39], "uv_size": [0.75, 1]},
"west": {"uv": [47, 32], "uv_size": [0.25, 1]},
"up": {"uv": [50, 22], "uv_size": [0.75, 0.25]},
"down": {"uv": [23, 50.25], "uv_size": [0.75, -0.25]}
}
},
{
"origin": [6.10547, -3.52637, 8.10638],
"size": [0.78906, 0.92789, 0.12884],
"pivot": [6.24254, -2.99516, 7.60952],
"rotation": [-11.25, 0, 0],
"uv": {
"north": {"uv": [19, 39], "uv_size": [0.75, 1]},
"east": {"uv": [33, 47], "uv_size": [0.25, 1]},
"south": {"uv": [39, 19], "uv_size": [0.75, 1]},
"west": {"uv": [47, 33], "uv_size": [0.25, 1]},
"up": {"uv": [50, 23], "uv_size": [0.75, 0.25]},
"down": {"uv": [24, 50.25], "uv_size": [0.75, -0.25]}
}
},
{
"origin": [6.10547, -4.29649, 7.88655],
"size": [0.78906, 0.92789, 0.12884],
"pivot": [6.24254, -3.76527, 7.38969],
"rotation": [-22.5, 0, 0],
"uv": {
"north": {"uv": [20, 39], "uv_size": [0.75, 1]},
"east": {"uv": [34, 47], "uv_size": [0.25, 1]},
"south": {"uv": [39, 20], "uv_size": [0.75, 1]},
"west": {"uv": [47, 34], "uv_size": [0.25, 1]},
"up": {"uv": [50, 24], "uv_size": [0.75, 0.25]},
"down": {"uv": [25, 50.25], "uv_size": [0.75, -0.25]}
}
},
{
"origin": [6.10547, -2.72817, 8.17175],
"size": [0.78906, 0.58479, 0.12884],
"uv": {
"north": {"uv": [31, 44], "uv_size": [0.75, 0.5]},
"east": {"uv": [53, 24], "uv_size": [0.25, 0.5]},
"south": {"uv": [32, 44], "uv_size": [0.75, 0.5]},
"west": {"uv": [25, 53], "uv_size": [0.25, 0.5]},
"up": {"uv": [50, 25], "uv_size": [0.75, 0.25]},
"down": {"uv": [26, 50.25], "uv_size": [0.75, -0.25]}
}
},
{
"origin": [6.10547, -2.79529, 8.62676],
"size": [0.78906, 0.64788, 0.12091],
"uv": {
"north": {"uv": [5, 42], "uv_size": [0.75, 0.75]},
"east": {"uv": [50, 26], "uv_size": [0.25, 0.75]},
"south": {"uv": [42, 5], "uv_size": [0.75, 0.75]},
"west": {"uv": [27, 50], "uv_size": [0.25, 0.75]},
"up": {"uv": [50, 27], "uv_size": [0.75, 0.25]},
"down": {"uv": [28, 50.25], "uv_size": [0.75, -0.25]}
}
},
{
"origin": [6.10547, -4.53281, 8.31079],
"size": [0.78906, 1.028, 0.12091],
"pivot": [6.25733, -3.94428, 7.73851],
"rotation": [-22.5, 0, 0],
"uv": {
"north": {"uv": [23, 39], "uv_size": [0.75, 1]},
"east": {"uv": [35, 47], "uv_size": [0.25, 1]},
"south": {"uv": [24, 39], "uv_size": [0.75, 1]},
"west": {"uv": [47, 35], "uv_size": [0.25, 1]},
"up": {"uv": [50, 28], "uv_size": [0.75, 0.25]},
"down": {"uv": [29, 50.25], "uv_size": [0.75, -0.25]}
}
},
{
"origin": [6.10547, -3.67961, 8.55434],
"size": [0.78906, 1.028, 0.12091],
"pivot": [6.25733, -3.09108, 7.98206],
"rotation": [-11.25, 0, 0],
"uv": {
"north": {"uv": [39, 26], "uv_size": [0.75, 1]},
"east": {"uv": [36, 47], "uv_size": [0.25, 1]},
"south": {"uv": [29, 39], "uv_size": [0.75, 1]},
"west": {"uv": [47, 36], "uv_size": [0.25, 1]},
"up": {"uv": [50, 29], "uv_size": [0.75, 0.25]},
"down": {"uv": [30, 50.25], "uv_size": [0.75, -0.25]}
}
},
{
"origin": [6.10547, -6.02354, 7.69269],
"size": [0.78906, 1.028, 0.12091],
"pivot": [6.25733, -5.43501, 8.38297],
"rotation": [-33.75, 0, 0],
"uv": {
"north": {"uv": [30, 39], "uv_size": [0.75, 1]},
"east": {"uv": [37, 47], "uv_size": [0.25, 1]},
"south": {"uv": [39, 30], "uv_size": [0.75, 1]},
"west": {"uv": [47, 37], "uv_size": [0.25, 1]},
"up": {"uv": [50, 30], "uv_size": [0.75, 0.25]},
"down": {"uv": [31, 50.25], "uv_size": [0.75, -0.25]}
}
},
{
"origin": [6.10547, -6.01715, 7.35396],
"size": [0.78906, 1.028, 0.12091],
"pivot": [6.25733, -5.42863, 6.78167],
"rotation": [-45, 0, 0],
"uv": {
"north": {"uv": [31, 39], "uv_size": [0.75, 1]},
"east": {"uv": [38, 47], "uv_size": [0.25, 1]},
"south": {"uv": [32, 39], "uv_size": [0.75, 1]},
"west": {"uv": [47, 38], "uv_size": [0.25, 1]},
"up": {"uv": [50, 31], "uv_size": [0.75, 0.25]},
"down": {"uv": [32, 50.25], "uv_size": [0.75, -0.25]}
}
},
{
"origin": [6.10547, -9.21571, 5.27465],
"size": [0.78906, 1.028, 0.12091],
"pivot": [6.25733, -8.62718, 7.85876],
"rotation": [-56.25, 0, 0],
"uv": {
"north": {"uv": [33, 39], "uv_size": [0.75, 1]},
"east": {"uv": [39, 47], "uv_size": [0.25, 1]},
"south": {"uv": [34, 39], "uv_size": [0.75, 1]},
"west": {"uv": [47, 39], "uv_size": [0.25, 1]},
"up": {"uv": [50, 32], "uv_size": [0.75, 0.25]},
"down": {"uv": [33, 50.25], "uv_size": [0.75, -0.25]}
}
}
]
},
{
"name": "bone24",
"parent": "magazine2",
"pivot": [7.04904, -5.51341, 4.33562],
"cubes": [
{
"origin": [6.13822, -6.72286, 5.35903],
"size": [0.72356, 1.14106, 1.70987],
"pivot": [6.5, -6.15233, 6.21396],
"rotation": [-56.25, 0, 0],
"uv": {
"north": {"uv": [4, 37], "uv_size": [0.75, 1.25]},
"east": {"uv": [0, 25], "uv_size": [1.75, 1.25]},
"south": {"uv": [5, 37], "uv_size": [0.75, 1.25]},
"west": {"uv": [2, 25], "uv_size": [1.75, 1.25]},
"up": {"uv": [20, 33], "uv_size": [0.75, 1.75]},
"down": {"uv": [22, 34.75], "uv_size": [0.75, -1.75]}
}
},
{
"origin": [6.13822, -4.96151, 6.14546],
"size": [0.72356, 1.14106, 1.70987],
"pivot": [7.04904, -4.91853, 5.59642],
"rotation": [-45, 0, 0],
"uv": {
"north": {"uv": [6, 37], "uv_size": [0.75, 1.25]},
"east": {"uv": [4, 25], "uv_size": [1.75, 1.25]},
"south": {"uv": [8, 37], "uv_size": [0.75, 1.25]},
"west": {"uv": [25, 4], "uv_size": [1.75, 1.25]},
"up": {"uv": [1, 35], "uv_size": [0.75, 1.75]},
"down": {"uv": [2, 36.75], "uv_size": [0.75, -1.75]}
}
},
{
"origin": [6.13822, -3.92942, 7.08264],
"size": [0.72356, 1.14106, 1.70987],
"pivot": [7.04904, -3.88644, 6.53359],
"rotation": [-22.5, 0, 0],
"uv": {
"north": {"uv": [9, 37], "uv_size": [0.75, 1.25]},
"east": {"uv": [6, 25], "uv_size": [1.75, 1.25]},
"south": {"uv": [10, 37], "uv_size": [0.75, 1.25]},
"west": {"uv": [25, 6], "uv_size": [1.75, 1.25]},
"up": {"uv": [6, 35], "uv_size": [0.75, 1.75]},
"down": {"uv": [8, 36.75], "uv_size": [0.75, -1.75]}
}
},
{
"origin": [6.13822, -5.36053, 6.72135],
"size": [0.72356, 1.14106, 1.70987],
"pivot": [6.5, -4.79, 7.57629],
"rotation": [-33.75, 0, 0],
"uv": {
"north": {"uv": [11, 37], "uv_size": [0.75, 1.25]},
"east": {"uv": [25, 8], "uv_size": [1.75, 1.25]},
"south": {"uv": [12, 37], "uv_size": [0.75, 1.25]},
"west": {"uv": [25, 10], "uv_size": [1.75, 1.25]},
"up": {"uv": [10, 35], "uv_size": [0.75, 1.75]},
"down": {"uv": [11, 36.75], "uv_size": [0.75, -1.75]}
}
},
{
"origin": [6.13822, -3.58057, 7.45864],
"size": [0.72356, 1.14106, 1.70987],
"pivot": [6.5, -3.01004, 8.31357],
"rotation": [-11.25, 0, 0],
"uv": {
"north": {"uv": [37, 14], "uv_size": [0.75, 1.25]},
"east": {"uv": [25, 12], "uv_size": [1.75, 1.25]},
"south": {"uv": [16, 37], "uv_size": [0.75, 1.25]},
"west": {"uv": [25, 21], "uv_size": [1.75, 1.25]},
"up": {"uv": [12, 35], "uv_size": [0.75, 1.75]},
"down": {"uv": [35, 13.75], "uv_size": [0.75, -1.75]}
}
},
{
"origin": [6.1226, -2.02742, 7.77227],
"size": [0.75481, 0.55903, 1.40909],
"uv": {
"north": {"uv": [44, 32], "uv_size": [0.75, 0.5]},
"east": {"uv": [39, 34], "uv_size": [1.5, 0.5]},
"south": {"uv": [33, 44], "uv_size": [0.75, 0.5]},
"west": {"uv": [39, 35], "uv_size": [1.5, 0.5]},
"up": {"uv": [34, 36], "uv_size": [0.75, 1.5]},
"down": {"uv": [36, 36.5], "uv_size": [0.75, -1.5]}
}
},
{
"origin": [6.13822, -5.55639, 4.88466],
"size": [0.72356, 1.14106, 1.70987],
"pivot": [7.04904, -5.51341, 4.33562],
"rotation": [-67.5, 0, 0],
"uv": {
"north": {"uv": [37, 16], "uv_size": [0.75, 1.25]},
"east": {"uv": [25, 23], "uv_size": [1.75, 1.25]},
"south": {"uv": [18, 37], "uv_size": [0.75, 1.25]},
"west": {"uv": [25, 25], "uv_size": [1.75, 1.25]},
"up": {"uv": [16, 35], "uv_size": [0.75, 1.75]},
"down": {"uv": [18, 36.75], "uv_size": [0.75, -1.75]}
}
},
{
"origin": [6.13822, -2.61726, 7.55352],
"size": [0.72356, 1.14106, 1.70987],
"uv": {
"north": {"uv": [19, 37], "uv_size": [0.75, 1.25]},
"east": {"uv": [13, 26], "uv_size": [1.75, 1.25]},
"south": {"uv": [20, 37], "uv_size": [0.75, 1.25]},
"west": {"uv": [15, 26], "uv_size": [1.75, 1.25]},
"up": {"uv": [19, 35], "uv_size": [0.75, 1.75]},
"down": {"uv": [20, 36.75], "uv_size": [0.75, -1.75]}
}
}
]
},
{
"name": "bullet2",
"parent": "magazine2",
"pivot": [6.50283, -1.48462, 8.49848],
"cubes": [
{
"origin": [6.3238, -1.66365, 7.91758],
"size": [0.35805, 0.35805, 0.9922],
"uv": {
"north": {"uv": [1.5, 81.625], "uv_size": [-0.75, -3.25]},
"east": {"uv": [1.5, 81.625], "uv_size": [-0.75, -3.25]},
"south": {"uv": [1.5, 81.625], "uv_size": [-0.75, -3.25]},
"west": {"uv": [1.5, 81.625], "uv_size": [-0.75, -3.25]},
"up": {"uv": [0.75, 78.375], "uv_size": [0.75, 3.25]},
"down": {"uv": [0.75, 78.375], "uv_size": [0.75, 3.25]}
}
},
{
"origin": [6.37, -1.61745, 7.51838],
"size": [0.26565, 0.26565, 1.53],
"uv": {
"north": {"uv": [2.75, 81.625], "uv_size": [-0.75, -3.25]},
"east": {"uv": [2.75, 81.625], "uv_size": [-0.75, -3.25]},
"south": {"uv": [2.75, 81.625], "uv_size": [-0.75, -3.25]},
"west": {"uv": [2.75, 81.625], "uv_size": [-0.75, -3.25]},
"up": {"uv": [2, 78.375], "uv_size": [0.75, 3.25]},
"down": {"uv": [2, 78.375], "uv_size": [0.75, 3.25]}
}
},
{
"origin": [6.3238, -1.66365, 9.00218],
"size": [0.35805, 0.35805, 0.0924],
"uv": {
"north": {"uv": [1.5, 81.625], "uv_size": [-0.75, -3.25]},
"east": {"uv": [1.5, 81.625], "uv_size": [-0.75, -3.25]},
"south": {"uv": [1.5, 81.625], "uv_size": [-0.75, -3.25]},
"west": {"uv": [1.5, 81.625], "uv_size": [-0.75, -3.25]},
"up": {"uv": [0.75, 78.375], "uv_size": [0.75, 3.25]},
"down": {"uv": [0.75, 78.375], "uv_size": [0.75, 3.25]}
}
}
]
},
{
"name": "Righthand",
"parent": "0",
"pivot": [-3.50399, -4.80334, 12.29138],
"rotation": [72.76553, -13.26214, 6.20185],
"cubes": [
{
"origin": [-4.50399, -3.80334, 10.29138],
"size": [3, 12, 4],
"uv": {
"north": {"uv": [7, 12], "uv_size": [3, 12]},
@ -8409,6 +9101,26 @@
}
}
]
},
{
"name": "Lefthand",
"parent": "0",
"pivot": [5.9, -4.6, 1.6],
"rotation": [63.02145, 26.28878, -12.70535],
"cubes": [
{
"origin": [4.3, -4.6, -0.15],
"size": [3, 12, 4],
"uv": {
"north": {"uv": [12, 0], "uv_size": [3, 12]},
"east": {"uv": [0, 0], "uv_size": [4, 12]},
"south": {"uv": [4, 12], "uv_size": [3, 12]},
"west": {"uv": [4, 0], "uv_size": [4, 12]},
"up": {"uv": [13, 12], "uv_size": [3, 4]},
"down": {"uv": [15, 4], "uv_size": [3, -4]}
}
}
]
}
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 23 KiB

After

Width:  |  Height:  |  Size: 23 KiB