SMBX NPC Code Editor [Final Tiebreaker Vote]

General discussion about Super Mario Bros. X.

Moderator: Userbase Moderators

Which icon will be in the next version of the SMBX Episode Manager? (see first post for details)

Poll ended at Sat Oct 25, 2014 8:26 am

Wohlstand
3
38%
Luigifan2010 (the original, currently used one)
5
63%
 
Total votes: 8
Axiom
Phanto
Phanto
Posts: 1471
Joined: Tue Dec 24, 2013 2:23 pm

Re: [TOOL] SMBX NPC Code Editor (New!)

Postby Axiom » Thu Jul 31, 2014 5:21 pm

wohlstand im 15 and almost failed geometry im going to have to do ALOT of studying to get that shit working

EDIT: after a second look at that, it seems almost plug and play

Axiom
Phanto
Phanto
Posts: 1471
Joined: Tue Dec 24, 2013 2:23 pm

Re: [TOOL] SMBX NPC Code Editor (New!)

Postby Axiom » Tue Aug 05, 2014 9:08 pm

Hey guys! Just released another update for this
1.4.2.0 Changelog wrote: ---1.4.2.0---
-Lots of minor tweaks and stuff to saving, loading, etc
-Fixed a bug where Windows 8 users had cutoff windows (ffs)
-Added a "clear" and "reflect sprite" button to the NPC Animation pane. Reflect sprite literally reflects, is just for previewing only
-Finally updated this changelog ffs
-Updated the About box too
Check out the additions to the UI too, it's not much but it does the trick
[rimg]http://i.gyazo.com/81a655cd4735334aa4a944dd5b930f71.png[/rimg]

John The White Yoshi
Rocky Wrench
Rocky Wrench
Posts: 605
Joined: Fri Jan 10, 2014 12:22 am

Re: [TOOL] SMBX NPC Code Editor (New!)

Postby John The White Yoshi » Thu Aug 07, 2014 2:46 pm

Thank you, this is one of the best things to use to edit npc codes

Axiom
Phanto
Phanto
Posts: 1471
Joined: Tue Dec 24, 2013 2:23 pm

Re: [TOOL] SMBX NPC Code Editor (New!)

Postby Axiom » Thu Aug 07, 2014 2:51 pm

SuperWhiteYoshi64 wrote:Thank you, this is one of the best things to use to edit npc codes
thank you very much<3

youtubeware
Guest

Re: [TOOL] SMBX NPC Code Editor (New!)

Postby youtubeware » Tue Aug 12, 2014 8:27 am

I don't understand this tool...
It is hard-to-use Image

RudeGuy
Bowser
Bowser
Posts: 4994
Joined: Fri Dec 27, 2013 7:36 am
Flair: local guy

Re: [TOOL] SMBX NPC Code Editor (New!)

Postby RudeGuy » Tue Aug 12, 2014 9:03 am

youtubeware wrote:I don't understand this tool...
It is hard-to-use Image
Ehm...Really dude? That's really simple! What don't you understand?

TangledLion
Spike
Spike
Posts: 267
Joined: Sun Jul 06, 2014 9:57 pm

Re: [TOOL] SMBX NPC Code Editor (New!)

Postby TangledLion » Mon Aug 18, 2014 9:27 pm

Excuse me Luigifan, I have a Question for you,

First of all I Love this thing, it's awesome! Because of this I was wondering if you could add this as a Utility onRpgmaker.net. RMN has it's own SMBX community that is missing out on this, and denying them it for much longer would be a crime. Also, if you wanted you could even host the download on the as well...

I await your reply.

Mista Epic
Guest

Re: [TOOL] SMBX NPC Code Editor (New!)

Postby Mista Epic » Wed Aug 20, 2014 12:33 pm

How does the NPC database work? Can I just select an NPC from a list and it automatically grabs it's GFX and knows what NPC it is for codes and saving?

RudeGuy
Bowser
Bowser
Posts: 4994
Joined: Fri Dec 27, 2013 7:36 am
Flair: local guy

Re: [TOOL] SMBX NPC Code Editor (New!)

Postby RudeGuy » Wed Aug 20, 2014 1:13 pm

Mista Epic wrote:How does the NPC database work? Can I just select an NPC from a list
No, you have to select the .txt file of the NPC.
Mista Epic wrote:and it automatically grabs it's GFX and knows what NPC it is for codes and saving?
Yes.

Axiom
Phanto
Phanto
Posts: 1471
Joined: Tue Dec 24, 2013 2:23 pm

Re: [TOOL] SMBX NPC Code Editor (New!)

