Toggle NavigationStarfield Community Patch

Issue #866

Incorrect use of the IsWeaponOut condition

CLOSED
TERAB1T
3 months ago

Security guards never comment on the player's unholstered weapon due to incorrect use of the IsWeaponOut condition.


Details

The function IsWeaponOut returns the following values:

  • 0 - If the Actor does not have a weapon drawn.
  • 1 - If the Actor has only his fists out.
  • 2 - If the Actor has a weapon.

Security guards should comment on the player's unholstered weapon (e.g., "Want to put that weapon away? You're making me nervous."). However, in these dialogs, the game checks for IsWeaponOut=1, not for IsWeaponOut=2. Because of that, these lines never trigger.


Affected lines

  • 0006175C
  • 0006175D
  • 0006175E
  • 000447DA
  • 000447DB
  • 00217853
  • 00219AF1
  • 001569C9
  • 0015DA46
  • 0015DA47

How to fix

  • Quest \ 00061754 <DialogueUCNewAtlantisSecurity> \ 00061757 \ 0006175C - "Gonna need you to holster that weapon."
  • Quest \ 00061754 <DialogueUCNewAtlantisSecurity> \ 00061757 \ 0006175D - "Hey, no weapons. Put that away."
  • Quest \ 002BCA5E <DialogueGenericGuards> \ 0015DA4D \ 001569C9 - "Whoa whoa. Any reason you can't holster that?"

  • Quest \ 00061754 <DialogueUCNewAtlantisSecurity> \ 00061757 \ 0006175E - "Better not start any trouble."

This phrase can be said for both weapons AND fists.

  • Quest \ 0023FB04 <UC_TerrormorphSupportQuest> \ 0023FAF9 \ 000447DA - "Put down your weapons. We just want to be friends."
  • Quest \ 0023FB04 <UC_TerrormorphSupportQuest> \ 0023FAF9 \ 000447DB - "You! Put it down! Put down the weapon or we shoot!"

  • Quest \ 0026D87F <MQ105_AlwaysOnDialogueNeon> \ 0026D87E \ 00217853 - "Hey, keep the weapon holstered, will you?"
  • Quest \ 002BCA5E <DialogueGenericGuards> \ 0015DA4D \ 0015DA46 - "Want to put that weapon away? You're making me nervous."
  • Quest \ 002BCA5E <DialogueGenericGuards> \ 0015DA4D \ 0015DA47 - "Want to put that weapon away, chief? You're making me nervous."

  • Quest \ 002A0E95 <UC05_EmbassySupportQuest> \ 001DC55F \ 00219AF1 - "Stash the weapon. You're in an embassy, for goodness' sake."

Game Version

1.9.51.0

Language

English (EN)

New Game

Yes

Reproduction Steps

  1. Unholster your weapon.
  2. Try to talk to any common guard in New Atlantis (or other cities) as many times as you can.
  3. Notice that guards never comment on your weapon.
Platform: PC (Steam)
Type: Missions & Dialogue
Fix Ready
GitHub LogoGitHub ↗
2 months ago

Comments (0)


Add Comment
You must be signed in to a Nexus Mods account to leave a comment.