Pages: 1
Posted on 07-16-14, 10:38 am (rev. 4 by  Hiccup on 07-16-14, 11:39 am)
Birdo


Karma: 2754
Posts: 897/2091
Since: 06-26-11
Why do hammer bros have to be put in sprite sets, if they are always available through the spawn point?

Also:

How can I change the goomba sprite and the spiny sprite to use the class id of the hammer bro? (so I can spawn hammer bros out of pipes and let lakitu throw them).

All answers are welcome.
Posted on 07-16-14, 09:04 pm
Super Mario
( ͡° ͜ʖ ͡°)

Karma: 10020
Posts: 4057/4457
Since: 06-08-11
Posted by Hiccup
Why do hammer bros have to be put in sprite sets, if they are always available through the spawn point?


LOL good question. I don't know. Maybe the hammer bro sprite's data is not really in that sprite set, but is available everywhere? Or maybe the game forces Sprite Set 3 to value 1 when it wants to spawn a hammer bro? I think hammer bros only spawn in levels in later worlds, and other values from Sprite Set 3 aren't used in later worlds?

Posted by Hiccup
How can I change the goomba sprite and the spiny sprite to use the class id of the hammer bro? (so I can spawn hammer bros out of pipes and let lakitu throw them).


Just find the Class ID table and hex edit it. I think there's info about it in some threads. Test spawning a sprite to see if it works.

But I'm not sure if editing the Class ID table will do what you want. I think sprites that spawn other sprites use the Class ID, not the Sprite ID.
Posted on 07-17-14, 09:10 am
Birdo


Karma: 2754
Posts: 902/2091
Since: 06-26-11
I did get goomba pipes to spawn koopas once, with the classid gui tool.
Posted on 07-17-14, 10:45 am
Super Mario
( ͡° ͜ʖ ͡°)

Karma: 10020
Posts: 4065/4457
Since: 06-08-11
Oh? Cool then, it seems sprites that spawn other sprites do use the Sprite ID.

Please let us know if you find this behavior using other sprites..
Posted on 07-17-14, 11:05 am
Birdo


Karma: 2754
Posts: 903/2091
Since: 06-26-11
I also spawned spike balls from lakitu.

You do need the spike ball sprite set on , or probably crashes or throws nothing.

Too bad I can't get any class id editing to work now.

You could get it to spawn anything by making the spiny sprite link to any class id.

But the sprites do act a bit funny sometimes and also use the same sprite data as the spiny would.
Pages: 1