Wireless LAN setup for gaming

How would one go about setting up a Wifi network up to use as a LAN? I recently got a new PC and I wanna play on a LAN network on Half-life with em’. Anybody know how to do this?

edit: nevermind i misread the post

You want to use a wi-fi network to play lan?
Just create a game and find the server on the LAN tab, at least that’s how i usually do with counter strike

Buy a wireless router… and a usb wifi adapter if the PC doesn’t have one.

Internet > Modem > Router > PCs/Laptops

I presume you have windows 7.
-Go to Network and Sharing Center
-Set up a new network for connection
-Scroll down
-Set up Ad-Hoc
-Name the network and put a password
-Join the network wirelessly from the other PC
-Enjoy

PS: Stay a bit close to each other; no setting IPs up needed (unless HL gives you an error)

Founded in 2004, Leakfree.org became one of the first online communities dedicated to Valve’s Source engine development. It is more famously known for the formation of Black Mesa: Source under the 'Leakfree Modification Team' handle in September 2004.