Hello everyone,
Me and a friend have been playing tld for a while now but we have finished the campaigns.
We would like to make a campaign that just covers the whole map from bottom to top, where allies start at bottem and axis start at top. Problem is we would like the change the battlegroups to be equal and to make the campaign last more than from 6 to 9 june. These things i cannot do in the ingame campaign editor.
If anyone knows how to help would be appreciated.
Thansk in advance!
Changing the campaign
RE: Changing the campaign
Hello,
A little update. I've been changing the campaign.txt to try and make the campaign last longer.
This is what i have now
However as I can see i've added enough info for every day of the campaign but when i start close combat i get this error.
I dont know what to fix to get rid of this message.
Any help is appreciated,
Thanks in advance!
A little update. I've been changing the campaign.txt to try and make the campaign last longer.
This is what i have now
#########################################################################
# Campaign.txt for "The Longest Day"
##########################################################################
# Campaign length, in days, max is 25
25
# Strategic turns per day (valid range 1-4)
4
# Allied 'home' direction (friendly rear that way. 0 = N, 1 = NE, 2 = E, 3 = SE, 4 = S, 5 = SW, 6 = W, 7 = NW)
4
# Axis 'home' direction
0
# Historical weather for each day (0 = Clear, 1 = overcast, 2 = light overcast, 3 = storm)
1,2,2,1,3,3,2,1,0,0,0,0,1,1,0,2,3,1,0,0,2,2,1,0,0
# Historical Axis score for each turn of each day, one line per day.
# "Score" is a precentage of victory for the Axis. Allied score = 100 - Axis score.
98,95,90,86
86,86,85,84
83,82,81,80
78,75,71,68
78,75,71,68
78,75,71,68
78,75,71,68
78,75,71,68
78,75,71,68
78,75,71,68
78,75,71,68
78,75,71,68
78,75,71,68
78,75,71,68
78,75,71,68
78,75,71,68
78,75,71,68
78,75,71,68
78,75,71,68
78,75,71,68
78,75,71,68
78,75,71,68
78,75,71,68
78,75,71,68
78,75,71,68
#########################################################################
# Support Missions
# (Max/Min air values are used to generate random # missions for random
# weather games. Value will be linear between min and max.)
#########################################################################
# Allied artillery support for each day
0,3,4,5,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4
# Allied naval gunfire support max. for each day
9,8,6,6,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4
# Allied historical air support for each day
8,6,6,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4
# Allied historical air resupply for each day
0,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4
# Allied air strike maximum for each weather type (0-3) for non-historical weather
5,3,3,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4
# Allied air strike minimum for each weather type (0-3) for non-historical weather
2,1,1,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4
# Allied air resupply maximum (Clear weather only)
0,2,2,2,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4
# Allied air resupply minimum (Clear weather only)
0,2,2,2,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4
# Axis artillery support for each day
6,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4
# Axis naval gunfire support for each day
0,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4
# Axis historical air support for each day
0,2,2,2,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4
# Axis historical air resupply for each day
0,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4
# Axis air strike maximum for each weather type (0-3)
3,2,1,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4
# Axis air strike minimum for each weather type (0-3)
1,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4
# Axis air resupply maximum (Clear weather only)
0,2,2,2,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4
# Axis air resupply minimum (Clear weather only)
0,2,2,2,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4
#########################################################################
# Misc. options / features
#########################################################################
# Recycle Disbanded BGs (0 = Never come back, 1 = Return next day)
1
# Locked BGs (0 = unlocked, 1 = locked) Locked = player can not choose teams
0
# BGs retreat on rout (0 = disband on rout, 1 = retreat on rout)
0
# Number of days after arrival that Allied AB BGs are automatically in supply
1
# Number of days after arrival that Axis AB BGs are automatically in supply
0
# Allies suprised (on moves on turn 1) (0 = no, 1 = yes)
0
# Axis suprised (on moves on turn 1) (0 = no, 1 = yes)
0
# Allies redirect % chance for each day (0 = units not redirected)
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
# Axis redirect % chance for each day (0 = units not redirected)
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
# Allied air recon sighting % chance (clear weather only)
100
# Axis air recon sighting % chance (clear weather only)
100
# Allied ground recon sighting % chance
5
# Axis ground recon sighting % chance
5
# Allied parachute drop days (0 or 1) AB BGs arriving on maps with no off-map exit get random setup area(s)
0,1,2,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
# Axis parachute drop says
0,0,1,2,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
#########################################################################
# Battle group 'base' battle plans: Controls the default plan used by
# A given BG when opposed by a given enemy BG. Plans are:
# 0 = all out attack, 1 = limited attack, 2 = probing attack, 3 = defend, 4 = survive
# NOTE: The base plan will be refined based on commander aggression and
# situation, and may result in an actual battle plan +/-1 from base.
#########################################################################
# Allied Infantry BG vs Axis infantry, recon, armor, armored infantry, paratroop, and engineer BG
0,1,1,1,0,0
# Allied Recon BG vs Axis infantry, recon, armor, armored infantry, paratroop, and engineer BG
2,1,2,2,1,1
# Allied Armor BG vs Axis infantry, recon, armor, armored infantry, paratroop, and engineer BG
0,0,1,1,0,0
# Allied Armored Inf BG vs Axis infantry, recon, armor, armored infantry, paratroop, and engineer BG
0,0,1,1,0,0
# Allied Parachute Inf BG vs Axis infantry, recon, armor, armored infantry, paratroop, and engineer BG
1,1,2,2,1,1
# Allied Engineer Inf BG vs Axis infantry, recon, armor, armored infantry, paratroop, and engineer BG
2,2,3,3,2,1
# Axis Infantry BG vs Allied infantry, recon, armor, armored infantry, paratroop, and engineer BG
3,3,3,3,3,2
# Axis Recon BG vs Allied infantry, recon, armor, armored infantry, paratroop, and engineer BG
2,2,3,3,2,2
# Axis Armor BG vs Allied infantry, recon, armor, armored infantry, paratroop, and engineer BG
1,1,2,2,1,1
# Axis Armored Inf BG vs Allied infantry, recon, armor, armored infantry, paratroop, and engineer BG
1,1,2,2,1,1
# Axis Parachute Inf BG vs Allied infantry, recon, armor, armored infantry, paratroop, and engineer BG
3,3,3,3,2,2
# Axis Engineer Inf BG vs Allied infantry, recon, armor, armored infantry, paratroop, and engineer BG
3,3,3,3,3,3
# Auto-refresh FPs (ala stock CC4)
0
#########################################################################
# Ability to Rest BGs (0 or 1)
1
# Base cohesion cost for movement (0-512)
16
# Base cohesion cost for combat (0-512)
64
# Base fatigue cost for movement (0-512)
32
# Base fatigue cost for combat (0-512)
64
# Night turn? 0 or 1 (for yes or no), one entry per day
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1
# NOTE: diff-base support will overwrite the old stuff further up in campaign.txt, but old lines still needed for backward compatibility
# Allied diff-based arty support per day (very weak – strong = 5 lines)
0,1,2,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4
0,1,2,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4
0,1,2,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4
0,1,2,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4
0,1,2,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4
# Allied diff-based naval support per day (very weak – strong = 5 lines)
0,1,2,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4
0,1,2,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4
0,1,2,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4
0,1,2,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4
0,1,2,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4
# Allied diff-based air support per day (very weak – strong = 5 lines)
0,1,2,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4
0,1,2,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4
0,1,2,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4
0,1,2,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4
0,1,2,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4
# Allied diff-based air re-supply per day (very weak – strong = 5 lines)
0,1,2,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4
0,1,2,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4
0,1,2,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4
0,1,2,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4
0,1,2,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4
# Axis diff-based arty support per day (very weak – strong = 5 lines)
0,1,2,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4
0,1,2,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4
0,1,2,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4
0,1,2,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4
0,1,2,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4
# Axis diff-based naval support per day (very weak – strong = 5 lines)
0,1,2,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4
0,1,2,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4
0,1,2,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4
0,1,2,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4
0,1,2,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4
# Axis diff-based air support per day (very weak – strong = 5 lines)
0,1,2,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4
0,1,2,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4
0,1,2,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4
0,1,2,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4
0,1,2,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4
# Axis diff-based air re-supply per day (very weak – strong = 5 lines)
0,1,2,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4
0,1,2,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4
0,1,2,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4
0,1,2,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4
0,1,2,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4
# Auto-add/remove teams to/from FPs on team type change? (0 = NO, 1 = YES)
1
#########################################################################
However as I can see i've added enough info for every day of the campaign but when i start close combat i get this error.
Not enough entries in FP data for class0, data 4, strength 0
I dont know what to fix to get rid of this message.
Any help is appreciated,
Thanks in advance!
- CSO_Talorgan
- Posts: 817
- Joined: Sat Mar 10, 2007 5:53 pm
RE: Changing the campaign
The problem with extending the duration of the campaign is that each battlegroup is supposed to have an entry for each day. Unfortunately this is in a file which is not infinite. That may be what is generating the error signal.
I am not trying to sound discouraging as I'd dearly love the scope of campaigns to be extended both temporally and spatially.
I am not trying to sound discouraging as I'd dearly love the scope of campaigns to be extended both temporally and spatially.
- Andrew Williams
- Posts: 3862
- Joined: Mon Jan 08, 2001 10:00 am
- Location: Australia
- Contact:
RE: Changing the campaign
You have increased the number of days to 25
You need to increase all corresponding data to 25 entries..
eg 25 days of scoring
25 days for all support missions
25 days of redirect chance
etc etc which a quick look seems to have been done
you also need to increase fpools.txt to include data for 25 days in instead of the 4 it has now.
maybe look at tLD Classic mod fpools.txt to see how it is filled through 25 days, you will have to adjust to your own design though. http://closecombat.matrixgames.com/Long ... Dmods.html
You need to increase all corresponding data to 25 entries..
eg 25 days of scoring
25 days for all support missions
25 days of redirect chance
etc etc which a quick look seems to have been done
you also need to increase fpools.txt to include data for 25 days in instead of the 4 it has now.
maybe look at tLD Classic mod fpools.txt to see how it is filled through 25 days, you will have to adjust to your own design though. http://closecombat.matrixgames.com/Long ... Dmods.html


