I recommend reading the book "the basics of corset building" by Linda Sparks. As for a custom pattern, I used the duct tape method to get a pattern and that worked out amazingly.
​
​
I put on my regular underwear (bra and panties), covered my torso in cling film and had a friend duct tape my shape.