Page 1 of 39

scoreboard

PostPosted: 21 Jun 2011, 14:45
by manuelll
how can i change the position of the scoreboard ?

i want to move it a little more left

plaese help

Re: scoreboard

PostPosted: 22 Jun 2011, 20:39
by manuelll
help somebody

Re: scoreboard

PostPosted: 22 Jun 2011, 20:45
by haas192
manuelll wrote:help somebody

Hudboardscoresub and hudbordscore files are the good files for it, but I don't know the datas in it.

Re: scoreboard

PostPosted: 22 Jun 2011, 20:54
by kersou
Hello,

You have to modify the file hudabove.menu under Menu directory.
The position of the scoreboard is set with ScoreX and ScoreY.
Replace:
Code: Select all
def   ScoreX   600

by (for example):
Code: Select all
def   ScoreX   580

Coordinates are scaled from 640x480.
Take a look at menu.doc under the same directory

Re: scoreboard

PostPosted: 22 Jun 2011, 21:53
by andy09
kersou wrote:Hello,

You have to modify the file hudabove.menu under Menu directory.
The position of the scoreboard is set with ScoreX and ScoreY.
Replace:
Code: Select all
def   ScoreX   600

by (for example):
Code: Select all
def   ScoreX   580

Coordinates are scaled from 640x480.
Take a look at menu.doc under the same directory


Thank you! :D you can also change the font color? Bone black, blue, orange, etc..

Re: scoreboard

PostPosted: 22 Jun 2011, 22:52
by torto14
Yes, if you look at the very top of the hudabove.menu you can define the colours of fonts.

Re: scoreboard

PostPosted: 23 Jun 2011, 00:35
by manuelll
thank you kersou !!!

can i change also the size of the scoreboard ?

Re: scoreboard

PostPosted: 23 Jun 2011, 04:09
by andy09
torto14 wrote:Yes, if you look at the very top of the hudabove.menu you can define the colours of fonts.


but as we do?

Re: scoreboard

PostPosted: 23 Jun 2011, 08:34
by kersou
manuelll wrote:thank you kersou !!!

can i change also the size of the scoreboard ?


Yes you can (I succeeded!) but it's more complicated.
You need to adapt more data in the same file : all positions and sizes of scoreboard items.
It takes time to explain : I try later

Re: scoreboard

PostPosted: 23 Jun 2011, 08:46
by kersou
andy09 wrote:but as we do?


The font is defined with this following type of lines:
Code: Select all
Font   Default   HugeChars 9 12 [b]0xFFFFFFFF [/b]0 Circle Center Center Shadow LH1.15

The color (and transparancy) is given with an hexadecimal code.
0xFFFFFFFF stands for white colour (because of the last 6 F)
0xFFFF0000 is red i think
Look at menu.doc and web
For example:
Look at http://www.dsi.univ-paris5.fr/cocoul3t.html

Re: scoreboard

PostPosted: 27 Jun 2011, 00:58
by rogerfed1
Hi, Where i have to change for i have the "hudinfoboard" without transparency?
Thanks

Re: scoreboard

PostPosted: 28 Jun 2011, 23:21
by kersou
rogerfed1 wrote:Hi, Where i have to change for i have the "hudinfoboard" without transparency?
Thanks

I think (I'm not sure) that you have to modify the picture "Tennis Elbow 2011\menu\art\ico\hudinfoboard.tga" with your favorite photo editor.
Set the background to be not transparent and the new pict must have the same size of the original pict (before any modif do a back-up)

Re: scoreboard

PostPosted: 29 Jun 2011, 01:15
by Lewis321
the scoreboard in this position comes in my super mod for tennis elbow 2011
when you download it, replace the folders it says on the instructions and then we will have the scoreboard in this new position... :) :) :)

http://www.managames.com/Forum/topic29-4714.php

Re: scoreboard

PostPosted: 06 Jul 2011, 01:01
by rogerfed1
kersou wrote:I think (I'm not sure) that you have to modify the picture "Tennis Elbow 2011\menu\art\ico\hudinfoboard.tga" with your favorite photo editor.
Set the background to be not transparent and the new pict must have the same size of the original pict (before any modif do a back-up)


Thanks

How can i change the fonts color of the sets, to be differents to the games fonts color? beacuse i edit in the hudboardscoresub but change both.
Thanks :D

Re: scoreboard

PostPosted: 07 Jul 2011, 00:47
by kersou
Hello,

Try something like this for hudboardscoresub.menu (if someone has an easier solution, tell us...):

Code: Select all
Include Hud.Def
Include Menu.Def

Background #PreviousMenu

Font   Default   HugeChars 11 15 0xFFFFFFFF 0 Circle Center Center Shadow0
Font   SetF   HugeChars 11 15 0xFFFFFF5F 0 Circle Center Center Shadow0

ShrinkTo 0 0   // Don't shrink

def   x   ScoreDx 0.5

def   $s1   StatTeam1Set1
def   $s2   StatTeam2Set1

item
{
   Image Ico/ScoreBoardSet ScoreDx ScoreDy
   Pos 0 0 Left Up
   Font ScoreBgF

   OnRender
   {
      MulAddMulCfg /Intern/ScoreX 1 -ScoreDx
   }

   ShowIfNot $1 0
   ShowIf $2 0
}

add   ScoreDx   ScoreDx

item
{
   Image Ico/ScoreBoardSet ScoreDx ScoreDy
   Pos -x 0 Left Up
   Font ScoreBgF

   OnRender
   {
      MulAddMulCfg /Intern/ScoreX 1 -ScoreDx
   }

   ShowIf $2 1
}

add   x   1

item
{
   Text /$s1/Score
   Pos x ScoreYu
   Font SetF

   ShowIfNot $1 0
   ShowIf /Intern/CurrentSet $1 5
}

item
{
   Text /$s2/Score
   Pos x ScoreYd
   Font SetF
   
   ShowIfNot $1 0
   ShowIf /Intern/CurrentSet $1 5
}

item
{
   Text /$s1/Score
   Pos x ScoreYu

   ShowIf $1 0
   ShowIf /Intern/CurrentSet $1 5
}

item
{
   Text /$s2/Score
   Pos x ScoreYd
   
   ShowIf $1 0
   ShowIf /Intern/CurrentSet $1 5
}


Bye