Skip to content
Part 67
Grand Theft Auto VI

Part 67

Unpacking the VALTNEC.INT script for Fallout. Learn about map scripts, Necropolis Vault, and how the game handles lighting and party members.

By ···10 min read·Multi-source verified
1 reading this guide  

Unpacking the VALTNEC.INT script for Fallout. Learn about map scripts, Necropolis Vault, and how the game handles lighting and party members.

Alright, let's dive into Part 67. This one's a bit technical, focusing on a script file called VALTNEC.INT. Think of this as the game's internal instruction manual for a specific area, likely related to the Necropolis Vault, based on the comments. It's not a mission you play directly, but it controls how things work behind the scenes. ### VALTNEC.INT: The Necropolis Vault Map Script This script file is essentially a set of commands that the game executes to manage certain aspects of the Necropolis Vault map. It handles things like lighting, adding and updating party members, and even some invasion logic. Key Details: * Type: Decompiled script * Comment: Map Script for the Necropolis Vault * MSG file: N/A (meaning it doesn't directly interact with text messages in the same way other scripts might) ### Understanding the Script's Procedures The script is broken down into several procedures, which are like mini-programs within the main script: * `start`: This is the main entry point. It checks `script_action` to see what needs to be done. If it's action 15, it calls `Darkness` and then `Lighting`, sets up player elevation, and then uses `override_map_start` to define specific starting points based on `global_var(32)`. It also calls `add_party` to bring companions into the game. * `Lighting`: This procedure controls the game's lighting based on the `game_time_hour`. It creates a day-night cycle, with full brightness around midday (700-1800) and dimmer light during dawn (600-700) and dusk (1800-1900). * `Darkness`: A simpler procedure that just sets the light level to a dim 40. * `addrats`: This seems to be for adding critters (enemies or creatures) to the map. It randomly places up to one critter of type 16777264 around a specific tile (`nest_tile` 14888). * `add_party`: This procedure is responsible for adding companions. If `global_var(26)` is 5, it checks if `Tandi_ptr` is valid and then adds a trait to Tandi. * `update_party`: This is crucial for keeping your companions with you. If your elevation changes, it attempts to move companions like Ian, Dog, Tycho, Katja, and Tandi to be near you, based on different `global_var` conditions. * `remove_party`: This procedure seems to manage companion states when they might be leaving or being dismissed, setting various global variables. * `Invasion`: This procedure checks several global variables (`global_var(149)` through `global_var(148)`) to potentially set flags related to invasions or enemy activity. ### What This Means for You While you won't directly interact with VALTNEC.INT, it's the engine that makes the Necropolis Vault area function. It ensures the lighting changes throughout the day, your companions follow you correctly when you change elevations, and potentially manages enemy spawns. Pay attention to your companions' behavior, especially if you're moving between different levels or areas, as this script dictates how they should keep up.

100% Human-Written. AI Fact-Checked. Community Verified. Learn how AntMag verifies content