How do I pack custom announcer soundscripts into bsp?

The Tiny Desk Engineer

L1: Registered
Jul 19, 2021
30
6
I'm making a map in the Portal 1 style and I'm thinking about using GLaDOS voicelines (and perhaps AI-generated lines for things like round countdown and other lines that Portal 1's set of voicelines can't be used for, but I don't know how I'm supposed to pack the soundscripts into the map file. I understand how to use Pakrat for packing materials, sounds, and models into maps, but I have no idea how I'm supposed to use it to pack the soundscript files into the bsp.
 

worMatty

Repacking Evangelist
aa
Jul 22, 2014
1,258
999
Name it <mapname>_level_sounds.txt and pack it in the BSP in maps/. If you use CompilePalX it will find it and pack it for you (you should use CPX and not Pakrat anyway).