After a little hiatus, I'm back in Oblivion. I spent a week or two of evenings updating my load order, getting all the new utilities (DLL?! Neat!) and finally got to playing. I was running along the other day, further beta-testing my cooking mod on the side, when I realized I needed a fishing mod to help make the ranger character experience complete. I quick search turned up some hits, but nothing to my liking. So I've made my own.
I've got it working well - including a filter patch to understand fish from other mods, and give them appropriate meat if they lack it - and I'm pretty happy with the result. BUT! (and here's the catch) I can't figure out a way to determine where it's appropriate for the player to fish.
I tried GetCrosshairRef but that of course doesn't see the water shader. I tried doing things like comparing the water level in a cell to the player's Z position, but that's fraught with innaccuracies. I even tried (after peeking at http://www.tesnexus.com/downloads/file.php?id=7857 from 2006) to toss a miniturized critter in front of the player and test if it's swimming, but that failed as well.
So I'm appealing to my fellow modders for ideas. I'd hate to have to keep this a personal mod exclusively for my own RP purposes...