Everything is explained properly below. :)
[This message has been edited by The SaiNt (edited August 14, 2001).]
Another great addition to the FF7RP!!
Now be a good boy and make a list of all the values.. :D
code:[/quote]
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 00LI 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 toFirst things first, you will have to understand that this section has 2 main sections:-
1. The Normal Enemy Definition
2. The Low Probability Enemy DefinitionThe 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:[/quote]
E1--+ E2--+ E3--+
00 60 00 58 00 48
For 4 enemies, you use these root values:-code:[/quote]
E1--+ E2--+ E3--+ E4--+
00 48 00 44 00 3C 00 28
For 5 enemies, you use these root values:-code:[/quote]
E1--+ E2--+ E3--+ E4--+ E5--+
00 3C 00 38 00 34 00 30 00 28
For 6 enemies, you use the following root values:-code:[/quote]
E1--+ E2--+ E3--+ E4--+ E5--+ E6--+
00 38 00 30 00 2C 00 28 00 24 00 20
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 01Assume that you decide to define 3 enemies, scene #264, scene #25, scene #255
The root values for 3 enemies arecode:[/quote]
E1--+ E2--+ E3--+
00 60 00 58 00 48
add 264,25 & 255 to those valuescode:[/quote]
E1--+ E2--+ E3--+
00 60 00 58 00 48
+09 01 25 00 FF 00
------------------
09 61 25 58 FF 48
------------------
Therefore your new values should becode:[/quote]
E1--+ E2--+ E3--+
09 61 25 58 FF 48
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:[/quote]
L1--+
00 20
For 2 enemies,code:[/quote]
L1--+ L2--+
00 10 00 10
For 4 enemies,code:[/quote]
L1--+ L2--+ L3--+ L4--+
00 08 00 08 00 20 00 10
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 BackgroundIt however does not define
Premptive AttackWhat 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
[This message has been edited by The SaiNt (edited August 14, 2001).]
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
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!
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
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
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. ^_^
I'm taking some time off :)
You can't expect to look at hex numbers all day.
Besides, I'm brushing up on MFC :)