I haven't seen iron sights implemented in ZDoom yet despite the existence of [wiki]A_ZoomFactor[/wiki], so I decided to tackle them myself. I'm uploading this as a code base for others so hopefully this will inspire some of you to add this to your own mods. :)
I used Perkristian's Smooth Weapon Animations mod as a base for this one. Phi108 is responsible for the original code, with a few minor additions by yours truly.
Only the pistol and shotgun have iron sights.
I dabbled with two different iron sight styles: silhouette (as seen in Operation Flashpoint) for the pistol and modern "blurred" sights for the shotgun. Despite the fact that I only spent about five minutes on the blur effect, I'd say the shotgun's iron sights are the strongest of the two.
Feel free to use this code in your own projects or as a general base.
Please give credit where credit is due: Phi108 was responsible for the base code, while Perkristian created most of the shotgun graphics! I simply extended the code, added the original left handed pistol graphics, and created the iron sights. Crediting me isn't necessary.
Wow, glad to see that mod I'd just suggest to remove the crosshair while ironsightening.
(And bottom line: I've recently finished implementing such feature to my upcoming groundbreaking/breathtaking/awesome WAD so hope your one won't develop in the same way as mine... since I'm screwed then )
EDIT Better late than never: I think you've stated pretty clear that you consider it finished... anyway, great job. Time to snipe some imps!