Edit scoreboards

Everything about Modding TE2013, from new courts to the modifications of the player & tournament bases (and including all the bugs they may be creating ! ;) )
Forum rules
Speak English in 1st page of topics, and don't hijack topics, troll, use profanities nor insults

Edit scoreboards

Postby letuan1998vn » 20 Feb 2018, 07:00

Hi Manutoo
I'm just wondering how to change the format of some information like match time, 1st serve in, set score,... in match stat board? :thinking:
Something likes this:
Image
Thank you in advance! :jap:
User avatar
letuan1998vn
crazy of the little yellow ball
crazy of the little yellow ball
 
Messages: 332
Gaming Since: 01 Sep 2015, 07:57
Location: Hanoi - Viet Nam

Re: Edit scoreboards

Postby manutoo » 20 Feb 2018, 09:15

Hello,

no, you can't change any of that, except for the winner name.

Ask me again when the Alpha of TE4 will be ok and I'll try to make some of this stuff modifiable..! :yes:
ManuTOO
== Mana Games ==

>> I don't answer Private Message, except if it's really a _Private_ topic <<
User avatar
manutoo
Game Author
 
Messages: 18694
Gaming Since: 24 Jan 2004, 15:38
Location: France

Re: Edit scoreboards

Postby letuan1998vn » 20 Feb 2018, 10:00

manutoo wrote:Hello,

no, you can't change any of that, except for the winner name.

Ask me again when the Alpha of TE4 will be ok and I'll try to make some of this stuff modifiable..! :yes:

How can he make something like this?? :shock:
Image
User avatar
letuan1998vn
crazy of the little yellow ball
crazy of the little yellow ball
 
Messages: 332
Gaming Since: 01 Sep 2015, 07:57
Location: Hanoi - Viet Nam

Re: Edit scoreboards

Postby amg986 » 20 Feb 2018, 11:40

Which game is that one??
amg986
court crocodile
court crocodile
 
Messages: 20
Gaming Since: 01 Feb 2018, 13:02

Re: Edit scoreboards

Postby letuan1998vn » 20 Feb 2018, 11:41

amg986 wrote:Which game is that one??

It's TE13 dude!
User avatar
letuan1998vn
crazy of the little yellow ball
crazy of the little yellow ball
 
Messages: 332
Gaming Since: 01 Sep 2015, 07:57
Location: Hanoi - Viet Nam

Re: Edit scoreboards

Postby amg986 » 20 Feb 2018, 11:58

How did you get those scoreboards? and the not mirror ads in the back? :)

PS: You are playing with me, that´s TE4, I have never seen that 3d court ;)
amg986
court crocodile
court crocodile
 
Messages: 20
Gaming Since: 01 Feb 2018, 13:02

Re: Edit scoreboards

Postby letuan1998vn » 20 Feb 2018, 13:23

amg986 wrote:How did you get those scoreboards? and the not mirror ads in the back? :)

PS: You are playing with me, that´s TE4, I have never seen that 3d court ;)

This is Heinrich von Westphalen's scoreboard. He posted it here: http://www.managames.com/Forum/viewtopic.php?p=234771#p234771
User avatar
letuan1998vn
crazy of the little yellow ball
crazy of the little yellow ball
 
Messages: 332
Gaming Since: 01 Sep 2015, 07:57
Location: Hanoi - Viet Nam

Re: Edit scoreboards

Postby amg986 » 20 Feb 2018, 17:00

Hello Letuan,

Thanks for the info. I read the thread but it looks like he never released the scoreboard.

Aside from that, that 3d stadium looks nowhere close from the ones we have at the moment, the amount of people in court, the umpire chairt, the dust in the lines..., how can i have that into te2013?

Am i missing something?

EDIT: I found where the court came from, https://www.youtube.com/watch?v=7XpqFfzGfbw
amg986
court crocodile
court crocodile
 
Messages: 20
Gaming Since: 01 Feb 2018, 13:02

Re: Edit scoreboards

Postby letuan1998vn » 20 Feb 2018, 18:03

amg986 wrote:Hello Letuan,

Thanks for the info. I read the thread but it looks like he never released the scoreboard.

Aside from that, that 3d stadium looks nowhere close from the ones we have at the moment, the amount of people in court, the umpire chairt, the dust in the lines..., how can i have that into te2013?

Am i missing something?

EDIT: I found where the court came from, https://www.youtube.com/watch?v=7XpqFfzGfbw

Yeah, I think it's a 2d court from GST2.
User avatar
letuan1998vn
crazy of the little yellow ball
crazy of the little yellow ball
 
