You can download some map files from the KotOR Tool web site (but not all). To create map files is a big undertaking, but clearly outlined on the site. I never used map files for my modding though :-) .
"I really had it in me to become a loser - as usual, I did not make it!" - Otto Waalkes