MegaDood's General NPC Pack (1.2)

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

MegaDood's General NPC Pack (1.2)

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.
Screenshots: show


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.2 - Added many more NPCs
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 Tue Oct 18, 2022 7:22 am, edited 8 times in total.

Marioman2007
Buster Beetle
Buster Beetle
Posts: 401
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: 1650
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
Fighter Fly
Fighter Fly
Posts: 47
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: 1650
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: 1650
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: 1650
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.

Mal8rk
Tweeter
Tweeter
Posts: 154
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 Mal8rk » 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: 1650
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.

Mal8rk
Tweeter
Tweeter
Posts: 154
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 Mal8rk » 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: 1650
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.

Mal8rk
Tweeter
Tweeter
Posts: 154
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 Mal8rk » 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

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

Re: MegaDood's General NPC Pack (1.2)

Postby MegaDood » Tue Oct 18, 2022 7:23 am

Version 1.2 is released! Featuring lots of new content and NPCs to play around with.
Have fun!

TheTrueMarioMaster
Blooper
Blooper
Posts: 196
Joined: Mon Mar 19, 2018 11:58 pm

Re: MegaDood's General NPC Pack (1.2)

Postby TheTrueMarioMaster » Thu Oct 20, 2022 6:18 pm

Wasn't expecting another update for this pack. Guess I'll download the new file and delete the old folder. Noticed that you got most of the Super Mario 64 original enemies covered. Also noticed that the skeeter is in none of the showcase videos. I assume the skeeter behaves similarly to the custom SMW sprite in this video.

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

Re: MegaDood's General NPC Pack (1.2)

Postby MegaDood » Fri Oct 21, 2022 9:50 pm

TheTrueMarioMaster wrote:
Thu Oct 20, 2022 6:18 pm
Wasn't expecting another update for this pack. Guess I'll download the new file and delete the old folder. Noticed that you got most of the Super Mario 64 original enemies covered. Also noticed that the skeeter is in none of the showcase videos. I assume the skeeter behaves similarly to the custom SMW sprite in this video.
Yeah, it acts similar enough
I didnt showcase it because its essentially a modified version of the one AndrewPixel did, so I didn't really bother

Mixel34P
Goomba
Goomba
Posts: 3
Joined: Thu Oct 20, 2022 6:54 am
Pronouns: he/him

Re: MegaDood's General NPC Pack (1.2)

Postby Mixel34P » Sat Oct 22, 2022 9:40 am

I have problems with AI/HuckitBalls.lua. The game doesnt detect it

AirShip
Panser
Panser
Posts: 1036
Joined: Wed Jan 01, 2014 1:30 am
Flair: The Flying Ghost
Contact:

Re: MegaDood's General NPC Pack (1.2)

Postby AirShip » Sat Oct 22, 2022 11:21 am

I'm loving the new additions, for sure they will be put to good use in future projects of mine!
Continue the good work.


Return to “LunaLua”

Who is online

Users browsing this forum: No registered users and 1 guest