Welcome to the AFK Mods bug tracker. In order to report an issue, please select a project from the drop down menu below. Select “Open New Issue” and fill out the form with as many details as possible.

An account will be required to submit an issue, so if you need one and are unable to register, please contact us via the forums at https://afkmods.iguanadons.net/
       

Issue Data
Status: Closed
Issue Type: Bug Report
Project: Unofficial Fallout 4 Patch
Component: Fallout 4: Vanilla
Category: Actors
Assigned To: Sclerocephalus
Platform: All
Severity: Low
Votes: 0
Watching: N/A
Opened By MadCat221 on Mar 17, 2017 10:27 pm
Last Edited By Arthmoor on May 6, 2017 12:54 pm
Closed By Arthmoor on May 6, 2017 12:54 pm
Resolution: Fixed
Comment: Fixed for UFO4P 2.0.1.

Issue #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:

<code php> 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</code>

       

Comments

3 comment(s) [Closed]
MadCat221 said:
Patched script compiled successfully and is in-place for testing.

       
Comment #1 Mar 18, 2017 7:33 am  Edited by on Mar 18, 2017 7:33 am
MadCat221 said:
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.

       
Comment #2 Mar 18, 2017 9:13 am  Edited by on Mar 18, 2017 9:16 am
Sclerocephalus said:
It's apparently working then, since there's no way that iit might work sometimes and sometimes not. Will mark it as fixed then.

       
Comment #3 Mar 22, 2017 9:33 am  Edited by on Mar 22, 2017 9:33 am
Showing Comments 1 - 3 of 3