Toggle NavigationStarfield Community Patch

Issue #879

Guards say "Evening" regardless of the time of day

CLOSED
TERAB1T
9 months ago

Security guards say "Evening, sir/ma'am." no matter what time of day it is. They should say this line only in the evening.


Details

Affected IDs:

  • 0015DA43
  • 0015DA44
  • 0015DA45

I haven't found an easy way to get the local time (GetCurrentTime returns UT, which is useless for this case). However, there are a few time-related functions we could use:

  • IsTimeSpanSunrise: 06:00-08:59
  • IsTimeSpanMorning: 9:00-11:59
  • IsTimeSpanAfternoon: 12:00-15:59
  • IsTimeSpanEvening: 16:00-17:59
  • IsTimeSpanSunset: 18:00-20:59
  • IsTimeSpanNight: 21:00-05:59
  • IsTimeSpanMidnight: 00:00-05:59

I added some of these as conditions to ensure the lines are only said from 18:00 to 23:59 local time:

Game Version

1.9.67.0

Language

English (EN)

New Game

Yes

Reproduction Steps

  1. Go to New Atlantis (or any other city) at any time of day except evening.
  2. Try to talk to any generic guard as many times as you can.
  3. Notice that guards sometimes mention evening.
Platform: PC (Steam)
Type: Missions & Dialogue
Fix Ready
GitHub LogoGitHub ↗
8 months ago

Comments (0)


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