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] MightyFine Crew Mod (https://www.subsim.com/radioroom/showthread.php?t=163591)

silversurfer 03-22-10 07:52 AM

Just checked out what was happening to the watch crew/aft planes man. When the order to dive/crash dive is given he remains on deck but goes thru his animations as if he was in the control room. When I look at him with the external view I can see him in the sitting position. Hope this helps:D

Heretic 03-22-10 07:57 AM

Hmmm.... Let's see if I can track this down.
Does this happen every time you dive?
Is this when loading the game the first time using the new version?
Which version are you using and what other mods are you using?
Are you diving with the dive command or using the depth gauge?

silversurfer 03-22-10 08:16 AM

Thanks for the quick reply Heretic.
it happens every time i dive the boat, I'm using the hotkey dive command and not the depth gauge and I have the following mods installed in this order
old style controls
improved waves and pitch and roll
conning tower compass fix
no damn bubble no halo
wordees thunder
wordess chief enginner
wamphryis plane mod
churchs shv 1.01 keyboard commands
interior worlking diels v1_21
accurate german flags
moral mod
mfcm optional crash dive workaround
mighty fine crewmod 1.2 alt faces
critical hits 1.1 torpedoes
engine improved sound v1.0
a lot of mods I know....:yeah:

Ragtag 03-22-10 08:38 AM

happens everytime. I use the commands and i don't use the workaround for crashdive you provided. Using 1.2 with alt beards.
When stuck on bridge it looks like they are crouching.
Mods in use:

No damn halo,bubbles
Conning tower compass fix
Moralemod
Critical hits torpedoes 1.1
Free cam tweak 1.1 regular
Funnelsmoke
Remove binoccular crossair
TDC dials 1.0.2
Grossdeutcher rundfunk radio
Conus graphics mod 1.0
Z Compass & nomograph
Remove wake on EL torpedo
AILS smoke, moon, wake and clouds mods
Haramirs sensor mod 1.0

Ablemaster 03-22-10 08:40 AM

Yeh concur mate, guy starboard side aft sits down and oow stays standing while submerged, otherwise really like this mod.

Heretic 03-22-10 08:51 AM

Ok. I'm at work so I can't test this, but it I'm guessing it has to do with moving the guys waypoint when I changed his animation. I tested it with 1.1.1 saves both submerged and surfaced with no problems, but you're obviously in a scenario I didn't test. I do have a catch-all move command for the guys but it's apparently not getting hit. Trying to keep it save game compatible gets a bit tricky.

Try loading your game without the mod, submerging, saving, then reinstalling the mod. Let me know how that works.

silversurfer 03-22-10 09:13 AM

i just tried it again to make sure I wasn't imagining things. The first dive everything worked out fine. I surfaced and dived a few mins later and the he did the samething and stayed on deck in the seated position. Will try your suggestion and see what happens:yeah:

Heretic 03-22-10 09:17 AM

Quote:

Originally Posted by silversurfer (Post 1328013)
i just tried it again to make sure I wasn't imagining things. The first dive everything worked out fine. I surfaced and dived a few mins later and the he did the samething and stayed on deck in the seated position. Will try your suggestion and see what happens:yeah:

Hmm... that's discouraging. Goes against what I was thinking. I figured once you had a successful dive, it'd get back in sync.

I'll compare the code for HA and HF and see if I can figure out what's causing them to behave differently.

kylania 03-22-10 09:32 AM

Quote:

Originally Posted by Heretic (Post 1328024)
Hmm... that's discouraging. Goes against what I was thinking. I figured once you had a successful dive, it'd get back in sync.

I'll compare the code for HA and HF and see if I can figure out what's causing them to behave differently.

I had the "stuck in a sitting position" last night too, but it was just at the entrance to the control room, so standing by the nav table looking at the controls I had this giant butt in my face. :)

I'm pretty sure it had to do with my crash diving, then surfacing accidentally, then diving, then crash diving again all in the span of a few panicked moments (came out of TC 1km away from a carrier task for group!)

I'm not saying this is a common bug, and it resolved itself once i surfaced, but it was kinda funny.

silversurfer 03-22-10 10:37 AM

