How to gather/mine a recourse for a rts game?

What is wrong with the method done in the RTS community project too then if you don’t like that way?