(Link to AcmlmWiki) Offline: thank ||bass
Register | Login
Views: 13,040,846
Main | Memberlist | Active users | Calendar | Chat | Online users
Ranks | FAQ | ACS | Stats | Color Chart | Search | Photo album
06-29-24 11:33 AM
0 users currently in SMW Hacking.
Acmlm's Board - I3 Archive - SMW Hacking - Is a custom block that creates blocks possible?
  
User name:
Password:
Reply:
 
Options: - -
Quik-Attach:
Preview for more options

Max size 1.00 MB, types: png, gif, jpg, txt, zip, rar, tar, gz, 7z, ace, mp3, ogg, mid, ips, bz2, lzh, psd

UserPost
Spikehead777
Posts: 4/36
If you did activate the P-switch, wouldn't it only stay on for 16 seconds?

I want something similar to the vine growing routines, but instead of vine objects being created, it'd be a custom object. (acts like grey cement block but, custom gfx.) Also, it'd be nice to still be able to have the create vine routines copied over instead of overwritten and change the offset of the copy to create my custom blocks instead of the vines. (That would solve my blocks created upward). Then I would have to figure out how to get the thing to be able to move left or right. Would that work?
Xeruss
Posts: 199/309
Originally posted by Glyph Phoenix

It would force you not to use use coins or brown blocks, brown blocks being what nearly every hittable block turns into.
Damn, I forgot about that. There would be a way around that using more custom blocks, but I doubt anyone would use it.
Glyphodon
Posts: 174/536
That's one of the worst ideas I've ever heard, Xeruss, and that's coming from a guy who takes to Kyouji Craw an awful lot.

It would force you not to use use coins or brown blocks, brown blocks being what nearly every hittable block turns into. Furthermore, it wouldn't even solve the problem this guy is talking about, controlling the direction! What were you thinking when you typed that?
Xeruss
Posts: 197/309
How about this, create a block that activates the POW, without changing the music, and without the timer. Then just use the directional coins. Granted you wouldn't be able to have loose coins for the rest of the level, but it seems a semi-easy fix to me.
HyperHacker
Posts: 1772/5072
Something I tried to do a while ago, but never got very far with, was to hack the directional coin sprite. The idea being if a certain flag in RAM is set, instead of creating coins, it creates whatever block is specified. The flag itself could be a direction override, forcing it to always move a specific direction. It probably would even be possible to add diagonals.
Alastor
Posts: 4611/8204
Originally posted by Sukasa +
Well, you could try modifying the level's MAP16 level data, and then you'd jsut need to find out your scroll amount, in blocks, and re-upload the graphics data to VRAM so the changes'd show... that would work.
That would require... New blocks for every time you use them, and several of them... It would be so amazingly annoying to implement...

I approve.
Spikehead777
Posts: 3/36
Isn't there some sort of a simpler way? Man, oh man...this is confugulating. Well, I kind of have an idea of how I can make my "block creation" sprite. Copy ASM from "vine growing plant" sprite. Paste to custom sprite. Change offsets so my custom block is made instead of a vine. Of course, I have no clue as to whether or not what I just said is possible. I should've started out simpler, like a "5-coin" coin object. I had no idea this block would be difficult (in my opinion). Well, I'm not giving up anytime soon.
Sukasa
Posts: 789/2068
Well, you could try modifying the level's MAP16 level data, and then you'd jsut need to find out your scroll amount, in blocks, and re-upload the graphics data to VRAM so the changes'd show... that would work.
Alastor
Posts: 4609/8204
Yeah... It's kind-of... More or less completely different =/
Spikehead777
Posts: 2/36
So, I make a custom sprite that moves left, right, or up, then as it moves, it creates the blocks behind it? Well, I don't exactly know how to create a custom sprite, unless it's just like making a custom block.
BMF54123
Posts: 316/876
Your custom block would have to spawn a custom sprite, which would in turn create the blocks. That's exactly how the directional coins work...
Pac
Posts: 234/804
That sounds extremely difficult to make. I don't mean to patronise you here, but if I were you, I'd just forget about the whole thing.

However, if you're still interested in making custom blocks, here's tutorial for you. You can make some pretty cool things if you can understand it well enough. Thanks to Glyph Phoenix for that.
Spikehead777
Posts: 1/36
Is it possible to make a custom block that will continuously create blocks left, right, or up, when struck from below? (Sort of like how the "sausage bridges" in SMW: Yoshi's Island work.) This would be a good addition to my barely started SMW hack. (Which right now has only a few levels.) I would try to make this on my own, but I didn't see anything for block creation in the pinned threads and links above. Any help on this matter would be appreciated.
Acmlm's Board - I3 Archive - SMW Hacking - Is a custom block that creates blocks possible?


ABII

Acmlmboard 1.92.999, 9/17/2006
©2000-2006 Acmlm, Emuz, Blades, Xkeeper

Page rendered in 0.013 seconds; used 357.58 kB (max 412.47 kB)