Log in

View Full Version : How to select specific button after episode? SCENARIST


OnkelD
13th June 2003, 13:21
I am working on making my own Hellsing series DVD and ias a feature in the menu, I would like it to automatically select the next episode (highlight it... not select as in press and start).

I have been playing around with it for some time and have been unsuccessfull. Any and all help is welcome.

/OnkelD

MickeyNBK
15th June 2003, 16:38
One way of doing this would be:

Create (not copy) a menu for each episode (all being identicle but first button would be set differently for each). After the episode ends set the post command to the menu that highlights the next episode.

When creating each menu, make the episode you want it to start with button 1 and so on.

So if you have 3 episodes you would have

Main Menu_a - Episode 1 is also button 1
When Episode 1 ends it goes to
Main Menu_b - Episode 2 is set as button 1
When Episode 2 ends it goes to
Main Menu_c - Episode 3 is set as button 1

And so onpicture

oddyseus
17th June 2003, 11:54
Details such as this make me appreciate Maestro's versatility even more. :)

Tobytl
27th June 2003, 12:19
I didnt really care for Mickey's solution, no offense to him, but it just seemed like a waste to have repeating menus like that... So I took a day playing with things and making observations. This is how I did it.

Firstly this assumes several things:
1. The menu page in question is the root-menu of the CURRENT VTS, ie Both this menu and the episodes are in VTS_01 or VTS_12 or something else. Menus crossing VTS's are indeed possible and I just did one last night, but they complicate things exponentially.
2. Each ep is in its own PGC, I dont think this should be much of a problem as almost every series based disc I've seen comes this way. Even Hellsing if I remember correctly, maybe not, its been awhile since I seen those.

Anyway, here we go!

In the post command of a particular episodes pgc assign GPRM5 to the button number of the desired selected button (ie the next ep). So say episode 1 is button 1 and episode 2 is button 2 put 2 into GPRM5. Then add a "Jump to PGC in System Space" and select Root-menu. In the pre command of the root-menu add these commands:
Set to GPRM0,0
Set Highlighted Button=1
Set to GPRM5, Multiply 1024
Set Highlighted Button=GPRM5, compare GPRM5 != GPRM0
Set to GPRM5,0

Now either through the Simulation window or the track editor get to that particular highligh play's property page and set Forced Selected Button # to nonexistent. I know the set button=1 command looks frivolous and unneeded but its just a safety. With the forced button turned off SPreg8, the one that tells what button is selected, doesnt get reset upon entering the menu item, so if button three was selected on a previous menu 3 will be selected upon entering this one. And the 1024 thing, for some reason when setting a button using a GPRM it needs to be a multiple of 1024, the button number times 1024 to be exact. Oh and it doesnt have to be GPRM5, it can be any of them you want... And the whole GPRM0 thing is simply becuase SHB wont allow compares by immediate values, and I dont know what would happen if you set a button position to 0...

This is a simplified version of what I did. But it gets the jist across. Any elaboration will most likely be up to you, as I 'm not to good at explaining things as you can see by the jumbled mess above :). But heres one tidbit, If your menu page is NOT the root-menu, you can simply add a check in the pre command of the root-menu, something like "If (GPRM5 != 0) LinkPGCN desiredmenu" should do it, with those pre commands above transfered to desiredmenu of course.

Well, anyway, if you still cared, hope that helped at least a little.