Qhimm.com Forums

Miscellaneous Forums => Scripting and Reverse Engineering => Topic started by: The SaiNt on 2001-08-11 09:00:00

Title: Field Files again...
Post by: The SaiNt on 2001-08-11 09:00:00
*EDIT*

Everything is explained properly below.  :)

[This message has been edited by The SaiNt (edited August 14, 2001).]

Title: Field Files again...
Post by: Ged on 2001-08-11 11:31:00
Nice one!!!!

Another great addition to the FF7RP!!

Now be a good boy and make a list of all the values..  :D

Title: Field Files again...
Post by: The SaiNt on 2001-08-11 16:39:00
Ignore everything above.
I'm gonna post a 99% correct version soon  :)
Title: Field Files again...
Post by: Ged on 2001-08-11 17:37:00
/ignore above
Title: Field Files again...
Post by: The SaiNt on 2001-08-13 21:05:00
Here is the updated version of my section 7 documentation
In the field files, there is a section called Section 7.
All values are in hex unless stated.
An example of Section 7 will be listed here.
code:

LI--------+ BE ER E1--+ E2--+ E3--+ E4--+ E5--+ E6--+ L1--+ L2--+ L3--+ L4--+  
30 00 00 00 01 80 2D 61 2E 59 2F 49 00 00 00 00 00 00 30 11 30 11 00 00 00 00
[/quote]

LI Length Indicator (Always 30 00 00 00)
BE Battle Enable (00=Disable 01=Enable)
ER Encounter Rate (01=Highest FF=Lowest)
E1 Enemy 1 Type, etc
L1 Lower Probability Enemy, etc


Any Value between 00 and FF will work perfectly well.
According to the debug data, setting the value of E1 to

First things first, you will have to understand that this section has 2 main sections:-
1. The Normal Enemy Definition
2. The Low Probability Enemy Definition

The Low Probability enemies have a very low chance of being met, about 1/20 of the usual(approximate)
The second part you need to understand is that you have to understand how many enemies you want to define first.

To define 3 enemies, you need to use these root values:-

code:

E1--+ E2--+ E3--+
00 60 00 58 00 48
[/quote]
For 4 enemies, you use these root values:-
code:

E1--+ E2--+ E3--+ E4--+
00 48 00 44 00 3C 00 28
[/quote]
For 5 enemies, you use these root values:-
code:

E1--+ E2--+ E3--+ E4--+ E5--+
00 3C 00 38 00 34 00 30 00 28
[/quote]
For 6 enemies, you use the following root values:-
code:

E1--+ E2--+ E3--+ E4--+ E5--+ E6--+
00 38 00 30 00 2C 00 28 00 24 00 20
[/quote]
After defining how many enemies you want to add, you will have to determine which scene you want to use.
AFAIK, there are 1024 different scenes. I haven't tested all of them, so I can't tell you which is which.

Now let's say you decide to choose Scene #264
How do you define 264 in hex?
You use this:-
09 01

Assume that you decide to define 3 enemies, scene #264, scene #25, scene #255
The root values for 3 enemies are

code:

E1--+ E2--+ E3--+
00 60 00 58 00 48
[/quote]
add 264,25 & 255 to those values
code:

 E1--+ E2--+ E3--+
 00 60 00 58 00 48
+09 01 25 00 FF 00
------------------
 09 61 25 58 FF 48
------------------
[/quote]
Therefore your new values should be
code:

E1--+ E2--+ E3--+
09 61 25 58 FF 48
[/quote]
The same process applies for the Low Probability Section as well.
The only difference is that this section uses different root values.

For 1 enemy,

code:

L1--+
00 20
[/quote]
For 2 enemies,
code:

L1--+ L2--+
00 10 00 10
[/quote]
For 4 enemies,
code:

L1--+ L2--+ L3--+ L4--+
00 08 00 08 00 20 00 10
[/quote]
Please note that the different scenes define most aspects of battle.
Initial Camera position
Front Attack
Back Attack
Attack from both sides
Side Attack
Amount of Enemies
Enemy HP
Enemy MP
Battle Scripting
Battle Background

It however does not define
Premptive Attack

What I'm trying to say is with knowledge on how to manipulate this section, you can only choose from the predefined battles.
The predetermined battles are defined somewhere else and I have no idea where they are, so don't ask me.  :)
Any questions?
I hope at least some people understand what I'm trying to say

Title: Field Files again...
Post by: Skillster/RedSarg99 on 2001-08-14 02:03:00
yea i get u, of course my Hex skills will get me lost, but i fully understand :P
Title: Field Files again...
Post by: Anonymous on 2001-08-14 16:36:00
what exactly are the field files? like the background/text/etc files?
Title: Field Files again...
Post by: The SaiNt on 2001-08-14 17:12:00
There's no clearcut way to define the field files.
The field files are individual files in FF7 that define different locations.

[This message has been edited by The SaiNt (edited August 14, 2001).]