- CSO_Talorgan
- Posts: 817
- Joined: Sat Mar 10, 2007 5:53 pm
RE: Changing the campaign
ORIGINAL: Andrew Williams
fpools.txt
That's the name I could not remember. This is the sticking block is it not, as it cannot be extended?
- Andrew Williams
- Posts: 3862
- Joined: Mon Jan 08, 2001 10:00 am
- Location: Australia
- Contact:
RE: Changing the campaign
Yes it can, to a max of 25 days... tLD is only 4 days.
Just look at the WaR fpools.txt
If you don't have it DL the WaR workbook.
Just look at the WaR fpools.txt
If you don't have it DL the WaR workbook.


- CSO_Talorgan
- Posts: 817
- Joined: Sat Mar 10, 2007 5:53 pm
RE: Changing the campaign
ORIGINAL: Andrew Williams
Yes it can, to a max of 25 days...
OK, whatever the number, the point is that it is finite.
- Andrew Williams
- Posts: 3862
- Joined: Mon Jan 08, 2001 10:00 am
- Location: Australia
- Contact:
RE: Changing the campaign
Yes
If you look at the Scenario editor screen you will see there is finite space for graphics depicting the day of the campaign... this is where the limitation is enforced... The games original design looks for graphics in the Gadget files ... This combined with screen real estate means there is a limit.
But tLD can be expanded six fold from it's 4 days campaign presently depicted.
Also an increase from two turns per day to Four turns plus a night turn (in effect 5 turns) has hugely expanded the number of turns per day available.
Note: No body has produced anything yet pushing tLD to it's limit in this regard.
If you look at the Scenario editor screen you will see there is finite space for graphics depicting the day of the campaign... this is where the limitation is enforced... The games original design looks for graphics in the Gadget files ... This combined with screen real estate means there is a limit.
But tLD can be expanded six fold from it's 4 days campaign presently depicted.
Also an increase from two turns per day to Four turns plus a night turn (in effect 5 turns) has hugely expanded the number of turns per day available.
Note: No body has produced anything yet pushing tLD to it's limit in this regard.


