![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
![]() |
#1 |
The Old Man
![]() |
![]() Quote:
|
![]() |
![]() |
![]() |
#2 |
Ocean Warrior
![]() Join Date: May 2005
Location: São Paulo Brazil
Posts: 2,728
Downloads: 132
Uploads: 0
|
![]()
Yes, Seeadler, how you found the tga ID reference as an ID on the game engine?
We already noticed that some loading screens are "hardcoded", we can´t move them or just rescale them, they always start from botton left. Then I tryed to find the id using S3D search function but nothing were found... ![]() Also the Navmap and attack map (Terrain only) is fixed at 1024x786. We find a easy way to extend them to correct WS resolution/aspect but after the 1024 the terrain is mirrored. Probably is the same issue here that you explained above. ![]()
__________________
One gamer's must-have mod is another gamer's waste of time. -Sailor Steve Last edited by Rubini; 03-20-10 at 07:07 PM. |
![]() |
![]() |
![]() |
#3 | |
Pacific Aces Dev Team
![]() |
![]() Quote:
it looks like: Code:
myMatrix._11 = 2.000000 myMatrix._12 = 0.000000 myMatrix._13 = 0.000000 myMatrix._14 = 0.000000 myMatrix._21 = 0.000000 myMatrix._22 = 3.200000 myMatrix._23 = 0.000000 myMatrix._24 = 0.000000 myMatrix._31 = 0.000000 myMatrix._32 = 0.000000 myMatrix._33 = 1.002506 myMatrix._34 = 1.000000 myMatrix._41 = 0.000000 myMatrix._42 = 0.000000 myMatrix._43 = -0.050125 myMatrix._44 = 0.000000 Logging Vector: 840.00 525.00 -0.05 -> Stride = 0 myMatrix._11 = 1.250000 myMatrix._12 = 0.000000 myMatrix._13 = 0.000000 myMatrix._14 = 0.000000 myMatrix._21 = 0.000000 myMatrix._22 = 2.000000 myMatrix._23 = 0.000000 myMatrix._24 = 0.000000 myMatrix._31 = 0.000000 myMatrix._32 = 0.000000 myMatrix._33 = 1.000080 myMatrix._34 = 1.000000 myMatrix._41 = 0.000000 myMatrix._42 = 0.000000 myMatrix._43 = -0.080006 myMatrix._44 = 0.000000 Logging Vector: 840.00 525.00 1.63 -> Stride = 60 A simple vertex quad is created ![]() and on this quad the texture is mapped. Before this mapping the quad is scaled and moved in screen space, this gives the advantage to set size and position of a texture without resizing the texture itself. My log now tells me that the loading texture has Stride_nr = 0 and the main menu Stride_nr = 60. The rest is some "dirty" cooding stuff (also used by cheat developers to make wall hacks, aim-bots etc.) ![]() in short: - detect when a particular stride is prepared to display - manipulate the matrix |
|
![]() |
![]() |
![]() |
#4 | |
Ocean Warrior
![]() Join Date: May 2005
Location: São Paulo Brazil
Posts: 2,728
Downloads: 132
Uploads: 0
|
![]() Quote:
![]() That is enough! This is all up to you! ![]() Well, really, all the screens that have this condition plus the nav and Attack map (probably the same issue) we can not make so much than add something to the right side for now. They are totally playable and we yet have that new space anyway. ![]()
__________________
One gamer's must-have mod is another gamer's waste of time. -Sailor Steve |
|
![]() |
![]() |
![]() |
Thread Tools | |
Display Modes | |
|
|