Im confused about hydrogen fuel cells. I cant see running a truck on batteries.
Why can't you see a truck running off of electricity? Energy is energy, regardless of whether it comes from a fuel cell or combustion. Plenty of things that are much bigger than a truck have electric drives; to include locomotives, industrial forklifts, and submarines.
Electric drive schemes have some significant advantages over conventional combustion engines. For example, no need for transfer cases and driveshafts and differentials and locking hubs on a 4x4; just give each wheel its own independent electric motor and you have near-infinite control just using software.
You wouldn't even need a transmission. Reverse is just spinning the motors the other way, and the way electric motors deliver power makes it possible to run up to 100 mph or more with a single gear ratio while still maintaining efficiency and good acceleration.
Stuck in snow? Just press the traction control and mash the pedal, let the car feather the power and respond to loss of traction better than a standard car ever could.
You can optimize your prime mover (be it a fuel cell or gas engine, or maybe even something else entirely - like a Stirling engine!) for a single rate of operation, and run it at this most efficient point almost all the time; letting the batteries respond to short-term load fluctuations.
It is difficult to overstate the advantages that an electric propulsion scheme would provide to the driver. The only thing holding this technology back is the energy content per unit volume problem I mentioned earlier, the motors and controls and whatnot already exist. When/if that gets sorted out the days of conventional combustion powertrains are numbered.
I expect that even without some revolutionary battery technology or similar storage scheme we'll see a lot more cars like the Chevy Volt that do not have any mechanical linkage between the gasoline engine and the wheels. The benefits are just too great to ignore.
You
can just burn the hydrogen and run the car the usual way, this is what BMW is doing with their hydrogen 7 series:
http://en.wikipedia.org/wiki/BMW_Hydrogen_7
But why would you want to?