Messages: 332
Gaming Since: 01 Sep 2015, 07:57
Location: Hanoi - Viet Nam

Re: Edit scoreboards

Postby manutoo » 21 Feb 2018, 08:39

letuan1998vn,
several possibilities :
1) It's just a mockup done with Photoshop
2) He used a real-time memory modifier to change the format of the numbers
3) I forgot about some stuff about the TE2013 engine, but I doubt it as the stats exportation to the menus is pretty simple... :P
ManuTOO
== Mana Games ==

>> I don't answer Private Message, except if it's really a _Private_ topic <<
User avatar
manutoo
Game Author
 
Messages: 18694
Gaming Since: 24 Jan 2004, 15:38
Location: France

Re: Edit scoreboards

Postby letuan1998vn » 21 Feb 2018, 13:10

manutoo wrote:3) I forgot about some stuff about the TE2013 engine, but I doubt it as the stats exportation to the menus is pretty simple... :P

Can you show me that? ':D ':D
User avatar
letuan1998vn
crazy of the little yellow ball
crazy of the little yellow ball
 
Messages: 332
Gaming Since: 01 Sep 2015, 07:57
Location: Hanoi - Viet Nam

Re: Edit scoreboards

Postby manutoo » 22 Feb 2018, 08:52

Here :

Code: Select all
void CCourt::CStat :: PrintPercent(char *Section, char *Entry, float Part, float Total)
{   SE;
   sprintf(m_Buf + m_Index, "%g / %g = %d%%", Part, Total, GetPercent(Part, Total));
   Ini->SetValue(Section, Entry, m_Buf + m_Index);
   GetNewIndex();
}

void CCourt::CStat :: Save(char *Section, CStat &Other)
{   SE;
   Section = CMenuManagerSys::GetIniText(Section);

   m_Index = 0;
   ClearMem(m_Buf);
   PrintPercent(Section, "1stServe", m_Stat[e_MS_1stServeIn].GetFloatChecked(), m_Stat[e_MS_1stServeTotal].GetFloatChecked());

   Ini->SetValue(Section, "FastestServe", (int) (m_Stat[e_MS_FastestServe].GetFloatChecked() + 0.5f));
   Ini->SetValue(Section, "FastestServeUs", (int) (m_Stat[e_MS_FastestServe].GetFloatChecked() * 0.621f + 0.5f));

   float AvrSpeed = m_Stat[e_MS_1stServeIn]
                  ? (m_Stat[e_MS_Avr1stServeSpeed] / m_Stat[e_MS_1stServeIn]).GetFloatChecked()
                  : 0.0f;
   Ini->SetValue(Section, "Avr1stServeSpeed", (int) (AvrSpeed + 0.5f));
   Ini->SetValue(Section, "Avr1stServeSpeedUs", (int) (AvrSpeed * 0.621f + 0.5f));

   AvrSpeed = m_Stat[e_MS_2ndServeIn]
            ? (m_Stat[e_MS_Avr2ndServeSpeed] / m_Stat[e_MS_2ndServeIn]).GetFloatChecked()
            : 0.0f;
   Ini->SetValue(Section, "Avr2ndServeSpeed", (int) (AvrSpeed + 0.5f));
   Ini->SetValue(Section, "Avr2ndServeSpeedUs", (int) (AvrSpeed * 0.621f + 0.5f));

   Ini->SetValue(Section, "Ace", m_Stat[e_MS_Ace].GetFloatChecked());
   Ini->SetValue(Section, "DoubleFault", m_Stat[e_MS_DoubleFault].GetFloatChecked());

   PrintPercent(Section, "Win1stServe", m_Stat[e_MS_1stServeWon].GetFloatChecked(), m_Stat[e_MS_1stServeIn].GetFloatChecked());
   PrintPercent(Section, "Win2ndServe", m_Stat[e_MS_2ndServeWon].GetFloatChecked(), GetFloatChecked(m_Stat[e_MS_2ndServeIn] + m_Stat[e_MS_DoubleFault]));

   Ini->SetValue(Section, "Winner", m_Stat[e_MS_Winner].GetFloatChecked());
   Ini->SetValue(Section, "UnforcedError", m_Stat[e_MS_UnforcedError].GetFloatChecked());

   PrintPercent(Section, "BreakPoint", m_Stat[e_MS_BreakPointConverted].GetFloatChecked(), m_Stat[e_MS_BreakPointPlayed].GetFloatChecked());
   PrintPercent(Section, "NetApproach", m_Stat[e_MS_NetApproachWon].GetFloatChecked(), m_Stat[e_MS_NetApproachTotal].GetFloatChecked());

   Ini->SetValue(Section, "TotalPoint", m_Stat[e_MS_TotalPoint].GetFloatChecked());

   static char *RallyLength[] = { "ShortRallyWon", "MediumRallyWon", "LongRallyWon" };
   Ini->SetValue("Intern", "ShortRallyLength", es_MS_ShortRallyStrike);
   Ini->SetValue("Intern", "MediumRallyLength", es_MS_MediumRallyStrike);

   ForLoopD (i, 3)
   {
      PrintPercent(Section, RallyLength[i], m_Stat[e_MS_ShortRallyWon+i].GetFloatChecked(),
                  GetFloatChecked(m_Stat[e_MS_ShortRallyWon+i] + Other.m_Stat[e_MS_ShortRallyWon+i]));
   }

   Ini->SetValue(Section, "SetPointSaved", m_Stat[e_MS_SetPointSaved].GetFloatChecked());
   Ini->SetValue(Section, "MatchPointSaved", m_Stat[e_MS_MatchPointSaved].GetFloatChecked());
   Ini->SetValue(Section, "ReturnWinner", m_Stat[e_MS_ReturnWinner].GetFloatChecked());

   int NbPointPlayedOnReturn = Other.m_Stat[e_MS_1stServeIn] + Other.m_Stat[e_MS_2ndServeIn] + Other.m_Stat[e_MS_DoubleFault],
      NbPointLostOnReturn = Other.m_Stat[e_MS_1stServeWon] + Other.m_Stat[e_MS_2ndServeWon];
   PrintPercent(Section, "PointWonOnReturn", NbPointPlayedOnReturn - NbPointLostOnReturn, NbPointPlayedOnReturn);

   PrintPercent(Section, "GameWithBreakPoint", m_Stat[e_MS_BreakPointConverted].GetFloatChecked(), m_Stat[e_MS_GameWithBreakPoint].GetFloatChecked());

   Ini->SetValue(Section, "RallyLength", m_Stat[e_MS_TotalRally]
                                       ? 0.1f * (int)((m_Stat[e_MS_TotalRallyStrikes] * 10 + (m_Stat[e_MS_TotalRally] >> 1)) / m_Stat[e_MS_TotalRally])
                                       : 0.0f);
}


