If you want to do ship layout files, you really want SJ's Slotmodder.
I haven't the slightest clue where these things fire from or what they're capabilities are, so I'll have to skip on actually helping..
http://imagemodserver.mine.nu/starfury/SFslotmodder.zip