[NPC Pack] Lusho's NPC Pack (V1.11) - New Balls

Share and discuss custom LunaLua code and content packs for SMBX2.

Moderator: Userbase Moderators

Lusho
Blooper
Blooper
Posts: 163
Joined: Wed Dec 25, 2019 11:39 pm
Flair: Intention is what matters
Pronouns: he/him

[NPC Pack] Lusho's NPC Pack (V1.11) - New Balls

Postby Lusho » Thu Dec 24, 2020 9:40 pm

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

Spoiler: show
(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)
Image

(DKC) Clambo
A clam that will occasionally shoot pearls, like Karbines, includes shooting custom settings.
Image

(SMB3) Classic Quad Cannon
A cannon that will shoot two cannonballs every time its in an angle multiple of 45.
Image

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.
Image

(Custom) Dual/Quad Cannons
Like regular airship cannons, but they shoot 2 projectiles at the same time.
Image
Image

(Custom) Multi-Cannon
Like regular airship cannon, but it has options to customize the amount of projectiles shot.
Image

(Custom) Custom Cannonballs
A collection of cannonballs with unique behavior, including:
Bomb Balls, that explode on contact with NPCs.
Image
Spike Balls, that cannot be killed or stepped on.
Image
Solid Balls, that are unkillable but can be used as platforms.
Image
Bullseye Ball, that will chase the player around.
Image

Screenshots

Spoiler: show
(DKC3) Karbines
Spoiler: show
Image
(DKC) Clambo
Spoiler: show
Image
(SMM/SMB3) Airship Cannons
Spoiler: show
Image
Image
(Custom) Custom Cannonballs
Spoiler: show
Image
Image
Image
Image

Download?

Yes

Credits

Spoiler: show
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

Spoiler: show
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
Last edited by Lusho on Thu Oct 13, 2022 10:41 pm, edited 3 times in total.

Blake Izayoi
Volcano Lotus
Volcano Lotus
Posts: 598
Joined: Sun Feb 23, 2014 1:55 pm
Flair: Sakuya's Husband
Pronouns: He / Him
Contact:

Re: [NPC Pack] Lusho's NPC Pack (V1)

Postby Blake Izayoi » Thu Dec 24, 2020 10:36 pm

This is truly fantastic work. The cannons especially will make airship levels more lively. Great job!

PROX
Van De Graf
Van De Graf
Posts: 1974
Joined: Sun Jul 06, 2014 8:50 pm

Re: [NPC Pack] Lusho's NPC Pack (V1)

Postby PROX » Thu Dec 24, 2020 11:10 pm

Very nice. The airship one especially is great with the cannons and whatnot

Novarender
Tweeter
Tweeter
Posts: 145
Joined: Sat Aug 06, 2016 6:59 pm
Flair: Whoa

Re: [NPC Pack] Lusho's NPC Pack (V1)

Postby Novarender » Thu Dec 24, 2020 11:24 pm

Ultra nice

MegaDood
Charged Spiny
Charged Spiny
Posts: 1831
Joined: Wed Nov 01, 2017 2:43 am

Re: [NPC Pack] Lusho's NPC Pack (V1)

Postby MegaDood » 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!

Lusho
Blooper
Blooper
Posts: 163
Joined: Wed Dec 25, 2019 11:39 pm
Flair: Intention is what matters
Pronouns: he/him

Re: [NPC Pack] Lusho's NPC Pack (V1)

Postby Lusho » Fri Dec 25, 2020 1:07 am

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

AlanLive2020
Buster Beetle
Buster Beetle
Posts: 98
Joined: Fri Nov 27, 2020 8:15 am
Flair: The guy with no social skills or self-esteem :')

Re: [NPC Pack] Lusho's NPC Pack (V1.01) - Forgot to include BGOs lol

Postby AlanLive2020 » Fri Dec 25, 2020 1:32 pm

Nice, I had some fun playing around with the cannons at max firing and rotation speed :P. Could use that for bullet hell levels.

I wanted to post a gif but it doesn't work for some reason.

Sonya Sanchez
Rinka
Rinka
Posts: 666
Joined: Fri May 10, 2019 3:05 pm
Flair: Robotic
Pronouns: They/Them

Re: [NPC Pack] Lusho's NPC Pack (V1.01) - Forgot to include BGOs lol

Postby Sonya Sanchez » Fri Dec 25, 2020 3:21 pm

Finally, it has been worth the wait and now we got good cannons in X2. Thank you Lusho!

JamesR624
Spiny
Spiny
Posts: 29
Joined: Wed Aug 09, 2017 4:24 pm

