Jump to content

Two location problems


Fhechene

Recommended Posts

Hi!
So, I have modified berlin.rds
First problem
I have added an _Airfield. I added it to the locale lines in allcampaigns, so it start as an Allied location. It worked superb, but then I modified furthermore the .rds file and created a new campaign and the new airfield is Axis. I rolled back and added the lines again and even deleted the backups, but it seems this doesn't work.

Second problem
In the master berlin.mis file I added some columns near  location A, so when the campaign starts those columns start there, near the front. Now, all these columns go from A to D, so I added some roads between A and B, B and C and C and D and deleted the road from A to D. Now, these columns only appear in Home and move towards the front.

Any help?

Link to comment
Share on other sites

Second problem first.  It's probably just by accident the columns appeared near the front the first time.  You're probably better to add them to the timetable.dcg file so you can define exactly where they start.  For example:

  19410808 NewColumn 38_Chief Armor.4-T26_Early 1 @Russian_Depot $Armor_Group_2 ~L

The first problem is more difficult to figure out.  The airfield has to be both in the allcampaigns.dcg file (to tell the game it's Allied) AND it has to be set up properly in the berlin.rds file.  If it's in both, it needs to be spelled exactly the same in each (and if it's in the rds file multiple times, off course, those have to all be the same as well). 

If you cut and paste here the Berlin entry in the allcampaigns.dcg and cut and paste the relevant parts of the rds file, maybe I can figure it out.

Link to comment
Share on other sites

Regarding the first problem, I used that the very first time, deleting and adding two convoys and it worked. Now, none of those convoys is there.
So, this is the new [Berlin] entry in allcampaigns.dcg
 

[Berlin]
  Campaign=Grand_Campaign
  Map=Berlin
  Date=15/03/1945
  Attacker=Red
  Front=Swiebodzin_Airfield
  DeHome=Berlin
  RuHome=Polish_Border_Bridge69
  DeBase=East_Berlin_Airfield
  RuBase=Miedzyrecz_Airfield
  Locale1=English_Airfield
  Locale2=Zielona_Góra_Airfield
  Locale3=Sulechow
  Locale4=
  Locale5=
  Locale6=
  Locale7=
  Locale8=
  Locale9=

 

and this is the definition of the new places
 

[Swiebodzin_Airfield to Sulechow]
  174005.45 13184.80 120.00 0 12 3.055555582046509
  174700.00 13100.00 20.00
  175300.00 12500.00 20.00
  175300.00 7700.00 20.00
  175500.00 7500.00 20.00
  175700.00 7300.00 -113.00
  176100.00 6900.00 -113.00
  176300.00 6700.00 20.00
  176900.00 6100.00 20.00
  176900.00 3700.00 20.00
  177100.00 3500.00 20.00
  177278.41 3317.41 120.00
[Sulechow to Zielona_Góra_Airfield]
  177300.89 3294.62 120.00 0 7 3.055555582046509
  177500.00 3100.00 20.00
  177700.00 2900.00 20.00
  178500.00 2900.00 20.00
  179300.00 3700.00 20.00
  179500.00 3700.00 20.00
  184986.91 9185.86 120.00 0 2 3.055555582046509
  187915.47 9885.08 120.00 0 2 3.055555582046509
  188030.70 9679.10 120.00

 

 

Now, for the second issue, I want to go from Swiebodzin_Airfield to Sulecin_Bridge77
This is the stock DCGl path and the one I deleted
 

[Sulecin_Bridge77 to Swiebodzin_Airfield]
  162313.45 19742.43 120.0 0 11 1.9444445371627808
  162500.0 19700.0 20.0
  163100.0 19700.0 20.0
  163300.0 19700.0 -89.0
  163700.0 19700.0 -89.0
  163900.0 19700.0 20.0
  170500.0 19700.0 20.0
  171900.0 19700.0 120.0
  172100.0 19500.0 -90.0
  172100.0 19100.0 -90.0
  171285.20 18294.3 120.0 0 2 1.9444445371627808
  171208.81 17672.50 120.0 0 2 1.9444445371627808
  171260.4 17265.21 120.0 0 8 1.9444445371627808
  171500.0 17100.0 20.0
  171500.0 16900.0 20.0
  171700.0 16700.0 20.0
  171700.0 16100.0 20.0
  171300.0 15700.0 20.0
  171300.0 13700.0 20.0
  171283.32 13488.92 120.0 0 2 1.9444445371627808
  171606.9 13368.65 120.0 0 2 1.9444445371627808
  172310.68 13208.80 120.0 0 2 1.9444445371627808
  173019.3 13172.36 120.0 0 2 1.9444445371627808
  173820.23 13230.63 120.0

Now, I want to go from Swiebodzin_Airfield to Swiebodzin, then to Swiebodzin_Bridge88 and then to Sulecin_Bridge77.
I only added a Swiebodzin_Airfield to Swiebodzin route, because there were already  Swiebodzin->Swiebodzin_Bridge88 and Swiebodzin_Bridge88->Sulecin_Bridge77 routes (or the other way around).

[Swiebodzin_Airfield to Swiebodzin]
  173862.89 13237.50 20.00 0 2 2.5
  173019.30 13172.36 20.00 0 2 2.5
  172310.69 13208.80 20.00 0 2 2.5
  171606.91 13368.65 20.00 0 2 2.5
  171283.31 13488.92 20.00 0 2 2.5
  171300.00 13700.00 20.00 0 2 2.5
  171300.00 15700.00 20.00 0 2 2.5
  171700.00 16100.00 20.00 0 2 2.5
  171700.00 16700.00 20.00 0 2 2.5
  171500.00 16900.00 20.00 0 2 2.5
  171500.00 17100.00 20.00 0 2 2.5
  171569.16 17203.25 20.00 0 2 2.5
  171916.64 17192.62 20.00 0 2 2.5
  172230.15 17206.64 20.00

Now, I've checked some more and it turns out that if I have this route or not, it's irrelevant. If I delete the Sulecin_Bridge77->Swiebodzin_Airfield route, no matter what, the columns don't get created. It's not a coincidence as you said. I created several campaigns with the Sulecin_Bridge77->Swiebodzin_Airfield route and in all of those the columns were created. In none of the campaigns I created, without the Sulecin_Bridge77->Swiebodzin_Airfield  route, the columns were created

Link to comment
Share on other sites

Looking at the original Berlin.rds file, it seems I made it a bit of a mess.  I don't understand why Swiebodzin and Swiebodzin_Airfield never linked to each other.  It makes sense that you added a link. 

Your route between Swiebodzin and Swiebodzin_Airfield needs to be plotted out in that order.  All routes must go from the German "side" to the "Russian" side.  So it must start in Swiebodzin and end at Swiebodzin_Airfield.

I think I see another potential issue.  Zielona_Góra_Airfield is a dead end.  It should link up with Polish_Border_Bridge69.  If you don't, there is a good chance German units will travel up to it and then respawn back in their home location.  And Russian units will never be able to recapture it.

Link to comment
Share on other sites

Now, the road goes from Swiebodzin to Swiebodzin_Airfield and the chiefs appear, so that's solved.

The Zielona_Góra_Airfield still starts as Axis. I added a road from ZG_Airfield to Polish_Border_Bridge69, btw.

While we are at it, trains are the only column able to capture rail bridges and stations, right? So, if a train doesn't appear ever near a rail bridge, that rail bridge will never change sides, even if it's surrounded by opposing side forces, right?

Link to comment
Share on other sites

14 hours ago, Lowengrin said:

Zielona_Góra_Airfield needs to be added as a locale in the allcampaign file.  Because the map is defined as "Axis" controlled, all locations are German unless specified there.

As for rail bridges and stations, they take the "side" of the nearest road location.

It was already in the locale section in Berlin, as you can see above. I also tried adding an allied column before the start of the campaign, with timetables, but nothing happens.

Link to comment
Share on other sites

On 11/5/2019 at 10:40 PM, Lowengrin said:

As I can't think of anything else, it may be the "ó".  Try changing it to your standard "o" in both files.

It was exactly that. What bothers me the most is that at some point in the past that ó wasn't an issue. I now tried using ó instead of ó and nothing happened. It seems that Il-2 doesn't support ANSI, then, but also not utf-8.

Edit: do you know what codification does Il-2 use? And what codification does DCG use?

Link to comment
Share on other sites

  • 3 months later...
On 11/3/2019 at 8:10 PM, Lowengrin said:

Zielona_Góra_Airfield needs to be added as a locale in the allcampaign file.  Because the map is defined as "Axis" controlled, all locations are German unless specified there.

As for rail bridges and stations, they take the "side" of the nearest road location.

Ok, This conversations is super old, but given that there aren't many new posts, I figured, well, why create a new one.

What do you mean by "road" location?

Because I have a rail bridge and the three locations, defined in the .rds file, nearby are Allied, but the rail bridge remains Axis.

Link to comment
Share on other sites

Road locations are those defined in .rds files.

(Rail locations are in .rls files.  And sea locations are in .srd files.)

I can't say why the rail bridge remains Axis.  It's not the last axis rail location, is it?  Then it will stay Axis because it's defined as their starting location.

Link to comment
Share on other sites

On 3/6/2020 at 1:55 PM, Lowengrin said:

Road locations are those defined in .rds files.

(Rail locations are in .rls files.  And sea locations are in .srd files.)

I can't say why the rail bridge remains Axis.  It's not the last axis rail location, is it?  Then it will stay Axis because it's defined as their starting location.

Bridge is between two stations. Now that I've understood road locations, is it necessary for the bridge to have a road location associated with it? It's just called Rail_Bridge90,
not some_location_Rail_Bridge90

Link to comment
Share on other sites

On 3/9/2020 at 8:51 AM, Fhechene said:

Bridge is between two stations. Now that I've understood road locations, is it necessary for the bridge to have a road location associated with it? It's just called Rail_Bridge90,
not some_location_Rail_Bridge90

Did some testing on my own and that was exactly it. This was the stock DCG Berlin.rls btw, by the way. I changed the original Rail_Bridge90 entry to Swiebodzin_Rail_Bridge90 and the bridge was captured by the Allies.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...