Expanded the functionality of Fallout1Behavior

* FO1 initial in-game time is 7:21 rather than 8:24.
This commit is contained in:
NovaRain
2026-01-10 20:34:54 +08:00
parent 5ac1b23bc6
commit ed1f926d36
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -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
+1
View File
@@ -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
}
}