I think I've got the offensive zone! There will be another great side effect and that is a performance boost because more than half of the benches get out of the way with this tuning.
04001898 c43b8000 //Offense area -1100, -750
0400189c 44390000 //Camera bump 500, 740
So it works when the sides switch?
I should just lock the camera so it stops at the bottom left edge of the arena, right?
haven't tested that yet
now tuning the defensive side. It helps to the vision and all-around awareness tremendously!! Just awesome.
"I should just lock the camera so it stops at the bottom left edge of the arena, right?"
Definitely, like we tuned it yesterday, please.
So I got it how I really love it, but there is this jump on the blue line. Do you think you can make so the camera not going back (as it switches), but rather just "wait" until the player reaches the focus center and then continue?
Or any other idea what to do with it?
https://www.youtube.com/watch?v=zCy1XVtaiJs
Here are the values:
04001890 443b8000 //Defense area 1100, 200, 750
04001894 44390000 //Camera bump 400, 740
... or as the values of deffense/offense area are the same, what if we make these value half/half of the ice rink? Maybe if they meet exactly at centre there will be no jump?
Updated for max corner distance. Just replace all the values with yours and tweak the corner value if needed.
$Camera Pan test2
C284E524 00000014
D0010014 3CA08081
80C5BC98 2C060000
40820088 3CA0803A
80C5E2A4 2C060003
40820078 3CA08000
C0051880 C045188C
C0651888 EC0000B2
C0251890 EC2107F2
EC200824 FC01F040
41A00014 C0451894
EC4207F2 EC001028
48000024 C0251898
EC3F0072 EC200824
FC01F040 41A00010
C045189C EC4207F2
EC001028 FC400210
EC231028 FC40F050
FC4017AE EC6300B2
FC01182E D0040008
60000000 00000000
04001888 45228000 //Max side distance
0400188c C2c80000 //Ignore
04001890 44898000 //Defense area
04001894 43c80000 //Camera bump
04001898 C4898000 //Offense area
0400189c 43fa0000 //Camera bump
Should it just be a universal 740 offset?
hah, now this is amazing!

It really works it switch the defensive/offensive sides! And if you put in on "normal" it switches automatically as the period ends and teams switch the sides.
And a great bonus is that this intelligent "guessing" where the play should go affects even the custom close-ups/ zones cameras we already created!
https://www.youtube.com/watch?v=6_Xadfz8gbg
Hey that looks pretty good! If it actually breaks a custom camera, let me know.
I'm having the player getting cut off in the bottom right with it set to 740. Do you have other settings that are fixing that? I may need to use some vertical calculation to tone it down when the character is near the bottom.
so the left side is perfect!
The right side at the bottom is OFF, that might actually do that ugly jump? There something wrong there. We will find it tho
https://www.youtube.com/watch?v=KmWUWX4zOds
what are these lines?
04001888 45228000 //Max side distance
0400188c C2c80000 //Ignore