øAslickproductions.org/forum/index.php?PHPSESSID=5f0fck550j2m4m2fpbtkj2vkm1&topic=1944.msg20977e:/My Web Sites/Slick Productions - FFIV Message Board/slickproductions.org/forum/index94a2-3.htmlslickproductions.org/forum/index.php?PHPSESSID=5f0fck550j2m4m2fpbtkj2vkm1&topic=1944.0e:/My Web Sites/Slick Productions - FFIV Message Board/slickproductions.org/forum/index94a2-3.html.zx ;g^ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÈ@>Á’OKtext/htmlISO-8859-1gzip8:ÖÁ’ÿÿÿÿÿÿÿÿTue, 10 Mar 2020 07:16:52 GMT0ó°° ®0®P®€§²ð® ;g^hÁ’ How to make "background" map foreground?

Author Topic: How to make "background" map foreground?  (Read 1812 times)

Pinkpuff

  • Flan Princess
  • *
  • Posts: 924
  • Find a Megalixir in Unprecedented Crisis!
    • View Profile
How to make "background" map foreground?
« on: July 19, 2014, 01:35:40 PM »
In the mist cave, it seems like it's displaying the mist "background" in the foreground somehow. When I try to do this with a normal map though, it doesn't seem to work. It always displays the background in the background; even if it has the "translucent" flag set. I was hoping to make a "misty moutains" dungeon/area for my hack, and it would be cool to have the mist effect on the mountain...

Any ideas?
Let's dance!

Grimoire LD

  • FF4 Hacker
  • *
  • Posts: 1,684
    • View Profile
Re: How to make "background" map foreground?
« Reply #1 on: July 19, 2014, 03:00:06 PM »
Hmm, the initial problem with this plan is that the Mist Background uses resources from the Caves Palette set. In another palette it either just won't appear or will appear in a glitched manner.

However if you can find a section of the Mountain Tileset that can be used, you could make a new background that has a similar or identical effect.


Pinkpuff

  • Flan Princess
  • *
  • Posts: 924
  • Find a Megalixir in Unprecedented Crisis!
    • View Profile
Re: How to make "background" map foreground?
« Reply #2 on: July 19, 2014, 05:25:10 PM »
Yup, I did that, the problem though is that it's appearing in the background, not overtop like it does in the misty cave...
Let's dance!

chillyfeez

  • FF4 Hacker
  • *
  • Posts: 1,285
  • Gender: Male
  • Go ahead, ask me about Angel Feathers!
    • View Profile
Re: How to make "background" map foreground?
« Reply #3 on: July 19, 2014, 07:00:07 PM »
There's a "mystery bit" in the background byte... Bit 3 I believe. Did you try toggling that one?

Pinkpuff

  • Flan Princess
  • *
  • Posts: 924
  • Find a Megalixir in Unprecedented Crisis!
    • View Profile
Re: How to make "background" map foreground?
« Reply #4 on: July 19, 2014, 07:17:52 PM »
You mean the one in the battle background byte? Yeah I tried it both ways, no effect, it still comes up behind the scenery.

Incidentally, I just tried changing the tileset to the mist cave tileset and using the mist background... that seems to work, the mist comes up in front. Maybe there's something about that tile in particular that draws it in the foreground?

 :edit: Here's a screenshot of young Rydia overlooking the Misty Mountains ^_^
« Last Edit: July 19, 2014, 08:29:40 PM by Pinkpuff »
Let's dance!

chillyfeez

  • FF4 Hacker
  • *
  • Posts: 1,285
  • Gender: Male
  • Go ahead, ask me about Angel Feathers!
    • View Profile
Re: How to make "background" map foreground?
« Reply #5 on: July 19, 2014, 08:38:52 PM »
Well, no, I meant bit 3 of byte 9 (background movement byte), but it must be something else entirely if it works using the cave tileset... Perhaps it's a tile property instead of a map property? You could try changing the tile properties of your custom mist tile to match those of the cave mist tile... Or you could just keep it as is since you found something that works. :-)

Pinkpuff

  • Flan Princess
  • *
  • Posts: 924
  • Find a Megalixir in Unprecedented Crisis!
    • View Profile
Re: How to make "background" map foreground?
« Reply #6 on: July 19, 2014, 10:14:59 PM »
Looking back at my code, I discover the editor doesn't even parse that bit whatsoever! Time to fix that...
Let's dance!