Page 1 of 1

The language of the menu file of sam Megapatch 2013

PostPosted: 20 Aug 2014, 12:09
by marcodesalve
Hi guys!I wanted to ask: Where are created posts of "Breakpoint", "SetPoint" and "Match Point" in this code? I took the code from this file: hud_iwells11.menu.
Code: Select all
//=== Key points alert
item
{
   Image Ico/ATP1000/HudKeyPoints KeyPointsBarW KeyPointsBarH
   
   Pos /Intern/KeyPointsBarX /Intern/ScoreYu Left Center
   
   ShowIf /Intern/HudInfo 2 4
   ShowIf /Intern/IG_InfoS -0.999f 10.0f
   ShowIf /StatTeam1Set0/ScoreNum /StatTeam2Set0/ScoreNum 999999
}
item HudInfo
{
   CycleButton #Text /Intern/HudInfoOther /Intern/HudInfoNum
   
   Pos /Intern/KeyPointsBarX+KeyPointsBarTextX /Intern/ScoreYu+KeyPointsBarTextY Left Center
   Font KeyPointsBarF

   ShrinkToMaxPixel KeyPointsBarW-KeyPointsBarTextX

   OnAction
   {
      SlideCfg /Intern/HudInfo 0 100
   }
   
   ShowIf /Intern/HudInfo 2 4
   ShowIf /Intern/IG_InfoS -0.999f 10.0f
   ShowIf /StatTeam1Set0/ScoreNum /StatTeam2Set0/ScoreNum 999999

   UnSelectable
}

item
{
   Image Ico/ATP1000/HudKeyPoints KeyPointsBarW KeyPointsBarH
   
   Pos /Intern/KeyPointsBarX /Intern/ScoreYd Left Center
   
   ShowIf /Intern/HudInfo 2 4
   ShowIf /Intern/IG_InfoS -0.999f 10.0f
   ShowIf /StatTeam2Set0/ScoreNum /StatTeam1Set0/ScoreNum 999999
}
item HudInfo
{
   CycleButton #Text /Intern/HudInfoOther /Intern/HudInfoNum
   
   Pos /Intern/KeyPointsBarX+KeyPointsBarTextX /Intern/ScoreYd+KeyPointsBarTextY Left Center
   Font KeyPointsBarF

   ShrinkToMaxPixel KeyPointsBarW-KeyPointsBarTextX

   OnAction
   {
      SlideCfg /Intern/HudInfo 0 100
   }
   
   ShowIf /Intern/HudInfo 2 4
   ShowIf /Intern/IG_InfoS -0.999f 10.0f
   ShowIf /StatTeam2Set0/ScoreNum /StatTeam1Set0/ScoreNum 999999

   UnSelectable
}

Re: The language of the menu file of sam Megapatch 2013

PostPosted: 22 Aug 2014, 00:17
by Nigogu
Read this topic to understand scores better :arrow: viewtopic.php?f=29&t=4661

Re: The language of the menu file of sam Megapatch 2013

PostPosted: 23 Aug 2014, 09:37
by marcodesalve
I have read this tipic, but it don't explain nothing about the language. the terms that i don't understanda are:cyclebutton...stateam1set0 and 2set0..ecc...if i understand these terms I could edit the game