Page 1 of 2
[NPC Pack] Lusho's NPC Pack (V1.11) - New Balls
Posted: Thu Dec 24, 2020 9:40 pm
by Lusho
Lusho's NPC Pack
After 1 year of procastinating it, it's finally here, a new update for my npc pack, which really just adds a reworked version of the cannonballs, got around releasing it becuase i saw i got nominated to be basegame. It's been a long while since i worked on this so I might have missed something, I apologize for that in advance.
Contents
(DKC3) Karbines
Small Owl-like robots that fly around in the background and shoot a certain amount of Fireballs every certain amount of time (Determined by custom settings) (No multiplayer compatibility yet)
(DKC) Clambo
A clam that will occasionally shoot pearls, like Karbines, includes shooting custom settings.
(SMB3) Classic Quad Cannon
A cannon that will shoot two cannonballs every time its in an angle multiple of 45.
Brand New Additions!
(SMM) Reworked Airship Cannons
Regular airship cannons, now with new graphics options and better handling of projectile options (Using container NPC in PGE rather than an option within the code), a projectile limit option was added to improve performance.
(Custom) Dual/Quad Cannons
Like regular airship cannons, but they shoot 2 projectiles at the same time.
(Custom) Multi-Cannon
Like regular airship cannon, but it has options to customize the amount of projectiles shot.
(Custom) Custom Cannonballs
A collection of cannonballs with unique behavior, including:
Bomb Balls, that explode on contact with NPCs.

Spike Balls, that cannot be killed or stepped on.

Solid Balls, that are unkillable but can be used as platforms.

Bullseye Ball, that will chase the player around.
Screenshots
(DKC3) Karbines
(DKC) Clambo
(SMM/SMB3) Airship Cannons
(Custom) Custom Cannonballs
Download?
Yes
Credits
8luestorm: A little chunk of the directional cannon's code
FireSeraphim: Karbine and Clambo requests and graphics
Geoshi, Neweegie, Carbon: Directional Cannon graphics
Anti: Custom Cannonball ideas
Novarender: Custom Cannonball ideas
Changelog
v1.01
Added missing BGOs
v1.1
Reworked Cannons to work with an AI file
Added Dual Cannon
Added Quad Cannon (Custom)
Added Multi-Cannon
Added Bullseye Ball
Added Spike Ball
Added Bomb Ball
Added Solid Ball
v1.11
Bounceballs and Rollingballs from Novarender added
Re: [NPC Pack] Lusho's NPC Pack (V1)
Posted: Thu Dec 24, 2020 10:36 pm
by Blake Izayoi
This is truly fantastic work. The cannons especially will make airship levels more lively. Great job!
Re: [NPC Pack] Lusho's NPC Pack (V1)
Posted: Thu Dec 24, 2020 11:10 pm
by PROX
Very nice. The airship one especially is great with the cannons and whatnot
Re: [NPC Pack] Lusho's NPC Pack (V1)
Posted: Thu Dec 24, 2020 11:24 pm
by Novarender
Ultra nice
Re: [NPC Pack] Lusho's NPC Pack (V1)
Posted: Fri Dec 25, 2020 12:59 am
by MegaDood
These are very nice and well made! I especially like the large range of customization options at hand. However I'm a bit confused, in the screenshot and the contents section, there are some cannons which appear screwed into the ground? Like how they were in SMB3. However I could not find those particular cannons included with the NPC pack. Is this intentional? Also, there is a graphic of something holding the quad cannon in place as well in the contents page, and again I'm not sure if it's meant to be included or not.
Well done with this pack overall!
Re: [NPC Pack] Lusho's NPC Pack (V1)
Posted: Fri Dec 25, 2020 1:07 am
by Lusho
MegaDood wrote: ↑Fri Dec 25, 2020 12:59 am
These are very nice and well made! I especially like the large range of customization options at hand. However I'm a bit confused, in the screenshot and the contents section, there are some cannons which appear screwed into the ground? Like how they were in SMB3. However I could not find those particular cannons included with the NPC pack. Is this intentional? Also, there is a graphic of something holding the quad cannon in place as well in the contents page, and again I'm not sure if it's meant to be included or not.
Well done with this pack overall!
These screw graphics are BGOs that I forgot to include in the pack, sorry, I’ll update the pack to include those tomorrow
Added in 10 hours 50 minutes 37 seconds:
Update 1.01 - Small Fixes
Updated the NPC pack to include the missing BGOs, also added descriptions for the NPCs in the post
Re: [NPC Pack] Lusho's NPC Pack (V1.01) - Forgot to include BGOs lol
Posted: Fri Dec 25, 2020 1:32 pm
by AlanLive2020
Nice, I had some fun playing around with the cannons at max firing and rotation speed

