The Unmaker Update
...is finally here! That's right, I spent hours upon hours upon HOURS wrapping my silly little brain around 3D Trigonometry with the goal of FIXING THOSE DAMNED LASERS!!
And you know what?
I FIXED THOSE DAMNED LASERS!!
The Unmaker is now in what I consider to be near-perfect condition. All the offsets are correct, it accounts for the player looking up and down, and I even fixed that bug where the lasers would stack up on each other if you shot them towards the ceiling at a shallow angle (it was because Doom doesn't allow anything to be above the sector's ceiling and the lasers were trying to spawn slightly past it. The more you know, I guess).
Anyways, you can grab this updated version from here or my GitHub and, as usual, if you have any comments or find any bugs, leave a comment here or on my ZDoom forum post and I'll get to it asap!
Thanks, and have fun!
Oh, one last thing: I also made sure to change the versioning in the ZScript to "4.12" instead of "4.12.2". I haven't tested the mod on older versions yet so I don't want to change the versioning to one that may break the mod, but if you have an older version of GZDoom/ZDoom and you don't want to update it, just open the .pk3 file and change the version number in the ZSCRIPT file to your GZDoom/ZDoom version number. I can't guarantee that it'll work right but if you have success with it/if I get around to testing older versions, I'll change the versioning in a future patch/update :D
Changelog (From my GitHub):
Updates
- Fixed Unmaker laser bug and completely re-wrote the code for firing the Unmaker
- Wasted more than 24 hours combined in Desmos (because I'm a nerd)
- Re-learned Trigonometry
- Lasers now follow auto-aim when it's active
- Added custom obituary to the Unmaker (with colored text!)
- Removed some... choice words from the code comments (I was a *little* tired when I wrote them)
- Code optimization (mainly for the Unmaker)
Known Issues
- If the Unmaker laser is fired past a lower hanging ceiling and passes close to it, there will be a gap in the laser. This is due to a fix for a previous bug relating to the laser trying to clip past the ceiling.
Planned Changes/Additions
- Have the weapon replacement setting replace all weapon pickups when toggled (without requiring a map reload/change)
- Code optimization
- Add Doom 64 ammo types with sprites and tag names (for mapping programs :D)
- Potentially have Doom 64 weapons rely on Doom 64 ammo only (perhaps with toggleable setting?)