Page 1 of 1

Including non-standart NPCs in block via notepad

Posted: Sat Apr 26, 2014 10:32 am
by Wohlstand
Hello, I shall tell about including ANY NPC in block, if you edit LVL file via notepad:

1) Read the LVL file specification about blocks settings:
Spoiler: show
Image
You can get it here:
http://engine.wohlnet.ru/docs/_SMBX64/f ... iption.pdf

2) Open level file in SMBX editor, and check the necessary block coordinates in debugger.
Warning, you must set it accurate, by left-up corner of block
Spoiler: show
Image
3) find necessary block in LVL file, using the coordinates information
and set number of need NPC:
Image
0 - block is empty, 1-99 - block contains coins by 1 to 99, 1000+ - block contains NPC with ID= value-1000. I.e. if value=1056, block contains NPC-56.
NPC List in PDF: http://engine.wohlnet.ru/docs/_SMBX64/O ... 20List.pdf
NPC List in ODS: http://engine.wohlnet.ru/docs/_SMBX64/O ... 20List.ods

Result: (after saving LVL file via notepad, you must start level test without saving, or ReOpen same file in menu file/open):
Spoiler: show
Included Bowser:
Image
Image

Included big boo:
Image
Image
Video demonstration:

Re: Including non-standart NPCs in block

Posted: Sat Apr 26, 2014 10:38 am
by Veudekato
nice! it realy works. bowser in block ?. is surprise XD.
wohlstand, thanks for you rename npc number to npc ID (as i tell)

Re: Including non-standart NPCs in block via notepad

Posted: Sun Apr 27, 2014 3:01 pm
by HeroLinik
This is quite an interesting concept and it appears to build on SkyBlueYoshi's idea of making blocks of any size. I can't wait to see the possible gimmicks that can be squeezed out of this idea.

Re: Including non-standart NPCs in block via notepad

Posted: Sun Apr 27, 2014 3:08 pm
by Wohlstand
castlewars, if it is interesting to you, I use this concept in this test level:
http://www.smbxgame.com/forums/v ... =32&t=2275

Re: Including non-standart NPCs in block via notepad

Posted: Mon Apr 28, 2014 5:36 am
by Veudekato
castlewars wrote:This is quite an interesting concept and it appears to build on SkyBlueYoshi's idea of making blocks of any size. I
NO

Re: Including non-standart NPCs in block via notepad

Posted: Mon Apr 28, 2014 5:38 am
by Wohlstand
...And for a dessert:
standard water with size 32x32px, and edited via notepad water with size 40x40 pixels:
Image
Interesting, what will if change the size of the sizable block? :mrgreen:
I will test it later, when I will return from job.

Re: Including non-standart NPCs in block via notepad

Posted: Mon Apr 28, 2014 5:44 am
by h2643
NO
Actually yes Veudekato, SkyBlueYoshi made custom blocks and a tutorial on how to make them.
And this is pretty interesting discover, Wohlstand.

Re: Including non-standart NPCs in block via notepad

Posted: Mon Apr 28, 2014 7:30 am
by Veudekato
h2643 wrote:
NO
Actually yes Veudekato, SkyBlueYoshi made custom blocks and a tutorial on how to make them.
And this is pretty interesting discover, Wohlstand.
but i dont know this post by castlewars

wohlstand forgot said.. he use my level in last post :mrgreen:
also,PlatGEnWohl can see water 16x16 , smbx-no

Re: Including non-standart NPCs in block via notepad

Posted: Mon Apr 28, 2014 9:09 am
by Wohlstand
Small surprise:

nonstandard size of blocks:
http://wohlnet.ru/sentfile/sizeble_jock.lvl (press right mouse-button ans click "save as..." for get this file)
in SMBX Editor:
Image
WARNING, DON'T DRAG BLOCKS WITH SIZE OF ONE SIDE AS <64px, ELSE YOU WILL GET RUNTIME ERROR '380'
Spoiler: show
Image
in PlatGEnWohl editor (latest 0.0.7-dev build)
Image

Re: Including non-standart NPCs in block via notepad

Posted: Tue Apr 29, 2014 5:04 am
by Veudekato
added:
examples(what you can with this material):big boo,smb1 and smb3 bowser,eerie,boo,bowsers fire,larry koopa,boom boom and many other (all npc)
hint: if you want put big npc use big block