Here's the script and shader I use for applying normal/spec/gloss to the terrain. Readme's in there with instructions. http://www.farfarer.com/temp/unityTerrainNormalSpec.zip
List of console/papyrus script commands http://mod.gib.me/skyrim/functions.html my bad, this is even better: http://www.creationkit.com/Category:Papyrus