Postby Axiom » Wed Aug 20, 2014 2:35 pm

Mista Epic wrote:How does the NPC database work? Can I just select an NPC from a list and it automatically grabs it's GFX and knows what NPC it is for codes and saving?
For the new file database? You pick the NPC you want to base your custom one off of and it grabs its preset values for height and width. If you point it to your SMBX folder, it will grab that graphic from SMBX as opposed to the one in your current directory. It grabs the preset values mostly for animation and such.

And to answer your later question, yes! When you pick an NPC from the new file dialog (i'm going to do a big thing with pics and everything :D)

Image

We'll use the goomba as an example. The NPC Editor will fill in its default values

Image

And loads its stock image.

Then, when you go to save as

Image

As you can see, it automatically fills in the NPC's ID.

Oh, and as a side note if it wasn't clear or something. The furthest right check box is what you check off when you want the value written to the npc-*.txt file. So if you want to change the value for testing/animations sake but don't want to write it to your file, you can just check off the box, fill it in, and uncheck it.

Also the animator pulls from the height and width under the "Graphics" category. So keep that in mind!

icemario12
Blooper
Blooper
Posts: 157
Joined: Thu Dec 26, 2013 5:49 pm
Pronouns: He/Him
Contact:

Re: [TOOL] SMBX NPC Code Editor (New!)

Postby icemario12 » Sun Aug 24, 2014 6:51 am

Seems SMBX has a long fan-life in front of itself. Seriously, well done! It's feeling that future's gonna come soon...

SuperYoshiLol
Koopa
Koopa
Posts: 18
Joined: Sun Jan 26, 2014 6:34 pm

Re: [TOOL] SMBX NPC Code Editor (New!)

Postby SuperYoshiLol » Tue Aug 26, 2014 10:11 pm

Oh my merry awesome mario nuggets... What is this? I have found it...

Axiom
Phanto
Phanto
Posts: 1471
Joined: Tue Dec 24, 2013 2:23 pm

Re: [TOOL] SMBX NPC Code Editor (New!)

Postby Axiom » Wed Aug 27, 2014 4:39 pm

SuperYoshiLol wrote:Oh my merry awesome mario nuggets... What is this? I have found it...
That's quite the expression..I'm assuming you're new.

Well, in SMBX, you can replace certain values of NPC's to make custom ones. You can adjust the height, weight, whether they're 2 frames, 4 frames, etc. This program was created to help ease the creation of these as many users are terrible at memorizing what codes do what or just prefer a visual interface to edit these files.

Blck_Guy
Guest

Re: [TOOL] SMBX NPC Code Editor (New!)

Postby Blck_Guy » Wed Aug 27, 2014 8:08 pm

Great Tool!! - The 2nd and only last tool I will use for SMBX!! (I think it will be the last tool I use for the Program.).

Suggestion: Is there away you can add a Auto-GFX-size, like you choose witch NPC will be replaced by a Custom NPC, and it will automatically add the sizes for you?

Axiom
Phanto
Phanto
Posts: 1471
Joined: Tue Dec 24, 2013 2:23 pm

Re: [TOOL] SMBX NPC Code Editor (New!)

Postby Axiom » Fri Aug 29, 2014 5:08 pm

Blck_Guy wrote:Great Tool!! - The 2nd and only last tool I will use for SMBX!! (I think it will be the last tool I use for the Program.).

Suggestion: Is there away you can add a Auto-GFX-size, like you choose witch NPC will be replaced by a Custom NPC, and it will automatically add the sizes for you?
I'm not quite sure what you mean by that actually. Do you mean that when opening custom NPCs, it'll fill in the stock NPC's values? I actually coded that but for some oddball reason it doesn't always work. I'm working on recoding it though so hopefully everything will be alot less messy.

Blck_Guy
Guest

Re: [TOOL] SMBX NPC Code Editor (New!)

Postby Blck_Guy » Fri Aug 29, 2014 6:05 pm

Luigifan2010 wrote:
Blck_Guy wrote:Great Tool!! - The 2nd and only last tool I will use for SMBX!! (I think it will be the last tool I use for the Program.).

Suggestion: Is there away you can add a Auto-GFX-size, like you choose witch NPC will be replaced by a Custom NPC, and it will automatically add the sizes for you?
I'm not quite sure what you mean by that actually. Do you mean that when opening custom NPCs, it'll fill in the stock NPC's values? I actually coded that but for some oddball reason it doesn't always work. I'm working on recoding it though so hopefully everything will be alot less messy.

What I mean is:

If I have a NPC CGFX of 68X158 and I want it to replace a GFX that is 68X486, I was asking if you could add something to your program that could automatically do this for me.

Axiom
Phanto
Phanto
Posts: 1471
Joined: Tue Dec 24, 2013 2:23 pm

Re: [TOOL] SMBX NPC Code Editor (New!)

Postby Axiom » Fri Aug 29, 2014 6:29 pm

Oh yeah, I probably could. It wouldn't work too well for odd numbered frames. The way I was thinking it could be done is maybe dividing the height by the number of gfx frames

Code: Select all

y/x=frameHeight
where y is the total height
and x is the number of frames
But then all of this would be thrown off when you use an odd number for frames. So idk, there's probably something more I'm missing but its worth a shot. At least for even numbered NPC frame values.

Axiom
Phanto
Phanto
Posts: 1471
Joined: Tue Dec 24, 2013 2:23 pm

Re: [TOOL] SMBX NPC Code Editor (New!)

Postby Axiom » Fri Aug 29, 2014 8:00 pm

[center]!!! ANNOUNCEMENT !!![/center]

Okay guys, as stated in the previous post I'm recoding everything. Yes, EVERYTHING. So far so good really, the reading and writing is alot more efficient and works more as dictionary type storage rather than the messy code it was before.

That being said, I want to include a bunch of new features into this editor. This will be the SMBX NPC Editor: Expanded Dong Edition (no that's not the legit title).

So, I have a list of features I want to add in that I will list in this post and also on the description page of the new GitHub Repository.
  • Multiple different configurations for custom games (ala Wohlstand's npc ini files)
  • A more advanced animator supporting masks and showing the NPC against different backgrounds
  • Legitimate left/right frame support instead of just reflecting the whole image.
  • The editor will actually work without the configs so you could use it with strictly the exe instead of having to use an older version if you don't want to exe.
The UI will more or less be the same, the 4 columns of groupboxes containing the various data values you can change and of course the basic animator. In addition, I will include the aforementioned advanced animator where you can do all kinds of cool stuff.

Now, I would like to also announce a sort of design-the-next-icon contest! Designing the icon wasn't very hard and although its a good icon, I want it to be different as this is almost an entirely new editor. Here's the requirements/steps/whatever
  • Edit the icon in Paint.NET
  • Minimum 128x128 size
  • Use a transparent background
  • DONT USE REGULAR PAINT AND DONT USE ANTIALIASED GRAPHICS
Just submit your icons within the next 1-2 months (I will decide on the actual due date later) and submit it in this post. Eventually, I will add a poll where you can vote on your favourite!

What's the grand prize? Well, I'm poor so not much really. I will credit you in the NPC Editor in any way you like (within reason) so if you want a flashing glowing marquee text credit in the about box, let me know and I can work that out!

Also, please leave your suggestions for the NPC Editor as replies and I'll see about adding them!


Cheers,

Mike

Wohlstand
Chargin' Chuck
Chargin' Chuck
Posts: 2008
Joined: Tue Feb 11, 2014 4:44 pm
Flair: [ˈvoːlˌʃtant], 狐エンジニア
Pronouns: he/him
Contact:

Re: SMBX NPC Code Editor (DESIGN THE NEXT ICON!!)

Postby Wohlstand » Sat Aug 30, 2014 9:23 am

Error when open the NPC.txt with sprote:
Image
And when I press "start" - > crash

Take them for test:
http://engine.wohlnet.ru/docs/_files_fo ... Makers.zip

Axiom
Phanto
Phanto
Posts: 1471
Joined: Tue Dec 24, 2013 2:23 pm

Re: SMBX NPC Code Editor (DESIGN THE NEXT ICON!!)

Postby Axiom » Sat Aug 30, 2014 10:13 am

Wohlstand wrote:Error when open the NPC.txt with sprote:
Spoiler: show
Image
And when I press "start" - > crash

Take them for test:
http://engine.wohlnet.ru/docs/_files_fo ... Makers.zip
Err, could you translate that error for me (crap I never knew .net auto translated stack exceptions)
EDIT: I didn't get any errors oddly enough
[rimg]http://gyazo.com/4e6fe219c7ca3cf0af3bff5f1a39eaa3.png[/rimg]
SnifitGuy wrote:I have an icon submission:
Spoiler: show
Image
very good B)


Return to “General”

Who is online

Users browsing this forum: Levelmaker_123 and 1 guest

SMWCentralTalkhausMario Fan Games GalaxyKafukaMarioWikiSMBXEquipoEstelari