Title: Field Files again...
Post by: Skillster/RedSarg99 on 2001-08-15 01:11:00
wheres that list of fights gone, u put it there earlier and edited it out! i need that list back as a quick reference.
so far 99 FF puts u up against bizarro sephiroth, but u cant attack him  :P
Title: Field Files again...
Post by: The SaiNt on 2001-08-15 10:36:00
The reason I took it out is because it doesn't apply.

Don't you see?
If you ever make a list, you will have to base it on the base values.

So for example, you should define Scene 1
as 01 01

And not as 99 FF or such since those values include the base values and if anyone uses a different base of values, all the values will no longer apply.

Why don't you guys just get fice to add this to cosmo so it will be easier for you guys to edit it?

On a side note, I'm working on Section 2(3D Camera) and Section 8(Background Layer Manipulation I think) now

Title: Field Files again...
Post by: Skillster/RedSarg99 on 2001-08-15 14:11:00
i knew what u meant from the start man, chill
what i meant was a needed some "quick" refrences to test out my team  :P like ultima weapon.
basically ur saying theres a base emeny number plus a scene (or situation) number = final memory value. even if fice DID add in the ability to change the values inside cosmo, i still find editing the memory values in real time more easier like we discussed before, but hell. FICEDULA!! put some perlimanery support in there!!!
Title: Field Files again...
Post by: ficedula on 2001-08-15 22:27:00
OK, you take over all the coding I'm doing in the Remake project and I'll have time to work on Cosmo  :D

Or code a Cosmo plugin up yourself, that'd work too  :)

Seriously, I WILL get back to working on Cosmo ... eventually ... but I far prefer coding the Remake now instead!

Title: Field Files again...
Post by: Skillster/RedSarg99 on 2001-08-16 13:20:00
hey i understand, i was a programmer b4  :P
as long as ur enjoying ur work keep at it.
b4 u get writers block
Title: Field Files again...
Post by: Sephiroth 3D on 2001-08-17 13:58:00
So Saint... Does figuring out Section 2 mean I'll get all my camera info? *crosses fingers and begins to pray*  :wink:

Sephiroth 3D

"One who seeks knowledge from another person, doesn't learn half as much as the one who seeks knowledge for himself." - Vincent Valentine, The Sephiroth Chronicals, Book 1: Resurrection

[email protected]  
Sephiroth 3D's Final Fantasy (Currently Offline)
 Sephiroth 3D's Promised Land

Title: Field Files again...
Post by: The SaiNt on 2001-08-17 18:14:00
I guess it should.
However, something else has caught my attention.
Wait for my next post ^^
Title: Field Files again...
Post by: Skillster/RedSarg99 on 2001-08-18 02:25:00
AAAH!!!
3d plane field co ordinates? fixed battle numbers? what could it be  :)
Title: Field Files again...
Post by: Anonymous on 2001-08-25 03:16:00
argh. so are field files located in like flevel or something? gimme some file names, people =)
Title: Field Files again...
Post by: Anonymous on 2001-08-25 03:40:00
I completely understand!!!! Both of my hex editors have expired tho. I need a new one. Suggestions? Iva already used Hex Workshop and Ultraedit.
Title: Field Files again...
Post by: Anonymous on 2001-08-25 03:42:00
hmmmmm maybe i dont. explain what a 'scene' is.
Title: Field Files again...
Post by: Sephiroth 3D on 2001-08-25 13:06:00
Scene: A particual shot, or camera angle that we see the game from, depicting a certian event. Other events in the same scene would normally require a different scene.

Example: The gates to Nimbelheim when Sephiroth, Cloud, and two soldiers walk through them, during Cloud's story.

Example 2: Cloud sees Sephiroth, Zack, himself and another soldier walk through Nimbelheim's gates, during Cloud's Lifestream experience.

Darkness: Why not find a crack or a serial?

Sephiroth 3D

"One who seeks knowledge from another person, doesn't learn half as much as the one who seeks knowledge for himself." - Vincent Valentine, The Sephiroth Chronicals, Book 1: Resurrection

[email protected]  
Sephiroth 3D's Final Fantasy (Currently Offline)
 Sephiroth 3D's Promised Land

Title: Field Files again...
Post by: halkun on 2001-08-25 15:53:00
The correct Square term for that module is a "drama" or "event"  not a scene. Makes more scense like that.

I don't mean to correct you, you have been doing more digging the the field files than the rest of us and deserve to call it whatever the hell you want. It's just I'd like to be on the same page when I dig around on the Japanese side of the net and find some obscure data relating to what we are talking about. ^_^

Title: Field Files again...
Post by: Anonymous on 2001-08-27 03:55:00
1: I dont know how
2: Im trying to keep my system legal.
Title: Field Files again...
Post by: Skillster/RedSarg99 on 2001-08-27 14:30:00
any progress saint?
Title: Field Files again...
Post by: The SaiNt on 2001-08-27 20:01:00
Not yet.  :)

I'm taking some time off  :)
You can't expect to look at hex numbers all day.
Besides, I'm brushing up on MFC  :)