I have to reinvent this stuff whenever I use it.
This explains how to set up an Ad Hoc network using a Mac on Mac OS Mountain Lion
http://support.apple.com/kb/PH10666?viewlocale=en_US&locale=en_US
Other devices can log on to it including Apple TV.
We've set up our boat network for printing and other activities far away from the nearest internet connected wifi.