Hello,
Firstly, I apologize for reviving this post so old. I'm trying to do my own victory screen, accordingly your advice below.
antimouse wrote:Manu,
I'm reviving this topic because I just tried what you mentioned above, but it didn't work. /WT_Intern/VictoryCup has value 1 (why?) and /WT_Intern/TrnNum is always -1, so I can't use it to select image. I used the following code:
- Code: Select all
item Victory01
{
CycleButton #ImageGI
Image Bg/Trophies/Cincinnati 640 480
Pos 320 240 Center Center
Font Bg
Unselectable
//Invisible
OnAction
{
SlideCfg /WT_Intern/VictoryCup 0 100
}
ShowIfNot /WT_Intern/TrnNum -1 0
}
And in global.def:
- Code: Select all
item Victory35 // 35 is the number of the tournament
{
Image Bg/Trophies/Halle 640 480
Invisible
}
manutoo wrote:antimouse,
did you set the VictoryCup value for each tournament in your Tour.ini ?
/WT_Intern/TrnNum :
0 => Country Cup
1 => Masters Cup
-1 => all other tournaments
But it doesn't work. Only appear a black picture. My wt_victory
item Victory01
{
CycleButton #ImageGI
Image Bg/Trophies/AustralianOpen 640 480
Pos 320 240 Center Center
Font Bg
Unselectable
//Invisible
OnAction
{
SlideCfg /WT_Intern/VictoryCup 0 100
}
ShowIfNot /WT_Intern/TrnNum -1 0
}
And my global.def
======== VictoryCup Screen
item Victory006 // 006 is the number of the tournament
{
Image Bg/Trophies/AustralianOpen 640 480
Invisible
}
I know that I have to set the VictoryCup value for each tournament in your Tour.ini, but I don't know If I did it correctly.
In my opinion, I have to change this line:
SlideCfg /WT_Intern/VictoryCup 0 100 to
SlideCfg /WT_Intern/VictoryCup 006 100But it doesn't work.
What am I doing wrong??
P.S. 006 is the number of tournament in Tour.ini
Thanks