alienbreed3d2
alienbreed3d2 copied to clipboard
Teleport sound for aliens.
This is probably an enhancement request. I have confirmed that (for walking aliens) at least, teleportation works, but have noticed that no sounds are triggered.
@0xABADCAFE adding the code from the player teleport check to the alien teleport check in objectmove.s https://github.com/mheyer32/alienbreed3d2/commit/31ff799609044ed836f30179a853fb81a896a721 its just a bodge but seems the right place to look.
also while messing with this, it seemed if there are more than 2 hell hound aliens using the teleport the player received damage no matter how far away. might be a separate issue unrelated to the teleport however (just another of my dodgy levels).
Seems like a good way to fix it. I do wonder if the lack of a teleport noise is deliberate. The level design guides describe the classic technique of boxing off baddies in teleport cubicles that release them when a door is released by the player doing something. Having the teleport sound may give away what's happening.
For the moment I'm focusing on a big update that tries to tidy up all the gazillions of ad hoc zero initialised globals into bss and other general clean up / dead code elimination, which means some of this stuff is likely to move around a bit.
Probably going to put this into the mod milestone as I can see use cases, per level, where having silent and noisy teleports are a useful tool for level designers.