it's hud.def
- Code: Select all
def InfoBarW 150
def InfoBarH InfoBarW 0.1667 // = 128 / 768
Font Default HugeChars 9 12 0xFFFFFFFF 0 Circle Center Center Shadow LH1.15
Font BigF HugeChars 15 20 0xFFEFEFAF 0x4F000000 Circle Center Center
Font IcoF HugeChars 11 14 0xFFFFFFFF 0 Center Center
Font Font3d HugeChars 1 1 0xFFFFFF5F 0 Circle Center Center Shadow0 FixedWidth0.75
//=============================================================================
//=== Numbers and categories of specific tournaments
//=============================================================================
// Tournament numbers during the year
def AustralianOpenNum 23
def RolandGarrosNum 221
def WimbledonNum 260
def USOpenNum 364
// Categories
def GdSlamCat 0
def ATP1000aCat 1
def ATP1000bCat 2
def ATP500aCat 3
def ATP500bCat 4
def ATP250aCat 5
def ATP250bCat 6
def ATPWTFCat 14
def DavisCupCat 15
def CHGRaCat 16
def CHGRbCat 17
def CHGRcCat 18
//=============================================================================
//=== List of the different available HUD
//=============================================================================
def HUD_DEF 0
def HUD_AO 10
def HUD_AO11 11
def HUD_AO12 12
def HUD_RG 20
def HUD_WIM 30
def HUD_USO 40
def HUD_ATP1000 50
def HUD_ATP500 60
def HUD_ATP250 70
def HUD_ATPWTF 80
def HUD_DAVISCUP 90
def HUD_OLG 100
def HUD_CHGR 110
// HUD selected for Training Club and Online Match among the values of the above list
def HUD_CHGR
and hud.above where I am supposed to add some lines with challengers
- Code: Select all
Include Hud.Def
Background #Game
WideScreen
ShrinkTo 0 0 // Don't shrink
item
{
OnEnter
OnAction
{
SetCfg /Intern/IG_InfoX -InfoBarW
UpdateCamera3d /Camera/Elevation /Camera/Aperture
SetCfg /Intern/SelectedHUD HUD_DEF
SetCfg /Intern/PlayerCfg /WorldTour/PlayerCfg
//=== Player Name Formatting Example
// f = First Name Untouched ; F = First Name Uppercase
// l = Last Name Untouched ; L = Last Name Uppercase
// 3. => Max of 3 Letters, add a point if shortened or followed by more text without space
// FormatTeamName /Intern/Team1s 1 "f3.L5."
// FormatTeamName /Intern/Team2s 2 "F l"
// // In-Game current formatting:
// FormatTeamName /Intern/Team1s 1 "f1.l3"
}
OnActionIf /Intern/GameType 1
{
SetCfg /Intern/PlayerCfg /TrainingClub/PlayerCfg
}
OnActionIf /WT_Intern/TrnNum AustralianOpenNum AustralianOpenNum
{
SetCfg /Intern/SelectedHUD HUD_AO
}
OnActionIf /WT_Intern/TrnNum RolandGarrosNum RolandGarrosNum
{
SetCfg /Intern/SelectedHUD HUD_RG
}
OnActionIf /WT_Intern/TrnNum WimbledonNum WimbledonNum
{
SetCfg /Intern/SelectedHUD HUD_WIM
}
OnActionIf /WT_Intern/TrnNum USOpenNum USOpenNum
{
SetCfg /Intern/SelectedHUD HUD_USO
}
OnActionIf /WT_Intern/TrnCat ATP1000aCat ATP1000bCat
{
SetCfg /Intern/SelectedHUD HUD_ATP1000
}
OnActionIf /WT_Intern/TrnCat ATP500aCat ATP500bCat
{
SetCfg /Intern/SelectedHUD HUD_ATP500
}
OnActionIf /WT_Intern/TrnCat ATP250aCat ATP250bCat
{
SetCfg /Intern/SelectedHUD HUD_ATP250
}
OnActionIf /WT_Intern/TrnCat ATPWTFCat ATPWTFCat
{
SetCfg /Intern/SelectedHUD HUD_ATPWTF
}
OnActionIf /WT_Intern/TrnCat DavisCupCat DavisCupCat
{
SetCfg /Intern/SelectedHUD HUD_DAVISCUP
}
OnActionIfNot /Intern/GameType 2 2
{
SetCfg /Intern/SelectedHUD HUD_TrainingClub
}
OnActionIf /WT_Intern/TrnCat CHGRaCat CHGRbCat CHGRcCat
{
SetCfg /Intern/SelectedHUD HUD_CHGR
}
Invisible
}
//======================== Management of Specific HUD
item HUD_AustralianOpen
{
SubMenuIf /Intern/SelectedHUD HUD_AO HUD_AO AO_HudAbove
}
item HUD_AustralianOpen11
{
SubMenuIf /Intern/SelectedHUD HUD_AO11 HUD_AO11 AO11_HudAbove
}
item HUD_AustralianOpen12
{
SubMenuIf /Intern/SelectedHUD HUD_AO12 HUD_AO12 AO12_HudAbove
}
item HUD_RolandGarros
{
SubMenuIf /Intern/SelectedHUD HUD_RG HUD_RG RG_HudAbove
}
item HUD_Wimbledon
{
SubMenuIf /Intern/SelectedHUD HUD_WIM HUD_WIM WIM_HudAbove
}
item HUD_USOpen
{
SubMenuIf /Intern/SelectedHUD HUD_USO HUD_USO USO_HudAbove
}
item HUD_ATP1000
{
SubMenuIf /Intern/SelectedHUD HUD_ATP1000 HUD_ATP1000 A1000_HudAbove
}
item HUD_ATP500
{
SubMenuIf /Intern/SelectedHUD HUD_ATP500 HUD_ATP500 A500_HudAbove
}
item HUD_ATP250
{
SubMenuIf /Intern/SelectedHUD HUD_ATP250 HUD_ATP250 A250_HudAbove
}
item HUD_ATPWTF
{
SubMenuIf /Intern/SelectedHUD HUD_ATPWTF HUD_ATPWTF AWTF_HudAbove
}
item HUD_DAVISCUP
{
SubMenuIf /Intern/SelectedHUD HUD_DAVISCUP HUD_DAVISCUP DAVIS_HudAbove
}
item HUD_Default
{
SubMenuIf /Intern/SelectedHUD HUD_DEF HUD_DEF DEF_HudAbove
}
item HUD_CHGR
{
SubMenuIf /Intern/SelectedHUD HUD_CHGR HUD_CHGR CHGR_HudAbove
}
//======================== Pause / IG_Message
item IG_Message
{
CycleButton #Text /Intern/IGM_Param1 /Intern/IGM_Param2
Pos 320 240
Font BigF
OnAction
{
SlideCfg /Intern/IG_Message 0 255
}
UnSelectable
ShowIfNot /Intern/IG_Message -1
}
//======================== Chat
item
{
SubMenu HudChatPreset
ShowIfNot /Intern/ShiftDown 0
ShowIfNot /NW_Intern/Status 0
}
item
{
SubMenu HudChat
ShowIf /Intern/MatchEnd 1
ShowIf /Intern/InReplay 0
ShowIf /Intern/IG_Message 0 !Or
ShowIf /NW_Intern/OtherPeerState 1 !Or
ShowIfNot /NW_Intern/Status 0
}
item
{
SubMenu HudChatAbove
ShowIfNot /Intern/MatchEnd 1
ShowIfNot /Intern/IG_Message 0
ShowIfNot /NW_Intern/OtherPeerState 1
ShowIfNot /NW_Intern/Status 0
}
//======================== Other peer state
item NW_OPState
{
CycleButton #Text /NW_Intern/Other
Pos 320 150
Font BigF
OnAction
{
SlideCfg /NW_Intern/OtherPeerState 1 255
}
UnSelectable
ShowIfNot /NW_Intern/OtherPeerState 0
ShowIf /Intern/InReplay 0
}
item NW_Cant
{
CycleButton #Text
Pos 320 200
Font BigF
OnAction
{
SlideCfg /NW_Intern/CantNum 0 10
}
UnSelectable
TimeAlpha /NW_Intern/CantTime 750
}
//======================== NW Trial Time
def IcoS 32
def x 30
def y IcoS 1.5
def dx 50
Font TimeF HugeChars 15 20 0xFF4F8FFF 0x7F000000 Circle Center Center Shadow
item
{
Text /NW_Intern/TrialTime
Pos 30 y
add x 50
Font TimeF
ShowIfNot /NW_Intern/TrialTime -100 -0.01
}
//======================== Network icons
item
{
Image Ico/NW_Slow IcoS IcoS
Pos x y
Font IcoF
add x IcoS 1.25
TimeAlpha /NW_Intern/TimeSlow 1000
}
item
{
Image Ico/NW_Drop IcoS IcoS
Pos x y
Font IcoF
add x IcoS 1.5
TimeAlpha /NW_Intern/TimeDrop 1000
}
item
{
Text NW_Resync
Pos 320 160
Font BigF
TimeAlpha /NW_Intern/TimeResync+500 2000
}
//======================== Ping
Font PingF HugeChars 9 12 0xFF4F8FFF 0x7F000000 Circle Right Center Shadow
item
{
Text NW_InPing /NW_Intern/InPing
Pos 145 20
add x 50
Font PingF
ShowIfNot /NW_Intern/Status 0
}
//======================== Strike Count
item
{
Text #%02.f /Intern/StrikeCount
Pos /Intern/InfoBoardX /Intern/InfoBoardY-2 Right Bottom
Font BigF
ShowIf /Menu/ShowStrikeCount 1
}
//======================== InfoBar
item
{
SubMenu HudInfo
Pos /Intern/IG_InfoX 20
ShowIf /Intern/IG_InfoS -0.999f 10.0f
ShowIfNot /Intern/HudInfo 2 4
}
//======================== SweetSpot
def IcoS 64
item SweetSpot01
{
CycleButton #ImageGI
Image Ico/SweetSpotGreen IcoS IcoS
Pos 8 /Intern/CarretY Left Down
Font IcoF
OnAction
{
SlideCfg /Intern/HudSweetSpot 0 2
}
OnRender
{
SetCfg /Intern/CarretY 282
MulAddMulCfg /Intern/CarretY 1 /Intern/SweetSpotSide -190
}
UnSelectable
TimeAlpha /Intern/TimeSweetSpot+2000 500
}
item SweetSpot02
{
Image Ico/SweetSpotOrange IcoS IcoS
Font IcoF
Invisible
TimeAlpha /Intern/TimeSweetSpot+2000 500
}
item SweetSpot03
{
Image Ico/SweetSpotRed IcoS IcoS
Font IcoF
Invisible
TimeAlpha /Intern/TimeSweetSpot+2000 500
}
//======================== Form
item HudFormLeftUp
{
Pos /Intern/WideBorderLeft 70
SubMenu HudFormLeft 2
ShowIfNot /InGame_p2/ShortForm 2
}
item HudFormLeftDown
{
Pos /Intern/WideBorderLeft 430
SubMenu HudFormLeft 1
ShowIfNot /InGame_p1/ShortForm 2
}
item HudFormRightUp
{
Pos /Intern/WideBorderRight 70
SubMenu HudFormRight 4
ShowIfNot /InGame_p4/ShortForm 2
}
item HudFormRightDown
{
Pos /Intern/WideBorderRight 430
SubMenu HudFormRight 3
ShowIfNot /InGame_p3/ShortForm 2
}
Somehow, it's not working while playling WT. So maybe someone has any advice what shall I do?