Re: [NPC Pack] Lusho's NPC Pack (V1.01) - Forgot to include BGOs lol

Postby JamesR624 » Sat Feb 20, 2021 10:46 am

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.

ChunkyChimp
Spiny
Spiny
Posts: 26
Joined: Tue Sep 01, 2020 9:02 pm
Flair: I TAKE GFX FOR MY OWN LEVELS

Re: [NPC Pack] Lusho's NPC Pack (V1.01) - Forgot to include BGOs lol

Postby ChunkyChimp » Fri Jul 16, 2021 4:50 pm

this isnt that important, but are those foreground clouds in the pack?

Teemster2
Rocky Wrench
Rocky Wrench
Posts: 622
Joined: Sat Jan 18, 2014 11:56 am

Re: [NPC Pack] Lusho's NPC Pack (V1.01) - Forgot to include BGOs lol

Postby Teemster2 » Fri Jul 16, 2021 10:03 pm

These look good. Thank you.

Lusho
Blooper
Blooper
Posts: 163
Joined: Wed Dec 25, 2019 11:39 pm
Flair: Intention is what matters
Pronouns: he/him

Re: [NPC Pack] Lusho's NPC Pack (V1.1) - I'm back after 16 months

Postby Lusho » Thu Apr 28, 2022 3:57 pm

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!?
Image

Emral
Cute Yoshi Egg
Cute Yoshi Egg
Posts: 9890
Joined: Mon Jan 20, 2014 12:58 pm
Flair: Phoenix

Re: [NPC Pack] Lusho's NPC Pack (V1.1) - I'm back after 16 months

Postby Emral » Thu Apr 28, 2022 4:02 pm

Oh well this is exciting.

lugiaTheAntarticLord
Bob-Omb
Bob-Omb
Posts: 23
Joined: Wed Jun 10, 2020 3:24 pm

Re: [NPC Pack] Lusho's NPC Pack (V1.1) - I'm back after 16 months

Postby lugiaTheAntarticLord » Sat May 07, 2022 11:05 pm

How do i get them to shoot the NPC i want them to shoot

Emral
Cute Yoshi Egg
Cute Yoshi Egg
Posts: 9890
Joined: Mon Jan 20, 2014 12:58 pm
Flair: Phoenix

Re: [NPC Pack] Lusho's NPC Pack (V1.1) - I'm back after 16 months

Postby Emral » Fri Jun 10, 2022 1:14 pm

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.

Lusho
Blooper
Blooper
Posts: 163
Joined: Wed Dec 25, 2019 11:39 pm
Flair: Intention is what matters
Pronouns: he/him

Re: [NPC Pack] Lusho's NPC Pack (V1.1) - I'm back after 16 months

Postby Lusho » Sat Jun 11, 2022 6:18 pm

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.
Spoiler: show
Image
Image

GlowbroTheKrazy
Bob-Omb
Bob-Omb
Posts: 22
Joined: Sat Mar 19, 2022 7:57 pm
Flair: I am very krazy
Pronouns:
Contact:

Re: [NPC Pack] Lusho's NPC Pack (V1.1) - I'm back after 16 months

Postby GlowbroTheKrazy » Sat Jun 11, 2022 11:05 pm

this is quite epic

FutureNyanCat
Eerie
Eerie
Posts: 799
Joined: Fri Dec 20, 2013 8:39 pm
Flair: Species: Felis robotus
Pronouns: He/Him
Contact:

Re: [NPC Pack] Lusho's NPC Pack (V1.1) - I'm back after 16 months

Postby FutureNyanCat » Sat Oct 01, 2022 12:41 am

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!

Bulletbill510
Fighter Fly
Fighter Fly
Posts: 36
Joined: Fri Apr 05, 2019 5:33 pm
Pronouns: he/him

Re: [NPC Pack] Lusho's NPC Pack (V1.11) - New Balls

Postby Bulletbill510 » 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.
Image
Image
Any idea what I'm doing wrong? I even put the directionalCannon.lua file in my level folder, but that didn't work either.

FutureNyanCat
Eerie
Eerie
Posts: 799
Joined: Fri Dec 20, 2013 8:39 pm
Flair: Species: Felis robotus
Pronouns: He/Him
Contact:

Re: [NPC Pack] Lusho's NPC Pack (V1.11) - New Balls

Postby FutureNyanCat » Thu Nov 17, 2022 1:24 am

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.


Return to “LunaLua”

Who is online

Users browsing this forum: No registered users and 1 guest

SMWCentralTalkhausMario Fan Games GalaxyKafukaMarioWikiSMBXEquipoEstelari