Update: As of the 1.3 Patch, you can no longer set Ultra High quality, the highest value which works for these settings is 3, which is also the maximum possible when using the in-game settings.
high quality shadows can be turned on via "graphics" text file located in ...\Forgotten Hope 2 (or "Battlefield 2" depending if you use standalone)\mods\fh2\fh2settings