• Welcome to Final Fantasy Hacktics. Please login or sign up.
 
March 28, 2024, 12:19:53 pm

News:

Use of ePSXe before 2.0 is highly discouraged. Mednafen, RetroArch, and Duckstation are recommended for playing/testing, pSX is recommended for debugging.


Changing which monsters come from eggs

Started by Odal, February 08, 2016, 12:49:55 am

Odal

I'm working on a monster-based patch and I'm curious if there is a way to make monsters breed any other monster eggs outside of their own monster class.  The way this I want this to work is to remove the family aspect of the monsters.  The only thing that binds this together that I can see is that monster number 1, for example, is going to lay eggs for only monster number 1, 2, or 3 and monster number 4 lays eggs for monster 4, 5, or 6 etc.  I'd like if any monster egg can hatch any other monster 1-48. 

And if this is not possible, is it possible to remove egg laying entirely?  I'll be glad to leave it to taming them to get more if I have to.


Raijinili

You need to ASM hack it.

Here's the starting place:
http://ffhacktics.com/wiki/Store_New_Seed_and_Lay_Eggs
http://ffhacktics.com/wiki/Create_Monster_Egg

The first function calls the second. I think the second tries to add the egg to the party, and the first actually decides the ID of the monster.
  • Modding version: Other/Unknown

Emmy

I don't remember who made this hack, but this disables monsters laying eggs:

<Patch name="No monster breeding">
    <Location file="WORLD_WORLD_BIN" offset="045b6e">42</Location>
  </Patch>

  • Modding version: PSX

Odal

Thank you for the responses.
Quote from: Raijinili on February 08, 2016, 01:16:52 am
You need to ASM hack it.

Here's the starting place:
http://ffhacktics.com/wiki/Store_New_Seed_and_Lay_Eggs
http://ffhacktics.com/wiki/Create_Monster_Egg

The first function calls the second. I think the second tries to add the egg to the party, and the first actually decides the ID of the monster.
I'm really not sure where to even start with this.  I'll probably just use:

Quote from: Emmy on February 08, 2016, 10:19:55 am
I don't remember who made this hack, but this disables monsters laying eggs:

<Patch name="No monster breeding">
    <Location file="WORLD_WORLD_BIN" offset="045b6e">42</Location>
  </Patch>




Also, another somewhat related question.  Is there a way to change monsters' UNIT.BIN resolutions?  Some monsters use the typical 24 x 40 while others use 48 x 48.  I could possibly work around this if I were using all 24 x 40 sprites, but I'm using sprites which would need the 48 x 48.  So, for example, I'll need to replace the goblin UNIT.BIN file with something which is 48 x 48, but fftevgrp won't allow me a resolution different than what is native to goblin (24 x 40).  Can this be changed?