var tnode = ccbGetSceneNodeFromName("Terrain");ccbSetPlantDefaults(tnode, 20, 17, 0.5, 15);
I get an error saying ccbSetPlantDefaults function is not defined. If your API is designed to run as a custom binary then I can't see how any functions can be run from within the editor ??
Also the function ccbSetTerrainColor does not change the terrain color but it does change the color of the terrain reflected in a water plain.EDIT: The ccbSetterrainColor is working correctly now but with the shadows disabled only. I understand there are some issues with some terrain functions and shadows enabled but I thought this only applied to the ccbSetOcclusionCulling() function which causes flickering.