Page 1 of 1

Friendly Bosses

Posted: Tue Feb 18, 2014 9:15 pm
by DUDEVSTHEWORLD
I need Mouser to be a "friendly NPC" and be able to be talked to for a level I'm making (no, he's not the boss of that particular level, but a few levels later), but when I set him as a friendly NPC and under "Don't Move", he still throws bombs at you that hurt you, and I just want him to be idle like any other enemy as a friendly NPC. All of the bosses do something like this still when friendly, except for Larry and Ludwig. (Well, SMB3 Bowser hops a bit, but that's okay to me. Boom-Boom and SMB1 Bowser hop higher and Boom-Boom still tries to spike you, but they can't hurt you. The SMB2 bosses, however, can hurt you still with their projectiles. Touching the bosses themselves is fine. Ludwig and Larry act like any normal enemy does under these two conditions.) Is there anyway to fix this and make them act like normal?

Re: Friendly Bosses

Posted: Tue Feb 18, 2014 9:38 pm
by FanofSMBX
Huh, I thought a friendly Wart bubbles don't hurt you.

Re: Friendly Bosses

Posted: Tue Feb 18, 2014 10:08 pm
by FallingSnow
Just make a custom NPC replacing literally any other npc that you aren't using and won't cause that problem.

Re: Friendly Bosses

Posted: Wed Feb 19, 2014 3:59 am
by Veudekato
FallingSnow wrote:Just make a custom NPC replacing literally any other npc that you aren't using and won't cause that problem.
yes you can replace any npc graphics to wart ( for example npc-94 is friendly toad).
the fact that the wart throwing other NPCs which dont can set friendly.

Re: Friendly Bosses

Posted: Wed Feb 19, 2014 6:51 am
by DUDEVSTHEWORLD
Veudekato wrote:
FallingSnow wrote:Just make a custom NPC replacing literally any other npc that you aren't using and won't cause that problem.
yes you can replace any npc graphics to wart ( for example npc-94 is friendly toad).
the fact that the wart throwing other NPCs which dont can set friendly.
Okay, I'm doing that. Where is the code for Toad and Mouser so I can edit it?!

Re: Friendly Bosses

Posted: Wed Feb 19, 2014 7:01 am
by Valtteri
DUDEVSTHEWORLD wrote:Okay, I'm doing that. Where is the code for Toad and Mouser so I can edit it?!
I've actually done this already for a contest level of mine. I might as well just give it to you. It doesn't replace Toad but that shouldn't be a problem. It replaces the SMB2 mushroom block. You can change what it replaces if you're using that particular NPC. https://www.mediafire.com/?rkc4d7hu6wikesv

Re: Friendly Bosses

Posted: Wed Feb 19, 2014 7:11 am
by Veudekato
maybe beed this hard
i can make this for you.
i will make friendly wart and mouser and later give you link ok?

Re: Friendly Bosses

Posted: Wed Feb 19, 2014 7:39 am
by Veudekato
emm.
i set friendly to yes
and dont move to yes
bubbles dont hurt me.
what you mean?

Re: Friendly Bosses

Posted: Wed Feb 19, 2014 3:09 pm
by DUDEVSTHEWORLD
Why, thank you, guys! This once, I'll just use what Valtteri suggested. I'll make sure to give you credit! But, just for future reference, where exactly is the code for the NPC's anyway? Or do I just have to guess and hope for the best in making my .txt file?

Also, Veudekato, even though Wart doesn't hurt you, it was still kinda weird that he, you know, kept trying to attack you.

Re: Friendly Bosses

Posted: Thu Feb 20, 2014 4:04 am
by Veudekato
always npc code not have. you have to create a folder named level and creating a txt file named NPCs example: npc-94.txt (I wrote with extension)
here is a list: http://www.smbxgame.com/forums/v ... =35&t=1011
here is a list kolov: http://valtteri.prophpbb.com/topic57.html
I'll do today wart and lay link.
wait

Re: Friendly Bosses

Posted: Thu Feb 20, 2014 4:14 am
by Veudekato
http://yadi.sk/d/gjUfHxMjJESAz
please give credit for me :)