Previous Thread
Next Thread
Print Thread
Rate This Thread
Hop To
#4583873 - 10/29/21 11:27 AM UAW160 Front-lines  
Joined: Apr 2002
Posts: 12,497
MrJelly Offline
Veteran
MrJelly  Offline
Veteran

Joined: Apr 2002
Posts: 12,497
Montagnac, L'Herault, France
I suspect that not too many players are au fait with the workings of the front-line system.
AFAIK all versions of EAW use a "frntline.dat" file with 20 front-lines in it (0 to 19)

This is our code:
[Linked Image]

What the code is doing for single missions is setting front-line 0 to be used if the selected mission year is 1940 or 1943.

If the selected mission year is 1944 then front-line 8 is used, and if the selected mission year is 1945 then front-line 12 is used.

These are the default settings. Only four of the twenty front-lines are used

In the code shown here there is a system to allow different front-lines to be used.
The exe looks for a file named "frontline.mpf", and if it finds one it reads it.

If the file reads as:

1
6
11
19

then:
front-line 1 will be used for 1940
front-line 6 will be used for 1943
front-line 11 will be used for 1944
front-line 19 will be used for 1945

Any player can try this out by making a text file with the four values (0 to 19) using notepad, then saving it as "frontline.mpf" in the root folder smile
Their four front-lines will be used in single missions.

This feature is not available in other versions of EAW wink


Fly EAW online at GameRanger: GameRanger Site

FaceBook Pages
UAW 160 downloads
EAW Club

Mark Twain: I am quite sure now that often, very often, in matters concerning religion and politics a man's reasoning powers are not above the monkey's.

I am now of an age at which I no longer need to suffer fools gladly
#4583881 - 10/29/21 01:01 PM Re: UAW160 Front-lines [Re: MrJelly]  
Joined: Apr 2002
Posts: 12,497
MrJelly Offline
Veteran
MrJelly  Offline
Veteran

Joined: Apr 2002
Posts: 12,497
Montagnac, L'Herault, France
Pictures of the ETO default front-lines 00 to 19 in order:

00: Default frontline for 1940-43 and effectively current until D-Day
[Linked Image]

01: D-Day
[Linked Image]

02: The invasion progresses
[Linked Image]

[Linked Image]

[Linked Image]

[Linked Image]

[Linked Image]

[Linked Image]

08: The default 1944 Front-line
[Linked Image]

[Linked Image]

[Linked Image]

[Linked Image]

[Linked Image]


13: This looks like the start of the "Battle of the Bulge"
[Linked Image]

[Linked Image]

[Linked Image]

16: The default 1945 front-line
[Linked Image]

[Linked Image]


[Linked Image]

[Linked Image]

You can really see how things changed smile

You could convert the default ETO theatre to a D-Day sequence by making a "Frontline.mpf" file which reads

3
5
6
7

wink Jel


Fly EAW online at GameRanger: GameRanger Site

FaceBook Pages
UAW 160 downloads
EAW Club

Mark Twain: I am quite sure now that often, very often, in matters concerning religion and politics a man's reasoning powers are not above the monkey's.

I am now of an age at which I no longer need to suffer fools gladly
#4583891 - 10/29/21 03:26 PM Re: UAW160 Front-lines [Re: MrJelly]  
Joined: Apr 2002
Posts: 12,497
MrJelly Offline
Veteran
MrJelly  Offline
Veteran

Joined: Apr 2002
Posts: 12,497
Montagnac, L'Herault, France
The utility that splits the 20 frontline file into individual frontlines, and displays them also builds new frontline files.
The new file does not have to have 20 frontlines, and for single missions you only need four.
I built one using frontlines 03, 05, 06 and 07 for a D-Day theme.
The "frontline.mpf" read as

0
1
2
3

Flying a single mission you can see those front-lines when you select a base or a target:

1940 with FL 03:
[Linked Image]

1943 with FL 05:
[Linked Image]

1944 with FL 06:
[Linked Image]

1945 with FL 07:
[Linked Image]

This is working beautifully wink


Fly EAW online at GameRanger: GameRanger Site

FaceBook Pages
UAW 160 downloads
EAW Club

Mark Twain: I am quite sure now that often, very often, in matters concerning religion and politics a man's reasoning powers are not above the monkey's.

I am now of an age at which I no longer need to suffer fools gladly
#4583927 - 10/29/21 07:59 PM Re: UAW160 Front-lines [Re: MrJelly]  
Joined: Aug 2000
Posts: 7,427
Moggy Offline
EAW Old Timer and Bodger
Moggy  Offline
EAW Old Timer and Bodger
Hotshot

Joined: Aug 2000
Posts: 7,427
A slit trench at RAF Gravesend
This is a really useful mod Jel.

cheers


Quick Search
Recent Articles
Support SimHQ

If you shop on Amazon use this Amazon link to support SimHQ
.
Social


Recent Topics
Carnival Cruise Ship Fire....... Again
by F4UDash4. 03/26/24 05:58 PM
Baltimore Bridge Collapse
by F4UDash4. 03/26/24 05:51 PM
The Oldest WWII Veterans
by F4UDash4. 03/24/24 09:21 PM
They got fired after this.
by Wigean. 03/20/24 08:19 PM
Grown ups joke time
by NoFlyBoy. 03/18/24 10:34 PM
Anyone Heard from Nimits?
by F4UDash4. 03/18/24 10:01 PM
RIP Gemini/Apollo astronaut Tom Stafford
by semmern. 03/18/24 02:14 PM
10 years after 3/8/2014
by NoFlyBoy. 03/17/24 10:25 AM
Copyright 1997-2016, SimHQ Inc. All Rights Reserved.

Powered by UBB.threads™ PHP Forum Software 7.6.0