I think RCBot has hl2dm support so you may want to try that.
However if you would like to make you own try starting from botman's HPB bot 2 Template (can't find it right now, the link botman posted:
http://www.botman2.com/downloads/HPB_bot2_Alpha_1.zip seems down. Maybe someone else who has the template can upload it).