Fallout Scripting Stream - Baxter's Fridge Beer
This is a compilation of 3 streams where I build out a scripted sequence for Baxter, one of the main party NPC's in Mutants Rising. In this compilation I script an animation sequence for one of the party members from Mutants Rising.
This animation involves:
*walking up to an object (a fridge here),
*interacting with it by opening the fridge door,
*then checking fridge inventory for certain items,
*different critter floats(barks) depending on the item types,
*taking one of those items and placing it in the NPCs inventory,
*then having the NPC walk to another spot
*and give another float(bark) depending on the type of item found in the fridge.
I cut out a bunch of my stutters and "um"s (and a few of my mistakes), and trimmed down a bunch of the longer test sequences.
But I also made sure to include several Question and Answer sections, so hopefully others will have a better understanding how the Fallout 2 scripting system works.
00:00 Part 1 - All the curse words
02:07 define fixed_param
03:35 Start Scripting
12:55 tile_contains_pid_obj()
16:05 wrong tile define
19:00 Some functions need to store their return value
21:00 tile_get_objs() returns an array
23:25 obj_pid() returns PID from object pointer
26:15 Fridge object pointer
30:15 obj_close()
31:40 Animate Baxter to walk/run to the fridge tile
39:45 Part 2 - More Reactivity
44:25 Choosing reactions for different alcohol types
52:55 obj_carrying_obj_pid() vs obj_carrying_pid_obj() --- they are different
59:55 How a script references its .msg file
1:08:25 How script files are attached in the mapper
1:09:30 Scripting resources bundled with the mapper
1:17:40 .ssl files compile to .int files
1:19:25 How to get the map script name
1:21:55 First steps to set up a scripting test map
1:25:30 Finally back on track
1:35:40 First successful scripted float
1:47:50 pickup_obj()
1:51:05 Successfully transfer item from fridge to Baxter
2:00:05 Bug hunting
2:03:20 Found the bug
2:10:30 Part 3 - Mistakes were made
2:12:55 A brief word on macros
2:16:20 Using an integer for a PID is fine, but using defines is better
2:27:20 ITEMPID.H
2:31:15 More legible logic
Other Videos By Quantum Apprentice
2025-04-17 | C/C++/ImGui - might need some state machines |
2025-04-14 | Fallout Scripting Stream - Baxter's Fridge Beer |
2025-04-12 | Free Games - 11 April 2025 |
2025-04-05 | Fallout 2 Modding - Fixing Oblivion Lost's pipboy msg file |
2025-03-30 | Fallout 2 - Luck and the Jinxed Trait |
2025-03-15 | Free Games - 14 March 2025 |
2025-03-11 | Fallout Modding: Worldmap.TXT Encounter System Crash |
2025-02-22 | Free Games - 21 February 2025 |
2025-02-15 | Free Games - 14 February 2025 |
2025-02-10 | Fallout: Mutants Rising - Dumb Dude part 2 |
2025-02-08 | Free Games - 07 February 2025 |
2025-02-07 | Fallout Modding: Fixing a Sequence Break bug |
2025-02-04 | Fallout: Mutants Rising - Dumb Dude part 1 |
2025-02-01 | Free Games - 31 January 2025 |
2025-01-18 | Fallout: Sonora - part 4 |
2025-01-18 | Free Games - 17 January 2025 |
2025-01-07 | Fallout: Sonora - part 3 |
2025-01-04 | Free Games - 3 January 2025 |
2024-12-28 | Fallout: Sonora - part 2 |
2024-12-28 | Free Games - 27 December 2024 |
2024-12-24 | Fallout: Sonora - part 1 |
Other Statistics
Fallout 2 Statistics For Quantum Apprentice
Quantum Apprentice currently has 204,709 views spread across 186 videos for Fallout 2. Roughly 17 days worth of Fallout 2 videos were uploaded to his channel, or 30.99% of the total watchable video on Quantum Apprentice's YouTube channel.