øAslickproductions.org/forum/index.php?PHPSESSID=5f0fck550j2m4m2fpbtkj2vkm1&action=profile;u=278;area=showposts;start=1215e:/My Web Sites/Slick Productions - FFIV Message Board/slickproductions.org/forum/index60ed.htmlslickproductions.org/forum/index.php?PHPSESSID=5f0fck550j2m4m2fpbtkj2vkm1&action=profile;area=showposts;u=278e:/My Web Sites/Slick Productions - FFIV Message Board/slickproductions.org/forum/index60ed.html.zxÜåg^ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÈ0P.ÔOKtext/htmlISO-8859-1gzip0|ÖÔÿÿÿÿÿÿÿÿTue, 10 Mar 2020 19:25:39 GMT0ó°° ®0®P®€§²ð®Ûåg^ÿÿÿÿÿÿÿÿ8'Ô Show Posts - chillyfeez

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - chillyfeez

1216
Quote
… changing a spell to become a Summon changes more than just the casting animation (the summoner flames), it messes up the actual execution of the spell. Your party disappears and never reappears, and renders them incapable of acting, and it casts a spell from somewhere down in the spell list. Thus, even though I know what to change to modify that range, I'm hesitant to put it into the editor.
Huh... I didn't know that that was known info about summons. I'd like to play around with that. Can someone tell me where the data to adjust that range is? I'm hoping to someday crack the "which monster is summoned" mystery, and this is certainly a key piece of the puzzle I've missed thus far.

(Hey look, I just shapeshifted into a siren!)

1217
Here we go:
Code: [Select]
Enemy Formation Table (70200-711FF)
Each formation is represented by 8 bytes:

Byte 0:
 Bit 0: ?
 Bit 1: ?
 Bit 2: ?
 Bit 3: Forced Back Attack
 Bit 4: Enemies Have Boss Death
 Bit 5: Monster(s) 3 Begin In Eggs
 Bit 6: Monster(s) 2 Begin In Eggs
 Bit 7: Monster(s) 1 Begin In Eggs

Byte 1: Monster(s) 1 Type

Byte 2: Monster(s) 2 Type

Byte 3: Monster(s) 3 Type

Byte 4: Qty. of Each Monster Type (max 8 altogether)
 Bit 0-1: ?
 Bit 2-3: Monster(s) 3 Qty.
 Bit 4-5: Monster(s) 2 Qty.
 Bit 6-7: Monster(s) 1 Qty.

Byte 5: Preset Monster Arrangement
 -Values 00-91
 -Total qty. of monsters is limited by arrangement

Byte 6:
 Bit 0: Can't Run
 Bit 1: No Game Over (think impossible Dark Elf battle)
 Bits 2-3: Battle Music (Regular/Boss/Fiend/No Change)
 Bit 4: Character Battle (Edward v. Tellah, etc.)
 Bit 5: Auto Battle (not sure where the AI is for these?)
 Bit 6: Floating
 Bit 7: Transparent (Breath, Mind)

Byte 7: ?
The unknown bits and byte seem to be insignificant, or at least not worth changing.

