øAslickproductions.org/forum/index.php?PHPSESSID=5f0fck550j2m4m2fpbtkj2vkm1&action=profile;u=123;area=showposts;start=585e:/My Web Sites/Slick Productions - FFIV Message Board/slickproductions.org/forum/indexc536.htmlslickproductions.org/forum/index.php?PHPSESSID=5f0fck550j2m4m2fpbtkj2vkm1&action=profile;area=showposts;u=123e:/My Web Sites/Slick Productions - FFIV Message Board/slickproductions.org/forum/indexc536.html.zxòg^ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÈ…¬H;OKtext/htmlISO-8859-1gzip0|ÖH;ÿÿÿÿÿÿÿÿTue, 10 Mar 2020 20:17:53 GMT0ó°° ®0®P®€§²ð®òg^ÿÿÿÿÿÿÿÿœ0H; Show Posts - Grimoire LD

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 - Grimoire LD

586
Final Fantasy IV Research & Development / Re: Spare NPC's
« on: December 19, 2014, 05:40:47 PM »
Random events should be completely doable, too.

The problem with AI is that I know very little about how the game interprets the AI data and decides what code to run as a result. I've seen where the AI scripts are loaded into RAM, though, so "watching" it happen shouldn't be too difficult. But the AI system is so convoluted, actually making sense of it all would likely take a while.
I tried to follow a monster's counter attack script in action once to see if PC counter attacks would be possible and it was kind of a nightmare.


Random Events could be rather interesting, it is one of the main things Ancient Cave is lacking, and this seems like the most ideal way to set up a random party that you could build as you go on (and this is where the Shadow Party Hack could really come in handy).

I am still amazed that PinkPuff managed to make a readable format for the AI scripts, they are parsed and pieced into so many different forms (Index, Script, Conditionals, etc) it's ridiculous.

Quote
Before I set up my battle against the PCs (Cecil, Kain, Rosa) I spent a lot of time studying the monster AI and comparing the game at play to the code and trying to just get a better handle on it. "Nightmare" was a nice way to put it chillyfeez.  :wink: I ended up settling on some simple routines that I stole from other enemies and then repurposed. Like getting around the jump problem by having Kain jump only if he was the only one alive. Rosa I had cast Life 2 if someone went down - stuff like that. I can't even remember if Rosa actually worked or not, maybe just via "if solo" - but I'll have a look. I found (I think) the folder with the file in it - but naturally I was too excited that day to label anything properly...oops...   :blush:

How you did any of that in basic hex is far too much for me to consider. It's such a mess in plain hex. Thankfully when everything is parsed it's not too difficult to do what you will with it if you have the AI Index Reference chart in front of you, of course.

587
Final Fantasy IV Research & Development / Re: Spare NPC's
« on: December 19, 2014, 04:06:31 PM »
That's weird. Maybe it has something to do with the graphic change that's assumed with Jump (and nonexistent for monsters)?

That seems reasonable, though doesn't enemy Odin have some movement to him? It's been so long since I lost to him so I'm not really sure.

Quote
What about Girl?
Does Rydia "cast" the Titan spell? I would assume not, but I don't remember. I don't even remember if she uses the Special Graphic or if Titan just appears. But it seems like it would be really odd if she just stood there the whole time...

I was surprised as well, but she does literally just stand there, the entire time. The PSP version fixes this by making her react and summon naturally. (I should hope so! Disgracefully enough this was not fixed in the GBA version, I guess I shouldn't be surprised.)

Quote
I think this could be a fun project. I remember you mentioning this maybe a year or so ago. Knowing what I know about the game's coding now, I think I could help with the actual randomization if you wanted to be in charge of the mostly-everything-else.
I've been trying to devise some way to randomize monsters' attacks - not formally, really, just occasionally giving thought to how such a thing would work within the game's battle script system. I haven't had any major breakthroughs on that front... But I think randomizing treasures and rooms within a dungeon would be doable. Even randomizing which battles occur, but within a balanced structure, shouldn't be too tough.
I don't know if I've mentioned this yet, but in the current WIP of A Threat from Within, I've worked out a "different battle sets depending on terrain (on the world map)" system that could be used to inform the basis of a "controlled semi-random encounters (I can't think of a better way to write that)" system.
Anyway, we both obviously have our own projects we're working on now, and I don't want to bite off more than I can vhew, but this sounds like a fun idea to kick around.

I would Love to randomize enemy AI, I feel FFIV was far too linear in its planning, I mean FFIV is really the odd man out, FFI, II, and III all had randomized AI, IV does not, V, VI, and so on then have randomized AI from that time on. FFIV DS I believe also has randomized AI. I can sort of conceive of a system, writing a lot of one actions scripts that an enemy can choose from each turn, but how to actually program that in is near mind-boggling.

