Minecraft Blogs / Tutorial

How to make a working field gun and BM-13 Katiusha rocket launcher

  • 953 views, 0 today
  • 6
  • 1
DragonMania17 avatar DragonMania17
Level 49 : Master Engineer
77
Hello everybody! Today, I will present you how to make a working field gun and BM-13 katiusha. I recommend you to watch the video first and afterwards to look at the instructions. Oh and by the way, any recommendation is appreciated!

First, we need to create a BOOM score:
/scoreboard objectives add BOOM dummy.
[CB: impulse; always active]
1/ Field gun

How to make a working field gun and BM-13 Katiusha rocket launcher

1: /scoreboard players set @e[type=arrow,name=Shell] BOOM 1 {inGround:1b}
[CB: repeat; always active]
Set the score BOOM to 1 for the arrows with Shell custom name (the arrows who sent the gun) and which are in the ground.

2: /execute @e[type=arrow,name=Shell,score_BOOM_min=1] ~ ~ ~ /summon tnt
[CB: chain; conditional; always active]
Summon a lit tnt block at the arrow with a BOOM score of 1.

3: /kill @e[type=arrow,score_BOOM_min=1]
[CB: chain; conditional; always active]
Kill the arrow with a BOOM score of 1.

How to make a working field gun and BM-13 Katiusha rocket launcher

1: /testforblocks X1 Y1 Z1 X1 Y1 Z1 X2 Y2 Z2
[CB: repeat; always active]
X1 Y1 Z1: coordinates of the dispenser with the fireball.
X2 Y2 Z2: coordinates of the dispenser of the gun.
Test if the dispenser block at the X2 Y2 Z2 coordinates (the dispenser of the gun) is the same as the dispenser block at the X1 Y1 Z1 coordinates (the dispenser with the fireball inside).

2: /setblock X3 Y3 Z3 redstone_block
[CB: chain; conditional; always active]
X3 Y3 Z3: coordinates where to put the redstone block.
Place a redstone block at the X3 Y3 Z3 coordinates to activate the shooting system (next picture).

How to make a working field gun and BM-13 Katiusha rocket launcher

1: /summon arrow X4 Y4 Z4 {Motion:[0.0,0.0,-5.0],CustomName:Shell}
[CB: impulse; needs redstone]
X4 Y4 Z4: coordinates of the gun’s mouth.
Summon an arrow at the X4 Y4 Z4 coordinates (mouth of the gun) with « Shell » name with a motion (notice that the motion here is only when the gun is faced south).

2: /clone X5 Y5 Z5 X5 Y5 Z5 X1 Y1 Z1
[CB: chain; conditional; always active]
X1 Y1 Z1: coordinates of the gun’s dispenser.
X5 Y5 Z5: coordinates of an empty dispenser.
Clone the dispenser block at the X5 Y5 Z5 coordinates (an empty dispenser) to the X1 Y1 Z1 coordinates (gun’s dispenser).

3: /setblock X3 Y3 Z3 air
[CB: chain; conditional; always active]
X3 Y3 Z3: coordinates where to put the redstone block.
Place an air block at the X3 Y3 Z3 coordinates (destroy the redstone block).

2/ BM-13 Katiusha rocket launcher



1: /scoreboard players set @e[type=arrow,name=Rocket] BOOM 1 {inGround:1b}
[CB: repeat; always active]
Set the score BOOM to 1 for the arrows with Rocket custom name (the arrows who sent the rocket launcher) and which are in the ground.

2: /execute @e[type=arrow,name=Rocket,score_BOOM_min=1] ~ ~ ~ /summon tnt
[CB: chain; conditional; always active]
Summon a lit tnt block at the arrow with a BOOM score of 1.

3: /kill @e[type=arrow,score_BOOM_min=1]
[CB: chain; conditional; always active]
Kill the arrow with a BOOM score of 1.



1: /testforblock X6 Y6 Z6 lever 11
[CB: repeat; always active]
X6 Y6 Z6: coordinates of the BM-13 lever.
Test if the lever at the X6 Y6 Z6 coordinates (rocket launcher lever) is activated (notice that the « 11 » data value for the lever works only for an activated south faced lever).

2: /setblock X7 Y7 Z7 redstone_block
[CB: impulse; needs redstone]
X7 Y7 Z7: coordinates where to put the redstone block for the rocket system.
Place a redstone block at the X7 Y7 Z7 coordinates to activate the rocket system.

3: /setblock X7 Y7 Z7 air
[CB: chain; conditional; always active]
X7 Y7 Z7: coordinates where to put the redstone block for the rocket system.
Place an air block at the X7 Y7 Z7 coordinates (destroy the redstone block).

4: /summon arrow Xi Yi Zi {Motion:[0.0,0.5,-5.0],CustomName:Rocket}
[CB: impulse; needs redstone]
Xi Yi Zi: the different coordinates where you summon the arrows.
Summon arrows with Rocket custom name at the different Xi Yi Zi coordinates with a motion (notice that the 0.5 can be used for any situation but the -5.0 can only be used for a north faced rocket launcher).

Note: Simplification

You can use only one time these commands:
/scoreboard players set @e[type=arrow,name=Name] BOOM 1 {inGround:1b}
/execute @e[type=arrow,name=Name,score_BOOM_min=1] ~ ~ ~ /summon tnt
/kill @e[type=arrow,score_BOOM_min=1]
by giving to all the arrows the same name.

I hope this tutorial will help you. Thanks for watching and reading, bye and good craft!
Tags

Create an account or sign in to comment.

Planet Minecraft

Website

© 2010 - 2021
www.planetminecraft.com

Welcome