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)

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...

gap 02-25-16 08:35 AM

Quote:

Originally Posted by vdr1981 (Post 2384277)
...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...

Thank you for your tips :up:

today in the morning I was looking exactly in that direction. The problem can't be in camera.cam, because all the Flak guns use the same camera definition. Knowing that, I focused my attention on the station controller. This is what I found:

37mmTSA.sim => GunStationController @ 37mmTSA_Soclu => GunStationController => NameDisplayable: 0
37mmTSA.sim => GunStationController @ 37mmTSA_Soclu => GunStationController => InteractiveObject => tooltip: 0
37mmTSA.sim => GunStationController @ 37mmTSA_Soclu => GunStationController => InteractiveObject => expertTooltip: 0

For all other guns, the same parameters point to appropriate tooltip number in menu.txt. See what I mean?

vdr1981 02-25-16 09:02 AM

Quote:

Originally Posted by gap (Post 2384298)
Thank you for your tips :up:

today in the morning I was looking exactly in that direction. The problem can't be in camera.cam, because all the Flak guns use the same camera definition. Knowing that, I focused my attention on the station controller. This is what I found:

37mmTSA.sim => GunStationController @ 37mmTSA_Soclu => GunStationController => NameDisplayable: 0
37mmTSA.sim => GunStationController @ 37mmTSA_Soclu => GunStationController => InteractiveObject => tooltip: 0
37mmTSA.sim => GunStationController @ 37mmTSA_Soclu => GunStationController => InteractiveObject => expertTooltip: 0

For all other guns, the same parameters point to appropriate tooltip number in menu.txt. See what I mean?

I already tried to add name and tooltips...No good. You can try the same , just to make sure...

gap 02-25-16 09:36 AM

Quote:

Originally Posted by vdr1981 (Post 2384308)
I already tried to add name and tooltips...No good. You can try the same , just to make sure...

Wait, I was going to give you a link to a patch I had created with menu.txt tooltips for the 3.7 cm twin gun and refeferences to them in its gun station controller, but you beat me on time. I am looking at some other settings right now :)

vdr1981 02-25-16 10:09 AM

Quote:

Originally Posted by gap (Post 2384317)
Wait, I was going to give you a link to a patch I had created with menu.txt tooltips for the 3.7 cm twin gun and refeferences to them in its gun station controller, but you beat me on time. I am looking at some other settings right now :)

Tooltip is just a tooltip, I dont think that is the problem...Actually that was the first thing I tried when I was adding twin 37mm gun...

Right now I'm trying to make front gun player controlled. I think I'm very close...:hmmm:

There is a controller called "GunStationControllerPoperties" in conning tower's sim file (one for each gun bone, A1,A2,S1) and it seems that this is the key.

Very same controller for S2 bone (front flak) was missing and I've added it.
Still, I'm mission the appropriate "S2" slot in controller settings.
Do you know anything about this Gap??:doh:
Maybe I need to add one more bone to Cameras.gr2 file?:hmmm:

EDIT
Hmm, or maybe a new waypoint in waypoints gr2 file...:hmmm:

There is so much craps around all this...In almost all other games similar stuff can be done with just a few entries in cfg files , but not here...:nope:

gap 02-25-16 10:49 AM

Quote:

Originally Posted by vdr1981 (Post 2384333)
Tooltip is just a tooltip, I dont think that is the problem...Actually that was the first thing I tried when I was adding twin 37mm gun...

Well, you never know what can happen when the game engine is looking for an object, and that object is not found...

Quote:

Originally Posted by vdr1981 (Post 2384333)
Right now I'm trying to make front gun player controlled. I think I'm very close...:hmmm:

There is a controller called "GunStationControllerPoperties" in conning tower's sim file (one for each gun bone, A1,A2,S1) and it seems that this is the key.

Very same controller for S2 bone (front flak) was missing and I've added it.
Still, I'm mission the appropriate "S2" slot in controller settings.
Do you know anything about this Gap??:doh:

Maybe I need to add one more bone to Cameras.gr2 file?:hmmm:

I don't think so. To the best of my knowledge gun slots have nothing to do with camera.cam. It seems to me that valid slot settings in GunStationControllerPoperties are hardcoded values :hmmm:

Quote:

Originally Posted by vdr1981 (Post 2384333)
EDIT
Hmm, or maybe a new waypoint in waypoints gr2 file...:hmmm:

There is so much craps around all this...In almost all other games similar stuff can be done with just a few entries in cfg files , but not here...:nope:

Again, I think waypoints are used for chracters linking. If your purpose is making the gun user-operable, I don't think adding new waypoints will bring you any good


All times are GMT -5. The time now is 10:23 AM.

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