SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   SH5 Mods Workshop (https://www.subsim.com/radioroom/forumdisplay.php?f=249)
-   -   [REL] Playable U-FlaK for SH5 (https://www.subsim.com/radioroom/showthread.php?t=224498)

vdr1981 02-24-16 12:24 PM

Quote:

Originally Posted by vdr1981 (Post 2384081)
Yes, absolutely...You can man it from all sides except mentioned wintergarden's right side...Note that this was tested on the U-flak sub...I'll check it out later what is going on with VIIC41 for example...


EDIT

Small illustration...


Form this possition, all is working fine, manning the gun/leaving the station ect ...
http://s17.postimg.org/kuji08ey7/SH5...4_15_36_47.jpg



...but walk just a little bit more further and the game freezes ...:hmmm:
http://s17.postimg.org/zcgp8869b/SH5...4_15_37_17.jpg


img upload

gap 02-24-16 12:50 PM

:hmmm:

I have had yet another look into that Flak's model, but apparently there is nothing, not even an hidden mesh, which might come into the way of player's avatar :doh:

gap 02-24-16 01:03 PM

YESSS, I know what's going with that gun at last! It isn't a problem of a mesh coming in player's way; it is a bone. More specifically the bone named Dmy_37mmTSA_Cam. As the name says it should be camera-related. I need to study some other guns before I can say what is its function, and the best soluce to the problem :up:

vdr1981 02-24-16 01:30 PM

Quote:

Originally Posted by gap (Post 2384093)
YESSS, I know what's going with that gun at last! It isn't a problem of a mesh coming in player's way; it is a bone. More specifically the bone named Dmy_37mmTSA_Cam. As the name says it should be camera-related. I need to study some other guns before I can say what is its function, and the best soluce to the problem :up:

:up::up::up: Bones , nodes , meshes , upcge....SH games are the shiitiest games for modding. I hate SH series! :D

vdr1981 02-24-16 02:38 PM

Quote:

Originally Posted by gap (Post 2384093)
YESSS, I know what's going with that gun at last! It isn't a problem of a mesh coming in player's way; it is a bone. More specifically the bone named Dmy_37mmTSA_Cam. As the name says it should be camera-related. I need to study some other guns before I can say what is its function, and the best soluce to the problem :up:

Another small update which I forgot to tell you...
When game freezes, it will do so no mater how the gun is orientated, for example, if you walk to mentioned position while crew is aiming flak...

Anything yet?:hmm2:

gap 02-24-16 03:37 PM

Quote:

Originally Posted by vdr1981 (Post 2384116)
Another small update which I forgot to tell you...
When game freezes, it will do so no mater how the gun is orientated, for example, if you walk to mentioned position while crew is aiming flak...

This is not compatible with my supposition about the Dmy_37mmTSA_Cam bone being related to the freezing camera when the player moves close to it. The said bone is linked to gun's barrel, and it should change position when the gun is trained/elevated by AI crew. :hmm2:

Quote:

Originally Posted by vdr1981 (Post 2384116)
Anything yet?:hmm2:

Well, the "suspect" bone is the one that the CamUserData controller in gun's cam file is pointing to, and I am pretty sure it determines gun camera position which, on the twin 37 mm gun, is moved to the right. If I move that bone to one side, player's view won't be aligned anymore with gun's aim. I still don't get what is special about the twin 37 mm gun though, since other Flak guns look pretty much the same to me as far as their basic structure is concerned (maybe the double 37 mm is too wide, and its camera falls outside an invisible "no trespassing" limit, or some blunder by devs in cam controller settings?). The good news is that GR2 Editor can open our gun's GR2 (I just hope it wont corrupt it on saving). What I can do to confirm/disconfirm my hypothesis, is moving the discussed bone from the right side to the left side, and see if it makes any difference. :03:

vdr1981 02-24-16 04:02 PM

I see...
This is hardly only camera/station bones/controllers issue because, when the game freezes , almost entire GUI functionality will also collapse (teleports, key and GUI commands ect). I mean, everything work great until you step in 'forbidden area"...:hmmm:

Simple camera/station problem can be observed if you try to man front flak gun (U-flak)...You'll see strange camera behavior, but when you click exit station command, everything is back to normal...

This "game freeze" reminds me a lot on issues I had when I was trying to create destructible stock GHG sensor, even if it didn't have it's own 3D mode l(only bone)...
Your transparent dat 3D mesh solved the problem...
Do you remember?:hmm2:

gap 02-24-16 04:05 PM

Vecko, can you try moving around the bone that I was talking about using GR2 Editor? When I save and reload the file in GR2 Editor, it seems that my changes were saved, but if I open the file in Goblin, it shows that nothing has changed :doh: :-?

gap 02-24-16 04:12 PM

Quote:

Originally Posted by vdr1981 (Post 2384128)
This "game freeze" reminds me a lot on issues I had when I was trying to create destructible stock GHG sensor, even if it didn't have it's own 3D mode l(only bone)...
Your transparent dat 3D mesh solved the problem...
Do you remember?:hmm2:

Yep, I do. In that case it was easy understanding what was wrong, because we wanted to make something which had no physical properties in game, into something which can get broken. This case is different because that gun has nothing strange compared to other guns modelled in game :hmmm:

EDIT

I feel today we are moving a step forward in understanding what is broken with that gun. The asymmetry of the bug tells me that it must connceted with gun's geometry, and the only asymmetrical componenet in its geometry is that dummy bone which, incidentally, is player's camera-related... If only I could move it...

vdr1981 02-24-16 04:28 PM

Quote:

Originally Posted by gap (Post 2384132)
If only I could move it...

The force you must use... :O:

gap 02-24-16 04:39 PM

Quote:

Originally Posted by vdr1981 (Post 2384136)
The force you must use... :O:

:haha:

gap 02-24-16 05:00 PM

I suspect that transform data of this peculiar GR2 file render my changes pointless, anyway can you test my tweaked gun file?

See my posts #26 and 28 in this thread for knowing what I changed and why I am afraid the change I made wont have any effect. In theory, gun camera position should change from right to left side, and the "buggy side" should change accordingly from right to left.

vdr1981 02-24-16 05:10 PM

Quote:

Originally Posted by gap (Post 2384146)
I suspect that transform data of this peculiar GR2 file render my changes pointless, anyway can you test my tweaked gun file?

See my posts #26 and 28 in this thread for knowing what I changed and why I am afraid the change I made wont have any effect. In theory, gun camera position should change from right to left side, and the "buggy side" should change accordingly from right to left.

OK...I have to create one new upgrade pack first (I've discarded previous tweaks )...:dead:

vdr1981 02-24-16 05:29 PM

Nope... Dead end...:hmmm: Exactly the same, only now my avatar sits on the left side of the gun.
There is also one more area which will freeze the game, new front U-FlaK platform, when you try to climb left ladder...:hmmm: This was before your gr2 file also...
Black magic...:hmmm:

EDIT:

These areas, no mater which gun orientation or anything else...
http://s6.postimg.org/wqmn9bw8d/SH5_...4_23_34_36.jpg

gap 02-24-16 05:49 PM

Quote:

Originally Posted by vdr1981 (Post 2384155)
Nope... Dead end...:hmmm: Exactly the same, only now my avatar sits on the left side of the gun.

Summing up:

- I moved the camera from right to left and, on reload, GR2 Editor confirms that my change was saved correctly though...
- ...according to Goblin the camera bone is exactly in the same position as before;
- my change being stored into the file is confirmed in game (avatar's camera is now on the left side), however...
- ...switchig camera side has no effect on our bug: the camera keeps freezing when player's avatar approches the gun from the right side.

At least we discarded any connection between the dummy camera bone and the bug. What next? :hmm2:

There is also one more area which will freeze the game, new front U-FlaK platform, when you try to climb left ladder...:hmmm: This was before your gr2 file also...
Black magic...:hmmm:[/QUOTE]

Do you mean that there's a point on the U-flak coonning tower that freezes the camera when the player moves near to it (not related to the twin 37 mm gun)? If it is exactly the same bug affecting two separate objects, comparing them could give us some clues on what is going on :up:

vdr1981 02-24-16 05:53 PM

Quote:

- ...switchig camera side has no effect on our bug: the camera keeps freezing when player's avatar approches the gun from the right side.

At least we discarded any connection between the dummy camera bone and the bug. What next? :hmm2:
Yes

Quote:

Do you mean that there's a point on the U-flak coonning tower that freezes the camera when the player moves near to it (not related to the twin 37 mm gun)? If it is exactly the same bug affecting two separate objects, comparing them could give us some clues on what is going on :up:
Negative, without double 37mm there is no "freezing points" on board...

gap 02-24-16 06:19 PM

Quote:

Originally Posted by vdr1981 (Post 2384164)
Negative, without double 37mm there is no "freezing points" on board...

:o :dead:

LOL

vdr1981 02-24-16 06:22 PM

Quote:

Originally Posted by gap (Post 2384171)
:o :dead:

LOL

https://media.giphy.com/media/33iqmp5ATXT5m/giphy.gif:D

gap 02-24-16 06:53 PM

Quote:

Originally Posted by vdr1981 (Post 2384172)

yep, time to rest, but I don't give up on this. This particular bug is haunting me since at least three years ago... :O:

vdr1981 02-25-16 07:10 AM

Just a small update...

Even without any files/controllers, twin 37mm still freezes the game (removed sim, cam and zon file)...Definite sign that the problem is in 3D object...Somewhere...:hmmm:

When I was removed twin 37mm cam file, I was able to use manually front flak and in order to access front gun station I had to click rear flak gun...:)

So, all is working, it's just a matter of camera/station controllers settings. Somehow , I think the solution may be in camera.cam file. It's like some camera "definition" is missing...


All times are GMT -5. The time now is 07:26 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 1995- 2025 Subsim®
"Subsim" is a registered trademark, all rights reserved.