. Could use that for bullet hell levels.
I wanted to post a gif but it doesn't work for some reason.
Re: [NPC Pack] Lusho's NPC Pack (V1.01) - Forgot to include BGOs lol
Posted: Fri Dec 25, 2020 3:21 pm
by Sonya Sanchez
Finally, it has been worth the wait and now we got good cannons in X2. Thank you Lusho!
Re: [NPC Pack] Lusho's NPC Pack (V1.01) - Forgot to include BGOs lol
Posted: Sat Feb 20, 2021 10:46 am
by JamesR624
Solution found: I just found out that it was an error I had made in reassigning the "[HARM_TYPE_JUMP]" and "[HARM_TYPE_FROMBELOW]" variables when renaming the NPC and effect files to free slots.
I just found an error and just figured I should mention that upon hitting the cannonballs that shoot out of either type of cannon from teh SMM/SMB3 cannon NPCs, it causes an error. Even when just placing the cannonball by itself. This happens. It functions fine but the effect of hitting it seems to cause this.
Code: Select all
==> scripts/base/game/bettereffects.lua:486: attempt to index a nil value
=============
stack traceback:
scripts/base/npcManager.lua:149: in function <scripts/base/npcManager.lua:114>
scripts/base/engine/main_events.lua:63: in function 'callApiListeners'
scripts/base/engine/main_events.lua:169: in function 'callEventInternal'
scripts/base/engine/main_events.lua:238: in function <scripts/base/engine/main_events.lua:218>
[C]: in function '__xpcall'
main.lua:778: in function <main.lua:777>
I tried to look into the lua file of the cannonball itself because I did change the IDs for the effect and NPC (like you usually need to do to use many different custom NPCs at once). It seems like everything is fine. The reason I am puzzled is that this error doesn't say anything is wrong with any of your files, but seems to cause an error in the bettereffects.lua file in the base game? I didn't mess with anything in that file and for the most part, everything else works fine.
Re: [NPC Pack] Lusho's NPC Pack (V1.01) - Forgot to include BGOs lol
Posted: Fri Jul 16, 2021 4:50 pm
by ChunkyChimp
this isnt that important, but are those foreground clouds in the pack?
Re: [NPC Pack] Lusho's NPC Pack (V1.01) - Forgot to include BGOs lol
Posted: Fri Jul 16, 2021 10:03 pm
by Teemster2
These look good. Thank you.
Re: [NPC Pack] Lusho's NPC Pack (V1.1) - I'm back after 16 months
Posted: Thu Apr 28, 2022 3:57 pm
by Lusho
It really is hard to believe for me that it's been 16 months since version 1.0, but it's finally here, a new update, including new and reworked cannons and cannonballs.
Who put Touhou in my Mario!?

Re: [NPC Pack] Lusho's NPC Pack (V1.1) - I'm back after 16 months
Posted: Thu Apr 28, 2022 4:02 pm
by Emral
Oh well this is exciting.
Re: [NPC Pack] Lusho's NPC Pack (V1.1) - I'm back after 16 months
Posted: Sat May 07, 2022 11:05 pm
by lugiaTheAntarticLord
How do i get them to shoot the NPC i want them to shoot
Re: [NPC Pack] Lusho's NPC Pack (V1.1) - I'm back after 16 months
Posted: Fri Jun 10, 2022 1:14 pm
by Emral
Yo!
Getting around to implementing the cannons in basegame, and I'm wondering if you could send the files for the purple rolling balls? They look awesome in the gif and I wasn't able to find them in the download.
Re: [NPC Pack] Lusho's NPC Pack (V1.1) - I'm back after 16 months
Posted: Sat Jun 11, 2022 6:18 pm
by Lusho
Ahhh yes the rollingballs, along with bouncing balls they were made by someone else (Novarender), but they were meant to be published along with the cannons, I honestly just forgot to do that, that plan was made like a year ago so I might need to ask for permissions again just in case
Added in 50 minutes 23 seconds:
Now that I'm at it, I guess I could showcase a bit what they are, though I still don't know if they can be released.
I think the GIFs should be pretty self explanatory on their behavior.
Re: [NPC Pack] Lusho's NPC Pack (V1.1) - I'm back after 16 months
Posted: Sat Jun 11, 2022 11:05 pm
by GlowbroTheKrazy
this is quite epic
Re: [NPC Pack] Lusho's NPC Pack (V1.1) - I'm back after 16 months
Posted: Sat Oct 01, 2022 12:41 am
by FutureNyanCat
I noticed that rolling ball isn't in the NPC pack yet, I wonder if that can still be added in the future.
EDIT 10-14-2022: Awesome! They're finally released! Thank you so much!
Re: [NPC Pack] Lusho's NPC Pack (V1.11) - New Balls
Posted: Wed Nov 16, 2022 10:40 pm
by Bulletbill510
I was trying to use the SMM Airship cannons in your pack to make a test level, but whenever I use any cannon or cannonball NPC, I get these error messages.

Any idea what I'm doing wrong? I even put the directionalCannon.lua file in my level folder, but that didn't work either.
Re: [NPC Pack] Lusho's NPC Pack (V1.11) - New Balls
Posted: Thu Nov 17, 2022 1:24 am
by FutureNyanCat
Bulletbill510 wrote: ↑Wed Nov 16, 2022 10:40 pm
I was trying to use the SMM Airship cannons in your pack to make a test level, but whenever I use any cannon or cannonball NPC, I get these error messages.
The DirectionalCannon.lua file should be placed in a folder named "AI", also placed inside the level assets folder.