In case anyone's interested, the so-smart-it's-stupid way I traced this: Took two identical files, changed the monster type of group 1 from imp to basilisk (using zyrthofar's editor), created an .ips patch, read the patch with my hex editor to determine the altered location. Voila!

1218
OK, enemy formations are located in a table beginning at 70200 (ROM with header), and each entry is eight bytes long.
I haven't figured the whole thing out yet, but the most obvious bits:
-Each enemy formation can have up to 3 different kinds of monster.
monster type 1: Byte 01
monster type 2: Byte 02
monster type 3: Byte 03
-there can be 0-3 of each monster type (max 8 altogether, I think). This is all encoded in byte 04:
monster 1 0/1/2/3: 00/40/80/C0
monster 2 0/1/2/3: 00/10/20/30
monster 3 0/1/2/3: 00/04/08/0C
-there are 146 different possible formations (not all allow up to 8 monsters, btw). Which formation used is determined by byte 05 (value 00-91)
-bytes 00 and 06-07 control all other possibilities in a battle, including back attack, inescapable, monsters begin in eggs, monsters die as bosses, which battle music is used, etc. obviously these three bytes each include several of these options. I haven't worked it all out yet, but will have most likely by tomorrow.

1219
Well, first of all, REALLY EXCITED for the monster AI editor. I know where to find the info to do it on my own, but the promise of how long it would take has kept me away thus far.

Regarding the pallettes... I'm sure the information is documented somewhere... maybe in yousei's doc? If it's not, then I can help find them, but it will take some time... they're not all together, and there are quite a few to sort through... and I think some are shared between certain graphics.

Also, I don't know where monster formations are documented exactly, butI know the info is out there somewhere. If it helps to know this, zyrthofar's editor, while obnoxiously buggy, DOES have an effective monster formation editor (including previews).

Any thoughts about a music editor? The doc I wrote up should have enough how-to to make it possible. It's not hard if you know what you're doing, but it would be nice to have a program that bridges the gap between midi program and hex editor.

Thanks as always for everything you're doing!

1220
Hey, did you notice - apparently the Troia Hospital is underground, too. Add it to the list of bizarre decisions made by Team Square...

1221
Well, yeah, I can think of a couple of different ways to change it.... I'm more curious about how the original programming handles the NPCs.

I'm wrong about the Bank 2 dialogue, btw, that IS linked to the map, which makes it even more mysterious.

1222
So according to phoenix's NPC placement doc, the Troia hospital (map 58) has no NPCs.
Curious...

1223
Sweet. Thanks as always.

Regarding the Troia hospital NPCs, I seem to remember having seen some of the bank 2 messages hanging out in the Troia Lobby (in ff4kster). I'm not home, so I can't confirm right now.

1224
couple of things... well, one long thing...
It doesn't look like ff4kster enables you to alter the second byte of map properties (the "map index").
This, to me, is possibly the most useful property of a map to be able to edit.

Example 1:
Let's say I want to repopulate Eblan Castle.  Well, it's easy enough to put the NPCs in the castle, but Eblan has no Bank 2 (well, only one per map anyway), so the only way to make them speak is to waste events.
BUT, by repopulating Eblan, maybe I wouldn't need Cave Eblana inhabited anymore...
SO, in the second byte of map properties for Cave Eblana B2F ("Cave Eblan Settlement" in ff4kster, map C8), which has 10 Bank 2 messages, I change the C8 to 5E.
NOW, when the game is called upon to put the player in Cave Eblana B2F, the player winds up in Eblan Castle 1F.
VOILA! I have NPCs in Eblan 1F that use the Bank 2 messages from Cave Eblana B2F.

Example 2:
Let's say I want multiple locations that look identical. I only have to program the tile layout of this location once, then I can make multiple maps reference it by way of the second byte.  I think the game does this with the sealed cave, and possibly with a chocobo forest or two (though I could be wrong...).

Come to think of it, this almost definitely has something to do with the use of the "underground" byte as well...

1225
Yeah, I realized after I wrote that that a seperate portion of RAM is devoted to in battle character stats, which copy the regular record when the battle begins and write to it at the end. I was looking at the wrong RAM location. I guess I should at some point try again to see if the targeting is changeable, but based on all of my other results, I think I already know the answer.

1226
OK, here are my findings.
The summary is that it's really only worth the while to modify targeting of Sing and Recall, but here's the rest:

Code: [Select]
00 Fight - NO
05 Dark Wave - NO
06 Jump - NO
07 Recall - YES
08 Sing - YES
09 Hide - NO
0A Medicine - NO
0B Pray - YES (sorta... you can make it target only the caster instead of the whole party, because it NEVER has a cursor)
0C Aim - NO
0D Store - NO
0E Kick - NO, (but the visual change is complete - only the targeted enemy will flash, but all take damage)
0F Gird - can't tell, but only the caster gets the "armor" animation
11 Strengthen - Honestly, I have no idea what this does. I thought it was supposed to raise the caster's WIS score, but saw no such thing happen when using SNES 9X Debugger, so I don't know...
12 Cry - irrelevant
13 Cover - NO
14 Peep - NO
16 Dart - NO
17 Sneak - NO
19 Spirit Wave - NO

I did not test magic commands, because they open sub-menus, with sub-commands that have their own targeting details. I DID test Dart, because those items do not have their own targeting details, but apparently it is not even possible to affect the targeting options of Dart (even when you change the byte to target multiple, the cursor will still only allow single targeting)

1227
I can confirm it works effectively with Sing, so I figured the bab-il docs were mistaken or I was misinterpreting their meaning there. That's the only command I tried it with... perhaps it works with sing because sing calls upon other abilities (spells)... though it can make normally "target all" spells (such as Meteo) target a single ally, or make normally "target one" spells (like weak) target all. I guess more testing is needed to determine which commands can be changed and which cannot. My guess is recall, gird and pray will all work for the same reason sing does. I'll get back to you on that. Might not be til tomorrow.

1228
Hey Pinkpuff-
Have you considered putting targeting options into the command editor?
From the bab-il docs:
Code: [Select]
Each menu command also has a byte associated with it in a table that extends from 9FFC3 to 9FFDC indicating what it targets; this only affects the cursor, not the actual effects.
bits 0-2: not used?
bit 3: unknown
bits 4-6:
000 N/A
001 one ally
010 all allies
011 one/all allies/enemies (defaults to allies)
100 one enemy
101 one ally/enemy (defaults to enemy)
110 all enemies
111 one/all allies/enemies (defaults to enemies) bit 7: not used?

# Name Tg Comments -- ---- -- --------
00 Fight 50 one ally/enemy
01 Item 00 opens a sub-menu
02 White 00 opens a sub-menu
03 Black 00 opens a sub-menu
04 Call 00 opens a sub-menu
05 Dummy 60 all enemy (Dark Wave)
06 Jump 58 one ally/enemy
07 Dummy 60 all enemy (Remember)
08 Sing 50 one enemy
09 Hide 00
0A Dummy 20 all allies (Medicine)
0B Dummy 20 all allies (Pray)
0C Aim 50 one ally/enemy
0D Dummy 50 one enemy (Store)
0E Kick 60 all enemy
0F Dummy 00 (Endure)
10 Twin 60 all enemy
11 Dummy 00 (Strengthen)
12 Dummy 60 all enemies (Cry)
13 Cover 18 one ally
14 Peep 58 one ally/enemy
15 Dummy 60 (Unknown and unused command)
16 Dart 50 one ally/enemy
17 Sneak 50 one ally/enemy
18 Ninja 00 opens a sub-menu
19 Dummy 28 all allies (Spirit Wave)
1A Chang -- Yes, this really is "Chang" in the ROM; I don't know where the e gets put in.
1B Parry --
1C Show --
1D Off --

This is REALLY easy to do with a hex editor, but it also seems like the kind of thing you would want to put in there. Split ally and split enemy are possibilities, just no commands use them by default.

1229
Final Fantasy IV Research & Development / Re: THE Command Thread
« on: February 21, 2013, 09:01:12 AM »
Has anyone ever documented whether it's possible (and if so, how) to change the targeting options of commands?
It would be nice to be able to multi-target a command like Sing or Gird...

 :edit: Found it.
http://rb.thundaga.com/tob/battlemenus.txt
 :isuck:

1230
Hm, I was under the impression that there are some strange things about Golbez's actor... maybe someone more knowlegable can either back me up or prove me wrong on this? If not, and his actor is no different from any other, then once again it should be a fairly trivial fix.
Far as I can see, he has limited job and character properties, but his actor is customizable. That is, his name, set of commands, and load/save assignment are unique. The one possible exception might be his starting equipment, which may be set to draw from that of DK Cecil (since in the original programming, Golbez obviously had no need for equipment). This does give him just enough unique characteristics to use him to make DKC and PC different characters.