We had a tutorial around, or at least a long thread about it on one of the old forums …
Ah, found a tut here