From ed1f926d366c4d714af20a29af7223c0d98adfff Mon Sep 17 00:00:00 2001 From: NovaRain Date: Sat, 10 Jan 2026 20:34:54 +0800 Subject: [PATCH] Expanded the functionality of Fallout1Behavior * FO1 initial in-game time is 7:21 rather than 8:24. --- artifacts/ddraw.ini | 1 + sfall/Modules/MiscPatches.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/artifacts/ddraw.ini b/artifacts/ddraw.ini index 6fa4e12f..9593f6c8 100644 --- a/artifacts/ddraw.ini +++ b/artifacts/ddraw.ini @@ -264,6 +264,7 @@ XltKey=0 ;- disables playing the final movie/credits after the endgame slideshow ;- disables halving the weight for power armor items ;- endgame_movie script function plays movie 10 or 11 based on the player's gender before the credits +;- the initial in-game time is 7:21 rather than 8:24 Fallout1Behavior=0 ;Time limit in years. Must be between -3 and 13 diff --git a/sfall/Modules/MiscPatches.cpp b/sfall/Modules/MiscPatches.cpp index cba279d8..e051e788 100644 --- a/sfall/Modules/MiscPatches.cpp +++ b/sfall/Modules/MiscPatches.cpp @@ -773,6 +773,7 @@ static void F1EngineBehaviorPatch() { BlockCall(0x4A4343); // disable playing the final movie/credits after the endgame slideshow SafeWrite8(0x477C71, CodeType::JumpShort); // disable halving the weight for power armor items HookCall(0x43F872, endgame_movie_hook); // play movie 10 or 11 based on the player's gender before the credits + SafeWrite32(0x4A5201, 264600); // change the initial in-game time to 7:21 } }