If you start at a community college, http://www.assist.org will be your friend in course planning.
For example, here is its listing of Los Angeles Pierce College courses to take for major preparation for mechanical engineering at UCI:
UCI general education is listed here:
You may also complete IGETC in lieu of general education for most majors at most UCs and CSUs.
Note that you must also satisfy base transfer requirements described here: