|
Pro-Pack 2 - Scripting - on CD, or downloadable individually |
|
|
|
|
Pro-Pack 2 Scripting Projects are available as a collection on CD, or downloadable individually.
Here are the details of each project - Click on the "Read More" icon to see a large image of the project graphical view
PLEASE NOTE: ADD TO CART LINKS ARE NOT YET ACTIVE
|
|
PP2-01 Play All Videos (a Play All for Tracks) |
|
|
|
|
|
This DVD is a simple playback suitable for a demo reel, spot reel or
similar. It contains a Splash page, which plays first, then it
navigates to one Menu which can select from the four available video
tracks (SEG1, SEG2, SEG3, SEG4).
• Each track, once selected from a menu button, will play and then
return to the same button on the menu (the default button on the
MAINMENU has not been set).
• If you want to always return to the SAME button on the MAINMENU, set the default button to that number.
• If you want to be able to play ALL tracks, use the 1M 4Trks Play All or 1M4Trks Play in Sequence template instead
Like this one? You can get more details about it from our store |
|
|
|
This DVD is a simple Menu plus four Additional Menus, with a special
Play All feature added. This allows you to play Graphics instead of
Video Clips. (Note that you NEED at least ONE track or Slideshow)
Like this one? You can get more details about it from our store
|
|
|
PP2-03 Random Track Script |
|
|
|
|
|
The Random Tracks Script continually cycles and picks a Track
to play at random.
Like this one? You can get more details about it from our store
|
|
|
PP2-04 Random Track Better |
|
|
|
|
|
The Random Tracks – Better Script continually cycles and picks a Track to play at random.
♦ This version has a more refined and error-trapped Random
Generator, with a larger “seed value” so it should be
bulletproof!
Like this one? You can get more details about it from our store
|
|
|
|
This Script continually cycles and picks a button number at random.
Check out the script to see the mechanism of the Random Number
Generator – this script plays Buttons instead of Menus or Tracks.
Like this one? You can get more details about it from our store
|
|
|
PP2-05a Random Buttons Better |
|
|
|
|
|
This Script continually cycles and picks a button number at random. This project is exactly the same as Project 05, but it uses the better
random Number Generator routine...
Like this one? You can get more details about it from our store
|
|
|
|
This Script is similar to 05 Random Buttons, but this Random script
selects a Marker from within the Video Track, bypassing the Menu
altogether.
Like this one? You can get more details about it from our store
|
|
|
The Script that is the Startup Action continually cycles and picks a MENU at random. While we're using MENUS in this one, but you could just as easily use TRACKS of Video.
This script can be used as a product catalog using GRAPHICS FILES for your products! It can also be extended to a largeer number of Menus
|
|
PP2-07a Random Menu Better |
|
|
|
|
This Project is the same as 07, but uses the Better Random Number
Generator scheme, so you should see fewer repeats of the same image.
There are some checks and balances built in that prevent
repeats – you should examine the script lines carefully to see
how this is done!
|
|
PP2-08 Script Plays Buttons |
|
|
|
|
This Scripting example shows scripts being used to select (and
highlight) a SPECIFIC BUTTON within a menu -each Script plays a
different, unique Button within the “ButtonsMenu”. |
|
PP2-09 Button Play 1 Script |
|
|
|
|
The Menu buttons each select a unique script (Script 1 - Script 8)
Each Script sets GPRM 0 to a unique value equal to the button that
selected it; We use this function in other projects, but its purpose here it to show you what can be done within a script. This GPRM value will show up in the Info Pane of the Simulator display, if it has been opened.
|
|
PP2-10 Button Plays 2 Scripts |
|
|
|
|
This Scripting example uses scripts in two places, and shows off
GPRM Assignment, Scripts playing Scripts, and Conditional Branching.
|
|
PP2-11 Button Plays Stories |
|
|
|
|
This Scripting example uses scripts in three places
First, each Menu button selects a unique script (Script 1 -Script 8);
That Script sets GPRM 0 to the numerical value of the button that
selected it (1-8); Each Script then calls the Play Marker Script, which
executes a series of If...Then tests to determine which button was
selected; this is known as “Conditional Branching”;
When it gets a match, it plays a Story from the Recipe Track. Each
story calls the 'Play Ending Script' when finished That script redirects navigation to the slide in the slideshow equal to the value of GPRM 0, again showing “Conditional Branching”. |
|
PP2-12 Buttons Menus Web (DVD@cess) |
|
|
|
|
This Scripting example uses scripts in two places and DVD@cess to
play web pages!!
BE SURE YOU TURN ON "USE @CESS" in the DVDSP Menu
>PREFERENCES>SIMULATION> "EnableDVD@cess". |
|
PP2-13 Non-advancing Buttons |
|
|
|
|
This script takes direct control of menu Buttons highlights, and returns
them to the button number that was originally pressed -in many cases,
DVD menus do this automatically, but in this case, by taking direct
control we can specify exactly which button will highlight when we
return, instead of leaving it to luck.
|
|
This script takes direct control of menu Buttons highlights, and returns
them to the button number ONE HIGHER than the one that was
originally pressed -in some cases, commercial DVDs have been
programmed to do exactly this... by taking direct control of the button
highlight with a Script, we can specify which button to highlight.
|
|
This project shows off using Scripts (with Random function) to select
Slideshows.
Using the Simple Random function, it selects a Random number
between 1 and 6, and plays a slideshow as determines by the
“If...Then” tests in this script. |
|
Again using the Simple Random Number Generator, this project
randomly selects a SLIDE within a slideshow, based on the value
stored into GPRM0 by the Random command “ran GPRM0, 6”; |
|
This is a method to Select Markers within Tracks using Scripting
instead of navigating using Buttons directly.
|
|
Similar to project 17, this is a variation for Selecting Stories within
Tracks using Scripts instead of buttons.
|
|
PP2-19 The “Add” Function |
|
|
|
|
This is a demo for using the ADD function, which is part of the SET
GPRM command. This can be used to perform Arithmetic during DVD
playback, but remember to watch out for underflow (< 0) and overflow
(> 65535) of numeric values.
|
|
PP2-20 “Greater Than” Or “Less Than” Function |
|
|
|
|
This script uses our advanced Random Number with Range Checking
scheme, but only tests for a value that’s Greater than or Less than 5 |
|
This is a demo for using the SUBTRACT (“sub”) scripting function,
which is part of the SET GPRM command.
|
|
This is a demo for using the MULTIPLY scripting function, which is part
of the SET GPRM command. |
|
PP2-23 Divide by Function |
|
|
|
|
This is a demo for using the DIVIDE scripting function, which is part
of the SET GPRM command.
|
|
PP2-24 File-enabled Menus (using DVD @ cess) |
|
|
|
|
This Project uses DVD @cess to open up an HTML file contained
on the DVD disc itself! (Of course, you know this will not work on a
Set-top box, only a DVD-enabled Computer)
|
|
PP2-25 Web-enabled Menus (using DVD @ cess) |
|
|
|
|
This Bonus Project uses DVD @cess to open up an HTML file from a web site. To do this, the DVD @cess property has been checked, and a valid
Web URL has been entered – Internet URLs use a syntax like this:
http://www.yourdomainname.tld (tld = .com, .org, .net, .mil, .edu.) to
target a specific file on a web site, use this:
http://www.yourdomainname.tld/filename.htm |
|
PP2-26 File-enabled Tracks (using DVD @ cess) |
|
|
|
|
This version uses Track Markers instead of Menus, but still calls Local HTML files from the DVD Disc, as in project 24. NOTE that in DVD
Studio Pro 2 and above, you can NOT enable a Track, but rather must
enable a MARKER. |
|
PP2-27 Web-enabled Markers (using DVD @ cess) |
|
|
|
|
This version uses Track Markers instead of Menus as in Project 25, but still calls Web pages from the Internet, as in project 25. NOTE that in DVD Studio Pro 2 and above, you can NOT enable a Track, but rather must enable a
MARKER |
|
PP2-28 File-enabled Track ends (DVD @ cess) |
|
|
|
|
If you would prefer your local HTML files to open at the END of a Track
playback instead of at the beginning, you could File-enable a Marker just before the end of the Video Track, OR you could use this
technique! |
|
PP2-29 Web-enabled Track ends (DVD @ cess) |
|
|
|
|
If you want your Internet Web pages to open at the END of a Track
playback instead of at the beginning, you could File-enable a Marker just before the end of the Video Track, OR you could use this
technique! |
|
PP2-30 Secret Code Project! |
|
|
|
|
The viewer gets two chances to get it right, or it will HALT playback on
conclusion of the second wrong entry. |
|
PP2-31 Alt Menu Return Project |
|
|
|
|
This project uses scripts and Variables to keep track of WHICH of the two menus generated the request to play the Track. Each Menu uses a
SetMenu script to establish a value in GPRM 0 that corresponds to the
number of the Menu you are currently in. The Original Menu sets the value to 1, and the Alternate Menu sets the value to 2.
|
|
Divide and dispose of Remainder - coming soon! |
|
PP2-33 Scripting Video Angles |
|
|
|
How This DVD Works:
|
|
|
|
This project uses Scripts and SPRMs to keep track of WHICH Video Angle in the Track will play.
- Each Menu Button links to a script containing a SetSystemStream command that sets the value of the Video stream to be played.
|
|
|
Sound Good? You can download this project right now, from our store |
| |
|
|
|
PP2-34 Scripting Audio Streams |
|
|
|
How This DVD Works:
|
|
|
|
This project uses Scripts and SPRMs to keep track of WHICH Audio Stream in the Track will play.
- Each Menu Button links to a script containing a SetSystemStream command that sets the value of the Audio stream to be played.
|
|
|
Sound Good? You can download this project right now, from our store |
| |
|
|
|
PP2-35 Scripting Subtitles |
|
|
|
How This DVD Works:
|
|
|
|
This project uses Scripts and SPRMs to keep track of WHICH Subtitle Stream in the Track will play.
- Each Menu Button links to a script containing a SetSystemStream command that sets the value of the Subtitle stream to be played.
|
|
|
Sound Good? You can download this project right now, from our store |
| |
|
|
|
PP2-35a Scripting "Sticky" Subtitles |
|
|
|
How This DVD Works:
|
|
|
|
This project uses Scripts and SPRMs to set and track the Subtitle Stream that the Track will play.
this project uses a method that sets and retains the selected Subtitle Stream number, so that the Stream selection will persist during playback from Track to Track.
ALL Tracks MUST contain the same number of Subtitle Streams, or the stream selection will fail to "stick"..
Specifically - If you set the Subtitle Stream to something OTHER than "0" (the first one), and play ANY Track or Slideshow that contains fewer Subtitle Streams than the selection, the stream selection will revert to an uncertain number (usually Stream zero).
The way to prevent this is to place dummy subtitle streams into any Track or Slideshow that contains unused stream areas; So if you have a Movie with 2 subtitles (0, 1), and a Special Features with only stream 0, you MUST put a dummy (textless) subtitle stream into the Special Feature sub stream 1 (the second one), or playing it will cause the Subtitle Selection to revert down to stream 0.
|
|
|
Sound Good? You can download this project right now, from our store |
| |
|
|
|
PP2-36 Selecting Angles by Button |
|
|
|
How This DVD Works:
|
|
|
|
This project uses MENU BUTTONs to directly select WHICH Video Angle in the Track will play.
- Each Menu Button links to the track and sets the value of the Video Angle to play.
|
|
|
Sound Good? You can download this project right now, from our store |
| |
|
|
|
|
PP2-37 Selecting Audio by Buttons |
|
|
|
How This DVD Works:
|
|
|
|
This project uses MENU BUTTONs to directly select WHICH Audio Stream in the Track will play.
- Each Menu Button links to the track and sets the value of the Audio Stream to play.
|
|
|
Sound Good? You can download this project right now, from our store |
| |
|
|
|
|
PP2-38 Selecting Subtitles by Button |
 | |
|
|