For TE4, I'll allow you to customize "%g / %g = %d%%" . :yes:
ManuTOO
== Mana Games ==

>> I don't answer Private Message, except if it's really a _Private_ topic <<
User avatar
manutoo
Game Author
 
Messages: 18694
Gaming Since: 24 Jan 2004, 15:38
Location: France

Re: Edit scoreboards

Postby letuan1998vn » 22 Feb 2018, 10:38

manutoo wrote:Here :
For TE4, I'll allow you to customize "%g / %g = %d%%" . :yes:

So that is TE4 or TE2013 code? If it's TE2013 code, where to put it in? :thinking:

I found another way to change the information. I added images to hide the overflow. :fear:

Image


By the way, can you add information like the graph to TE4 or TE2013 as possible? :annoyed:

Image
Image
Last edited by letuan1998vn on 22 Feb 2018, 14:28, edited 1 time in total.
User avatar
letuan1998vn
crazy of the little yellow ball
crazy of the little yellow ball
 
Messages: 332
Gaming Since: 01 Sep 2015, 07:57
Location: Hanoi - Viet Nam

Re: Edit scoreboards

Postby amg986 » 22 Feb 2018, 11:46

letuan1998vn, amazing work! can't believe you are that far off already, are you releasing those soon? :)

by the way manotoo, i love tennis elbow, and i really can't wait for te4, is there anyway financially or helping you with whatever you need to advance the works?...i really believe te4 on ps4, switch and xbox one would be a hit.
amg986
court crocodile
court crocodile
 
Messages: 20
Gaming Since: 01 Feb 2018, 13:02

Re: Edit scoreboards

Postby letuan1998vn » 22 Feb 2018, 11:53

amg986 wrote:letuan1998vn, amazing work! can't believe you are that far off already, are you releasing those soon? :)

by the way manotoo, i love tennis elbow, and i really can't wait for te4, is there anyway financially or helping you with whatever you need to advance the works?...i really believe te4 on ps4, switch and xbox one would be a hit.

I'm going to release it soon :D
User avatar
letuan1998vn
crazy of the little yellow ball
crazy of the little yellow ball
 
Messages: 332
Gaming Since: 01 Sep 2015, 07:57
Location: Hanoi - Viet Nam

Next

Return to Modding - TE2013

Who is online

Users browsing this forum: No registered users and 20 guests