Pages: 1
Posted on 01-13-16, 04:48 am (rev. 1 by  MarioFanatic64 on 01-13-16, 04:48 am)
Roy Koopa
The guy who does things.

Karma: 12694
Posts: 1951/2796
Since: 07-01-11
Hey everyone, here's my skinny.

I want to make use of the Toadsworth sprite to act as Toad NPCs in my hack. Only problem is I can only have one color of Toad, which lead me into wondering, since sprite editing is still very much a work in progress.

Would it be easy to copy the Toadsworth sprite (model, behavior, etc.) and and replace one of the blank unused sprites so I can retexture it and have an assortment of different colored Toads standing around in my hack? If so, where do I start?
New Super Mario Bros.: Clone Tag Team 1+2 / New Super Mario Advance + Take 2 / Super Mario: Endless Earth
My two greatest assets have been mental stability and being, like, really smart.
Posted on 01-13-16, 09:18 am
Mariomaster

Karma: 8528
Posts: 528/1681
Since: 06-09-12
I'd rather try to modify the texture loading of the sprite. So you could select a texture with sprite data.

That would require massive investigathon in how the game reads the spritedata tho. A while ago I tried something simillar, but it faild because of my lack of ASM knowledge (so the IDA database was a huge maze for me ).
_________________________
GitHub - Kuribo64 - YouTube
Posted on 01-13-16, 09:59 am
Birdo


Karma: 2754
Posts: 1522/2091
Since: 06-26-11
Indeed. It is probably easier to modify an existing actor, rather than creating a new one. Saves space too.
Posted on 01-13-16, 12:33 pm
☭ coffee and cream


Karma: 10415
Posts: 1823/2768
Since: 06-26-11
should be possible if both sprites are going to use the same code

then you'd need to modify said code so that it checks the sprite ID (or some sprite parameter) and uses a different model if needed
_________________________
Kuribo64 - RH-fucking-cafe - Kafuka

zrghij
Posted on 01-13-16, 11:31 pm
Roy Koopa
The guy who does things.

Karma: 12694
Posts: 1953/2796
Since: 07-01-11
Ok, thanks for the response guys.

I guess I'll start by seeing how I can go about adding extra textures to kinoji.nsbmd.
New Super Mario Bros.: Clone Tag Team 1+2 / New Super Mario Advance + Take 2 / Super Mario: Endless Earth
My two greatest assets have been mental stability and being, like, really smart.
Pages: 1