Unofficial Fallout 4 Patch

  • Status Fix Pending
  • Percent Complete
    100%
  • Task Type Bug Report
  • Category Actors
  • Assigned To
    Sclerocephalus
  • Operating System All
  • Severity Low
  • Priority Medium
  • Reported Version Fallout 4: Vanilla
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Unofficial Fallout 4 Patch
Opened by MadCat221 - March 18 2017
Last edited by Sclerocephalus - March 22 2017

FS#22163 - Deacon's disguise swap routine should be suspended when he's in power armor

When Deacon is in power armor, his disguise swap routine seems to make the entire power armor suit strip down to the bare frame sometimes. To correct, I think the script functionalities that govern that should be suspended while he’s in the suit.

EDIT: This is handled by an OnLocationChange event on COMDeaconScript. That event unequips his current armor and equips a new one. If he’s in power armor however, the armor that is unequipped are the power armor parts (instead of what he’s wearing under the power armor).

Simple fix:
Add a check to that event like so:

	if akSender == Game.GetPlayer() && bCanSwapDisguises
 
		Debug.Trace("COMDeacon has detected the player has moved.")
 
		;UFO4P 2.x Bug #22163. suspend this while he's in power armor (otherwise, this function will unequip his power armor parts):
		if Deacon.GetActorReference().IsInPowerArmor() == true
			return
		endif
MadCat221 commented on March 18 2017 02:33 PM

Patched script compiled successfully and is in-place for testing.

MadCat221 commented on March 18 2017 04:13 PM

So far it looks functional. I've seen him swapping out his disguise when not in PA and the limited amount of testing I did with him in it has not seen any more stripping down to the bare frame when in PA. I'll do some more rigorous fast-traveling around with Deacon to get it to rapid-fire both in and out of the tincan when I have more time, in confirmable situations where he'd switch out his disguise normally.

Sclerocephalus commented on March 22 2017 04:33 PM

It's apparently working then, since there's no way that iit might work sometimes and sometimes not. Will mark it as fixed then.

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing