Page 1 of 1

Npctopblock problem(Resolved)

Posted: Wed Aug 12, 2015 6:27 pm
by IUndercoverTroll
This has been resolved! What happened was I was trying to get a koopa paratroopa to get the npcblocktop tag to work, eventually it did. Then I asked why it wasn't working on a hammer brother cause I wanted to stack a koopa paratroopa below a hammer brother below a shy guy (to prevent it from falling of) but turns out you cant do that for what ever reason. Thanks to enjl for helping me.

Re: NPC block top not working?

Posted: Wed Aug 12, 2015 6:33 pm
by Emral
you need to set npcblocktop=1 (it's 0 in the spoiler) and either remove noblockcollision, or set it to 0, because noblockcollision makes him just fall through everything. Due to the hammer bro's short hops, however, he tends to escape the paratroopa easily, even if set to "don't move".

Re: NPC block top not working?

Posted: Wed Aug 12, 2015 6:45 pm
by IUndercoverTroll
Enjl wrote:you need to set npcblocktop=1 (it's 0 in the spoiler) and either remove noblockcollision, or set it to 0, because noblockcollision makes him just fall through everything. Due to the hammer bro's short hops, however, he tends to escape the paratroopa easily, even if set to "don't move".
Yeah sorry when I edited the post I must've accidentally said npctopblock was 0, but yeah it actually was 1 and noblockcollision was actually 0 cause I changed the txt file when 1 didn't work and yet it still didn't work

Re: NPC block top not working?

Posted: Wed Aug 12, 2015 6:50 pm
by Emral
Image

Works for me.

npc-176.txt (green paratroopa):
npcblocktop=1

Re: NPC block top not working?

Posted: Wed Aug 12, 2015 7:13 pm
by IUndercoverTroll
First of all I like how you got a nice-looking level with custom graphics (I know you downloaded the graphics but that still took time to put in the graphics folder)
Second of all is it in a specific file as in tell me the file path