diff --git a/assets/hbm/lang/de_DE.lang b/assets/hbm/lang/de_DE.lang index f09403f13..717e31c06 100644 --- a/assets/hbm/lang/de_DE.lang +++ b/assets/hbm/lang/de_DE.lang @@ -196,6 +196,7 @@ death.attack.pc=%1$s wurde zu einer Pfütze in der pinken Wolke. death.attack.cloud=%1$s schmolz wie ein Eis in der Sonne. death.attack.lead=%1$s starb an Bleivergiftung. death.attack.taint=%1$s starb an Flux-Tumoren. +death.attack.electricity=%1$s bekam einen tödlichen Stromschlag. item.redstone_sword.name=Redstoneschwert item.big_sword.name=Großes Schwert diff --git a/assets/hbm/lang/en_US.lang b/assets/hbm/lang/en_US.lang index 9ae6ef9a5..37a4af8f1 100644 --- a/assets/hbm/lang/en_US.lang +++ b/assets/hbm/lang/en_US.lang @@ -196,6 +196,7 @@ death.attack.pc=%1$s was reduced to a puddle in the pink cloud. death.attack.cloud=%1$s melted like a popsicle in the sun. death.attack.lead=%1$s died from lead poisoning. death.attack.taint=%1$s died from flux tumors. +death.attack.electricity=%1$s was electrocuted. item.redstone_sword.name=Redstone Sword item.big_sword.name=Great Sword diff --git a/assets/hbm/models/tesla.obj b/assets/hbm/models/tesla.obj new file mode 100644 index 000000000..d3483b770 --- /dev/null +++ b/assets/hbm/models/tesla.obj @@ -0,0 +1,887 @@ +# Blender v2.76 (sub 0) OBJ File: '' +# www.blender.org +o Cube.001 +v 0.250000 0.250000 0.375000 +v 0.250000 0.250000 0.500000 +v 0.250000 0.750000 0.500000 +v 0.250000 0.750000 0.375000 +v -0.312500 0.062500 0.437500 +v -0.312500 0.875000 0.437500 +v -0.312500 0.875000 0.375000 +v -0.312500 0.062500 0.375000 +v -0.250000 0.750000 0.500000 +v -0.250000 0.250000 0.500000 +v -0.250000 0.250000 0.375000 +v -0.250000 0.750000 0.375000 +v 0.312500 0.062500 0.375000 +v 0.312500 0.875000 0.375000 +v 0.312500 0.875000 0.437500 +v 0.312500 0.062500 0.437500 +v 0.500000 0.250000 0.250000 +v 0.375000 0.250000 0.250000 +v 0.375000 0.750000 0.250000 +v 0.500000 0.750000 0.250000 +v 0.375000 0.750000 -0.250000 +v 0.375000 0.250000 -0.250000 +v 0.500000 0.250000 -0.250000 +v 0.500000 0.750000 -0.250000 +v 0.437500 0.875000 0.312500 +v 0.437500 0.875000 -0.312500 +v 0.375000 0.875000 -0.312500 +v 0.375000 0.875000 0.312500 +v 0.437500 0.062500 -0.312500 +v 0.375000 0.062500 -0.312500 +v 0.375000 0.062500 0.312500 +v 0.437500 0.062500 0.312500 +v -0.375000 0.250000 -0.250000 +v -0.375000 0.750000 -0.250000 +v -0.500000 0.750000 -0.250000 +v -0.500000 0.250000 -0.250000 +v -0.437500 0.875000 -0.312500 +v -0.437500 0.875000 0.312500 +v -0.375000 0.875000 0.312500 +v -0.375000 0.875000 -0.312500 +v -0.437500 0.062500 -0.312500 +v -0.375000 0.062500 -0.312500 +v -0.500000 0.250000 0.250000 +v -0.500000 0.750000 0.250000 +v -0.375000 0.750000 0.250000 +v -0.375000 0.250000 0.250000 +v -0.375000 0.062500 0.312500 +v -0.437500 0.062500 0.312500 +v 0.312500 0.062500 -0.437500 +v 0.312500 0.875000 -0.437500 +v 0.312500 0.875000 -0.375000 +v 0.312500 0.062500 -0.375000 +v -0.250000 0.250000 -0.500000 +v 0.250000 0.250000 -0.500000 +v 0.250000 0.750000 -0.500000 +v -0.250000 0.750000 -0.500000 +v 0.250000 0.750000 -0.375000 +v -0.250000 0.750000 -0.375000 +v 0.250000 0.250000 -0.375000 +v -0.250000 0.250000 -0.375000 +v -0.312500 0.062500 -0.375000 +v -0.312500 0.875000 -0.375000 +v -0.312500 0.875000 -0.437500 +v -0.312500 0.062500 -0.437500 +v 0.437500 0.937500 0.437500 +v -0.437500 0.937500 0.437500 +v 0.437500 0.937500 -0.437500 +v -0.437500 0.937500 -0.437500 +v 0.437500 0.062500 -0.437500 +v 0.437500 0.062500 0.437500 +v -0.437500 0.062500 0.437500 +v -0.437500 0.062500 -0.437500 +v -0.375000 0.937500 -0.375000 +v -0.375000 0.937500 0.375000 +v 0.375000 0.937500 -0.375000 +v 0.375000 0.937500 0.375000 +v 0.187500 0.937500 0.187500 +v -0.187500 0.937500 0.187500 +v -0.187500 1.000000 0.187500 +v 0.187500 1.000000 0.187500 +v -0.250000 0.937500 -0.250000 +v -0.250000 0.937500 0.250000 +v -0.375000 0.937500 0.250000 +v -0.375000 0.937500 -0.250000 +v -0.375000 1.000000 -0.375000 +v -0.375000 1.000000 -0.250000 +v -0.250000 0.937500 0.375000 +v -0.375000 1.000000 0.375000 +v -0.250000 1.000000 0.375000 +v 0.250000 0.937500 -0.250000 +v -0.250000 0.937500 -0.375000 +v 0.250000 0.937500 -0.375000 +v 0.375000 0.937500 0.250000 +v 0.375000 1.000000 0.375000 +v 0.375000 1.000000 0.250000 +v 0.250000 0.937500 0.250000 +v 0.250000 0.937500 0.375000 +v 0.375000 1.000000 -0.375000 +v 0.250000 1.000000 -0.375000 +v 0.375000 0.937500 -0.250000 +v 0.250000 1.000000 -0.250000 +v 0.375000 1.000000 -0.250000 +v -0.375000 1.000000 0.250000 +v -0.250000 1.000000 0.250000 +v -0.250000 1.000000 -0.375000 +v -0.250000 1.000000 -0.250000 +v 0.250000 1.000000 0.375000 +v 0.250000 1.000000 0.250000 +v -0.187500 0.937500 -0.187500 +v 0.187500 0.937500 -0.187500 +v -0.187500 1.000000 -0.187500 +v 0.187500 1.000000 -0.187500 +v -0.125000 1.000000 -0.125000 +v -0.125000 1.000000 0.125000 +v 0.125000 1.000000 -0.125000 +v 0.125000 1.000000 0.125000 +v -0.125000 1.937500 -0.125000 +v -0.125000 1.937500 0.125000 +v 0.125000 1.937500 0.125000 +v 0.125000 1.937500 -0.125000 +v -0.437500 1.875000 0.437500 +v 0.437500 1.875000 0.437500 +v 0.437500 1.687500 0.437500 +v -0.437500 1.687500 0.437500 +v -0.187500 1.875000 -0.187500 +v 0.187500 1.875000 -0.187500 +v 0.187500 1.937500 -0.187500 +v -0.187500 1.937500 -0.187500 +v 0.187500 1.875000 0.187500 +v 0.187500 1.937500 0.187500 +v -0.187500 1.875000 0.187500 +v -0.187500 1.937500 0.187500 +v 0.250000 1.625000 -0.250000 +v 0.250000 1.625000 0.250000 +v 0.375000 1.625000 0.375000 +v 0.375000 1.625000 -0.375000 +v 0.437500 1.875000 -0.437500 +v 0.437500 1.687500 -0.437500 +v -0.187500 1.687500 0.187500 +v 0.187500 1.687500 0.187500 +v 0.187500 1.750000 0.187500 +v -0.187500 1.750000 0.187500 +v -0.437500 1.687500 -0.437500 +v -0.437500 1.875000 -0.437500 +v -0.250000 1.625000 -0.250000 +v -0.375000 1.625000 -0.375000 +v -0.250000 1.625000 0.250000 +v -0.375000 1.625000 0.375000 +v -0.125000 1.687500 0.125000 +v 0.125000 1.687500 0.125000 +v -0.250000 1.937500 -0.250000 +v -0.250000 1.937500 0.250000 +v -0.375000 1.937500 0.375000 +v -0.375000 1.937500 -0.375000 +v 0.187500 1.687500 -0.187500 +v 0.187500 1.750000 -0.187500 +v 0.250000 1.937500 0.250000 +v 0.250000 1.937500 -0.250000 +v 0.375000 1.937500 -0.375000 +v 0.375000 1.937500 0.375000 +v -0.187500 1.687500 -0.187500 +v -0.187500 1.750000 -0.187500 +v 0.500000 0.062500 -0.500000 +v 0.500000 0.062500 0.500000 +v 0.500000 0.000000 0.500000 +v 0.500000 0.000000 -0.500000 +v -0.500000 0.062500 -0.500000 +v -0.500000 0.000000 -0.500000 +v -0.500000 0.062500 0.500000 +v -0.500000 0.000000 0.500000 +v -0.125000 1.875000 -0.125000 +v 0.125000 1.875000 -0.125000 +v 0.125000 1.875000 0.125000 +v -0.125000 1.875000 0.125000 +v -0.125000 1.687500 -0.125000 +v 0.125000 1.687500 -0.125000 +v 0.125000 0.250000 0.437500 +v 0.125000 0.250000 0.375000 +v 0.125000 0.062500 0.375000 +v 0.125000 0.062500 0.437500 +v 0.125000 0.250000 -0.375000 +v 0.125000 0.250000 -0.437500 +v 0.125000 0.062500 -0.437500 +v 0.125000 0.062500 -0.375000 +v -0.125000 0.250000 0.375000 +v -0.125000 0.250000 0.437500 +v -0.125000 0.062500 0.437500 +v -0.125000 0.062500 0.375000 +v -0.125000 0.250000 -0.437500 +v -0.125000 0.250000 -0.375000 +v -0.125000 0.062500 -0.375000 +v -0.125000 0.062500 -0.437500 +v -0.437500 0.250000 0.125000 +v -0.375000 0.250000 0.125000 +v -0.375000 0.062500 0.125000 +v -0.437500 0.062500 0.125000 +v 0.375000 0.250000 0.125000 +v 0.437500 0.250000 0.125000 +v 0.437500 0.062500 0.125000 +v 0.375000 0.062500 0.125000 +v -0.375000 0.250000 -0.125000 +v -0.437500 0.250000 -0.125000 +v -0.437500 0.062500 -0.125000 +v -0.375000 0.062500 -0.125000 +v 0.437500 0.250000 -0.125000 +v 0.375000 0.250000 -0.125000 +v 0.375000 0.062500 -0.125000 +v 0.437500 0.062500 -0.125000 +v -0.500000 0.062500 0.500000 +v 0.500000 0.062500 0.500000 +vt 0.375000 0.359375 +vt 0.375000 0.390625 +vt 0.250000 0.390625 +vt 0.250000 0.984375 +vt 0.250000 0.781250 +vt 0.234375 0.781250 +vt 0.500000 0.359375 +vt 0.125000 0.515625 +vt -0.000000 0.515625 +vt -0.000000 0.390625 +vt 0.406250 0.781250 +vt 0.390625 0.828125 +vt 0.406250 0.984375 +vt 0.265625 0.953125 +vt 0.265625 0.828125 +vt -0.000000 0.359375 +vt 0.125000 0.359375 +vt 0.125000 0.390625 +vt 0.421875 0.984375 +vt 0.421875 0.781250 +vt 0.250000 1.000000 +vt 0.500000 0.390625 +vt 0.625000 0.984375 +vt 0.468750 0.984375 +vt 0.468750 1.000000 +vt 0.625000 0.781250 +vt 0.640625 0.984375 +vt 0.484375 0.828125 +vt 0.468750 0.781250 +vt 0.484375 0.953125 +vt 0.609375 0.828125 +vt 0.453125 0.781250 +vt 0.031250 1.000000 +vt 0.187500 1.000000 +vt 0.187500 0.984375 +vt 0.015625 0.781250 +vt 0.015625 0.984375 +vt 0.031250 0.984375 +vt 0.031250 0.781250 +vt 0.187500 0.781250 +vt 0.171875 0.828125 +vt 0.046875 0.953125 +vt 0.046875 0.828125 +vt 0.203125 0.984375 +vt 0.250000 0.359375 +vt 0.671875 0.781250 +vt 0.671875 0.984375 +vt 0.687500 0.984375 +vt 0.687500 0.781250 +vt 0.843750 0.781250 +vt 0.828125 0.828125 +vt 0.843750 0.984375 +vt 0.703125 0.953125 +vt 0.703125 0.828125 +vt 0.687500 1.000000 +vt 0.843750 1.000000 +vt 0.859375 0.984375 +vt 0.218750 1.000000 +vt 0.437500 1.000000 +vt 0.656250 1.000000 +vt 0.000000 1.000000 +vt 0.656250 0.781250 +vt 0.437500 0.781250 +vt 0.218750 0.781250 +vt 0.875000 0.781250 +vt 0.000000 0.781250 +vt 0.468750 0.359375 +vt 0.453125 0.343750 +vt 0.250000 0.140625 +vt 0.265625 0.343750 +vt 0.468750 0.140625 +vt 0.453125 0.156250 +vt 0.265625 0.156250 +vt 0.781250 0.687500 +vt 0.875000 0.687500 +vt 0.875000 0.671875 +vt 0.296875 0.343750 +vt 0.421875 0.343750 +vt 0.421875 0.312500 +vt 0.781250 0.734375 +vt 0.750000 0.734375 +vt 0.750000 0.750000 +vt 0.781250 0.750000 +vt 0.812500 0.750000 +vt 0.812500 0.734375 +vt 0.265625 0.187500 +vt 0.265625 0.312500 +vt 0.296875 0.312500 +vt 0.718750 0.734375 +vt 0.718750 0.750000 +vt 0.453125 0.312500 +vt 0.453125 0.187500 +vt 0.421875 0.187500 +vt 0.687500 0.750000 +vt 0.421875 0.156250 +vt 0.296875 0.156250 +vt 0.296875 0.187500 +vt 0.718750 0.781250 +vt 0.750000 0.781250 +vt 0.796875 0.734375 +vt 0.765625 0.734375 +vt 0.765625 0.750000 +vt 0.406250 0.296875 +vt 0.312500 0.296875 +vt 0.406250 0.203125 +vt 0.312500 0.203125 +vt 0.781250 0.671875 +vt 0.687500 0.671875 +vt 0.687500 0.687500 +vt 0.593750 0.671875 +vt 0.500000 0.671875 +vt 0.500000 0.687500 +vt 0.593750 0.687500 +vt 0.593750 0.781250 +vt 0.671875 0.765625 +vt 0.609375 0.765625 +vt 0.671875 0.703125 +vt 0.609375 0.703125 +vt 0.062500 0.359375 +vt 0.125000 0.296875 +vt 0.359375 0.421875 +vt 0.140625 0.421875 +vt 0.140625 0.468750 +vt 0.000000 0.000000 +vt 0.984375 0.203125 +vt 0.796875 0.203125 +vt 0.828125 0.234375 +vt 0.125000 0.421875 +vt 0.125000 0.468750 +vt 0.343750 0.468750 +vt 0.359375 0.468750 +vt 0.984375 0.390625 +vt 0.953125 0.234375 +vt 0.796875 0.390625 +vt 0.828125 0.359375 +vt 0.187500 0.046875 +vt 0.187500 0.218750 +vt 0.125000 0.218750 +vt 0.578125 0.390625 +vt 0.765625 0.390625 +vt 0.734375 0.359375 +vt 0.953125 0.359375 +vt 0.765625 0.203125 +vt 0.578125 0.203125 +vt 0.609375 0.234375 +vt 0.734375 0.234375 +vt 0.609375 0.359375 +vt 0.562500 0.406250 +vt 0.562500 0.187500 +vt 0.781250 0.406250 +vt 0.781250 0.187500 +vt 0.796875 0.375000 +vt 0.984375 0.375000 +vt 1.000000 0.390625 +vt 1.000000 0.187500 +vt 0.625000 0.343750 +vt 0.718750 0.343750 +vt 0.625000 0.250000 +vt 0.984127 0.190476 +vt 0.984127 0.317460 +vt 1.000000 0.301587 +vt 0.843750 0.250000 +vt 0.843750 0.343750 +vt 0.937500 0.343750 +vt 0.937500 0.250000 +vt 0.500000 0.515625 +vt 0.500000 0.531250 +vt 0.750000 0.531250 +vt 0.750000 0.515625 +vt 1.000000 0.515625 +vt 0.250000 0.531250 +vt 0.000000 0.531250 +vt 0.250000 0.515625 +vt 0.125000 0.281250 +vt 0.062500 0.296875 +vt 0.187500 0.296875 +vt 0.062500 0.281250 +vt -0.000000 0.281250 +vt 0.250000 0.296875 +vt 0.250000 0.281250 +vt 0.187500 0.281250 +vt 0.250000 0.218750 +vt 0.062500 0.046875 +vt 0.062500 0.218750 +vt -0.000000 0.218750 +vt 0.125000 0.046875 +vt 0.250000 0.484375 +vt 0.265625 0.484375 +vt 0.265625 0.437500 +vt 0.203125 0.437500 +vt 0.203125 0.484375 +vt 0.218750 0.484375 +vt 0.171875 0.484375 +vt 0.187500 0.484375 +vt 0.187500 0.437500 +vt 0.140625 0.437500 +vt 0.125000 0.437500 +vt 0.125000 0.484375 +vt 0.234375 0.484375 +vt 0.234375 0.437500 +vt 0.171875 0.468750 +vt 0.187500 0.468750 +vt 0.187500 0.421875 +vt 0.140625 0.484375 +vt 0.156250 0.484375 +vt 0.156250 0.437500 +vt 0.171875 0.437500 +vt 0.093750 0.359375 +vt 0.093750 0.375000 +vt 0.031250 0.375000 +vt 0.296875 0.546875 +vt 0.343750 0.546875 +vt 0.343750 0.562500 +vt 0.406250 0.546875 +vt 0.406250 0.562500 +vt 0.453125 0.562500 +vt 0.265625 0.546875 +vt 0.265625 0.765625 +vt 0.296875 0.765625 +vt 0.343750 0.765625 +vt 0.343750 0.750000 +vt 0.406250 0.750000 +vt 0.406250 0.765625 +vt 0.453125 0.765625 +vt 0.265625 0.625000 +vt 0.281250 0.625000 +vt 0.281250 0.578125 +vt 0.265625 0.734375 +vt 0.265625 0.687500 +vt 0.281250 0.687500 +vt 0.468750 0.687500 +vt 0.484375 0.687500 +vt 0.484375 0.734375 +vt 0.484375 0.578125 +vt 0.484375 0.625000 +vt 0.468750 0.625000 +vt 0.484375 0.546875 +vt 0.500000 0.781250 +vt 0.484375 0.765625 +vt 0.234375 0.984375 +vt 0.390625 0.953125 +vt 0.406250 1.000000 +vt 0.625000 1.000000 +vt 0.640625 0.781250 +vt 0.609375 0.953125 +vt 0.453125 0.984375 +vt 0.171875 0.953125 +vt 0.203125 0.781250 +vt 0.828125 0.953125 +vt 0.859375 0.781250 +vt 0.875000 1.000000 +vt 0.687500 0.734375 +vt 0.796875 0.750000 +vt 0.343750 0.421875 +vt 0.781250 0.390625 +vt 1.000000 0.406250 +vt 0.718750 0.250000 +vt 1.000000 0.206349 +vt 1.000000 0.531250 +vt 0.000000 0.296875 +vt 0.250000 0.046875 +vt -0.000000 0.046875 +vt 0.250000 0.437500 +vt 0.218750 0.437500 +vt 0.171875 0.421875 +vt 0.031250 0.359375 +vt 0.296875 0.562500 +vt 0.453125 0.546875 +vt 0.296875 0.750000 +vt 0.453125 0.750000 +vt 0.265625 0.578125 +vt 0.281250 0.734375 +vt 0.468750 0.734375 +vt 0.468750 0.578125 +vn 1.000000 0.000000 0.000000 +vn -1.000000 0.000000 0.000000 +vn 0.000000 -0.000000 1.000000 +vn 0.000000 1.000000 0.000000 +vn 0.000000 -1.000000 0.000000 +vn 0.000000 0.000000 -1.000000 +vn 0.000000 0.707100 -0.707100 +vn 0.707100 0.707100 0.000000 +vn -0.707100 0.707100 0.000000 +vn 0.000000 0.707100 0.707100 +vn 0.000000 -0.707100 -0.707100 +vn 0.707100 -0.707100 0.000000 +vn -0.707100 -0.707100 0.000000 +vn 0.000000 -0.707100 0.707100 +s 1 +f 4/1/1 3/2/1 2/3/1 +f 8/4/1 7/5/1 6/6/1 +f 12/7/2 11/1/2 10/2/2 +f 3/8/3 9/9/3 10/10/3 +f 8/5/3 13/11/3 1/12/3 +f 14/13/3 7/4/3 12/14/3 +f 7/4/3 8/5/3 11/15/3 +f 1/12/3 13/11/3 14/13/3 +f 4/16/4 12/17/4 9/18/4 +f 14/19/2 13/20/2 16/11/2 +f 7/13/5 14/4/5 15/21/5 +f 20/22/3 19/7/3 18/1/3 +f 24/3/6 23/18/6 22/17/6 +f 28/23/5 27/24/5 26/25/5 +f 27/26/3 30/23/3 29/27/3 +f 24/8/1 20/9/1 17/10/1 +f 19/16/4 20/10/4 24/18/4 +f 18/28/1 31/29/1 30/26/1 +f 27/23/1 28/24/1 19/30/1 +f 28/24/1 31/29/1 18/28/1 +f 22/31/1 30/26/1 27/23/1 +f 31/24/6 28/29/6 25/32/6 +f 36/10/6 35/18/6 34/17/6 +f 40/33/5 39/34/5 38/35/5 +f 42/36/3 40/37/3 37/38/3 +f 44/8/2 35/9/2 36/10/2 +f 45/1/4 34/7/4 35/22/4 +f 42/39/2 47/40/2 46/41/2 +f 39/35/2 40/38/2 34/42/2 +f 46/41/2 47/40/2 39/35/2 +f 40/38/2 42/39/2 33/43/2 +f 39/40/6 47/35/6 48/44/6 +f 43/18/3 46/17/3 45/45/3 +f 52/46/2 51/47/2 50/48/2 +f 56/8/6 55/9/6 54/10/6 +f 58/1/4 57/45/4 55/3/4 +f 55/22/1 57/7/1 59/1/1 +f 52/49/6 61/50/6 60/51/6 +f 62/52/6 51/48/6 57/53/6 +f 60/51/6 61/50/6 62/52/6 +f 51/48/6 52/49/6 59/54/6 +f 51/55/5 62/56/5 63/52/5 +f 53/2/2 60/1/2 58/7/2 +f 62/50/1 61/52/1 64/57/1 +f 66/58/3 6/4/3 15/13/3 +f 65/59/1 25/24/1 26/23/1 +f 67/60/6 50/48/6 63/52/6 +f 68/61/2 37/38/2 38/35/2 +f 50/48/6 67/60/6 69/62/6 +f 26/23/1 29/26/1 69/62/1 +f 15/13/3 16/11/3 70/63/3 +f 25/24/1 65/59/1 70/63/1 +f 38/35/2 48/40/2 71/64/2 +f 6/4/3 66/58/3 71/64/3 +f 63/52/6 64/50/6 72/65/6 +f 37/38/2 68/61/2 72/66/2 +f 68/45/4 66/67/4 74/68/4 +f 67/69/4 68/45/4 73/70/4 +f 66/67/4 65/71/4 76/72/4 +f 65/71/4 67/69/4 75/73/4 +f 80/74/3 79/75/3 78/76/3 +f 84/77/4 83/78/4 82/79/4 +f 86/80/2 85/81/2 73/82/2 +f 89/83/3 88/84/3 74/85/3 +f 92/86/4 91/87/4 81/88/4 +f 95/81/1 94/89/1 76/90/1 +f 87/91/4 97/92/4 96/93/4 +f 99/94/6 98/90/6 75/89/6 +f 93/95/4 100/96/4 90/97/4 +f 102/82/4 98/90/4 99/98/4 +f 98/81/1 102/89/1 100/90/1 +f 102/83/3 101/84/3 90/85/3 +f 101/80/2 99/81/2 92/82/2 +f 89/82/4 104/90/4 103/98/4 +f 88/80/2 103/81/2 83/82/2 +f 103/94/6 104/90/6 82/89/6 +f 104/81/1 89/89/1 87/90/1 +f 86/99/4 106/82/4 105/90/4 +f 105/81/1 106/89/1 81/90/1 +f 85/94/6 105/90/6 91/89/6 +f 106/83/3 86/84/3 84/85/3 +f 95/90/4 108/98/4 107/99/4 +f 107/80/2 108/81/2 96/82/2 +f 108/94/6 95/90/6 93/89/6 +f 94/100/3 107/101/3 97/102/3 +f 81/88/4 82/79/4 78/103/4 +f 90/97/4 81/88/4 109/104/4 +f 82/79/4 96/93/4 77/105/4 +f 96/93/4 90/97/4 110/106/4 +f 79/107/2 111/108/2 109/109/2 +f 112/110/1 80/111/1 77/112/1 +f 111/113/6 112/109/6 110/108/6 +f 111/114/4 79/49/4 114/115/4 +f 112/113/4 111/114/4 113/116/4 +f 79/49/4 80/109/4 116/117/4 +f 80/109/4 112/113/4 115/118/4 +f 118/119/4 119/17/4 120/120/4 +f 124/121/3 123/122/3 122/123/3 +f 128/124/6 127/124/6 126/124/6 +f 127/124/1 130/124/1 129/124/1 +f 130/124/3 132/124/3 131/124/3 +f 136/125/5 135/126/5 134/127/5 +f 122/128/1 123/129/1 138/130/1 +f 142/124/6 141/124/6 140/124/6 +f 144/131/2 143/121/2 124/122/2 +f 146/132/5 136/125/5 133/133/5 +f 135/126/5 148/134/5 147/135/5 +f 116/136/3 150/137/3 149/138/3 +f 154/139/4 153/140/4 152/141/4 +f 141/124/2 156/124/2 155/124/2 +f 148/134/5 146/132/5 145/142/5 +f 160/143/4 159/144/4 158/145/4 +f 153/140/4 160/143/4 157/146/4 +f 159/144/4 154/139/4 151/147/4 +f 137/148/7 144/149/7 154/144/7 +f 122/150/8 137/148/8 159/139/8 +f 144/149/9 121/151/9 153/143/9 +f 121/150/10 122/151/10 160/143/10 +f 156/124/3 162/124/3 161/124/3 +f 136/134/11 146/126/11 143/151/11 +f 135/152/12 136/153/12 138/154/12 +f 146/125/13 148/126/13 124/151/13 +f 148/132/14 135/125/14 123/155/14 +f 138/123/6 143/131/6 144/121/6 +f 158/145/10 151/147/10 125/156/10 +f 157/147/9 158/141/9 126/157/9 +f 151/146/8 152/145/8 131/158/8 +f 152/159/7 157/160/7 129/161/7 +f 132/124/2 128/124/2 125/124/2 +f 155/162/14 161/163/14 145/135/14 +f 140/164/13 155/163/13 133/135/13 +f 161/162/12 139/165/12 147/133/12 +f 139/165/11 140/164/11 134/142/11 +f 162/124/1 142/124/1 139/124/1 +f 164/166/1 165/167/1 166/168/1 +f 163/168/6 166/169/6 168/170/6 +f 169/166/3 170/167/3 165/171/3 +f 167/172/2 168/9/2 170/173/2 +f 165/172/5 170/66/5 168/5/5 +f 174/115/4 173/117/4 172/118/4 +f 120/174/6 172/120/6 171/175/6 +f 118/174/3 174/120/3 173/176/3 +f 117/175/2 171/177/2 174/178/2 +f 119/179/1 173/180/1 172/181/1 +f 173/117/4 174/115/4 131/49/4 +f 126/113/4 172/118/4 173/117/4 +f 125/114/4 171/116/4 172/118/4 +f 125/114/4 131/49/4 174/115/4 +f 161/49/5 155/109/5 176/117/5 +f 155/109/5 140/113/5 150/118/5 +f 139/114/5 161/49/5 175/115/5 +f 140/113/5 139/114/5 149/116/5 +f 115/136/1 176/137/1 150/182/1 +f 113/183/6 175/184/6 176/185/6 +f 114/186/2 149/138/2 175/184/2 +f 180/187/1 179/188/1 178/189/1 +f 181/190/1 184/191/1 183/192/1 +f 188/193/2 187/194/2 186/195/2 +f 192/196/2 191/197/2 190/198/2 +f 196/192/3 195/199/3 194/200/3 +f 200/201/3 199/202/3 198/203/3 +f 204/204/6 203/205/6 202/206/6 +f 208/187/6 207/188/6 206/189/6 +f 208/200/1 205/199/1 198/193/1 +f 183/204/6 192/191/6 189/190/6 +f 193/200/2 202/207/2 203/193/2 +f 186/207/3 187/193/3 180/199/3 +f 18/17/5 197/208/5 198/209/5 +f 22/16/5 23/10/5 205/210/5 +f 17/18/5 198/209/5 205/210/5 +f 59/17/5 181/208/5 182/209/5 +f 60/16/5 53/10/5 189/210/5 +f 54/18/5 182/209/5 189/210/5 +f 33/17/5 201/208/5 202/209/5 +f 46/16/5 43/10/5 193/210/5 +f 11/17/5 185/208/5 186/209/5 +f 1/16/5 2/10/5 177/210/5 +f 186/209/5 177/210/5 2/10/5 +f 202/209/5 193/210/5 43/10/5 +f 5/211/4 187/212/4 188/213/4 +f 179/214/4 180/215/4 16/216/4 +f 164/171/4 70/217/4 71/218/4 +f 41/219/4 203/220/4 204/221/4 +f 195/222/4 196/223/4 48/224/4 +f 191/225/4 192/226/4 64/227/4 +f 49/228/4 183/229/4 184/230/4 +f 207/231/4 208/232/4 29/233/4 +f 32/234/4 199/235/4 200/236/4 +f 163/167/4 69/237/4 70/217/4 +f 167/238/4 72/239/4 69/237/4 +f 169/5/4 71/218/4 72/239/4 +f 1/45/1 4/1/1 2/3/1 +f 5/240/1 8/4/1 6/6/1 +f 9/22/2 12/7/2 10/2/2 +f 2/18/3 3/8/3 10/10/3 +f 11/15/3 8/5/3 1/12/3 +f 4/241/3 14/13/3 12/14/3 +f 12/14/3 7/4/3 11/15/3 +f 4/241/3 1/12/3 14/13/3 +f 3/10/4 4/16/4 9/18/4 +f 15/13/2 14/19/2 16/11/2 +f 6/242/5 7/13/5 15/21/5 +f 17/2/3 20/22/3 18/1/3 +f 21/45/6 24/3/6 22/17/6 +f 25/243/5 28/23/5 26/25/5 +f 26/244/3 27/26/3 29/27/3 +f 23/18/1 24/8/1 17/10/1 +f 21/17/4 19/16/4 24/18/4 +f 22/31/1 18/28/1 30/26/1 +f 21/245/1 27/23/1 19/30/1 +f 19/30/1 28/24/1 18/28/1 +f 21/245/1 22/31/1 27/23/1 +f 32/246/6 31/24/6 25/32/6 +f 33/16/6 36/10/6 34/17/6 +f 37/38/5 40/33/5 38/35/5 +f 41/39/3 42/36/3 37/38/3 +f 43/18/2 44/8/2 36/10/2 +f 44/2/4 45/1/4 35/22/4 +f 33/43/2 42/39/2 46/41/2 +f 45/247/2 39/35/2 34/42/2 +f 45/247/2 46/41/2 39/35/2 +f 34/42/2 40/38/2 33/43/2 +f 38/248/6 39/40/6 48/44/6 +f 44/3/3 43/18/3 45/45/3 +f 49/49/2 52/46/2 50/48/2 +f 53/18/6 56/8/6 54/10/6 +f 56/2/4 58/1/4 55/3/4 +f 54/2/1 55/22/1 59/1/1 +f 59/54/6 52/49/6 60/51/6 +f 58/249/6 62/52/6 57/53/6 +f 58/249/6 60/51/6 62/52/6 +f 57/53/6 51/48/6 59/54/6 +f 50/48/5 51/55/5 63/52/5 +f 56/22/2 53/2/2 58/7/2 +f 63/250/1 62/50/1 64/57/1 +f 65/59/3 66/58/3 15/13/3 +f 67/60/1 65/59/1 26/23/1 +f 68/251/6 67/60/6 63/52/6 +f 66/58/2 68/61/2 38/35/2 +f 49/49/6 50/48/6 69/62/6 +f 67/60/1 26/23/1 69/62/1 +f 65/59/3 15/13/3 70/63/3 +f 32/29/1 25/24/1 70/63/1 +f 66/58/2 38/35/2 71/64/2 +f 5/5/3 6/4/3 71/64/3 +f 68/251/6 63/52/6 72/65/6 +f 41/39/2 37/38/2 72/66/2 +f 73/70/4 68/45/4 74/68/4 +f 75/73/4 67/69/4 73/70/4 +f 74/68/4 66/67/4 76/72/4 +f 76/72/4 65/71/4 75/73/4 +f 77/107/3 80/74/3 78/76/3 +f 81/88/4 84/77/4 82/79/4 +f 84/83/2 86/80/2 73/82/2 +f 87/80/3 89/83/3 74/85/3 +f 90/97/4 92/86/4 81/88/4 +f 93/82/1 95/81/1 76/90/1 +f 82/79/4 87/91/4 96/93/4 +f 92/252/6 99/94/6 75/89/6 +f 96/93/4 93/95/4 90/97/4 +f 101/99/4 102/82/4 99/98/4 +f 75/82/1 98/81/1 100/90/1 +f 100/80/3 102/83/3 90/85/3 +f 90/83/2 101/80/2 92/82/2 +f 88/99/4 89/82/4 103/98/4 +f 74/83/2 88/80/2 83/82/2 +f 83/252/6 103/94/6 82/89/6 +f 82/82/1 104/81/1 87/90/1 +f 85/98/4 86/99/4 105/90/4 +f 91/82/1 105/81/1 81/90/1 +f 73/252/6 85/94/6 91/89/6 +f 81/80/3 106/83/3 84/85/3 +f 94/82/4 95/90/4 107/99/4 +f 97/83/2 107/80/2 96/82/2 +f 96/252/6 108/94/6 93/89/6 +f 76/253/3 94/100/3 97/102/3 +f 109/104/4 81/88/4 78/103/4 +f 110/106/4 90/97/4 109/104/4 +f 78/103/4 82/79/4 77/105/4 +f 77/105/4 96/93/4 110/106/4 +f 78/74/2 79/107/2 109/109/2 +f 110/113/1 112/110/1 77/112/1 +f 109/110/6 111/113/6 110/108/6 +f 113/116/4 111/114/4 114/115/4 +f 115/118/4 112/113/4 113/116/4 +f 114/115/4 79/49/4 116/117/4 +f 116/117/4 80/109/4 115/118/4 +f 117/175/4 118/119/4 120/120/4 +f 121/131/3 124/121/3 122/123/3 +f 125/124/6 128/124/6 126/124/6 +f 126/124/1 127/124/1 129/124/1 +f 129/124/3 130/124/3 131/124/3 +f 133/133/5 136/125/5 134/127/5 +f 137/254/1 122/128/1 138/130/1 +f 139/124/6 142/124/6 140/124/6 +f 121/123/2 144/131/2 124/122/2 +f 145/142/5 146/132/5 133/133/5 +f 134/127/5 135/126/5 147/135/5 +f 114/186/3 116/136/3 149/138/3 +f 151/147/4 154/139/4 152/141/4 +f 140/124/2 141/124/2 155/124/2 +f 147/135/5 148/134/5 145/142/5 +f 157/146/4 160/143/4 158/145/4 +f 152/141/4 153/140/4 157/146/4 +f 158/145/4 159/144/4 151/147/4 +f 159/139/7 137/148/7 154/144/7 +f 160/140/8 122/150/8 159/139/8 +f 154/144/9 144/149/9 153/143/9 +f 153/140/10 121/150/10 160/143/10 +f 155/124/3 156/124/3 161/124/3 +f 138/150/11 136/134/11 143/151/11 +f 123/255/12 135/152/12 138/154/12 +f 143/155/13 146/125/13 124/151/13 +f 124/256/14 148/132/14 123/155/14 +f 137/122/6 138/123/6 144/121/6 +f 126/158/10 158/145/10 125/156/10 +f 129/156/9 157/147/9 126/157/9 +f 125/257/8 151/146/8 131/158/8 +f 131/258/7 152/159/7 129/161/7 +f 131/124/2 132/124/2 125/124/2 +f 133/127/14 155/162/14 145/135/14 +f 134/142/13 140/164/13 133/135/13 +f 145/127/12 161/162/12 147/133/12 +f 147/133/11 139/165/11 134/142/11 +f 161/124/1 162/124/1 139/124/1 +f 163/169/1 164/166/1 166/168/1 +f 167/259/6 163/168/6 168/170/6 +f 164/173/3 169/166/3 165/171/3 +f 169/171/2 167/172/2 170/173/2 +f 166/171/5 165/172/5 168/5/5 +f 171/116/4 174/115/4 172/118/4 +f 117/177/6 120/174/6 171/175/6 +f 119/181/3 118/174/3 173/176/3 +f 118/260/2 117/175/2 174/178/2 +f 120/176/1 119/179/1 172/181/1 +f 129/109/4 173/117/4 131/49/4 +f 129/109/4 126/113/4 173/117/4 +f 126/113/4 125/114/4 172/118/4 +f 171/116/4 125/114/4 174/115/4 +f 175/115/5 161/49/5 176/117/5 +f 176/117/5 155/109/5 150/118/5 +f 149/116/5 139/114/5 175/115/5 +f 150/118/5 140/113/5 149/116/5 +f 116/261/1 115/136/1 150/182/1 +f 115/262/6 113/183/6 176/185/6 +f 113/183/2 114/186/2 175/184/2 +f 177/263/1 180/187/1 178/189/1 +f 182/264/1 181/190/1 183/192/1 +f 185/207/2 188/193/2 186/195/2 +f 189/204/2 192/196/2 190/198/2 +f 193/264/3 196/192/3 194/200/3 +f 197/265/3 200/201/3 198/203/3 +f 201/196/6 204/204/6 202/206/6 +f 205/263/6 208/187/6 206/189/6 +f 199/207/1 208/200/1 198/193/1 +f 182/196/6 183/204/6 189/190/6 +f 196/199/2 193/200/2 203/193/2 +f 177/200/3 186/207/3 180/199/3 +f 17/18/5 18/17/5 198/209/5 +f 206/266/5 22/16/5 205/210/5 +f 23/10/5 17/18/5 205/210/5 +f 54/18/5 59/17/5 182/209/5 +f 190/266/5 60/16/5 189/210/5 +f 53/10/5 54/18/5 189/210/5 +f 36/18/5 33/17/5 202/209/5 +f 194/266/5 46/16/5 193/210/5 +f 10/18/5 11/17/5 186/209/5 +f 178/266/5 1/16/5 177/210/5 +f 10/18/5 186/209/5 2/10/5 +f 36/18/5 202/209/5 43/10/5 +f 8/267/4 5/211/4 188/213/4 +f 13/268/4 179/214/4 16/216/4 +f 169/5/4 164/171/4 71/218/4 +f 42/269/4 41/219/4 204/221/4 +f 47/270/4 195/222/4 48/224/4 +f 61/271/4 191/225/4 64/227/4 +f 52/272/4 49/228/4 184/230/4 +f 30/273/4 207/231/4 29/233/4 +f 31/274/4 32/234/4 200/236/4 +f 164/171/4 163/167/4 70/217/4 +f 163/167/4 167/238/4 69/237/4 +f 167/238/4 169/5/4 72/239/4 +l 210 163 +l 209 210 +l 167 209 diff --git a/assets/hbm/models/untitled.obj b/assets/hbm/models/untitled.obj new file mode 100644 index 000000000..d3483b770 --- /dev/null +++ b/assets/hbm/models/untitled.obj @@ -0,0 +1,887 @@ +# Blender v2.76 (sub 0) OBJ File: '' +# www.blender.org +o Cube.001 +v 0.250000 0.250000 0.375000 +v 0.250000 0.250000 0.500000 +v 0.250000 0.750000 0.500000 +v 0.250000 0.750000 0.375000 +v -0.312500 0.062500 0.437500 +v -0.312500 0.875000 0.437500 +v -0.312500 0.875000 0.375000 +v -0.312500 0.062500 0.375000 +v -0.250000 0.750000 0.500000 +v -0.250000 0.250000 0.500000 +v -0.250000 0.250000 0.375000 +v -0.250000 0.750000 0.375000 +v 0.312500 0.062500 0.375000 +v 0.312500 0.875000 0.375000 +v 0.312500 0.875000 0.437500 +v 0.312500 0.062500 0.437500 +v 0.500000 0.250000 0.250000 +v 0.375000 0.250000 0.250000 +v 0.375000 0.750000 0.250000 +v 0.500000 0.750000 0.250000 +v 0.375000 0.750000 -0.250000 +v 0.375000 0.250000 -0.250000 +v 0.500000 0.250000 -0.250000 +v 0.500000 0.750000 -0.250000 +v 0.437500 0.875000 0.312500 +v 0.437500 0.875000 -0.312500 +v 0.375000 0.875000 -0.312500 +v 0.375000 0.875000 0.312500 +v 0.437500 0.062500 -0.312500 +v 0.375000 0.062500 -0.312500 +v 0.375000 0.062500 0.312500 +v 0.437500 0.062500 0.312500 +v -0.375000 0.250000 -0.250000 +v -0.375000 0.750000 -0.250000 +v -0.500000 0.750000 -0.250000 +v -0.500000 0.250000 -0.250000 +v -0.437500 0.875000 -0.312500 +v -0.437500 0.875000 0.312500 +v -0.375000 0.875000 0.312500 +v -0.375000 0.875000 -0.312500 +v -0.437500 0.062500 -0.312500 +v -0.375000 0.062500 -0.312500 +v -0.500000 0.250000 0.250000 +v -0.500000 0.750000 0.250000 +v -0.375000 0.750000 0.250000 +v -0.375000 0.250000 0.250000 +v -0.375000 0.062500 0.312500 +v -0.437500 0.062500 0.312500 +v 0.312500 0.062500 -0.437500 +v 0.312500 0.875000 -0.437500 +v 0.312500 0.875000 -0.375000 +v 0.312500 0.062500 -0.375000 +v -0.250000 0.250000 -0.500000 +v 0.250000 0.250000 -0.500000 +v 0.250000 0.750000 -0.500000 +v -0.250000 0.750000 -0.500000 +v 0.250000 0.750000 -0.375000 +v -0.250000 0.750000 -0.375000 +v 0.250000 0.250000 -0.375000 +v -0.250000 0.250000 -0.375000 +v -0.312500 0.062500 -0.375000 +v -0.312500 0.875000 -0.375000 +v -0.312500 0.875000 -0.437500 +v -0.312500 0.062500 -0.437500 +v 0.437500 0.937500 0.437500 +v -0.437500 0.937500 0.437500 +v 0.437500 0.937500 -0.437500 +v -0.437500 0.937500 -0.437500 +v 0.437500 0.062500 -0.437500 +v 0.437500 0.062500 0.437500 +v -0.437500 0.062500 0.437500 +v -0.437500 0.062500 -0.437500 +v -0.375000 0.937500 -0.375000 +v -0.375000 0.937500 0.375000 +v 0.375000 0.937500 -0.375000 +v 0.375000 0.937500 0.375000 +v 0.187500 0.937500 0.187500 +v -0.187500 0.937500 0.187500 +v -0.187500 1.000000 0.187500 +v 0.187500 1.000000 0.187500 +v -0.250000 0.937500 -0.250000 +v -0.250000 0.937500 0.250000 +v -0.375000 0.937500 0.250000 +v -0.375000 0.937500 -0.250000 +v -0.375000 1.000000 -0.375000 +v -0.375000 1.000000 -0.250000 +v -0.250000 0.937500 0.375000 +v -0.375000 1.000000 0.375000 +v -0.250000 1.000000 0.375000 +v 0.250000 0.937500 -0.250000 +v -0.250000 0.937500 -0.375000 +v 0.250000 0.937500 -0.375000 +v 0.375000 0.937500 0.250000 +v 0.375000 1.000000 0.375000 +v 0.375000 1.000000 0.250000 +v 0.250000 0.937500 0.250000 +v 0.250000 0.937500 0.375000 +v 0.375000 1.000000 -0.375000 +v 0.250000 1.000000 -0.375000 +v 0.375000 0.937500 -0.250000 +v 0.250000 1.000000 -0.250000 +v 0.375000 1.000000 -0.250000 +v -0.375000 1.000000 0.250000 +v -0.250000 1.000000 0.250000 +v -0.250000 1.000000 -0.375000 +v -0.250000 1.000000 -0.250000 +v 0.250000 1.000000 0.375000 +v 0.250000 1.000000 0.250000 +v -0.187500 0.937500 -0.187500 +v 0.187500 0.937500 -0.187500 +v -0.187500 1.000000 -0.187500 +v 0.187500 1.000000 -0.187500 +v -0.125000 1.000000 -0.125000 +v -0.125000 1.000000 0.125000 +v 0.125000 1.000000 -0.125000 +v 0.125000 1.000000 0.125000 +v -0.125000 1.937500 -0.125000 +v -0.125000 1.937500 0.125000 +v 0.125000 1.937500 0.125000 +v 0.125000 1.937500 -0.125000 +v -0.437500 1.875000 0.437500 +v 0.437500 1.875000 0.437500 +v 0.437500 1.687500 0.437500 +v -0.437500 1.687500 0.437500 +v -0.187500 1.875000 -0.187500 +v 0.187500 1.875000 -0.187500 +v 0.187500 1.937500 -0.187500 +v -0.187500 1.937500 -0.187500 +v 0.187500 1.875000 0.187500 +v 0.187500 1.937500 0.187500 +v -0.187500 1.875000 0.187500 +v -0.187500 1.937500 0.187500 +v 0.250000 1.625000 -0.250000 +v 0.250000 1.625000 0.250000 +v 0.375000 1.625000 0.375000 +v 0.375000 1.625000 -0.375000 +v 0.437500 1.875000 -0.437500 +v 0.437500 1.687500 -0.437500 +v -0.187500 1.687500 0.187500 +v 0.187500 1.687500 0.187500 +v 0.187500 1.750000 0.187500 +v -0.187500 1.750000 0.187500 +v -0.437500 1.687500 -0.437500 +v -0.437500 1.875000 -0.437500 +v -0.250000 1.625000 -0.250000 +v -0.375000 1.625000 -0.375000 +v -0.250000 1.625000 0.250000 +v -0.375000 1.625000 0.375000 +v -0.125000 1.687500 0.125000 +v 0.125000 1.687500 0.125000 +v -0.250000 1.937500 -0.250000 +v -0.250000 1.937500 0.250000 +v -0.375000 1.937500 0.375000 +v -0.375000 1.937500 -0.375000 +v 0.187500 1.687500 -0.187500 +v 0.187500 1.750000 -0.187500 +v 0.250000 1.937500 0.250000 +v 0.250000 1.937500 -0.250000 +v 0.375000 1.937500 -0.375000 +v 0.375000 1.937500 0.375000 +v -0.187500 1.687500 -0.187500 +v -0.187500 1.750000 -0.187500 +v 0.500000 0.062500 -0.500000 +v 0.500000 0.062500 0.500000 +v 0.500000 0.000000 0.500000 +v 0.500000 0.000000 -0.500000 +v -0.500000 0.062500 -0.500000 +v -0.500000 0.000000 -0.500000 +v -0.500000 0.062500 0.500000 +v -0.500000 0.000000 0.500000 +v -0.125000 1.875000 -0.125000 +v 0.125000 1.875000 -0.125000 +v 0.125000 1.875000 0.125000 +v -0.125000 1.875000 0.125000 +v -0.125000 1.687500 -0.125000 +v 0.125000 1.687500 -0.125000 +v 0.125000 0.250000 0.437500 +v 0.125000 0.250000 0.375000 +v 0.125000 0.062500 0.375000 +v 0.125000 0.062500 0.437500 +v 0.125000 0.250000 -0.375000 +v 0.125000 0.250000 -0.437500 +v 0.125000 0.062500 -0.437500 +v 0.125000 0.062500 -0.375000 +v -0.125000 0.250000 0.375000 +v -0.125000 0.250000 0.437500 +v -0.125000 0.062500 0.437500 +v -0.125000 0.062500 0.375000 +v -0.125000 0.250000 -0.437500 +v -0.125000 0.250000 -0.375000 +v -0.125000 0.062500 -0.375000 +v -0.125000 0.062500 -0.437500 +v -0.437500 0.250000 0.125000 +v -0.375000 0.250000 0.125000 +v -0.375000 0.062500 0.125000 +v -0.437500 0.062500 0.125000 +v 0.375000 0.250000 0.125000 +v 0.437500 0.250000 0.125000 +v 0.437500 0.062500 0.125000 +v 0.375000 0.062500 0.125000 +v -0.375000 0.250000 -0.125000 +v -0.437500 0.250000 -0.125000 +v -0.437500 0.062500 -0.125000 +v -0.375000 0.062500 -0.125000 +v 0.437500 0.250000 -0.125000 +v 0.375000 0.250000 -0.125000 +v 0.375000 0.062500 -0.125000 +v 0.437500 0.062500 -0.125000 +v -0.500000 0.062500 0.500000 +v 0.500000 0.062500 0.500000 +vt 0.375000 0.359375 +vt 0.375000 0.390625 +vt 0.250000 0.390625 +vt 0.250000 0.984375 +vt 0.250000 0.781250 +vt 0.234375 0.781250 +vt 0.500000 0.359375 +vt 0.125000 0.515625 +vt -0.000000 0.515625 +vt -0.000000 0.390625 +vt 0.406250 0.781250 +vt 0.390625 0.828125 +vt 0.406250 0.984375 +vt 0.265625 0.953125 +vt 0.265625 0.828125 +vt -0.000000 0.359375 +vt 0.125000 0.359375 +vt 0.125000 0.390625 +vt 0.421875 0.984375 +vt 0.421875 0.781250 +vt 0.250000 1.000000 +vt 0.500000 0.390625 +vt 0.625000 0.984375 +vt 0.468750 0.984375 +vt 0.468750 1.000000 +vt 0.625000 0.781250 +vt 0.640625 0.984375 +vt 0.484375 0.828125 +vt 0.468750 0.781250 +vt 0.484375 0.953125 +vt 0.609375 0.828125 +vt 0.453125 0.781250 +vt 0.031250 1.000000 +vt 0.187500 1.000000 +vt 0.187500 0.984375 +vt 0.015625 0.781250 +vt 0.015625 0.984375 +vt 0.031250 0.984375 +vt 0.031250 0.781250 +vt 0.187500 0.781250 +vt 0.171875 0.828125 +vt 0.046875 0.953125 +vt 0.046875 0.828125 +vt 0.203125 0.984375 +vt 0.250000 0.359375 +vt 0.671875 0.781250 +vt 0.671875 0.984375 +vt 0.687500 0.984375 +vt 0.687500 0.781250 +vt 0.843750 0.781250 +vt 0.828125 0.828125 +vt 0.843750 0.984375 +vt 0.703125 0.953125 +vt 0.703125 0.828125 +vt 0.687500 1.000000 +vt 0.843750 1.000000 +vt 0.859375 0.984375 +vt 0.218750 1.000000 +vt 0.437500 1.000000 +vt 0.656250 1.000000 +vt 0.000000 1.000000 +vt 0.656250 0.781250 +vt 0.437500 0.781250 +vt 0.218750 0.781250 +vt 0.875000 0.781250 +vt 0.000000 0.781250 +vt 0.468750 0.359375 +vt 0.453125 0.343750 +vt 0.250000 0.140625 +vt 0.265625 0.343750 +vt 0.468750 0.140625 +vt 0.453125 0.156250 +vt 0.265625 0.156250 +vt 0.781250 0.687500 +vt 0.875000 0.687500 +vt 0.875000 0.671875 +vt 0.296875 0.343750 +vt 0.421875 0.343750 +vt 0.421875 0.312500 +vt 0.781250 0.734375 +vt 0.750000 0.734375 +vt 0.750000 0.750000 +vt 0.781250 0.750000 +vt 0.812500 0.750000 +vt 0.812500 0.734375 +vt 0.265625 0.187500 +vt 0.265625 0.312500 +vt 0.296875 0.312500 +vt 0.718750 0.734375 +vt 0.718750 0.750000 +vt 0.453125 0.312500 +vt 0.453125 0.187500 +vt 0.421875 0.187500 +vt 0.687500 0.750000 +vt 0.421875 0.156250 +vt 0.296875 0.156250 +vt 0.296875 0.187500 +vt 0.718750 0.781250 +vt 0.750000 0.781250 +vt 0.796875 0.734375 +vt 0.765625 0.734375 +vt 0.765625 0.750000 +vt 0.406250 0.296875 +vt 0.312500 0.296875 +vt 0.406250 0.203125 +vt 0.312500 0.203125 +vt 0.781250 0.671875 +vt 0.687500 0.671875 +vt 0.687500 0.687500 +vt 0.593750 0.671875 +vt 0.500000 0.671875 +vt 0.500000 0.687500 +vt 0.593750 0.687500 +vt 0.593750 0.781250 +vt 0.671875 0.765625 +vt 0.609375 0.765625 +vt 0.671875 0.703125 +vt 0.609375 0.703125 +vt 0.062500 0.359375 +vt 0.125000 0.296875 +vt 0.359375 0.421875 +vt 0.140625 0.421875 +vt 0.140625 0.468750 +vt 0.000000 0.000000 +vt 0.984375 0.203125 +vt 0.796875 0.203125 +vt 0.828125 0.234375 +vt 0.125000 0.421875 +vt 0.125000 0.468750 +vt 0.343750 0.468750 +vt 0.359375 0.468750 +vt 0.984375 0.390625 +vt 0.953125 0.234375 +vt 0.796875 0.390625 +vt 0.828125 0.359375 +vt 0.187500 0.046875 +vt 0.187500 0.218750 +vt 0.125000 0.218750 +vt 0.578125 0.390625 +vt 0.765625 0.390625 +vt 0.734375 0.359375 +vt 0.953125 0.359375 +vt 0.765625 0.203125 +vt 0.578125 0.203125 +vt 0.609375 0.234375 +vt 0.734375 0.234375 +vt 0.609375 0.359375 +vt 0.562500 0.406250 +vt 0.562500 0.187500 +vt 0.781250 0.406250 +vt 0.781250 0.187500 +vt 0.796875 0.375000 +vt 0.984375 0.375000 +vt 1.000000 0.390625 +vt 1.000000 0.187500 +vt 0.625000 0.343750 +vt 0.718750 0.343750 +vt 0.625000 0.250000 +vt 0.984127 0.190476 +vt 0.984127 0.317460 +vt 1.000000 0.301587 +vt 0.843750 0.250000 +vt 0.843750 0.343750 +vt 0.937500 0.343750 +vt 0.937500 0.250000 +vt 0.500000 0.515625 +vt 0.500000 0.531250 +vt 0.750000 0.531250 +vt 0.750000 0.515625 +vt 1.000000 0.515625 +vt 0.250000 0.531250 +vt 0.000000 0.531250 +vt 0.250000 0.515625 +vt 0.125000 0.281250 +vt 0.062500 0.296875 +vt 0.187500 0.296875 +vt 0.062500 0.281250 +vt -0.000000 0.281250 +vt 0.250000 0.296875 +vt 0.250000 0.281250 +vt 0.187500 0.281250 +vt 0.250000 0.218750 +vt 0.062500 0.046875 +vt 0.062500 0.218750 +vt -0.000000 0.218750 +vt 0.125000 0.046875 +vt 0.250000 0.484375 +vt 0.265625 0.484375 +vt 0.265625 0.437500 +vt 0.203125 0.437500 +vt 0.203125 0.484375 +vt 0.218750 0.484375 +vt 0.171875 0.484375 +vt 0.187500 0.484375 +vt 0.187500 0.437500 +vt 0.140625 0.437500 +vt 0.125000 0.437500 +vt 0.125000 0.484375 +vt 0.234375 0.484375 +vt 0.234375 0.437500 +vt 0.171875 0.468750 +vt 0.187500 0.468750 +vt 0.187500 0.421875 +vt 0.140625 0.484375 +vt 0.156250 0.484375 +vt 0.156250 0.437500 +vt 0.171875 0.437500 +vt 0.093750 0.359375 +vt 0.093750 0.375000 +vt 0.031250 0.375000 +vt 0.296875 0.546875 +vt 0.343750 0.546875 +vt 0.343750 0.562500 +vt 0.406250 0.546875 +vt 0.406250 0.562500 +vt 0.453125 0.562500 +vt 0.265625 0.546875 +vt 0.265625 0.765625 +vt 0.296875 0.765625 +vt 0.343750 0.765625 +vt 0.343750 0.750000 +vt 0.406250 0.750000 +vt 0.406250 0.765625 +vt 0.453125 0.765625 +vt 0.265625 0.625000 +vt 0.281250 0.625000 +vt 0.281250 0.578125 +vt 0.265625 0.734375 +vt 0.265625 0.687500 +vt 0.281250 0.687500 +vt 0.468750 0.687500 +vt 0.484375 0.687500 +vt 0.484375 0.734375 +vt 0.484375 0.578125 +vt 0.484375 0.625000 +vt 0.468750 0.625000 +vt 0.484375 0.546875 +vt 0.500000 0.781250 +vt 0.484375 0.765625 +vt 0.234375 0.984375 +vt 0.390625 0.953125 +vt 0.406250 1.000000 +vt 0.625000 1.000000 +vt 0.640625 0.781250 +vt 0.609375 0.953125 +vt 0.453125 0.984375 +vt 0.171875 0.953125 +vt 0.203125 0.781250 +vt 0.828125 0.953125 +vt 0.859375 0.781250 +vt 0.875000 1.000000 +vt 0.687500 0.734375 +vt 0.796875 0.750000 +vt 0.343750 0.421875 +vt 0.781250 0.390625 +vt 1.000000 0.406250 +vt 0.718750 0.250000 +vt 1.000000 0.206349 +vt 1.000000 0.531250 +vt 0.000000 0.296875 +vt 0.250000 0.046875 +vt -0.000000 0.046875 +vt 0.250000 0.437500 +vt 0.218750 0.437500 +vt 0.171875 0.421875 +vt 0.031250 0.359375 +vt 0.296875 0.562500 +vt 0.453125 0.546875 +vt 0.296875 0.750000 +vt 0.453125 0.750000 +vt 0.265625 0.578125 +vt 0.281250 0.734375 +vt 0.468750 0.734375 +vt 0.468750 0.578125 +vn 1.000000 0.000000 0.000000 +vn -1.000000 0.000000 0.000000 +vn 0.000000 -0.000000 1.000000 +vn 0.000000 1.000000 0.000000 +vn 0.000000 -1.000000 0.000000 +vn 0.000000 0.000000 -1.000000 +vn 0.000000 0.707100 -0.707100 +vn 0.707100 0.707100 0.000000 +vn -0.707100 0.707100 0.000000 +vn 0.000000 0.707100 0.707100 +vn 0.000000 -0.707100 -0.707100 +vn 0.707100 -0.707100 0.000000 +vn -0.707100 -0.707100 0.000000 +vn 0.000000 -0.707100 0.707100 +s 1 +f 4/1/1 3/2/1 2/3/1 +f 8/4/1 7/5/1 6/6/1 +f 12/7/2 11/1/2 10/2/2 +f 3/8/3 9/9/3 10/10/3 +f 8/5/3 13/11/3 1/12/3 +f 14/13/3 7/4/3 12/14/3 +f 7/4/3 8/5/3 11/15/3 +f 1/12/3 13/11/3 14/13/3 +f 4/16/4 12/17/4 9/18/4 +f 14/19/2 13/20/2 16/11/2 +f 7/13/5 14/4/5 15/21/5 +f 20/22/3 19/7/3 18/1/3 +f 24/3/6 23/18/6 22/17/6 +f 28/23/5 27/24/5 26/25/5 +f 27/26/3 30/23/3 29/27/3 +f 24/8/1 20/9/1 17/10/1 +f 19/16/4 20/10/4 24/18/4 +f 18/28/1 31/29/1 30/26/1 +f 27/23/1 28/24/1 19/30/1 +f 28/24/1 31/29/1 18/28/1 +f 22/31/1 30/26/1 27/23/1 +f 31/24/6 28/29/6 25/32/6 +f 36/10/6 35/18/6 34/17/6 +f 40/33/5 39/34/5 38/35/5 +f 42/36/3 40/37/3 37/38/3 +f 44/8/2 35/9/2 36/10/2 +f 45/1/4 34/7/4 35/22/4 +f 42/39/2 47/40/2 46/41/2 +f 39/35/2 40/38/2 34/42/2 +f 46/41/2 47/40/2 39/35/2 +f 40/38/2 42/39/2 33/43/2 +f 39/40/6 47/35/6 48/44/6 +f 43/18/3 46/17/3 45/45/3 +f 52/46/2 51/47/2 50/48/2 +f 56/8/6 55/9/6 54/10/6 +f 58/1/4 57/45/4 55/3/4 +f 55/22/1 57/7/1 59/1/1 +f 52/49/6 61/50/6 60/51/6 +f 62/52/6 51/48/6 57/53/6 +f 60/51/6 61/50/6 62/52/6 +f 51/48/6 52/49/6 59/54/6 +f 51/55/5 62/56/5 63/52/5 +f 53/2/2 60/1/2 58/7/2 +f 62/50/1 61/52/1 64/57/1 +f 66/58/3 6/4/3 15/13/3 +f 65/59/1 25/24/1 26/23/1 +f 67/60/6 50/48/6 63/52/6 +f 68/61/2 37/38/2 38/35/2 +f 50/48/6 67/60/6 69/62/6 +f 26/23/1 29/26/1 69/62/1 +f 15/13/3 16/11/3 70/63/3 +f 25/24/1 65/59/1 70/63/1 +f 38/35/2 48/40/2 71/64/2 +f 6/4/3 66/58/3 71/64/3 +f 63/52/6 64/50/6 72/65/6 +f 37/38/2 68/61/2 72/66/2 +f 68/45/4 66/67/4 74/68/4 +f 67/69/4 68/45/4 73/70/4 +f 66/67/4 65/71/4 76/72/4 +f 65/71/4 67/69/4 75/73/4 +f 80/74/3 79/75/3 78/76/3 +f 84/77/4 83/78/4 82/79/4 +f 86/80/2 85/81/2 73/82/2 +f 89/83/3 88/84/3 74/85/3 +f 92/86/4 91/87/4 81/88/4 +f 95/81/1 94/89/1 76/90/1 +f 87/91/4 97/92/4 96/93/4 +f 99/94/6 98/90/6 75/89/6 +f 93/95/4 100/96/4 90/97/4 +f 102/82/4 98/90/4 99/98/4 +f 98/81/1 102/89/1 100/90/1 +f 102/83/3 101/84/3 90/85/3 +f 101/80/2 99/81/2 92/82/2 +f 89/82/4 104/90/4 103/98/4 +f 88/80/2 103/81/2 83/82/2 +f 103/94/6 104/90/6 82/89/6 +f 104/81/1 89/89/1 87/90/1 +f 86/99/4 106/82/4 105/90/4 +f 105/81/1 106/89/1 81/90/1 +f 85/94/6 105/90/6 91/89/6 +f 106/83/3 86/84/3 84/85/3 +f 95/90/4 108/98/4 107/99/4 +f 107/80/2 108/81/2 96/82/2 +f 108/94/6 95/90/6 93/89/6 +f 94/100/3 107/101/3 97/102/3 +f 81/88/4 82/79/4 78/103/4 +f 90/97/4 81/88/4 109/104/4 +f 82/79/4 96/93/4 77/105/4 +f 96/93/4 90/97/4 110/106/4 +f 79/107/2 111/108/2 109/109/2 +f 112/110/1 80/111/1 77/112/1 +f 111/113/6 112/109/6 110/108/6 +f 111/114/4 79/49/4 114/115/4 +f 112/113/4 111/114/4 113/116/4 +f 79/49/4 80/109/4 116/117/4 +f 80/109/4 112/113/4 115/118/4 +f 118/119/4 119/17/4 120/120/4 +f 124/121/3 123/122/3 122/123/3 +f 128/124/6 127/124/6 126/124/6 +f 127/124/1 130/124/1 129/124/1 +f 130/124/3 132/124/3 131/124/3 +f 136/125/5 135/126/5 134/127/5 +f 122/128/1 123/129/1 138/130/1 +f 142/124/6 141/124/6 140/124/6 +f 144/131/2 143/121/2 124/122/2 +f 146/132/5 136/125/5 133/133/5 +f 135/126/5 148/134/5 147/135/5 +f 116/136/3 150/137/3 149/138/3 +f 154/139/4 153/140/4 152/141/4 +f 141/124/2 156/124/2 155/124/2 +f 148/134/5 146/132/5 145/142/5 +f 160/143/4 159/144/4 158/145/4 +f 153/140/4 160/143/4 157/146/4 +f 159/144/4 154/139/4 151/147/4 +f 137/148/7 144/149/7 154/144/7 +f 122/150/8 137/148/8 159/139/8 +f 144/149/9 121/151/9 153/143/9 +f 121/150/10 122/151/10 160/143/10 +f 156/124/3 162/124/3 161/124/3 +f 136/134/11 146/126/11 143/151/11 +f 135/152/12 136/153/12 138/154/12 +f 146/125/13 148/126/13 124/151/13 +f 148/132/14 135/125/14 123/155/14 +f 138/123/6 143/131/6 144/121/6 +f 158/145/10 151/147/10 125/156/10 +f 157/147/9 158/141/9 126/157/9 +f 151/146/8 152/145/8 131/158/8 +f 152/159/7 157/160/7 129/161/7 +f 132/124/2 128/124/2 125/124/2 +f 155/162/14 161/163/14 145/135/14 +f 140/164/13 155/163/13 133/135/13 +f 161/162/12 139/165/12 147/133/12 +f 139/165/11 140/164/11 134/142/11 +f 162/124/1 142/124/1 139/124/1 +f 164/166/1 165/167/1 166/168/1 +f 163/168/6 166/169/6 168/170/6 +f 169/166/3 170/167/3 165/171/3 +f 167/172/2 168/9/2 170/173/2 +f 165/172/5 170/66/5 168/5/5 +f 174/115/4 173/117/4 172/118/4 +f 120/174/6 172/120/6 171/175/6 +f 118/174/3 174/120/3 173/176/3 +f 117/175/2 171/177/2 174/178/2 +f 119/179/1 173/180/1 172/181/1 +f 173/117/4 174/115/4 131/49/4 +f 126/113/4 172/118/4 173/117/4 +f 125/114/4 171/116/4 172/118/4 +f 125/114/4 131/49/4 174/115/4 +f 161/49/5 155/109/5 176/117/5 +f 155/109/5 140/113/5 150/118/5 +f 139/114/5 161/49/5 175/115/5 +f 140/113/5 139/114/5 149/116/5 +f 115/136/1 176/137/1 150/182/1 +f 113/183/6 175/184/6 176/185/6 +f 114/186/2 149/138/2 175/184/2 +f 180/187/1 179/188/1 178/189/1 +f 181/190/1 184/191/1 183/192/1 +f 188/193/2 187/194/2 186/195/2 +f 192/196/2 191/197/2 190/198/2 +f 196/192/3 195/199/3 194/200/3 +f 200/201/3 199/202/3 198/203/3 +f 204/204/6 203/205/6 202/206/6 +f 208/187/6 207/188/6 206/189/6 +f 208/200/1 205/199/1 198/193/1 +f 183/204/6 192/191/6 189/190/6 +f 193/200/2 202/207/2 203/193/2 +f 186/207/3 187/193/3 180/199/3 +f 18/17/5 197/208/5 198/209/5 +f 22/16/5 23/10/5 205/210/5 +f 17/18/5 198/209/5 205/210/5 +f 59/17/5 181/208/5 182/209/5 +f 60/16/5 53/10/5 189/210/5 +f 54/18/5 182/209/5 189/210/5 +f 33/17/5 201/208/5 202/209/5 +f 46/16/5 43/10/5 193/210/5 +f 11/17/5 185/208/5 186/209/5 +f 1/16/5 2/10/5 177/210/5 +f 186/209/5 177/210/5 2/10/5 +f 202/209/5 193/210/5 43/10/5 +f 5/211/4 187/212/4 188/213/4 +f 179/214/4 180/215/4 16/216/4 +f 164/171/4 70/217/4 71/218/4 +f 41/219/4 203/220/4 204/221/4 +f 195/222/4 196/223/4 48/224/4 +f 191/225/4 192/226/4 64/227/4 +f 49/228/4 183/229/4 184/230/4 +f 207/231/4 208/232/4 29/233/4 +f 32/234/4 199/235/4 200/236/4 +f 163/167/4 69/237/4 70/217/4 +f 167/238/4 72/239/4 69/237/4 +f 169/5/4 71/218/4 72/239/4 +f 1/45/1 4/1/1 2/3/1 +f 5/240/1 8/4/1 6/6/1 +f 9/22/2 12/7/2 10/2/2 +f 2/18/3 3/8/3 10/10/3 +f 11/15/3 8/5/3 1/12/3 +f 4/241/3 14/13/3 12/14/3 +f 12/14/3 7/4/3 11/15/3 +f 4/241/3 1/12/3 14/13/3 +f 3/10/4 4/16/4 9/18/4 +f 15/13/2 14/19/2 16/11/2 +f 6/242/5 7/13/5 15/21/5 +f 17/2/3 20/22/3 18/1/3 +f 21/45/6 24/3/6 22/17/6 +f 25/243/5 28/23/5 26/25/5 +f 26/244/3 27/26/3 29/27/3 +f 23/18/1 24/8/1 17/10/1 +f 21/17/4 19/16/4 24/18/4 +f 22/31/1 18/28/1 30/26/1 +f 21/245/1 27/23/1 19/30/1 +f 19/30/1 28/24/1 18/28/1 +f 21/245/1 22/31/1 27/23/1 +f 32/246/6 31/24/6 25/32/6 +f 33/16/6 36/10/6 34/17/6 +f 37/38/5 40/33/5 38/35/5 +f 41/39/3 42/36/3 37/38/3 +f 43/18/2 44/8/2 36/10/2 +f 44/2/4 45/1/4 35/22/4 +f 33/43/2 42/39/2 46/41/2 +f 45/247/2 39/35/2 34/42/2 +f 45/247/2 46/41/2 39/35/2 +f 34/42/2 40/38/2 33/43/2 +f 38/248/6 39/40/6 48/44/6 +f 44/3/3 43/18/3 45/45/3 +f 49/49/2 52/46/2 50/48/2 +f 53/18/6 56/8/6 54/10/6 +f 56/2/4 58/1/4 55/3/4 +f 54/2/1 55/22/1 59/1/1 +f 59/54/6 52/49/6 60/51/6 +f 58/249/6 62/52/6 57/53/6 +f 58/249/6 60/51/6 62/52/6 +f 57/53/6 51/48/6 59/54/6 +f 50/48/5 51/55/5 63/52/5 +f 56/22/2 53/2/2 58/7/2 +f 63/250/1 62/50/1 64/57/1 +f 65/59/3 66/58/3 15/13/3 +f 67/60/1 65/59/1 26/23/1 +f 68/251/6 67/60/6 63/52/6 +f 66/58/2 68/61/2 38/35/2 +f 49/49/6 50/48/6 69/62/6 +f 67/60/1 26/23/1 69/62/1 +f 65/59/3 15/13/3 70/63/3 +f 32/29/1 25/24/1 70/63/1 +f 66/58/2 38/35/2 71/64/2 +f 5/5/3 6/4/3 71/64/3 +f 68/251/6 63/52/6 72/65/6 +f 41/39/2 37/38/2 72/66/2 +f 73/70/4 68/45/4 74/68/4 +f 75/73/4 67/69/4 73/70/4 +f 74/68/4 66/67/4 76/72/4 +f 76/72/4 65/71/4 75/73/4 +f 77/107/3 80/74/3 78/76/3 +f 81/88/4 84/77/4 82/79/4 +f 84/83/2 86/80/2 73/82/2 +f 87/80/3 89/83/3 74/85/3 +f 90/97/4 92/86/4 81/88/4 +f 93/82/1 95/81/1 76/90/1 +f 82/79/4 87/91/4 96/93/4 +f 92/252/6 99/94/6 75/89/6 +f 96/93/4 93/95/4 90/97/4 +f 101/99/4 102/82/4 99/98/4 +f 75/82/1 98/81/1 100/90/1 +f 100/80/3 102/83/3 90/85/3 +f 90/83/2 101/80/2 92/82/2 +f 88/99/4 89/82/4 103/98/4 +f 74/83/2 88/80/2 83/82/2 +f 83/252/6 103/94/6 82/89/6 +f 82/82/1 104/81/1 87/90/1 +f 85/98/4 86/99/4 105/90/4 +f 91/82/1 105/81/1 81/90/1 +f 73/252/6 85/94/6 91/89/6 +f 81/80/3 106/83/3 84/85/3 +f 94/82/4 95/90/4 107/99/4 +f 97/83/2 107/80/2 96/82/2 +f 96/252/6 108/94/6 93/89/6 +f 76/253/3 94/100/3 97/102/3 +f 109/104/4 81/88/4 78/103/4 +f 110/106/4 90/97/4 109/104/4 +f 78/103/4 82/79/4 77/105/4 +f 77/105/4 96/93/4 110/106/4 +f 78/74/2 79/107/2 109/109/2 +f 110/113/1 112/110/1 77/112/1 +f 109/110/6 111/113/6 110/108/6 +f 113/116/4 111/114/4 114/115/4 +f 115/118/4 112/113/4 113/116/4 +f 114/115/4 79/49/4 116/117/4 +f 116/117/4 80/109/4 115/118/4 +f 117/175/4 118/119/4 120/120/4 +f 121/131/3 124/121/3 122/123/3 +f 125/124/6 128/124/6 126/124/6 +f 126/124/1 127/124/1 129/124/1 +f 129/124/3 130/124/3 131/124/3 +f 133/133/5 136/125/5 134/127/5 +f 137/254/1 122/128/1 138/130/1 +f 139/124/6 142/124/6 140/124/6 +f 121/123/2 144/131/2 124/122/2 +f 145/142/5 146/132/5 133/133/5 +f 134/127/5 135/126/5 147/135/5 +f 114/186/3 116/136/3 149/138/3 +f 151/147/4 154/139/4 152/141/4 +f 140/124/2 141/124/2 155/124/2 +f 147/135/5 148/134/5 145/142/5 +f 157/146/4 160/143/4 158/145/4 +f 152/141/4 153/140/4 157/146/4 +f 158/145/4 159/144/4 151/147/4 +f 159/139/7 137/148/7 154/144/7 +f 160/140/8 122/150/8 159/139/8 +f 154/144/9 144/149/9 153/143/9 +f 153/140/10 121/150/10 160/143/10 +f 155/124/3 156/124/3 161/124/3 +f 138/150/11 136/134/11 143/151/11 +f 123/255/12 135/152/12 138/154/12 +f 143/155/13 146/125/13 124/151/13 +f 124/256/14 148/132/14 123/155/14 +f 137/122/6 138/123/6 144/121/6 +f 126/158/10 158/145/10 125/156/10 +f 129/156/9 157/147/9 126/157/9 +f 125/257/8 151/146/8 131/158/8 +f 131/258/7 152/159/7 129/161/7 +f 131/124/2 132/124/2 125/124/2 +f 133/127/14 155/162/14 145/135/14 +f 134/142/13 140/164/13 133/135/13 +f 145/127/12 161/162/12 147/133/12 +f 147/133/11 139/165/11 134/142/11 +f 161/124/1 162/124/1 139/124/1 +f 163/169/1 164/166/1 166/168/1 +f 167/259/6 163/168/6 168/170/6 +f 164/173/3 169/166/3 165/171/3 +f 169/171/2 167/172/2 170/173/2 +f 166/171/5 165/172/5 168/5/5 +f 171/116/4 174/115/4 172/118/4 +f 117/177/6 120/174/6 171/175/6 +f 119/181/3 118/174/3 173/176/3 +f 118/260/2 117/175/2 174/178/2 +f 120/176/1 119/179/1 172/181/1 +f 129/109/4 173/117/4 131/49/4 +f 129/109/4 126/113/4 173/117/4 +f 126/113/4 125/114/4 172/118/4 +f 171/116/4 125/114/4 174/115/4 +f 175/115/5 161/49/5 176/117/5 +f 176/117/5 155/109/5 150/118/5 +f 149/116/5 139/114/5 175/115/5 +f 150/118/5 140/113/5 149/116/5 +f 116/261/1 115/136/1 150/182/1 +f 115/262/6 113/183/6 176/185/6 +f 113/183/2 114/186/2 175/184/2 +f 177/263/1 180/187/1 178/189/1 +f 182/264/1 181/190/1 183/192/1 +f 185/207/2 188/193/2 186/195/2 +f 189/204/2 192/196/2 190/198/2 +f 193/264/3 196/192/3 194/200/3 +f 197/265/3 200/201/3 198/203/3 +f 201/196/6 204/204/6 202/206/6 +f 205/263/6 208/187/6 206/189/6 +f 199/207/1 208/200/1 198/193/1 +f 182/196/6 183/204/6 189/190/6 +f 196/199/2 193/200/2 203/193/2 +f 177/200/3 186/207/3 180/199/3 +f 17/18/5 18/17/5 198/209/5 +f 206/266/5 22/16/5 205/210/5 +f 23/10/5 17/18/5 205/210/5 +f 54/18/5 59/17/5 182/209/5 +f 190/266/5 60/16/5 189/210/5 +f 53/10/5 54/18/5 189/210/5 +f 36/18/5 33/17/5 202/209/5 +f 194/266/5 46/16/5 193/210/5 +f 10/18/5 11/17/5 186/209/5 +f 178/266/5 1/16/5 177/210/5 +f 10/18/5 186/209/5 2/10/5 +f 36/18/5 202/209/5 43/10/5 +f 8/267/4 5/211/4 188/213/4 +f 13/268/4 179/214/4 16/216/4 +f 169/5/4 164/171/4 71/218/4 +f 42/269/4 41/219/4 204/221/4 +f 47/270/4 195/222/4 48/224/4 +f 61/271/4 191/225/4 64/227/4 +f 52/272/4 49/228/4 184/230/4 +f 30/273/4 207/231/4 29/233/4 +f 31/274/4 32/234/4 200/236/4 +f 164/171/4 163/167/4 70/217/4 +f 163/167/4 167/238/4 69/237/4 +f 167/238/4 169/5/4 72/239/4 +l 210 163 +l 209 210 +l 167 209 diff --git a/assets/hbm/sounds.json b/assets/hbm/sounds.json index 5f01bde16..c427bf30f 100644 --- a/assets/hbm/sounds.json +++ b/assets/hbm/sounds.json @@ -116,6 +116,7 @@ "weapon.hkShoot": {"category": "player", "sounds": [{"name": "weapon/hkShoot", "stream": false}]}, "weapon.hkReload": {"category": "player", "sounds": [{"name": "weapon/hkReload", "stream": false}]}, "weapon.deagleShoot": {"category": "player", "sounds": [{"name": "weapon/deagleShoot", "stream": false}]}, + "weapon.tesla": {"category": "block", "sounds": ["weapon/tesla1", "weapon/tesla2", "weapon/tesla3", "weapon/tesla4"]}, "weapon.reloadTurret": {"category": "player", "sounds": [{"name": "weapon/reloadTurret", "stream": false}]}, "weapon.switchmode1": {"category": "player", "sounds": [{"name": "weapon/switchmode1", "stream": false}]}, diff --git a/assets/hbm/sounds/weapon/tesla1.ogg b/assets/hbm/sounds/weapon/tesla1.ogg new file mode 100644 index 000000000..694a42201 Binary files /dev/null and b/assets/hbm/sounds/weapon/tesla1.ogg differ diff --git a/assets/hbm/sounds/weapon/tesla2.ogg b/assets/hbm/sounds/weapon/tesla2.ogg new file mode 100644 index 000000000..874a04bc9 Binary files /dev/null and b/assets/hbm/sounds/weapon/tesla2.ogg differ diff --git a/assets/hbm/sounds/weapon/tesla3.ogg b/assets/hbm/sounds/weapon/tesla3.ogg new file mode 100644 index 000000000..5aac3b8bc Binary files /dev/null and b/assets/hbm/sounds/weapon/tesla3.ogg differ diff --git a/assets/hbm/sounds/weapon/tesla4.ogg b/assets/hbm/sounds/weapon/tesla4.ogg new file mode 100644 index 000000000..a45cffaa3 Binary files /dev/null and b/assets/hbm/sounds/weapon/tesla4.ogg differ diff --git a/assets/hbm/textures/models/soyuz_clean/launcher_leg.png b/assets/hbm/textures/models/soyuz_launcher/launcher_leg.png similarity index 100% rename from assets/hbm/textures/models/soyuz_clean/launcher_leg.png rename to assets/hbm/textures/models/soyuz_launcher/launcher_leg.png diff --git a/assets/hbm/textures/models/soyuz_clean/launcher_support.png b/assets/hbm/textures/models/soyuz_launcher/launcher_support.png similarity index 100% rename from assets/hbm/textures/models/soyuz_clean/launcher_support.png rename to assets/hbm/textures/models/soyuz_launcher/launcher_support.png diff --git a/assets/hbm/textures/models/soyuz_clean/launcher_support_base.png b/assets/hbm/textures/models/soyuz_launcher/launcher_support_base.png similarity index 100% rename from assets/hbm/textures/models/soyuz_clean/launcher_support_base.png rename to assets/hbm/textures/models/soyuz_launcher/launcher_support_base.png diff --git a/assets/hbm/textures/models/soyuz_clean/launcher_table.png b/assets/hbm/textures/models/soyuz_launcher/launcher_table.png similarity index 100% rename from assets/hbm/textures/models/soyuz_clean/launcher_table.png rename to assets/hbm/textures/models/soyuz_launcher/launcher_table.png diff --git a/assets/hbm/textures/models/soyuz_clean/launcher_tower.png b/assets/hbm/textures/models/soyuz_launcher/launcher_tower.png similarity index 100% rename from assets/hbm/textures/models/soyuz_clean/launcher_tower.png rename to assets/hbm/textures/models/soyuz_launcher/launcher_tower.png diff --git a/assets/hbm/textures/models/soyuz_clean/launcher_tower_base.png b/assets/hbm/textures/models/soyuz_launcher/launcher_tower_base.png similarity index 100% rename from assets/hbm/textures/models/soyuz_clean/launcher_tower_base.png rename to assets/hbm/textures/models/soyuz_launcher/launcher_tower_base.png diff --git a/assets/hbm/textures/models/tesla.png b/assets/hbm/textures/models/tesla.png new file mode 100644 index 000000000..8768844d7 Binary files /dev/null and b/assets/hbm/textures/models/tesla.png differ diff --git a/com/hbm/blocks/ModBlocks.java b/com/hbm/blocks/ModBlocks.java index 4ff9aca47..598206b8b 100644 --- a/com/hbm/blocks/ModBlocks.java +++ b/com/hbm/blocks/ModBlocks.java @@ -259,6 +259,8 @@ public class ModBlocks { public static Block barbed_wire_wither; public static Block barbed_wire_ultradeath; + public static Block tesla; + public static Block marker_structure; public static Block sat_mapper; @@ -1106,6 +1108,8 @@ public class ModBlocks { barbed_wire_wither = new BarbedWire(Material.iron).setBlockName("barbed_wire_wither").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.blockTab).setBlockTextureName(RefStrings.MODID + ":barbed_wire_wither_model"); barbed_wire_ultradeath = new BarbedWire(Material.iron).setBlockName("barbed_wire_ultradeath").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.blockTab).setBlockTextureName(RefStrings.MODID + ":barbed_wire_ultradeath_model"); + tesla = new MachineTesla(Material.iron).setBlockName("tesla").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.blockTab).setBlockTextureName(RefStrings.MODID + ":tesla"); + marker_structure = new BlockMarker(Material.iron).setBlockName("marker_structure").setHardness(0.0F).setResistance(0.0F).setLightLevel(1.0F).setCreativeTab(MainRegistry.machineTab).setBlockTextureName(RefStrings.MODID + ":marker_structure"); launch_pad = new LaunchPad(Material.iron).setBlockName("launch_pad").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.missileTab).setBlockTextureName(RefStrings.MODID + ":launch_pad"); @@ -1431,6 +1435,7 @@ public class ModBlocks { GameRegistry.registerBlock(barbed_wire_acid, barbed_wire_acid.getUnlocalizedName()); GameRegistry.registerBlock(barbed_wire_wither, barbed_wire_wither.getUnlocalizedName()); GameRegistry.registerBlock(barbed_wire_ultradeath, barbed_wire_ultradeath.getUnlocalizedName()); + GameRegistry.registerBlock(tesla, tesla.getUnlocalizedName()); //Decoration Blocks GameRegistry.registerBlock(block_meteor, block_meteor.getUnlocalizedName()); diff --git a/com/hbm/blocks/machine/MachineTesla.java b/com/hbm/blocks/machine/MachineTesla.java new file mode 100644 index 000000000..046ffa791 --- /dev/null +++ b/com/hbm/blocks/machine/MachineTesla.java @@ -0,0 +1,36 @@ +package com.hbm.blocks.machine; + +import com.hbm.tileentity.machine.TileEntityTesla; + +import net.minecraft.block.BlockContainer; +import net.minecraft.block.material.Material; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.world.World; + +public class MachineTesla extends BlockContainer { + + public MachineTesla(Material p_i45386_1_) { + super(p_i45386_1_); + } + + @Override + public TileEntity createNewTileEntity(World p_149915_1_, int p_149915_2_) { + return new TileEntityTesla(); + } + + @Override + public int getRenderType(){ + return -1; + } + + @Override + public boolean isOpaqueCube() { + return false; + } + + @Override + public boolean renderAsNormalBlock() { + return false; + } + +} diff --git a/com/hbm/lib/Library.java b/com/hbm/lib/Library.java index 634585d38..1b49c7fce 100644 --- a/com/hbm/lib/Library.java +++ b/com/hbm/lib/Library.java @@ -232,6 +232,55 @@ public class Library { return false; } + public static boolean checkForFaraday(EntityPlayer player) { + + ItemStack[] armor = player.inventory.armorInventory; + + if(armor[0] == null || armor[1] == null || armor[2] == null || armor[3] == null) return false; + + if(isFaradayArmor(armor[0].getItem()) && + isFaradayArmor(armor[1].getItem()) && + isFaradayArmor(armor[2].getItem()) && + isFaradayArmor(armor[3].getItem())) + return true; + + return false; + } + + public static final String[] metals = new String[] { + "chainmail", + "iron", + "silver", + "gold", + "platinum", + "tin", + "lead", + "schrabidium", + "euphemium", + "steel", + "titanium", + "alloy", + "copper", + "bronze", + "electrum", + "t45", + "hazmat", //also count because rubber is insulating + "rubber" + }; + + public static boolean isFaradayArmor(Item item) { + + String name = item.getUnlocalizedName(); + + for(String metal : metals) { + + if(name.toLowerCase().contains(metal)) + return true; + } + + return false; + } + public static boolean checkForGasMask(EntityPlayer player) { if(checkArmorPiece(player, ModItems.hazmat_helmet, 3)) diff --git a/com/hbm/lib/ModDamageSource.java b/com/hbm/lib/ModDamageSource.java index 3eed49bde..bddd6ce3b 100644 --- a/com/hbm/lib/ModDamageSource.java +++ b/com/hbm/lib/ModDamageSource.java @@ -43,6 +43,7 @@ public class ModDamageSource extends DamageSource { public static DamageSource cloud = (new DamageSource("cloud")).setDamageIsAbsolute().setDamageBypassesArmor(); public static DamageSource lead = (new DamageSource("lead")).setDamageIsAbsolute().setDamageBypassesArmor(); public static DamageSource enervation = (new DamageSource("enervation")).setDamageIsAbsolute().setDamageBypassesArmor(); + public static DamageSource electricity = (new DamageSource("electricity")).setDamageIsAbsolute().setDamageBypassesArmor(); public ModDamageSource(String p_i1566_1_) { super(p_i1566_1_); diff --git a/com/hbm/main/ClientProxy.java b/com/hbm/main/ClientProxy.java index 2f14772e9..c00d9b61b 100644 --- a/com/hbm/main/ClientProxy.java +++ b/com/hbm/main/ClientProxy.java @@ -130,6 +130,7 @@ public class ClientProxy extends ServerProxy ClientRegistry.bindTileEntitySpecialRenderer(TileEntityMachineSeleniumEngine.class, new RenderSelenium()); ClientRegistry.bindTileEntitySpecialRenderer(TileEntityMachineReactorSmall.class, new RenderSmallReactor()); ClientRegistry.bindTileEntitySpecialRenderer(TileEntityMachineShredderLarge.class, new RenderMachineShredder()); + ClientRegistry.bindTileEntitySpecialRenderer(TileEntityTesla.class, new RenderTesla()); ClientRegistry.bindTileEntitySpecialRenderer(TileEntityVaultDoor.class, new RenderVaultDoor()); ClientRegistry.bindTileEntitySpecialRenderer(TileEntityBlastDoor.class, new RenderBlastDoor()); diff --git a/com/hbm/main/MainRegistry.java b/com/hbm/main/MainRegistry.java index e378138f5..a8f292ec8 100644 --- a/com/hbm/main/MainRegistry.java +++ b/com/hbm/main/MainRegistry.java @@ -533,6 +533,7 @@ public class MainRegistry GameRegistry.registerTileEntity(TileEntityChlorineSeal.class, "tileentity_chlorine_seal"); GameRegistry.registerTileEntity(TileEntityCableSwitch.class, "tileentity_he_switch"); GameRegistry.registerTileEntity(TileEntitySoyuzLauncher.class, "tileentity_soyuz_launcher"); + GameRegistry.registerTileEntity(TileEntityTesla.class, "tileentity_tesla_coil"); EntityRegistry.registerModEntity(EntityRocket.class, "entity_rocket", 0, this, 250, 1, true); EntityRegistry.registerModEntity(EntityNukeExplosion.class, "entity_nuke_explosion", 1, this, 250, 1, true); diff --git a/com/hbm/main/ModEventHandlerClient.java b/com/hbm/main/ModEventHandlerClient.java index 7551a1353..797afa460 100644 --- a/com/hbm/main/ModEventHandlerClient.java +++ b/com/hbm/main/ModEventHandlerClient.java @@ -42,10 +42,6 @@ public class ModEventHandlerClient { public void onOverlayRender(RenderGameOverlayEvent.Pre event) { EntityPlayer player = Minecraft.getMinecraft().thePlayer; - - if(player.getUniqueID().toString().equals("c874fd4e-5841-42e4-8f77-70efd5881bc1")) - if(player.ticksExisted > 5 * 60 * 20) - Minecraft.getMinecraft().entityRenderer.debugViewDirection = 5; if(event.type == ElementType.HOTBAR && player.getHeldItem() != null && player.getHeldItem().getItem() instanceof ItemGunBase) { @@ -66,7 +62,6 @@ public class ModEventHandlerClient { int dura = ItemGunBase.getItemWear(player.getHeldItem()) * 50 / gcfg.durability; RenderScreenOverlay.renderAmmo(event.resolution, Minecraft.getMinecraft().ingameGUI, ammo, count, max, dura); - //RenderScreenOverlay.renderRadCounter(event.resolution, 0, Minecraft.getMinecraft().ingameGUI); } if(event.type == ElementType.HOTBAR) { @@ -93,15 +88,11 @@ public class ModEventHandlerClient { @SubscribeEvent public void preRenderEvent(RenderPlayerEvent.Pre event) { - //event.setCanceled(true); - RenderPlayer renderer = event.renderer; AbstractClientPlayer player = (AbstractClientPlayer)event.entityPlayer; ResourceLocation cloak = RenderAccessoryUtility.getCloakFromPlayer(player); - //GL11.glRotated(180, 1, 0, 0); - if(cloak != null) player.func_152121_a(Type.CAPE, cloak); diff --git a/com/hbm/main/ResourceManager.java b/com/hbm/main/ResourceManager.java index 46f5312b2..77a84a278 100644 --- a/com/hbm/main/ResourceManager.java +++ b/com/hbm/main/ResourceManager.java @@ -148,6 +148,9 @@ public class ResourceManager { public static final IModelCustom blast_door_slider = AdvancedModelLoader.loadModel(new ResourceLocation(RefStrings.MODID, "models/blast_door_slider.obj")); public static final IModelCustom blast_door_block = AdvancedModelLoader.loadModel(new ResourceLocation(RefStrings.MODID, "models/blast_door_block.obj")); + //Tesla Coil + public static final IModelCustom tesla = AdvancedModelLoader.loadModel(new ResourceLocation(RefStrings.MODID, "models/tesla.obj")); + ////Textures TEs public static final ResourceLocation universal = new ResourceLocation(RefStrings.MODID, "textures/models/TheGadget3_.png"); @@ -274,6 +277,9 @@ public class ResourceManager { public static final ResourceLocation blast_door_slider_tex = new ResourceLocation(RefStrings.MODID, "textures/models/blast_door_slider.png"); public static final ResourceLocation blast_door_block_tex = new ResourceLocation(RefStrings.MODID, "textures/models/blast_door_block.png"); + //Tesla Coil + public static final ResourceLocation tesla_tex = new ResourceLocation(RefStrings.MODID, "textures/models/tesla.png"); + ////Obj Items @@ -461,12 +467,12 @@ public class ResourceManager { public static final ResourceLocation soyuz_boosterside = new ResourceLocation(RefStrings.MODID, "textures/models/soyuz/boosterside.png"); public static final ResourceLocation soyuz_memento = new ResourceLocation(RefStrings.MODID, "textures/items/polaroid_memento.png"); - public static final ResourceLocation soyuz_launcher_legs_tex = new ResourceLocation(RefStrings.MODID, "textures/models/soyuz/launcher_leg.png"); - public static final ResourceLocation soyuz_launcher_table_tex = new ResourceLocation(RefStrings.MODID, "textures/models/soyuz/launcher_table.png"); - public static final ResourceLocation soyuz_launcher_tower_base_tex = new ResourceLocation(RefStrings.MODID, "textures/models/soyuz/launcher_tower_base.png"); - public static final ResourceLocation soyuz_launcher_tower_tex = new ResourceLocation(RefStrings.MODID, "textures/models/soyuz/launcher_tower.png"); - public static final ResourceLocation soyuz_launcher_support_base_tex = new ResourceLocation(RefStrings.MODID, "textures/models/soyuz/launcher_support_base.png"); - public static final ResourceLocation soyuz_launcher_support_tex = new ResourceLocation(RefStrings.MODID, "textures/models/soyuz/launcher_support.png"); + public static final ResourceLocation soyuz_launcher_legs_tex = new ResourceLocation(RefStrings.MODID, "textures/models/soyuz_launcher/launcher_leg.png"); + public static final ResourceLocation soyuz_launcher_table_tex = new ResourceLocation(RefStrings.MODID, "textures/models/soyuz_launcher/launcher_table.png"); + public static final ResourceLocation soyuz_launcher_tower_base_tex = new ResourceLocation(RefStrings.MODID, "textures/models/soyuz_launcher/launcher_tower_base.png"); + public static final ResourceLocation soyuz_launcher_tower_tex = new ResourceLocation(RefStrings.MODID, "textures/models/soyuz_launcher/launcher_tower.png"); + public static final ResourceLocation soyuz_launcher_support_base_tex = new ResourceLocation(RefStrings.MODID, "textures/models/soyuz_launcher/launcher_support_base.png"); + public static final ResourceLocation soyuz_launcher_support_tex = new ResourceLocation(RefStrings.MODID, "textures/models/soyuz_launcher/launcher_support.png"); //Missile Parts public static final ResourceLocation missile_assembly_tex = new ResourceLocation(RefStrings.MODID, "textures/models/missile_assembly.png"); diff --git a/com/hbm/render/tileentity/RenderTesla.java b/com/hbm/render/tileentity/RenderTesla.java new file mode 100644 index 000000000..07457d89f --- /dev/null +++ b/com/hbm/render/tileentity/RenderTesla.java @@ -0,0 +1,48 @@ +package com.hbm.render.tileentity; + +import org.lwjgl.opengl.GL11; + +import com.hbm.main.ResourceManager; +import com.hbm.render.util.BeamPronter; +import com.hbm.render.util.BeamPronter.EnumBeamType; +import com.hbm.render.util.BeamPronter.EnumWaveType; +import com.hbm.tileentity.machine.TileEntityTesla; + +import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.util.Vec3; + +public class RenderTesla extends TileEntitySpecialRenderer { + + @Override + public void renderTileEntityAt(TileEntity tileEntity, double x, double y, double z, float f) + { + GL11.glPushMatrix(); + GL11.glTranslated(x + 0.5D, y, z + 0.5D); + GL11.glEnable(GL11.GL_LIGHTING); + GL11.glDisable(GL11.GL_CULL_FACE); + GL11.glRotatef(180, 0F, 1F, 0F); + + bindTexture(ResourceManager.tesla_tex); + ResourceManager.tesla.renderAll(); + + GL11.glEnable(GL11.GL_CULL_FACE); + + TileEntityTesla tesla = (TileEntityTesla)tileEntity; + + double sx = tesla.xCoord + 0.5D; + double sy = tesla.yCoord + tesla.offset; + double sz = tesla.zCoord + 0.5D; + + GL11.glTranslated(0.0D, tesla.offset, 0.0D); + for(double[] target : tesla.targets) { + + double length = Math.sqrt(Math.pow(target[0] - sx, 2) + Math.pow(target[1] - sy, 2) + Math.pow(target[2] - sz, 2)); + + BeamPronter.prontBeam(Vec3.createVectorHelper(-target[0] + sx, target[1] - sy, -target[2] + sz), EnumWaveType.RANDOM, EnumBeamType.SOLID, 0x404040, 0x404040, (int)tileEntity.getWorldObj().getTotalWorldTime() % 1000 + 1, (int) (length * 5), 0.125F, 2, 0.03125F); + + } + + GL11.glPopMatrix(); + } +} diff --git a/com/hbm/tileentity/machine/TileEntityTesla.java b/com/hbm/tileentity/machine/TileEntityTesla.java new file mode 100644 index 000000000..80de6db99 --- /dev/null +++ b/com/hbm/tileentity/machine/TileEntityTesla.java @@ -0,0 +1,130 @@ +package com.hbm.tileentity.machine; + +import java.util.ArrayList; +import java.util.List; + +import com.hbm.interfaces.IConsumer; +import com.hbm.lib.Library; +import com.hbm.lib.ModDamageSource; +import com.hbm.tileentity.TileEntityMachineBase; + +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import net.minecraft.entity.EntityLivingBase; +import net.minecraft.entity.passive.EntityOcelot; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.util.AxisAlignedBB; +import net.minecraft.util.MathHelper; +import net.minecraft.util.Vec3; + +public class TileEntityTesla extends TileEntityMachineBase implements IConsumer { + + public long power; + public static final long maxPower = 100000; + + public static int range = 10; + public static double offset = 1.75; + + public List targets = new ArrayList(); + + public TileEntityTesla() { + super(0); + } + + @Override + public String getName() { + return ""; + } + + @Override + public void updateEntity() { + + if(!worldObj.isRemote) { + + this.targets.clear(); + + if(power >= 5000) { + power -= 5000; + + double dx = xCoord + 0.5; + double dy = yCoord + offset; + double dz = zCoord + 0.5; + + List targets = worldObj.getEntitiesWithinAABB(EntityLivingBase.class, AxisAlignedBB.getBoundingBox(dx - range, dy - range, dz - range, dx + range, dy + range, dz + range)); + + for(EntityLivingBase e : targets) { + + if(e instanceof EntityOcelot) + continue; + + Vec3 vec = Vec3.createVectorHelper(e.posX - dx, e.posY + e.height / 2 - dy, e.posZ - dz); + + if(vec.lengthVector() > range) + continue; + + if(!(e instanceof EntityPlayer && Library.checkForFaraday((EntityPlayer)e))) + if(e.attackEntityFrom(ModDamageSource.electricity, MathHelper.clamp_float(e.getMaxHealth() * 0.5F, 3, 20) / (float)targets.size())) + worldObj.playSoundAtEntity(e, "hbm:weapon.tesla", 1.0F, 1.0F); + + this.targets.add(new double[] {e.posX, e.posY + e.height / 2, e.posZ}); + } + } + + NBTTagCompound data = new NBTTagCompound(); + data.setShort("length", (short)targets.size()); + int i = 0; + for(double[] d : this.targets) { + data.setDouble("x" + i, d[0]); + data.setDouble("y" + i, d[1]); + data.setDouble("z" + i, d[2]); + i++; + } + + this.networkPack(data, 100); + } + } + + public void networkUnpack(NBTTagCompound data) { + + int s = data.getShort("length"); + + this.targets.clear(); + + for(int i = 0; i < s; i++) + this.targets.add(new double[] { + data.getDouble("x" + i), + data.getDouble("y" + i), + data.getDouble("z" + i) + }); + } + + @Override + public void setPower(long i) { + power = i; + } + + @Override + public long getPower() { + return power; + } + + @Override + public long getMaxPower() { + return maxPower; + } + + @Override + public AxisAlignedBB getRenderBoundingBox() { + return TileEntity.INFINITE_EXTENT_AABB; + } + + @Override + @SideOnly(Side.CLIENT) + public double getMaxRenderDistanceSquared() + { + return 65536.0D; + } + +}