Qhimm.com Forums

Miscellaneous Forums => Scripting and Reverse Engineering => Topic started by: BrutalAl on 2006-10-22 03:17:54

Title: questions about inner workings of two things (FF7)
Post by: BrutalAl on 2006-10-22 03:17:54
Hello Board. I got two (well, kinda anyway) questions I’d love to get answered, dont be shy =)

First Q
In FF7 when revisiting Midgar on Disc 2 you’ll trigger a scene involving the turks in the first Midgar Subway Tunnel screen.
What I’d like to know is exactly what Cloud can (and will) walk into to trigger this scene. Is it one (1) invisible wall/area/box that covers the entire tunnel or is it two (2) walls/areas/boxes (one on each side of the pillar in the middle)?

Second Q

Would anyone know exactly why I’m able to dodge the textbox paralysis in this scene (data wise that is)?
http://www.youtube.com/watch?v=YytCBTInUJg
I’m rather certain it has something to do with the door opening at the very same time that I am hitting the action button (seeing how I’m incapable of doing it with the door already opened).
My guess would be that Cloud is paralyzed for an instance when he hits the door and is then automatically un-paralyzed when the door has been opened. So, if I hit the action button at the same time that I’m paralyzed by the door the texbox will appear (not capable of paralyzing me any more than I already am) and the next thing that happens is that the door un-paralyzes me with the textbox still there.
Title: Re: questions about inner workings of two things (FF7)
Post by: Synergy Blades on 2006-10-22 10:15:32
Q1: tunnel_6

(http://bin.mypage.sk/FILES/tunnel_6_sb.jpg)

These things are usually accomplished with a line (http://wiki.qhimm.com/FF7/Field/Script/Opcodes/D0_LINE) set up by script so that the event is triggered when it's crossed. Take your pick, since I don't remember the scene; I've put on the image the line I think if is from a quick glance at the script (entity: "tarks") but I'm not sure; if you want to be certain, you can do a more in-depth look at how the scripting for the scene works.

Q2: nivinn_1

Yes, I suspect you are right. There is an aforementioned line across the door, with this script triggering the following;

Code: [Select]
main:
CharMovable(Off) // Character cannot be moved
MenuAccess(Off)
if(!(<3>[14] & (1 << 4))) // Check bit 4 is *not* 1
{
Bit(<3>[14], 4, BIT_ON) // Enable bit 4 so we won't execute this twice (though it is set to 'off' elsewhere in script)
Sound(122, 64)
Request(M_ANIM[1], 2, REQ_SYNC) // Execute M_ANIM script 1, priority 2
}
CharMovable(On) // Character can be moved
MenuAccess(On)
return

Indeed, the door does paralyse and then unparalyse you so your theory seems sound.


I'd suggest playing with the fields yourself (http://fusionblue.sr34.co.uk/sb/meteor/) if there's any other queries.


[Edit] What does Zangan's line of dialog even mean, in the context of that sequence of events?
Title: Re: questions about inner workings of two things (FF7)
Post by: BrutalAl on 2006-10-22 16:12:56
Thanks.
Yes, I would like to play with the fields myself and take a more in-depth look at how the scripting for that scene works but I don’t have the PC version =/ (seems like Meteor only works with the PC version of the game, or am I wrong?).

As for Zagan's line that is what he says if you run back down from the Nibel Montains right after your group has departure.