Setting the Time & Speed text positions for the 2D Court

Everything about Modding the game, from new courts to the modifications of the player & tournament bases (and including all the bugs they may be creating ! ;) )

Setting the Time & Speed text positions for the 2D Court

Postby manutoo » 17 Jun 2022, 10:26

Hello,

in the v0.65 (hopefully coming in a few days), you'll be able to edit the position of the Speed & Time texts.

To do so, add these lines to your Stadium.ini :
Code: Select all
[Boards2D]
SpeedPos   =   0.377 0.286
SpeedHeight   =   0.016
SpeedRot   =   0
SpeedUnitPos   =   0.379 0.303
SpeedUnitHeight   =   0.016
SpeedUnitRot   =   0
TimePos      =   0.626 0.304
TimeHeight   =   0.016
TimeRot      =   0


And under [Data], set this line to :
Code: Select all
Boards      =   Challenger


The "Pos" lines let you position the center of the text, in normalized X/Y texture coordinates (ie: from 0 to 1) ; to find these coordinates, position the mouse cursor like this in Photoshop :
2022-06 - TE4 - Get Board Coordinates.jpg
2022-06 - TE4 - Get Board Coordinates.jpg (90.57 KiB) Viewed 815 times

Note : if X/Y isn't in percentage, click on the + sign on their left.
Then divide the percentages shown by 100 and you'll get the normalized values ; in the case of the picture, it's 0.626 and 0.304.

For the "Height" lines, take the normalized height of the text zone ; to find it, select the text zone like this in Photoshop :
2022-06 - TE4 - Get Board Height.jpg
2022-06 - TE4 - Get Board Height.jpg (88.54 KiB) Viewed 815 times

Then divide H by 100 ; from the picture, this would give 0.016.

The "Rot" lines let you rotate each text around the vertical axis ; the value is in degree, so you'll usually have something from -45 to 45, with 0 being parallel to the court back wall.

If you need to adjust any value, you can save your Stadium.ini, leave the warm-up or the match, and then start it again.
ManuTOO
== Mana Games ==

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

Re: Setting the Time & Speed text positions for the 2D Court

Postby wilddog79 » 14 Jul 2022, 05:10

What changes we can reflect with these values?

SpeedUnitPos = 0.379 0.303
SpeedUnitHeight = 0.016
SpeedUnitRot = 0

I make this question because they don't mention what we can modify with these values.

Note: Does it exit some parameter or value for increase or decrease the size of the text?
wilddog79
crazy of the little yellow ball
crazy of the little yellow ball
 
Messages: 331
Gaming Since: 08 May 2017, 04:32
Location: Chile

Re: Setting the Time & Speed text positions for the 2D Court

Postby manutoo » 14 Jul 2022, 06:46

wilddog79,
1) SpeedUnit is "km/h" or "mph".

2) Raising the Height will raise the text size
ManuTOO
== Mana Games ==

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


Return to Modding - TE4

Who is online

Users browsing this forum: No registered users and 1 guest