Randomizing treasure and warps would be a fun time, I'd think. I tried to set up a randomized warp a long while back, but the game is very finnicky with its exit and entrance coordinates. I imagine you may have found a way around that though. Increasing the scope of randomness could be very neat, any thoughts on how to make random events based on triggers or npc's?

You did mention the different enemy sets for terrain and it is a very neat idea.

588
Always glad to see FF4kster get an update, now seems the best time to report a bug.

You know how you made it possible to edit the Mystery Bit in Spells and Items? Well unfortunately it seems you didn't actually allow us to edit them for Spells. They work fine for Items, but when you go to change them in Spells they'll revert back to their original setting when you press escape on that menu.

Also the palettes that the program is using for the Tile Editor doesn't quite seem accurate. For instance Palette 4 should be Town, but in the "select palette" option it appears to be Palette 16.

589
Final Fantasy IV Research & Development / Re: Spare NPC's
« on: December 18, 2014, 11:05:36 AM »
The one thing that never changed was my hunting them - I always went around looking for them (like constantly) trying to pick fights. How 'bout you guys. That'd be an interesting mechanic to build into FF4. It seems easy enough to put any given character as an opponent in battle. I actually played around with a fight against Cecil, Kain and Rosa. Two notes about that: 1) Jump as an enemy command seems to imply "everyone jump" - or something similar, it was causing issues with more than one character enemy (clearly meant for solo opponents only) and 2) I remember having a spot of trouble with the optimal formation for multiple character enemies - I think it has something to do with how they lined up vertically: I recall that it worked pretty well when they were all staggered.  -- Now, where did I actually put that file...  :hmm:


 :edit:  - I just noticed I didn't even upload the right pic! It was one line too late  :blush: - oh well, all better!  :laugh:
Interesting notes on Enemy skills, I was not aware it meant "everyone jump" I did try that a long time ago as a test on an Eagle and when they jumped they all came back down into the shape of Odin, bizarrely enough.

Yes, the game only takes basic animations into account while fighting characters and those animations are Attack (with the DeathBringer graphic, at All Times) and Special Graphic, used by Kain, Dark Knight, and Yang.

For a long time I've been considering an Ancient Cave-esque hack for FFIV but... FFIV's system is nowhere near as robust as FFV's wonderful setup as far as the game flow goes. FFV has 23 Job Classes, and 110 learnable spells, with over 40 commands, many innate skills (of which 1 exists in FFIV, Auto-Hide) and formulaic setups for various weapon types, where in comparison FFIV has 13 Job Classes, 72 Learnable spells, and 26 Commands.

Therefore creating a randomizer or an Ancient Cave hack is much more difficult in the long run as far as balancing matters go.


590
Final Fantasy IV Research & Development / Re: Spare NPC's
« on: December 16, 2014, 10:24:58 AM »
Would it be possible to change the world as part of the routine for entering an area? So, for instance, I enter Antlion's Den but instead of loading that it changes the world index first and then loads the map (whatever it may be - I'm too lazy to look it up right now)

Also - glad to see the forum back up and that you're still at it. I'm hoping with this semester done I can get back to business in here.  :happy:

Glad to see you back LordGarmonde! Yes, things have been a bit slower and this semester was absolutely terrible, but it's finally over for now. Chillyfeez answered your quandary well enough though in a much better way that I could have.

591
Due to Chillyfeez's suggestions and older information from Phoenix (to me, of all people, to completely forget specific matters I asked about, haha) I've located all of the necessary information on the Alternate Battle Background Palettes.


$03/F779   29 20   AND #$20   A:0020   X:0000   Y:00D0   P:envMxdIzc - Is the Field being loaded using an Alternate Palette?
$03/F77B   F0 06   BEQ $06    [$F783]   A:0020   X:0000   Y:00D0   P:envMxdIzc - If not, branch elsewhere.
$03/F77D   BF BC F7 03   LDA $03F7BC,x[$03:F7BC]   A:0020   X:0000   Y:00D0   P:envMxdIzc - Load alternate palette for field.

That's all the ASM we need to be worried about for the moment. This is an odd matter as there is pure data not even 100 bytes away from this instruction, from what I've seen that is rare.

In any event I was searching for a suitable background palette for the Everwhite Woods, a new area in Combat Boost, and though I originally had no plans to change the palette, Chillyfeez pointed me in the right direction and found exactly what I was looking for.

To those not in the know, the Alternate Palettes are loaded by the "Mystery Byte" in FF4kster's Map Info. (A 20 in front of the battle background). This is how the game loads a special palette for Edward's night battle. It is also used in Eblan Cave, Sylph Cave, Tower of Babil, and Sealed Cave. The worry and thought was at first is that the game ran CMP's to check if specific backgrounds were being used and if so to load the special palette. This thankfully did not turn out to be the case at all.

