MegaDood's General NPC Pack (1.1.4)

Share and discuss custom LunaLua code and content packs for SMBX2.
MegaDood
Torpedo Ted
Torpedo Ted
Posts: 1611
Joined: Wed Nov 01, 2017 2:43 am

MegaDood's General NPC Pack (1.1.4)

Postby MegaDood » Sat Aug 21, 2021 10:33 pm

Hi all, here's a collection of NPCs I made for various reasons over the past year or so. I hope you all enjoy them.



Some of these NPCs are edits of basegame ones, while others are completely custom.

Credit goes to AndrewPixel for the base code of the Skeeter, Waddle for the Laser Statue's original code,
and all the basegame NPCs such as bros, chargin' chucks and monty moles. Credits for each NPC can be found in their folder or in their main AI file.


Changelog:
Spoiler: show
1.1.5 - Fixed an issue with the coin bubbles to make them less laggy.
1.1.4 - Registered regular cooligans to enter clear pipes and whatnot.
1.1.3 - Fixed an oversight with the Huckit Crab balls where they were breaking if hitting a block that was already destroyed.
1.1.2 - Polished out the Brolders more and reduced lag with the biddybuds.
1.1.1 - Updated the whomps to crush blocks underneath with relative ease.
1.1 - Added more NPCs
1.0 - Added various NPCs
Download Link
https://drive.google.com/file/d/1VRGzHw ... sp=sharing
Last edited by MegaDood on Thu Dec 09, 2021 10:44 pm, edited 7 times in total.

Marioman2007
Flurry
Flurry
Posts: 353
Joined: Tue Aug 25, 2020 3:19 am
Pronouns: He/Him

Re: MegaDood's General NPC Pack (1.0)

Postby Marioman2007 » Sat Aug 21, 2021 10:38 pm

These look very cool! Good Job!!

MegaDood
Torpedo Ted
Torpedo Ted
Posts: 1611
Joined: Wed Nov 01, 2017 2:43 am

Re: MegaDood's General NPC Pack (1.0)

Postby MegaDood » Sat Aug 21, 2021 10:41 pm

marioman2007 wrote:
Sat Aug 21, 2021 10:38 pm
These look very cool! Good Job!!
Thank you very much :)

BroccoliRampage
Rex
Rex
Posts: 38
Joined: Fri Jan 31, 2020 7:39 pm
Flair: Moop!

Re: MegaDood's General NPC Pack (1.0)

Postby BroccoliRampage » Sat Aug 21, 2021 10:49 pm

This pleases me.

MegaDood
Torpedo Ted
Torpedo Ted
Posts: 1611
Joined: Wed Nov 01, 2017 2:43 am

Re: MegaDood's General NPC Pack (1.1.2)

Postby MegaDood » Sun Nov 14, 2021 3:43 am

New update! I added lots of new NPCs so come check it out!

Updated the whomps to add a feature of allowing them to crush blocks.

Updated them again to fix a couple of NPCs.

coolXD
Cheep-Cheep
Cheep-Cheep
Posts: 10
Joined: Wed Jun 28, 2017 6:58 pm

Re: MegaDood's General NPC Pack (1.1.2)

Postby coolXD » Wed Nov 17, 2021 7:55 am

Excuse me, i have to this already block destroy is kill ball as Huckit Crab, it says Access Denied!
Image

MegaDood
Torpedo Ted
Torpedo Ted
Posts: 1611
Joined: Wed Nov 01, 2017 2:43 am

Re: MegaDood's General NPC Pack (1.1.2)

Postby MegaDood » Sun Nov 21, 2021 8:13 pm

coolXD wrote:
Wed Nov 17, 2021 7:55 am
Excuse me, i have to this already block destroy is kill ball as Huckit Crab, it says Access Denied!
Image
Ah, seems like an oversight. I'll go make a fix for this.

Added in 33 minutes 36 seconds:
Re: MegaDood's General NPC Pack (1.1.3)
Added a fix to the huckit crabs, should be updated now.

Hammerless Penguin
Snifit
Snifit
Posts: 203
Joined: Sat Sep 22, 2018 6:17 am
Flair: Just kicking that kirby to the curb!
Contact:

Re: MegaDood's General NPC Pack (1.1.4)

Postby Hammerless Penguin » Wed Dec 08, 2021 3:38 am

Magmaarghs refuse to go back down when they touch a terminus bgo.
Image

MegaDood
Torpedo Ted
Torpedo Ted
Posts: 1611
Joined: Wed Nov 01, 2017 2:43 am

Re: MegaDood's General NPC Pack (1.1.4)

Postby MegaDood » Wed Dec 08, 2021 5:28 am

Hammerless Penguin wrote:
Wed Dec 08, 2021 3:38 am
Magmaarghs refuse to go back down when they touch a terminus bgo.
Image
Yeah that's intentional. The way to make them go back down is with a downwards redirector.

