
As you can see, they are barrel cannons from DKC series. It took me some time to script it in 38A…… There are 4 kinds of barrel cannons so far, they are respectively normal barrel, blast barrel, arrow barrel and rotatable barrel. You can adjust launch speed and other things by setting name to these barrel cannons. Enjoy it!
UPDATED ON 26TH DECEMBER 2021
Fixed some bugs and polished some details.
If you encounter bugs when using this script, please don't hesitate to report bugs to me on Discord (HengShao233#6802) or on QQ(849601735)!
The usage of this NPC:
- Spoiler
- Set name to NPC to customize what you want!
You can make any kind of barrel cannons move themselves with the help of npc-308.
Normal Barrel:- Spoiler
- Name format: 0|00|000|00
Type|Launch Speed|Launch Time|Rotating Speed
Type:
0: The barrel will rotate in 4 directions.
1: The barrel will rotate without stopping and can be launched in any angle.
2: The barrel will rotate without stopping but can only be launched in 8 directions.
3: The barrel will rotate in 8 directions.
Launch Speed:
It decides the speed of player when launching out of the barrel.
If set to 00, its speed will become the default speed. The default speed is 15.
Launch Time:
It decides the flying time of player. To put it simply, how long the player can keep the launch speed.
If set to 000, the time will become the default time. The default time is 32 (frames).
Rotating Speed:
It decides the rotating speed of the barrel.
Only apply to type 1 and 2.
Other instructions:
If not set any name, the barrel will rotate in 8 directions. The launch speed and launch time of the barrel will be the default ones.
You can set its initial angle in advanced NPC settings.
The initial angle of type 0 and 3 must be multiple of 45.
The initial angle of type 1 and 2 can be any number.
If set left, barrel will rotate counterclockwise; if set right, barrel will rotate clockwise.
Blast Barrel and Arrow Barrel:- Spoiler
- Name format: 00|000
Launch Speed|Launch Time
Launch Speed:
It decides the speed of player when launching out of the barrel.
If set to 00, its speed will become the default speed. The default speed is 15.
Launch Time:
It decides the flying time of player. To put it simply, how long the player can keep the launch speed.
If set to 000, the time will become the default time. The default time is 32 (frames).
Other instructions:
If not set any name, the launch speed and launch time of the barrel will be the default ones.
Set its launch angle in advanced NPC settings at will.
Rotatable Barrel:- Spoiler
- Name format: 0|00|000
Type|Launch Speed|Launch Time
Type:
0: You can rotate this barrel at will and it can launch in any angle.
1: You can rotate this barrel at will but it can only launch in 8 directions.
Launch Speed:
It decides the speed of player when launching out of the barrel.
If set to 00, its speed will become the default speed. The default speed is 15.
Launch Time:
It decides the flying time of player. To put it simply, how long the player can keep the launch speed.
If set to 000, the time will become the default time. The default time is 32 (frames).
Other instructions:
If not set any name, the launch speed and launch time of the barrel will be the default ones.
Set its launch angle in advanced NPC settings at will.
Credit for GFX:
- Spoiler
- HengShao (For editing barrel GFX from DK: King of Swing and recoloring all relevant GFX)
Hoeloe (For signs GFX on the barrel)
FireSeraphim (For barrel effect GFX)
Special Thanks:
- Spoiler
- Slash-18
Mr.Cutter





