Do Not Click On The Honey Pot !

Automatic 2D court lines misalignment

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 ! ;) )
Forum rules
Speak English in 1st page of topics, and don't hijack topics, troll, use profanities nor insults

Automatic 2D court lines misalignment

Postby abc010101 » 29 Aug 2026, 11:51

I tried using the auto U1, V1 etc method to create a 2d court but they look completely misaligned. The bottom right and top left corner look correct because those are the u1,v1,u2,v2 values but everything else looks wrong. What can I do ?
You do not have the required permissions to view the files attached to this post.
abc010101
crazy of the little yellow ball
crazy of the little yellow ball
 
Messages: 50
Gaming Since: 10 Jun 2018, 19:30

Re: Automatic 2D court lines misalignment

Postby antimouse » 29 Aug 2026, 15:15

I was about to post something here related to this when I saw your post, so if you don't mind I'll try to contribute and ask a complementary question to Manu on your thread.

Manu will be able to say for sure, but I believe it's related to camera positioning in the original broadcast. Notice that the distance from the image's margin to the court's line is bigger on the left than on the right. In my experience, that's when these things happen. The problem is it's hard to adjust such images.

So I leave my related question to Manu: is there some way to adjust the game's camera position in 2D to counter this? Something that specifies that the camera is not exactly at the center of the screen.

Thanks!
antimouse
crazy of the little yellow ball
crazy of the little yellow ball
 
Messages: 556
Gaming Since: 06 Sep 2013, 01:05

Re: Automatic 2D court lines misalignment

Postby abc010101 » 29 Aug 2026, 20:33

antimouse wrote:I was about to post something here related to this when I saw your post, so if you don't mind I'll try to contribute and ask a complementary question to Manu on your thread.

Manu will be able to say for sure, but I believe it's related to camera positioning in the original broadcast. Notice that the distance from the image's margin to the court's line is bigger on the left than on the right. In my experience, that's when these things happen. The problem is it's hard to adjust such images.

So I leave my related question to Manu: is there some way to adjust the game's camera position in 2D to counter this? Something that specifies that the camera is not exactly at the center of the screen.

Thanks!


There is a way to manually change the camera, you have to enable devmode =1, then find the camera movement shortcutsfor your keyboard in the Controls menu and go from there. The problem is that this takes several hours for a single court and sometimes it just doesn't seem possible. I think the real solution would be, instead of the Stadium.ini only requiring the coordinates for 2/4 corners, it should need all 4 court corners to create the camera for the 2d court. That way it should always align.

But maybe there's just something else I'm doing wrong, I'll wait for Manu's response
abc010101
crazy of the little yellow ball
crazy of the little yellow ball
 
Messages: 50
Gaming Since: 10 Jun 2018, 19:30

Re: Automatic 2D court lines misalignment

Postby manutoo » 30 Aug 2026, 06:23

The court needs to be centered, else it won't work, there's no other possibility.

So cut a side (or add something on the side with AI ?) to make the center line in the center of the image.
ManuTOO
== Mana Games ==

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


Return to Modding - TE4

Who is online

Users browsing this forum: ClaudeBot and 20 guests