This is a strange problem that I've noticed. Linedef Type 414 (Play Sound Effect) is supposed to specify the sound slot to play by the absolute length of the linedef. But sometimes, if the linedef is put at a diagonal angle, it plays the wrong sound.
Here's an example that just occurred in my newest modifications to GCZ2:
Linedef 2331
Action: 414 - Linedef Executor (other): Play Sound Effect
Length: 218
X-distance: 216
Y-distance: 32
From all the documentation I've read on Linedef Type 414, the only one of the bottom three variables that should matter is the absolute length of 218. In theory, it should call sound slot 218 (the sound of a gargoyle being pushed). However, when I tested it, it actually called sound slot 232 (the sound of a THZ turret charging up). But when I changed the specs to this:
Linedef 2331
Action: 414 - Linedef Executor (other): Play Sound Effect
Length: 218
X-distance: 218
Y-distance: 0
...it worked perfectly.
Another example:
Linedef 2427
Action: 414 - Linedef Executor (other): Play Sound Effect
Length: 48
X-distance: 36
Y-distance: 32
It should have played slot 48, but it played slot 52 instead. When I changed it to this:
Linedef 2427
Action: 414 - Linedef Executor (other): Play Sound Effect
Length: 48
X-distance: 48
Y-distance: 0
It also worked fine.
So, yeah, this bug can be worked around, but it's still kind of annoying.
Here's an example that just occurred in my newest modifications to GCZ2:
Linedef 2331
Action: 414 - Linedef Executor (other): Play Sound Effect
Length: 218
X-distance: 216
Y-distance: 32
From all the documentation I've read on Linedef Type 414, the only one of the bottom three variables that should matter is the absolute length of 218. In theory, it should call sound slot 218 (the sound of a gargoyle being pushed). However, when I tested it, it actually called sound slot 232 (the sound of a THZ turret charging up). But when I changed the specs to this:
Linedef 2331
Action: 414 - Linedef Executor (other): Play Sound Effect
Length: 218
X-distance: 218
Y-distance: 0
...it worked perfectly.
Another example:
Linedef 2427
Action: 414 - Linedef Executor (other): Play Sound Effect
Length: 48
X-distance: 36
Y-distance: 32
It should have played slot 48, but it played slot 52 instead. When I changed it to this:
Linedef 2427
Action: 414 - Linedef Executor (other): Play Sound Effect
Length: 48
X-distance: 48
Y-distance: 0
It also worked fine.
So, yeah, this bug can be worked around, but it's still kind of annoying.
Last edited by a moderator: