Fallout Scripting Stream - Baxter's Fridge Beer

Subscribers:
1,840
Published on ● Video Link: https://www.youtube.com/watch?v=sFipQsnR-OE



Game:
Fallout 2 (1998)
Duration: 0:00
391 views
15


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 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.