trigger638
13th September 2004, 14:26
Im hoping there is a scripting god out there that can help me out with this. Im having trouble with importing a highlight play and then linking it to a menu button. Here is an example of what I am importing for the highlight play:
Item=Highlight Play
{
Data=
Start Time To Video=00:22:47:25
Resolution=NTSC
Drop Type=Drop frame
Start Time=00:00:00:00
Duration=00:00:02:01
Button Mode 1=Wide
Button Mode 2=Letter
Button Mode 3=Wide
Button Color 1=Button Color
{
Selection Color=Color
{
Color 1(E2)=14
Color 2(E1)=15
Color 3(P)=16
Color 4(Bg)=1
Selection Contrast=Contrast
{
Color 1(E2)=100 %
Color 2(E1)=100 %
Color 3(P)=100 %
Color 4(Bg)=0 %
}
Action Color=Color
{
Color 1(E2)=14
Color 2(E1)=15
Color 3(P)=16
Color 4(Bg)=1
Action Contrast=Contrast
Color 1(E2)=100 %
Color 2(E1)=100 %
Color 3(P)=100 %
Color 4(Bg)=0 %
}
}
Button Color 2=Button Color
{
Selection Color=Color
{
Color 1(E2)=3
Color 2(E1)=3
Color 3(P)=3
Color 4(Bg)=1
}
Selection Contrast=Contrast
{
Color 1(E2)=0 %
Color 2(E1)=0 %
Color 3(P)=0 %
Color 4(Bg)=0 %
}
Action Color=Color
{
Color 1(E2)=4
Color 2(E1)=4
Color 3(P)=4
Color 4(Bg)=1
}
Action Contrast=Contrast
{
Color 1(E2)=0 %
Color 2(E1)=0 %
Color 3(P)=0 %
Color 4(Bg)=0 %
}
}
Button Color 3=Button Color
{
Selection Color=Color
{
Color 1(E2)=14
Color 2(E1)=15
Color 3(P)=16
Color 4(Bg)=1
}
Selection Contrast=Contrast
{
Color 1(E2)=100 %
Color 2(E1)=100 %
Color 3(P)=100 %
Color 4(Bg)=0 %
}
Action Color=Color
{
Color 1(E2)=14
Color 2(E1)=15
Color 3(P)=16
Color 4(Bg)=1
}
Action Contrast=Contrast
{
Color 1(E2)=100 %
Color 2(E1)=100 %
Color 3(P)=100 %
Color 4(Bg)=0 %
}
}
Buttons=List
{
Item=Button
{
Name=VTS_05_H1_B1
Button Number=1
Color Index=1
Auto Action Mode=No
Highlight Area No.1=Rectangle
{
X1=14
Y1=11
X2=28
Y2=21
}
Highlight Area No.2=Rectangle
{
X1=14
Y1=68
X2=28
Y2=75
}
Left Button=VTS_05_H1_B1
Right Button=VTS_05_H1_B1
Up Button=VTS_05_H1_B1
Down Button=VTS_05_H1_B1
}
Item=Button
{
Name=VTS_05_H1_B2
Button Number=2
Color Index=1
Auto Action Mode=Yes
Highlight Area No.1=Rectangle
{
X1=441
Y1=296
X2=638
Y2=470
}
Highlight Area No.2=Rectangle
{
X1=441
Y1=282
X2=638
Y2=412
}
Left Button=VTS_05_H1_B2
Right Button=VTS_05_H1_B2
Up Button=VTS_05_H1_B2
Down Button=VTS_05_H1_B2
}
}
Screen Size=Size
{
X=720
Y=480
}
End Time of Select=00:00:00:00
Offset Number=0
# of Numerical Select Buttons=2
Forced Selected Button #=Nonexistent
Forced Activated Button #=Nonexistent
And then there is the Item Menu import for the above highlight:
Item=Menu
{
Name=VTS5_Title1_PGC1_PG7_C6_m1
Is Visible=Yes
Left Point=3360
Top Point=480
Linked Highlight=
Command List=List
{
Item=Command
{
Name=VTS5_Title1_PGC1_PG7_C6_m1_B1
Is Visible=Yes
Left Point=0
Top Point=0
Command=Nop
To Action=
}
Item=Command
{
Name=VTS5_Title1_PGC1_PG7_C6_m1_B2
Is Visible=Yes
Left Point=0
Top Point=0
Command={ Mov GPRM14, 4099 ; LinkTailPGC, button=0 }
To Action=
}
Here is the problem, the menu button is not linking with the highlight on the track. In other words the menu button in the senario editor is not linked to the track highlight. Interesting that the menu import has a location for Linked Highlight= , but I cannot seem to figure out what I can put there. I have already tried giving the highlight import a name in the Data= field and then placing the same name in the Linked Highlight= field, but on import I get a warning that the data= field I entered cannot be found.
I hope I am giving enough information here. I am looking to find out if I can somehow link the highlight track to the menu import so that no matter what I do to the highlight on the track, the button menu will be in sync.
Thanks in advance,
Trigger
(script snippets curtisy of Scenaid)
Item=Highlight Play
{
Data=
Start Time To Video=00:22:47:25
Resolution=NTSC
Drop Type=Drop frame
Start Time=00:00:00:00
Duration=00:00:02:01
Button Mode 1=Wide
Button Mode 2=Letter
Button Mode 3=Wide
Button Color 1=Button Color
{
Selection Color=Color
{
Color 1(E2)=14
Color 2(E1)=15
Color 3(P)=16
Color 4(Bg)=1
Selection Contrast=Contrast
{
Color 1(E2)=100 %
Color 2(E1)=100 %
Color 3(P)=100 %
Color 4(Bg)=0 %
}
Action Color=Color
{
Color 1(E2)=14
Color 2(E1)=15
Color 3(P)=16
Color 4(Bg)=1
Action Contrast=Contrast
Color 1(E2)=100 %
Color 2(E1)=100 %
Color 3(P)=100 %
Color 4(Bg)=0 %
}
}
Button Color 2=Button Color
{
Selection Color=Color
{
Color 1(E2)=3
Color 2(E1)=3
Color 3(P)=3
Color 4(Bg)=1
}
Selection Contrast=Contrast
{
Color 1(E2)=0 %
Color 2(E1)=0 %
Color 3(P)=0 %
Color 4(Bg)=0 %
}
Action Color=Color
{
Color 1(E2)=4
Color 2(E1)=4
Color 3(P)=4
Color 4(Bg)=1
}
Action Contrast=Contrast
{
Color 1(E2)=0 %
Color 2(E1)=0 %
Color 3(P)=0 %
Color 4(Bg)=0 %
}
}
Button Color 3=Button Color
{
Selection Color=Color
{
Color 1(E2)=14
Color 2(E1)=15
Color 3(P)=16
Color 4(Bg)=1
}
Selection Contrast=Contrast
{
Color 1(E2)=100 %
Color 2(E1)=100 %
Color 3(P)=100 %
Color 4(Bg)=0 %
}
Action Color=Color
{
Color 1(E2)=14
Color 2(E1)=15
Color 3(P)=16
Color 4(Bg)=1
}
Action Contrast=Contrast
{
Color 1(E2)=100 %
Color 2(E1)=100 %
Color 3(P)=100 %
Color 4(Bg)=0 %
}
}
Buttons=List
{
Item=Button
{
Name=VTS_05_H1_B1
Button Number=1
Color Index=1
Auto Action Mode=No
Highlight Area No.1=Rectangle
{
X1=14
Y1=11
X2=28
Y2=21
}
Highlight Area No.2=Rectangle
{
X1=14
Y1=68
X2=28
Y2=75
}
Left Button=VTS_05_H1_B1
Right Button=VTS_05_H1_B1
Up Button=VTS_05_H1_B1
Down Button=VTS_05_H1_B1
}
Item=Button
{
Name=VTS_05_H1_B2
Button Number=2
Color Index=1
Auto Action Mode=Yes
Highlight Area No.1=Rectangle
{
X1=441
Y1=296
X2=638
Y2=470
}
Highlight Area No.2=Rectangle
{
X1=441
Y1=282
X2=638
Y2=412
}
Left Button=VTS_05_H1_B2
Right Button=VTS_05_H1_B2
Up Button=VTS_05_H1_B2
Down Button=VTS_05_H1_B2
}
}
Screen Size=Size
{
X=720
Y=480
}
End Time of Select=00:00:00:00
Offset Number=0
# of Numerical Select Buttons=2
Forced Selected Button #=Nonexistent
Forced Activated Button #=Nonexistent
And then there is the Item Menu import for the above highlight:
Item=Menu
{
Name=VTS5_Title1_PGC1_PG7_C6_m1
Is Visible=Yes
Left Point=3360
Top Point=480
Linked Highlight=
Command List=List
{
Item=Command
{
Name=VTS5_Title1_PGC1_PG7_C6_m1_B1
Is Visible=Yes
Left Point=0
Top Point=0
Command=Nop
To Action=
}
Item=Command
{
Name=VTS5_Title1_PGC1_PG7_C6_m1_B2
Is Visible=Yes
Left Point=0
Top Point=0
Command={ Mov GPRM14, 4099 ; LinkTailPGC, button=0 }
To Action=
}
Here is the problem, the menu button is not linking with the highlight on the track. In other words the menu button in the senario editor is not linked to the track highlight. Interesting that the menu import has a location for Linked Highlight= , but I cannot seem to figure out what I can put there. I have already tried giving the highlight import a name in the Data= field and then placing the same name in the Linked Highlight= field, but on import I get a warning that the data= field I entered cannot be found.
I hope I am giving enough information here. I am looking to find out if I can somehow link the highlight track to the menu import so that no matter what I do to the highlight on the track, the button menu will be in sync.
Thanks in advance,
Trigger
(script snippets curtisy of Scenaid)