Page 1 of 1

import custum NPC's

Posted: Wed Aug 23, 2017 12:46 pm
by Marcus_198730
Hi,

I'm a beginner in SMBX. Today i have import custum graphics successfully. Now I will import NPC's. I have downloaded a Boss Pack and will import it. Is there any different between graphic pack? the NPC's will not import :-(

Re: import custum NPC's

Posted: Wed Aug 23, 2017 12:52 pm
by MarioMario369
For me, i just placed in a folder with a .lvl file, and boom, it's loaded in! I'm not surefor of importing custom npc's, but lunalua might work?

Re: import custum NPC's

Posted: Wed Aug 23, 2017 2:22 pm
by Marcus_198730
I do exactly the same like this (viewtopic.php?f=35&t=10507) fpr importing nps's but I Can's find the NPC's in the Editor.

Re: import custum NPC's

Posted: Wed Aug 23, 2017 2:37 pm
by Westretroman
Marcus_198730 wrote:I do exactly the same like this (viewtopic.php?f=35&t=10507) fpr importing nps's but I Can's find the NPC's in the Editor.
Did the boss pack you downloaded was a level containing the graphics or the graphics itself, please state the graphics. You can find the NPC option in the toolbar to the left called Level Itembox, select it and then in filter options, select custom, your NPCs with custom graphics will now appear, click on the NPC you want to use and now you can place it anywhere in the level, you like.

Re: import custum NPC's

Posted: Wed Aug 23, 2017 2:37 pm
by Turret 3471
Are you sure they're the correct file type and size? And if they use the text files to determine new codes, are those included in the folders?

... or maybe could you share a screenshot of what it looks like in your folder?

Re: import custum NPC's

Posted: Thu Aug 24, 2017 1:09 am
by Marcus_198730
Sorry but i can't import a screenshot :-(

following files are in my "Boss Folder"

effect-105
effect-105m
npc-30
npc-30m
npc-87
npc-87m
npc-200
npc-200m

is there anywhere a guide how i import downloaded npc's?
when i import the npc's... do they replace other original npc's or is there a way to import these additionally?

Re: import custum NPC's

Posted: Thu Aug 24, 2017 10:48 am
by Turret 3471
Marcus_198730 wrote:Sorry but i can't import a screenshot :-(

following files are in my "Boss Folder"

effect-105
effect-105m
npc-30
npc-30m
npc-87
npc-87m
npc-200
npc-200m

is there anywhere a guide how i import downloaded npc's?
when i import the npc's... do they replace other original npc's or is there a way to import these additionally?
they should replace the original NPCs. there isn't really any way to add more to the editor.

still, I think a screenshot would really help out, since we'll know what your folder looks like. just press the PrtScn key (if you have one) on your keyboard, open Paint, Ctrl V to paste the screenshot, and save the file. then, go to Imgur, click New post, browse for your image, then copy and paste your link into your reply. (also be sure to use the Img command so that we can actually see the image)

Code: Select all

[img][/img]

Re: import custum NPC's

Posted: Thu Aug 24, 2017 11:10 am
by Marcus_198730
ok... i thought that i can add a file from my pc as an appendix... but this don't work :-(

well... then i make it with an link

here is the folder with the npc data

[img]http://imgur.com/a/OeZuF[img]

when the npc's replace an original npc... is there a possibility to import this for for certain levels (such as importing backgrounds guide)

Re: import custum NPC's

Posted: Thu Aug 24, 2017 11:56 am
by Westretroman
Marcus_198730 wrote:ok... i thought that i can add a file from my pc as an appendix... but this don't work :-(

well... then i make it with an link

here is the folder with the npc data

[img]http://imgur.com/a/OeZuF[img]

when the npc's replace an original npc... is there a possibility to import this for for certain levels (such as importing backgrounds guide)
Yes, you can import it for certain levels.

Re: import custum NPC's

Posted: Thu Aug 24, 2017 12:37 pm
by Turret 3471
Marcus_198730 wrote:ok... i thought that i can add a file from my pc as an appendix... but this don't work :-(

well... then i make it with an link

here is the folder with the npc data

Image

when the npc's replace an original npc... is there a possibility to import this for for certain levels (such as importing backgrounds guide)
yep! just like when you have separate folders for each level's custom graphics (blocks, bgs, bgos, etc.), custom npc graphics can be imported the same way, as long as the folder and level file share the same name.

Re: import custum NPC's

Posted: Fri Aug 25, 2017 5:20 am
by Marcus_198730
yeah... now it work's... :-)

but now there are another questions i have. i have sucessfully imported Lenny Koopa from my boss Pack. Now i have following question(s). When I Jump on Lenny he will disappear in his tank and move. When i jump now on he Mario does'nt hurt. Can i say with npc Flags, that Mario will be hurt when he Jump on lennys tank?. I will also that lenny get hurt when Mario jump on her but when lenny is in his tank i will that mario get hurt. and then... can i say how much mario must jump on lenny Until he was defeated?

Re: import custum NPC's

Posted: Fri Aug 25, 2017 7:02 am
by Seedy Koopas
Marcus_198730 wrote:yeah... now it work's... :-)

but now there are another questions i have. i have sucessfully imported Lenny Koopa from my boss Pack. Now i have following question(s). When I Jump on Lenny he will disappear in his tank and move. When i jump now on he Mario does'nt hurt. Can i say with npc Flags, that Mario will be hurt when he Jump on lennys tank?. I will also that lenny get hurt when Mario jump on her but when lenny is in his tank i will that mario get hurt. and then... can i say how much mario must jump on lenny Until he was defeated?
In the NPC editor thingimajig, you can make the enemy "spiked" by enabling "Hurt player on stomp", and to add more jumps before Lenny dies, you can increase their "Default health level". Every health level = A jump.

Re: import custum NPC's

Posted: Fri Aug 25, 2017 8:23 am
by Marcus_198730
is there a link to download the "thingimajig"? i don't find one

Re: import custum NPC's

Posted: Fri Aug 25, 2017 8:42 am
by Westretroman
Marcus_198730 wrote:is there a link to download the "thingimajig"? i don't find one
In your level editor, there should be a option in the top left called "File", click it, then click ""Open", open the NPC text file from your boss folder (should be NPC-(numbers).txt, which you already have and now you can modify it to add more health and what not,
and don't forget to experiment with the editor a bit more, after all, it's more satisfying figuring out what works and what doesn't in the editor.

Re: import custum NPC's

Posted: Fri Aug 25, 2017 9:07 am
by Marcus_198730
when i click on file and then on open i can only open .lvl files. I can't open .txt files.

Re: import custum NPC's

Posted: Fri Aug 25, 2017 9:34 am
by Marcus_198730
i find... but in my version it Works differently. I must rightklick on the npc. all works but i can not find how i make mario hurts when he jump on lennys spinning tank. is that even possible to make?

Re: import custum NPC's

Posted: Fri Aug 25, 2017 2:50 pm
by Westretroman
Wait are you using 1.3? If you are, you can get PGE editor which is better than the legacy editor or you can get SMBX 2.0 which has PGE, already ready to go with it.