TEM2 - Modding SDK

Everything about this tennis manager game

Re: TEM2 - Modding SDK

Postby manutoo » 25 Feb 2022, 07:00

Aleks10,
it's not currently possible, but I'll likely add that in a distant future. :fear:
ManuTOO
== Mana Games ==

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

Re: TEM2 - Modding SDK

Postby Aleks10 » 25 Feb 2022, 07:15

Okej thanks ;)
User avatar
Aleks10
crazy of the little yellow ball
crazy of the little yellow ball
 
Messages: 81
Gaming Since: 06 May 2013, 17:47

Re: TEM2 - Modding SDK

Postby wilddog79 » 17 Apr 2022, 23:42

In the point relationed with automatic line positioning for 2D courts, I don't understand when they talk about of the text where they say "the top left & bottom right corners of the lines ! To get these coordinates, divide the pixel's X by the width, and the pixel's Y by the height (so the coordinates will be normalized and thus will still work in case you resize the image afterwards). U1/V1 is the top left line corner, and U2/V2 is the bottom right line corner. For courts without a corridor, add this line : AutoNoCorridor = 1

I put all the text as context, but I can't understand how to relation this with the court.jpg.

Note: Could you be more specific explaining more clearly how to apply this information to adjust the camara, please?

It's a kind of spaghettis dish this text for me.
wilddog79
crazy of the little yellow ball
crazy of the little yellow ball
 
Messages: 297
Gaming Since: 08 May 2017, 04:32

Re: TEM2 - Modding SDK

Postby manutoo » 18 Apr 2022, 06:14

wilddog79,
2022-04 - Top Left & Bottom Right.jpg


Info box to get U/V (shown as X/Y in Photoshop) ; click the little cross left of X/Y to change the display mode :
Image

Try out and see how it works by yourself, it's pretty simple.
You do not have the required permissions to view the files attached to this post.
ManuTOO
== Mana Games ==

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

Re: TEM2 - Modding SDK

Postby wilddog79 » 24 Apr 2022, 04:54

Trying to understand and apply what you explained I have these values

[Camera]
AspectRatio = 16:9
AutoU1 = 0,6997167138810198
AutoV1 = 0,4048223350253807
AutoU2 = 1,11767578125
AutoV2 = 1,399746192893401

Inmediately after to apply these values I ran the game and crashed and closed.

Once I had the X and Y values I divided them by the top width and height and I get AutoU1 and AutoV1 (as I defined them), after these X and Y values I divided them by bottom width and the same height respectively, so I don't know if I made it good, what I was wrong.


Note: I think it's not pretty simple as you say, as example you'll see that it's not working for me, I see that you have a high knowledge of photoshop, computing code according to what I see and this must be piece of cake for you maybe, but I can't make it.
wilddog79
crazy of the little yellow ball
crazy of the little yellow ball
 
Messages: 297
Gaming Since: 08 May 2017, 04:32

Re: TEM2 - Modding SDK

Postby manutoo » 24 Apr 2022, 06:44

wilddog79,
you have to use dot instead of comma (ie: "0.4", not "0,4").
ManuTOO
== Mana Games ==

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

Previous

Return to Tennis Elbow Manager 2

Who is online

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