NPC-0 & NPC-302

Description: Casual SMBX discussion.
Moderators: Semi-moderatos, Moderators

h2643 M
Topic author, Contributor
Contributor
h2643 M
Topic author, Contributor
Contributor
Reputation: 109
Posts: 329
Joined: 15 Feb 2014
Location: Ukraine
Website YouTube

Post #1by h2643 » 22 Jul 2014, 16:43

I finally found a way on how to get an NPC-0. It isn't unused, but more like hidden.

So all you need to do, is to place an empty Herb in a level:
Spoiler
Image
Then grab it:
Spoiler
Image
And voila, you got it!

As a proof, after that small experiment, I decided to test this NPC with LunaDLL. Here's the code I used:

Code: Select all

NPCMemSet,0,0xE2,1,0,0,w

It will change NPC-0 to NPC-1 (to SMB3 Goomba).

And here's the result, after I grabbed it, even with the custom graphics, it's empty (invisible), but when I kicked it, Mario stomped it immediately and its effect was seen (if I remember correctly):
Spoiler
Image

Even if you will hold NPC-0, it won't defeat itself and the NPC near it:
Spoiler
Image

You can't select the NPC (at least I wasn't able to do that).
If you will place NPC-0 in the level (with help of LunaDLL), it will just dissappear.

Here's an interesting thing. If you will hold NPC-0 and, if it will touch NPC-237 (Yoshi's Ice Block), it will defeat this NPC, but it won't kill itself:
Spoiler
Image

NPC can be attached to objects and objects can be attached to it. But it will change nothing, since it will dissappear immediately.
That means it won't work with text files.

Now about NPC-302: it's pretty much just a copy of NPC-0, there are no differences between them and their behaviours are the same, really.

----------------------------------------------------

There's a wiki page for these NPCs now!
http://wohlsoft.ru/pgewiki/Dummy_NPCs_(SMBX)
<Knux> h2643 the super computer

lighthouse64 M
Duke
Duke
Avatar
lighthouse64 M
Duke
Duke
Age: 16
Reputation: 18
Posts: 132
Joined: 15 Feb 2015
Location: IDK!

LOL

Post #2by lighthouse64 » 21 Feb 2015, 22:51

I hope I'm not bumping, but LOL. So that thing is an invincible stone??? :P Can u do cgfx on it???
Player of hedgewars!!! :)
And hi... it's me from smbx
Currently bug testing for Mac :apple: And Windows :windows:

h2643 M
Topic author, Contributor
Contributor
h2643 M
Topic author, Contributor
Contributor
Reputation: 109
Posts: 329
Joined: 15 Feb 2014
Location: Ukraine
Website YouTube

Post #3by h2643 » 21 Feb 2015, 23:26

What do you mean by "stone"?!
Also, I don't know, but I probably could somehow modify this NPC in NPC-text file, so it won't dissappear (changing its sizes maybe?). I haven't actually tried to test this NPC with text files, so...
Same with NPC-302, which is the same NPC as this one.
<Knux> h2643 the super computer

lighthouse64 M
Duke
Duke
Avatar
lighthouse64 M
Duke
Duke
Age: 16
Reputation: 18
Posts: 132
Joined: 15 Feb 2015
Location: IDK!

Post #4by lighthouse64 » 22 Feb 2015, 7:38

h2643 wrote:What do you mean by "stone"?!
Also, I don't know, but I probably could somehow modify this NPC in NPC-text file, so it won't dissappear (changing its sizes maybe?). I haven't actually tried to test this NPC with text files, so...
Same with NPC-302, which is the same NPC as this one.
Well, in the screnshot it looked like a pebble...
Player of hedgewars!!! :)
And hi... it's me from smbx
Currently bug testing for Mac :apple: And Windows :windows:

Kevsoft M
Angry developer
Angry developer
Avatar
Kevsoft M
Angry developer
Angry developer
Age: 20
Reputation: 93
Posts: 379
Joined: 26 Apr 2014
Location: Austria
Website

Post #5by Kevsoft » 18 Dec 2015, 13:35

Something I would like to add that NPC-0 is used to "simulate" collisions. More informations are on the wiki.
▬▬▬▬▬▬▬▬▬▬ஜ۩۞۩ஜ▬▬▬▬▬▬▬▬ Signature.start() ▬▬▬▬▬▬▬▬▬▬ஜ۩۞۩ஜ▬▬▬▬▬▬▬
Image
Wohlstand in interview:
Spoiler
Image

▬▬▬▬▬▬▬▬▬▬ஜ۩۞۩ஜ▬▬▬▬▬▬▬▬ Signature.end() ▬▬▬▬▬▬▬▬▬▬ஜ۩۞۩ஜ▬▬▬▬▬▬▬▬


Return to “General”

Who is online (over the past 5 minutes)

Users browsing this forum: 1 guest