POPME
Hoopster
Hoopster
Posts: 119
Joined: Mon Oct 25, 2021 11:04 pm
Flair: I like socializing with people online
Pronouns: He/Him
Contact:

Re: MegaDood's General NPC Pack (1.1.4)

Postby POPME » Fri Jul 01, 2022 3:31 pm

I'm having quite a lot of trouble getting the extended cheep cheep AI to work

Everytime I set a cheep cheep to their new behavior, they just swim forward without doing anything

MegaDood
Torpedo Ted
Torpedo Ted
Posts: 1611
Joined: Wed Nov 01, 2017 2:43 am

Re: MegaDood's General NPC Pack (1.1.4)

Postby MegaDood » Fri Jul 01, 2022 11:56 pm

POPME wrote:
Fri Jul 01, 2022 3:31 pm
I'm having quite a lot of trouble getting the extended cheep cheep AI to work

Everytime I set a cheep cheep to their new behavior, they just swim forward without doing anything
Hm, are you moving all of the files into your level folder?
It should work, so long as everything is moved. Everything other than "Note.txt" needs to be in your level folder. Are you using a custom NPC with the cheep cheep AI? It only accounts for the basegame cheep cheeps.

POPME
Hoopster
Hoopster
Posts: 119
Joined: Mon Oct 25, 2021 11:04 pm
Flair: I like socializing with people online
Pronouns: He/Him
Contact:

Re: MegaDood's General NPC Pack (1.1.4)

Postby POPME » Mon Jul 04, 2022 7:26 pm

MegaDood wrote:
Fri Jul 01, 2022 11:56 pm
POPME wrote:
Fri Jul 01, 2022 3:31 pm
I'm having quite a lot of trouble getting the extended cheep cheep AI to work

Everytime I set a cheep cheep to their new behavior, they just swim forward without doing anything
Hm, are you moving all of the files into your level folder?
It should work, so long as everything is moved. Everything other than "Note.txt" needs to be in your level folder. Are you using a custom NPC with the cheep cheep AI? It only accounts for the basegame cheep cheeps.
The thing is that every file in the extended cheep cheep AI folder is easy to move, it's just the luna file on that folder that's causing problems. It tries to replace the luna file I already have on my level folder

MegaDood
Torpedo Ted
Torpedo Ted
Posts: 1611
Joined: Wed Nov 01, 2017 2:43 am

Re: MegaDood's General NPC Pack (1.1.4)

Postby MegaDood » Tue Jul 05, 2022 4:43 am

POPME wrote:
Mon Jul 04, 2022 7:26 pm
MegaDood wrote:
Fri Jul 01, 2022 11:56 pm
POPME wrote:
Fri Jul 01, 2022 3:31 pm
I'm having quite a lot of trouble getting the extended cheep cheep AI to work

Everytime I set a cheep cheep to their new behavior, they just swim forward without doing anything
Hm, are you moving all of the files into your level folder?
It should work, so long as everything is moved. Everything other than "Note.txt" needs to be in your level folder. Are you using a custom NPC with the cheep cheep AI? It only accounts for the basegame cheep cheeps.
The thing is that every file in the extended cheep cheep AI folder is easy to move, it's just the luna file on that folder that's causing problems. It tries to replace the luna file I already have on my level folder
Ah. In that case you'd have to open the luna.lua file with something like notepad++ and move all the code into your existing luna.lua file and save it. Make sure it's not put into any functions.

POPME
Hoopster
Hoopster
Posts: 119
Joined: Mon Oct 25, 2021 11:04 pm
Flair: I like socializing with people online
Pronouns: He/Him
Contact:

Re: MegaDood's General NPC Pack (1.1.4)

Postby POPME » Tue Jul 05, 2022 3:49 pm

MegaDood wrote:
Tue Jul 05, 2022 4:43 am
POPME wrote:
Mon Jul 04, 2022 7:26 pm
MegaDood wrote:
Fri Jul 01, 2022 11:56 pm


Hm, are you moving all of the files into your level folder?
It should work, so long as everything is moved. Everything other than "Note.txt" needs to be in your level folder. Are you using a custom NPC with the cheep cheep AI? It only accounts for the basegame cheep cheeps.
The thing is that every file in the extended cheep cheep AI folder is easy to move, it's just the luna file on that folder that's causing problems. It tries to replace the luna file I already have on my level folder
Ah. In that case you'd have to open the luna.lua file with something like notepad++ and move all the code into your existing luna.lua file and save it. Make sure it's not put into any functions.
Thanks! It worked! Opening the file with notepad++ wasn't necessary since I already had my lua files opened with visual studio


Return to “LunaLua”

Who is online

Users browsing this forum: No registered users and 2 guests