New way to add 2D courts in TE4 v0.54

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 ! ;) )

Re: New way to add 2D courts in TE4 v0.54

Postby wilddog79 » 17 Apr 2022, 06:50

manutoo wrote:wilddog79,
1) Do not put space in your folder names ; the game may not work well with them

2) You just use the new way to position lines.
But if you use the old way, IIRC, the camera parameters are saved in your Tennis.ini and you have to copy them to your Stadium.ini .

I couldn't understand the new way, then for it I cameback to the old way, but I don't found information in Tennis.ini, because according to what I checked, enabling DevMode in the "XKT" profile is possible adjust lines in the game, If I try to make the same in the "Tennis.ini" this doesn't enable the shortcuts, the shortcuts are enabled with XKT profile for me.
My problem is that doesn't save changes of modification of camera.
wilddog79
crazy of the little yellow ball
crazy of the little yellow ball
 
Messages: 297
Gaming Since: 08 May 2017, 04:32

Re: New way to add 2D courts in TE4 v0.54

Postby manutoo » 18 Apr 2022, 06:03

wilddog79,
if you use a profile, check the saved camera in it ; ie: in "Profiles\XKT.ini".
ManuTOO
== Mana Games ==

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

Re: New way to add 2D courts in TE4 v0.54

Postby wilddog79 » 18 Apr 2022, 07:06

manutoo wrote:wilddog79,
if you use a profile, check the saved camera in it ; ie: in "Profiles\XKT.ini".

I already checked that and it doesn't worked for me, then I'd prefer to use the new way, but the new one i can't understand it, would it be possible you can explain it clearer, step by step please? I'd appreciate it too many.
wilddog79
crazy of the little yellow ball
crazy of the little yellow ball
 
Messages: 297
Gaming Since: 08 May 2017, 04:32

Re: New way to add 2D courts in TE4 v0.54

Postby Mystery » 18 Apr 2022, 11:34

wilddog79 wrote:I already checked that and it doesn't worked for me, then I'd prefer to use the new way, but the new one i can't understand it, would it be possible you can explain it clearer, step by step please? I'd appreciate it too many.



If you are using the "XKT" profile, then you should refer to the [Camera] section in "Profiles\XKT.ini" instead of "Tennis.ini" because that only controls the "Default" profile.
If you are new to modding, remember to press the "save" shortcut key after you fix the lines before exiting the game. Then copy the four lines in [Camera] in XKT.ini to the corresponding section in your Stadium.ini (i.e. inside the Dallas folder). Should work alright! :yes:

Note: There is a bug if you have devmode turned on in this build. Make sure you switch devmode to "off" after you create the court and then change camera from "still" to any other and switch it back should fix the issue.
Titles: 11
· Grand Slams: Wimbledon '21
· Masters: Toronto '21, Cincinnati '21, Shanghai '21, Miami '22, Madrid '22

Current Ranking: #1
YouTube: https://www.youtube.com/c/Mystery_Yale
User avatar
Mystery
crazy of the little yellow ball
crazy of the little yellow ball
 
Messages: 93
Gaming Since: 24 Apr 2020, 11:29
Location: United States

Re: New way to add 2D courts in TE4 v0.54

Postby wilddog79 » 18 Apr 2022, 14:16

What you mention in the first point It's what I've made correctly, the situation is that the adjust of the camera manually became very complex for me this time, I mean, the first way.

In relation with your note, maybe it's my problem and due to that It's not saving and there're not reflected changes when I try to adjust camera.

Anyway, as I told you before, I'd prefer to use the second way to adjust camera, according what they say that's more recommended, and it's there where I'ven't understood.

Could you make some kind of tutorial when you can and have time please?
wilddog79
crazy of the little yellow ball
crazy of the little yellow ball
 
Messages: 297
Gaming Since: 08 May 2017, 04:32

Re: New way to add 2D courts in TE4 v0.54

Postby Roms » 18 Apr 2022, 15:01

wilddog79 wrote:What you mention in the first point It's what I've made correctly, the situation is that the adjust of the camera manually became very complex for me this time, I mean, the first way.

In relation with your note, maybe it's my problem and due to that It's not saving and there're not reflected changes when I try to adjust camera.

Anyway, as I told you before, I'd prefer to use the second way to adjust camera, according what they say that's more recommended, and it's there where I'ven't understood.

Could you make some kind of tutorial when you can and have time please?


which .ini do you use? the focal doesn't seem to be the right one.... :unsure: :jap: :jap:
Roms
crazy of the little yellow ball
crazy of the little yellow ball
 
Messages: 111
Gaming Since: 13 Oct 2018, 02:37

Re: New way to add 2D courts in TE4 v0.54

Postby wilddog79 » 18 Apr 2022, 17:11

I use the XKT.ini file of my profile, in this file i'm working, now talking about the second way to adjust the camera, I don't understand when they talk about X Y coordinates and all the other mentioned.


Note: I too want to ask you if you'll have the videotutorial of the user pbdo who shared a long time ago, where he explains how to work with a picture of a court step by step adjusting the camera, because the youtube video is not available to download in the forum.
wilddog79
crazy of the little yellow ball
crazy of the little yellow ball
 
Messages: 297
Gaming Since: 08 May 2017, 04:32

Re: New way to add 2D courts in TE4 v0.54

Postby wilddog79 » 20 Apr 2022, 03:49

Automatic line positioning for 2D courts :
You can now define the custom camera for 2D courts like this :
Código: Seleccionar todo
[Camera]
AspectRatio = 16:9
AutoU1 = 0.3323
AutoV1 = 0.2106
AutoU2 = 0.8297
AutoV2 = 0.7810

ie: no more manual positioning of the camera, you just note down where are 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 :
Código: Seleccionar todo
AutoNoCorridor = 1

Could someone please explain how this works to adjust the camera?
wilddog79
crazy of the little yellow ball
crazy of the little yellow ball
 
Messages: 297
Gaming Since: 08 May 2017, 04:32

Re: New way to add 2D courts in TE4 v0.54

Postby wilddog79 » 24 Apr 2022, 21:08

Old way: I think It's a problem of bug when I try to save a adjust of camera, because using the old way to adjust and save camera, I comeback to the game and none change is done.

New way: I'm working with my XKT.ini profile, that's where I find the "Camera" section and all parameters.

No case with the "Automatic line positioning for 2D courts" for me, I can't solve this, I think they explain superficially, now I can say that I worked with parameters in the TE2013 without problems, but in TE4 and especially with the "XKT" I can't find solution, I can't make adjust of cameras.

Note: I think that nobody cares explain clearly, maybe most of users here have understood how to make it, but noone is interested to help. I can add too that before I created

I'd like to know if one of you have the videotutorial of pbdo310 where he explains how to adjust and save cameras of a court perfectly.

Thanks.
wilddog79
crazy of the little yellow ball
crazy of the little yellow ball
 
Messages: 297
Gaming Since: 08 May 2017, 04:32

Previous

Return to Modding - TE4

Who is online

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