View Single Post
Old 03-22-10, 11:11 AM   #156
Heretic
Commodore
 
Join Date: Mar 2005
Location: Nebraska
Posts: 617
Downloads: 240
Uploads: 2


Default

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.

Last edited by Heretic; 03-22-10 at 01:30 PM.
Heretic is offline   Reply With Quote