For Portal 2 the script was written mainly in Word. The Left 4 Deads have so many lines that need to fire under certain conditions; we track it all in database software - Visual FoxPro 6. This results in my often being lazy and writing directly into the tables and then writing a script to output a Word document to take to the recording studio. I think it is safe to say, L4D2 is the only game written in Visual Foxpro. I don’t really recommend it.