Some problems when creating a 2D court

Everything about this tennis manager game

Some problems when creating a 2D court

Postby ORei » 21 Nov 2020, 10:11

I'm trying to put up a 2D court.
I activate DevMode to move the camera, but the shortcuts are the same as those to give tactical instructions (These cannot be changed) and they do not work correctly.
I change the camera shortcuts (Without DevMode activated I can't because the scroll of shortcuts does not allow to see the middle ones), I modify the camera, and save the camera values, I put them in Court_Mod.ini, but at the accessing the track does not have the same values, I think customFocal is saved with one point less

PD: For some reason the grass court does not work, the 2D image of the 3D field is always seen instead of the one I put in Court02
ORei
court crocodile
court crocodile
 
Messages: 25
Gaming Since: 03 Oct 2018, 17:26

Re: Some problems when creating a 2D court

Postby manutoo » 22 Nov 2020, 06:41

Hello,

could you post the values you put into your Court_Mod.ini ?

For the grass, you need 2 textures : court.jpg + court_used.jpg .
ManuTOO
== Mana Games ==

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

Re: Some problems when creating a 2D court

Postby ORei » 22 Nov 2020, 10:10

This is what I have:
Code: Select all
[Data]
Boards      =   // This turns off the Match Time & Speed boards

[Camera]
Angle      =   -16.3228197752185
CustomFocal   =   2.30787014961243
Dist      =   2968.73095703125
Height      =   859.098022460938
Focal      =   // This turns off the default Focal
AspectRatio   =   16:9

If I increase CustomFocal one point (3.30787014961243), it matches the camera I actually save.

I keep doing something wrong with the grass court, with court.jpg + court_used.jpg, now I see the black background
ORei
court crocodile
court crocodile
 
Messages: 25
Gaming Since: 03 Oct 2018, 17:26

Re: Some problems when creating a 2D court

Postby manutoo » 22 Nov 2020, 10:59

Could you send me your Court.jpg ? I'll try to set up the camera by myself to see where it fails... :fear:
ManuTOO
== Mana Games ==

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

Re: Some problems when creating a 2D court

Postby ORei » 22 Nov 2020, 12:31

sent
ORei
court crocodile
court crocodile
 
Messages: 25
Gaming Since: 03 Oct 2018, 17:26

Re: Some problems when creating a 2D court

Postby manutoo » 23 Nov 2020, 06:45

I got your email.

So I checked everything, and actually CustomFocal is only for cameras saved from TE2013 ; when done from TEM2, use the Focal entry instead. I just added this to the Modding SDK :
For a 2D court whose camera has been set within TEM2, use the "Focal" entry, not "CustomFocal". ie: once you have saved the camera and closed the game, take Tennis.ini -> [Camera] -> CustomFocal, and copy it to the Court.ini (or Court_Mod.ini) -> [Camera] -> Focal.

I also found & fixed for the next update the bug when using a Court_Used.jpg.

Side note : it's normal to see the shortcuts for the camera only when the DevMode is active, as it's possible to set the camera only when the DevMode is active... :)
ManuTOO
== Mana Games ==

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

Re: Some problems when creating a 2D court

Postby ORei » 23 Nov 2020, 19:32

Ok, perfect

Thank you!
ORei
court crocodile
court crocodile
 
Messages: 25
Gaming Since: 03 Oct 2018, 17:26


Return to Tennis Elbow Manager 2

Who is online

Users browsing this forum: Bing [Bot], CCBot [Bot] and 0 guests