View Single Post
Old 04-12-12, 07:45 PM   #1047
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Trevally. View Post
So - if your app can check if in campaign folder campaign.cfg has the entry TargetType=0
It should check the ship class(name) from same file (campaign.cfg) and then look in that ships cfg file for unittype - then check that is the same as the Type=x in the campaign.cfg
This has been added. I also check all the Type= entries to ensure they are defined (irregardless of TargetType). If the Class= is defined then I also check to ensure this class exists in some country (has to be defined in at least one country). NOTE: the Class= can be defined for those TargetType=1 entries (the app found a couple with this defined). I wonder if this is an error or is ok

See post #1 of the SH5 Validator thread for new version (v2.0.6.0)
TheDarkWraith is offline   Reply With Quote