I had a go at what you said in your last post and got CTD. I reloaded the mod putting the mighty fine crew mod before the crash dive workaround. The mod worked fine in game whilst crash diving and look awesome..the planes men entering, the dialouge etc. I did the crash dive test 4 times in a row with no prob.
I then did a normal crash dive to test it out and this time found the aft planes man doing the samething, going thru his animations and sitting but still on the bridge, I then found that the watch officer stays on deck and hides behind the UZO, he doesn't go below at all.
Tested it again with crash dive and got the same result, tested it again with normal dive with the same result.:damn: I now have a watch officer and crew man on deck whilst below the surface.....man they can hold their breath for ages:doh:

Heretic 03-22-10 10:51 AM

oops. yeah the crash dive workaround would need to be removed too if you removed the main mod. The workaround also needs to be installed after the main mod. I should update the readme.

Odd that crash dive works and regular dive doesn't. The only difference is I set the dive order variable to 2 instead of 1, so that they have hard landings at the bottom of the ladder.

It's WAD that the watch officer stays there. He'll always be the last guy down. If anyone stays there, he will to. Once I figure out why HA won't go down, the WO will follow him down.


Is everybody having this problem?

Heretic 03-22-10 10:52 AM

When HA (aft hydroplane operator) is stuck on the bridge, is he just frozen in a seated position or is he going through the same animation sequence he does when at his hydroplane station?

Heretic 03-22-10 10:55 AM

One more thing. Do you have an enemy ship or plane in sight?

silversurfer 03-22-10 10:56 AM

The HO is going thru the motions of operating the HP's, the WO is stood behind the UZO but keeps standing up and then ducking down....

silversurfer 03-22-10 10:56 AM

No planes or ships in sight.

Heretic 03-22-10 11:11 AM

If you want to try a file edit, we can try something. You can use any text editor, notepad works fine.


Open Crew_Idle_Actions_CR.aix in MightyFine Crew Mod 1.2 \data\scripts\ai\crew

Search for CR_HA_SUBMERGED, you'll want the second occurance
Find this code:
Quote:

precond
{
!Wp:IsCrewState(DMG_TKN|HUNTER|HUNTED|PROX_EXPL) and
(Wp:IsSubmerged() or Wp:GetGlobalVariable(VAR_DIVE_ORDER) > 0 ) and
!(Wp:IsTutorial() and !Wp:IsBunkerState())
}
This says if I'm not in any of those CrewStates and I'm either submerged or have a dive order and it's not the tutorial or in the bunker.

Let's remove the CrewState conditions by commenting it out with a '#'
Quote:

precond
{
#!Wp:IsCrewState(DMG_TKN|HUNTER|HUNTED|PROX_EXPL) and
(Wp:IsSubmerged() or Wp:GetGlobalVariable(VAR_DIVE_ORDER) > 0 ) and
!(Wp:IsTutorial() and !Wp:IsBunkerState())
}
You should change it in the MOD folder itself rather than in your Data folder, so you'll be able to enable/disable it. You'll need to re-enable the mod after you make the change.

*edit* I made a mistake. Make sure it's CR_HA_SUBMERGED you change. Actually, if that works, you can change both CR_HA_SUBMERGED and CR_HF_SUBMERGED

Regardless of whether this fixes your problem, I'll need to address it for 1.2.1. It's a big hole.

The more I think of it, the more I think this is it. HF works because I didn't move his waypoint. I'll get a fix up this evening.

silversurfer 03-22-10 11:32 AM

How do you know this stuff.... ok i've had a go at what you suggested, will give it a go.
Cheers for the help buddy... can't live with out this mod.:salute:

Heretic 03-22-10 11:35 AM

Quote:

Originally Posted by silversurfer (Post 1328234)
How do you know this stuff.... ok i've had a go at what you suggested, will give it a go.
Cheers for the help buddy... can't live with out this mod.:salute:

Because I emailed my scripts to work, so I can mess with them rather than doing my job. :D

Westbroek 03-22-10 11:52 AM

Well played, sir.

silversurfer 03-22-10 12:05 PM

It worked ..the watch crew behave as per the mod, tested it a number of times both crash dive and normal dive. The WO on the other hand still stays on deck, and continues to hide behind the uzo. Hope this info helps you with the fix:yeah:


All times are GMT -5. The time now is 01:01 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.