|
Paper Tiger posted:Yeah, the explanation I found is that the issue comes from completing the quest where Francine asks you to kill Caleb McCaffery and return his hat as proof. No clue what specific coding mishap causes the game to crash after that point, though. Maybe there's a check on zone load to make sure a cowboy hat has loaded in so that the quest is do-able, without taking into account whether the quest has already been completed or not? I would theorize that the model data is tied to models/characters that are in the scene, and the streaming system deals with them (probably a prebuilt list for world cells) However, the plot scripting system is it's own beast, and the script designers just references stuff by IDs, and as you *should* only script things that you know are in the scenes ('Chekovs gun' style), obviously scripting doesn't require any checks to see if the model data is actually loaded. And so you get a quest with a hat as the quest item, so it needs to spawn an object in the world when it builds that area in memory. Usually we use IDs generated from a hash of the filename, and a fast lookup database that returns the address of all the model data that you can then link to the game object you are creating to represent the items the script needs. My guess is this then returns a fail state if there's no hat loaded in the system, and the script system falls over at this point. Now a hat is a funny one - they are everywhere so you could assume they are in the scene as surely there will be at least one character with one? But they should have maybe added a scenery one hanging on a peg by the door to make sure.
|
# ¿ Jul 5, 2022 12:16 |
|
|
# ¿ May 15, 2024 17:30 |