Jump to content

Adding DCG ground units or ships


Shardur

Recommended Posts

Hi,

I encountered a problem while trying to modify a campaign with new ground units/ships. However i have no idea what the numbers in the "gobjects.dcg" stand for.

 

Example:

Ships.Tral 1 1 1 1 0 1 1 None

Ships.Tramp 1 0 0 1 0 1 1 None

Ships.Shuka 1 1 1 1 0 1 1 None

Ships.MAS501 2 1 1 1 0 1 1 None

Ships.SubTypeVIIC_Srf 2 0 0 1 0 1 1 Ships.Submarine

Ships.SubTypeVIIC_Sub 2 0 0 1 0 1 1 Ships.SubmarineP

Ships.USSSaratogaCV3 1 0 0 0 1 1 1 None

Ships.USSBBGeneric 1 0 0 0 1 1 1 None

 

 

What do the numbers behind the type specify? I know the first one defines if it is Axis or Allied but what of the rest?

 

 

PS: Also: Do I need to do more than add the units to "gunits.dcg" and "gobjects.dcg"?

Link to comment
Share on other sites

The other numbers refer to which game version the ground unit/ship is active in. For everything new, you can just "0" out all of them except the last one (which is IL-2 1946 and should be set to "1"). The unit at the end of the list is the substitute to use if you are using an earlier version of the game.

 

And yes, you'll need to add them to the other files as well.

Link to comment
Share on other sites

Ok so what are all the files the new units have to be added to?

 

Ground units need to be added to:

 

armor.dcg: this is only for armor units (tanks, armored cars, etc). It sets up their start and end dates, their replacement type and their infantry attack/defense points.

gobjects.dcg: this is for stationary objects only

gunits.dcg: this is for all moving ground units

shipnames.dcg: this is only for ships and only to give them names by default

 

 

Link to comment
Share on other sites

Each location can have "troops" at the location. These troop values are tracked in the locations.dcg. Basically, infantry is abstracted in DCG. Tanks have an attack value against them and a defense value - which is basically the most damage they can do to the infantry when the tanks are in an attack role or a defense role.

 

Anyway, if you want to add a new tank, just find an old one that's similar what you think the new one is and use those stats.

Link to comment
Share on other sites

  • 10 months later...
If you add modded units (including infantry) to the armor.dcg file (and the gunits.dcg as well)' date=' they will act as armor and capture territory if the DCG infantry points are reduced to zero.[/quote']

 

Excellent! That brings a whole lot of options for HSFX campaigns.

 

Thanks a lot for the quick answer.

 

Link to comment
Share on other sites

  • 4 years later...

I don't use any modded version.

 

The Semovente 75/18 is available in the stock version since 4.11.

As well as the others italian materials:

Autoblindo AB 41

Carro Armato L6-40

Carro Armato 13-40

Semovente 47-32

Wich are available in DCG... :)

 

May be do you skipped adding it. Luckily it's never too late. :D

 

I want to use it to create some DCG campaigns using the Tobruk map

 

Thanks by advance.

Link to comment
Share on other sites

On closer inspection, "4-Semovente_751840" should work.  The string extracted is 18 characters long.  So it just needs to be run right into the next value with no spaces.

 

I want to add the Semovente 75/18 in the armor.dcg file.

But it seems that its alias in IL2 (4-Semovente_751840) is too long.

Am I wrong?

 

It seems to be fine with the gobjects.dcg and the gunits.dcg files.

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...