Forum Index
SUBSIM Forum Search

The Web's #1 BBS for all submarine and naval simulations!
[ SUBSIM Review ] [ SUBSIM STORE ]
Current Forum | Archives 2002-2003 |

About the AA Guns in PA

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.     Forum Index -> SH2 Pacific Aces
View previous topic :: View next topic  
Author Message
Imp



Joined: 17 Feb 2004
Posts: 386
Location: France

PostPosted: Fri Apr 09, 2004 5:27 am    Post subject: About the AA Guns in PA Reply with quote

Hello,
In a precedent post I have been mentioning about this interisting AA guns in the first Sago US Sub in campaign's missions in PA, floating in the air !!!!!
This problem was already in the talk in previous posts here.
I just wanted to give a new information about it to the PA team:
When you load for the first time a campaign mission in PA, you have everything alright.... the P/T/Sago US sub is well loaded and AA guns well located where it has to be.
When you save the game to come back later, then you have the AA guns floating behind of the sub in the air.....
That's mean I presume, something wrong is loaded only from a previous saved game.... and I am sure this can be fixed easily as the former first load of the game is always correct.....
By waiting to read about this new fact..... Smile))))))
Back to top
View user's profile Send private message Send e-mail MSN Messenger
Hitman



Joined: 14 Sep 2002
Posts: 3059
Location: Spain

PostPosted: Fri Apr 09, 2004 5:43 am    Post subject: Reply with quote

Imp,

we already knew that Smile

IŽll try to explain where the problem comes from....

The 3D models used for the US subs have a central position, which is the starting location for all the polys in the model.

Now, all polys ( And thus, all the model you see ) can be moved forward, back,left,right, up and down from that central location through a line added in the unit UDF.

This is useful because your position on the bridge ( F9 and F8 views )does NOT move ( is encoded ), and therefore you might find yourself standing not in the bridge of the model, but in the middle of the conning tower walls, or too low, or too high...SO...adding the mentioned line, we actually move the whole model of the sub till it leaves your position in the bridge in the correct place. Yes, it sounds crazy, but we move the whole sub instead of just the bridge view !!! This is the problem with encoded stuff....we have to achieve a solution in an alternative way Smile

In the case of the Sargo, P and T class subs, we had to move the whole sub BACKWARDS, to avoid that your bridge/UZO view was standing in the air above the foredeck. Got it?

BUT here comes the famous saved-games bug of SH2.....

The saved game engine will NOT remember -when reloading a saved game- that your sub 3D model had been moved backwards, and will thus place it again in its originally encoded location.....thus moving it forward and leaving the AA guns that sergbuto added ( Also in a fixed location ) in their old position...that is....where the 3D model used to be before.

And because the 3D model is no longer there, but some meters forward, the AA guns are now floating in the air.

Hope you understood why this all happens

Cheers
Back to top
View user's profile Send private message Send e-mail
sergbuto



Joined: 14 Sep 2002
Posts: 2530
Location: Sweden

PostPosted: Fri Apr 09, 2004 7:12 am    Post subject: Reply with quote

The saved-games bug in SH2 can be corrected only by changes in the source code of SH2 which we do not have an access to.
Back to top
View user's profile Send private message Send e-mail
Imp



Joined: 17 Feb 2004
Posts: 386
Location: France

PostPosted: Fri Apr 09, 2004 10:31 am    Post subject: Very good explication Reply with quote

Hello Sergbuto,
I understand now better the problem, and as the matter of the fact I am not myself a developper, I understand very well the problem of encoded stuff....
Thank you for your explication Sergbuto......Smile
By the way did you read the PM I sent to you today.....
Back to top
View user's profile Send private message Send e-mail MSN Messenger
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.     Forum Index -> SH2 Pacific Aces All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group