How to get that Sound before GLaDOS speaks?

Avatar
andu
19 Posts
Posted Apr 11, 2012
Replied 1 hour later
But these are just one line comments and they don't comment out anything important, do they?

What's with the line: > Quote:

if (curMapName=="sp_a2_pull_the_rug")

May this be the problem? That the game binds these scene files to certain maps?

It really looks like I've to do it with the delay method :biggrin:

Advertisement
Registered users don’t see ads! Register now!
Avatar
ChickenMobile
2,460 Posts
Posted Apr 11, 2012
Replied 2 hours later

andu wrote:
But these are just one line comments and they don't comment out anything important, do they?

But it is.
You cannot play the Vcd file if the line is commented out which sets it.

Quote:
if (curMapName=="sp_a2_pull_the_rug")

It sets certain things depending on what name the map is. Like what scene is played when you spawn in the map, what sound is played when you leave the elevator, custom random sounds which are played at certain intervals (like if Blue dies by being crushed by orange) etc etc. Do not worry about these and DO NOT DELETE ANYTHING FROM glados.nut!!!