This is in ROM at 1F7BC (unheadered). The data is as follows..

16 (Field)
00 (Forest) 
00 (Mountain)
00 (Castle)
11 (Cave)
00 (Moon)
00 (Ship)
12 (Water)
14 (Magnes/Sealed Cave)
00 (Desert)
00 (Beach)
13 (Land of Monsters/Sylph)
15 (Tower of Zot/Babil)
00 (Lunar Subterrane)
00 (Crystal Room)
00 (Underground)

What this means is that each background can support an alternate palette, whether it be an existing palette (01-0F are used by the normal background palettes)  or an alternate palette.

For the record all field backgrounds (Field, Forest, Desert, Beach) look pretty good with 16 (Night) used. Unfortunately Mountains don't fare as wwell.

592
Final Fantasy IV Research & Development / Re: Graphics info
« on: December 13, 2014, 03:37:09 PM »
I think it checks the relative file size and subtracts 200 for whether its header or unheader. I could be completely off base though.

593
Final Fantasy IV Research & Development / Re: Graphics info
« on: December 13, 2014, 02:18:57 PM »
Sure, I also have some of my various RAM findings thrown in there as well.

You can find the original at rb.thundaga.com under Tower of Babil RAM Notes as well.

There is apparently free space for something... Chillyfeez ported my extra dungeon boss (copy of Ramuh) into unused space at the end of the Summons without having to delete anything.

I am afraid though that if the ROM is expanded, FF4kster will break.

594
Oh, no, it's not designed to load a ROM into it. It simply has an output of hex that you could, theoretically, copy and paste into your ROM using a hex editor... Except no hex editor I've ever used allows you to paste "text" into the hex field. So while I use it regularly as a reference, it rarely ever had for me the practical purpose that I think Phoenix intended.
And now everything it does is available to do with FF4kster, so now I use it exclusively as a reference tool.

I thought that was the case, but whenever I open it there's nothing.  Map Loading has no maps, events have no events, etc. Is there something crucial I'm missing there?

595
Ah? I could never figure out how to load my ROM into it though. Is there something so plain I'm missing here? Also the PM has been sent (on romhacking.net).

596
Ah, that is interesting to know, unfortunately FF4Tools no longer work for me since Phoenix's site has gone offline and I could never get the actual tool to work independent of that.

Sure, I'll send you the newest WIP patch in PM then.

597
I had the same fear originally Chillyfeez, then I noticed that enemy PC's had their palette set to their matching Ally ID, I changed that and saw that it did change as expected but yeah... your idea for a normal enemy Ramuh is Much more preferred! If you could assist me with that, it would be very appreciated.

Yes, much of what you suggested I tried as well, I also took the extra step by removing what I felt were unneccessary adornment (Three Stacks of firewood in a place without a fireplace is rather silly) Not sure what you mean extending the East Wing of Fabul 1F though.

I didn't want to really touch the dungeons though since a later goal of Combat Boost, when fully done with the gameplay portion will be to modify normal dungeon maps and make them into different arrangements.

That said, I have no idea how to tell how much space I saved, heh.

598
Haha! Well this became a little unexpected for me, probably inspired because of the time of the year...

So the optional dungeon that replaces the hidden Troian Island Chocobo Forest is now "Everwhite Woods" (except green in battle and the world map.) and I wanted a boss, so I started combing the internet for obscure meanings of "frost" when I found "Black Frost" which was originally going to be the name of the boss then I saw that Black Frost was related to an old Russian god name Korochun, and a little more research showed that a figure named Ded Moroz (Literally translated to Grandfather Frost and hey! Eight letters!)) was the spirit of winter in Russia. He was an old sorcerer who would kidnap children and freeze them to death with a magical staff unless their parents paid a ransom of a gift. In modern times this character is shown as being reformed and now basically acts like Russian Santa Claus...

So... the boss of this optional dungeon is, for all intents and purposes, Santa Claus. Now I just need to find a suitable enemy sprite... when I had him as Black Frost I just used a Zemus Shade as his sprite, but that no longer seems appropriate... this would probably be the best time for a palette swapped Ramuh, if I could get that to work.

Hmm, maybe I can use palette swaps of some characters... maybe use a palette swap of Tellah or FuSoYa to get the desired effect?

599
Glad to have you here SunGodPortal! Yes, this is the repository of FFIV hacking information on the web, without doubt. I would love to see what the Japanese side of the river has found though, Tomato might be willing to share that with us eventually.

600
Oh it turned out to be several maps that were mixed up, and some were just essentially destroyed. I  am 99% certain it was the 1.0 to 1.1 conversion which caused the problems as now everything looks perfectly fine.