07th-mod / higurashi-dlls

Decompiled source code of Assembly-CSharp.dll.
2 stars 1 forks source link

Centered text #20

Open enumag opened 6 years ago

enumag commented 6 years ago

On PS3 certain lines are written in the center of the screen instead of the bottom. For example some of Keiichi's inner monologues and police reports.

An example how it looks can be found here.

Orian has a list of places where this appeared on PS3 so we can easily change the scripts if this gets implemented.

@idealpersona What do you think? I'm not sure how limited are the capabilities of our engine regarding things like this. It might work in a similar way as ModEnableNVLModeInADVMode I think but I have no idea if we can actually align the text to center.

ghost commented 6 years ago

I think this can work. The text renderer TMPro has TextAlignmentOptions that look like they would suit this need. And I'd agree it looks like we could reuse the ADV mode stuff.

ghost commented 5 years ago

Started looking around at this again. Can I assume there won't be a need to support the ADV-mode speaker names in this mode? I'm picturing it being yet another "mode" like ADV and NVL, but in a temporary scope. The script might look like this:

ModCenterWindow();
OutputLine(...
...
ModResetWindow();

And the reset command restores your previous setting (NVL/ADV). And we would probably want some mechanism to disable the F1 key in the meantime. But this is just me looking at that one example. Are there other positional cases that not only occur but that we care to replicate? Ping @orian34 since he's probably pretty familiar with this now (check out the youtube video for what this is referring to).

orian34 commented 5 years ago

Only centered text is used. If that's your question

ghost commented 5 years ago

More like is that example in the video representative of all cases to the point where I could program this thing to roughly match how it appears in that example? But also one of my other questions above was Can I assume there won't be a need to support the ADV-mode speaker names in this mode? @DoctorDiablo would this be useful for console arcs?

orian34 commented 5 years ago

Yes.