02.01.2008, 17:47
The endcampaign.dcg file specifies how each side will win the map. The format for this file is like all the others. You put the mapname in brackets, and underneath you specify the side and victory conditions. There are many ways a side can win a map. Here are most of them:
EndDate=MM/DD/YYYY
EndLocation=Rabaul_Harbor
Destroy="object name" X%
Sunk=CV 100%
Sunk="ship name" X%
So your options are end the map on a certain date. End the map if a specific location is captured. End the map if a object or percentage of objects is destroyed. You can end the map if a percentage of carriers or ships is sunk.
When incorporating campaign ideas, here are some examples. Take the Hawaii map. You do a Pearl Harbor campaign. In your endcampaign.dcg file, you say Sunk=USSIndianapolis 80%. So the campaign keeps going until 80% of the static US ships are sunk. Or at midway, you can just say Sunk=CV 100%. Each side will battle until they have sunk all the other's carriers. The Destroy="object" X% is very usefull for daylight bombing. You can set up a static machine gun or truck under factory buildings, and the campaign will end when X% of the static objects are destroyed. Note if doing this, don't use many resupply columns, or else the game will go on indefinitely. If doing this maybe have one supply column, otherwise use a different victory condition.
When you make this, you need one for red, and one for blue. You will do two or more for each map, one for each victory condition for each side. Here is an example from one of my files:
[Britain]
Campaign=Europe_Campaign
Destroy=GAZ67 80%
Victor=Blue
[Britain]
Campaign=Europe_Campaign
EndDate=02/14/1941
Victor=Red
As you can see here, the Germans win the Battle of Britain if they destroy 80% of the factory building objects. The British win if they can last to the date set above (14 Feb, 1941). Here is another example:
[Norway]
Campaign=Europe_Campaign
Sunk=HMSIllustriousCV 100%
Victor=Blue
[Norway]
Campaign=Europe_Campaign
Sunk=Tirpitz 100%
Destroy=Tirpitz 100%
Victor=Red
In my Norway map, the campaign goes until the Germans sink HMS Glorious, or the British either sink a static Tirpitz or the Sailing Tirpitz. If either is sunk, the map will end and the campaign will adcance to the next map. Here is another one:
[Italy]
Campaign=Europe_Campaign
EndDate=09/01/1943
EndLocation=Italian_Forrest
Victor=Blue
[Italy]
Campaign=Europe_Campaign
EndLocation=Sokovo_Factory_District
Destroy=MG42 90%
Victor=Red
Here the Italians win if they can push back the Americans to the start location, and the Americans win by EITHER destroying 90% of factory building objects OR capturing Sokovo_Factory_District.
EndDate=MM/DD/YYYY
EndLocation=Rabaul_Harbor
Destroy="object name" X%
Sunk=CV 100%
Sunk="ship name" X%
So your options are end the map on a certain date. End the map if a specific location is captured. End the map if a object or percentage of objects is destroyed. You can end the map if a percentage of carriers or ships is sunk.
When incorporating campaign ideas, here are some examples. Take the Hawaii map. You do a Pearl Harbor campaign. In your endcampaign.dcg file, you say Sunk=USSIndianapolis 80%. So the campaign keeps going until 80% of the static US ships are sunk. Or at midway, you can just say Sunk=CV 100%. Each side will battle until they have sunk all the other's carriers. The Destroy="object" X% is very usefull for daylight bombing. You can set up a static machine gun or truck under factory buildings, and the campaign will end when X% of the static objects are destroyed. Note if doing this, don't use many resupply columns, or else the game will go on indefinitely. If doing this maybe have one supply column, otherwise use a different victory condition.
When you make this, you need one for red, and one for blue. You will do two or more for each map, one for each victory condition for each side. Here is an example from one of my files:
[Britain]
Campaign=Europe_Campaign
Destroy=GAZ67 80%
Victor=Blue
[Britain]
Campaign=Europe_Campaign
EndDate=02/14/1941
Victor=Red
As you can see here, the Germans win the Battle of Britain if they destroy 80% of the factory building objects. The British win if they can last to the date set above (14 Feb, 1941). Here is another example:
[Norway]
Campaign=Europe_Campaign
Sunk=HMSIllustriousCV 100%
Victor=Blue
[Norway]
Campaign=Europe_Campaign
Sunk=Tirpitz 100%
Destroy=Tirpitz 100%
Victor=Red
In my Norway map, the campaign goes until the Germans sink HMS Glorious, or the British either sink a static Tirpitz or the Sailing Tirpitz. If either is sunk, the map will end and the campaign will adcance to the next map. Here is another one:
[Italy]
Campaign=Europe_Campaign
EndDate=09/01/1943
EndLocation=Italian_Forrest
Victor=Blue
[Italy]
Campaign=Europe_Campaign
EndLocation=Sokovo_Factory_District
Destroy=MG42 90%
Victor=Red
Here the Italians win if they can push back the Americans to the start location, and the Americans win by EITHER destroying 90% of factory building objects OR capturing Sokovo_Factory_District.