How to add more units to a devision card.?

UsRanger1998
Specialist
Posts: 14
Joined: Mon 8 May 2017 14:03
Contact:

How to add more units to a devision card.?

Postby UsRanger1998 » Sun 14 May 2017 20:57

Does any one know how to add more units to a Card.?

UsRanger1998
Specialist
Posts: 14
Joined: Mon 8 May 2017 14:03
Contact:

Re: How to add more units to a devision card.?

Postby UsRanger1998 » Sun 14 May 2017 20:59

i mean to a division card

User avatar
Gronank
Lieutenant Colonel
Posts: 2476
Joined: Tue 8 Nov 2011 23:40
Contact:

Re: How to add more units to a devision card.?

Postby Gronank » Sun 14 May 2017 21:06

\GameData\Gameplay\Decks\Generated\Packs.ndf
just copy the TDeckTransporterAndUnitsDescriptor of the correct pack until you get the wanted number
Image

User avatar
D-M
Posts: 8546
Joined: Sat 23 Jul 2011 11:10
Contact:

Re: How to add more units to a devision card.?

Postby D-M » Sun 14 May 2017 21:10

A pack of unit is defined in the pack.ndf file you can found in gamedata/gameplay/deack/generated, each pack consist of just a list of unit, for example a pack of 6prd at gun transported by jeep you can find in the 2nd db division :

Code: Select all

export Descriptor_Deck_Pack_FR_2DB_AT57mm_Jeep_MULTI is TDeckPackDescriptor
(
    DescriptorId = GUID:{31c818f1-e4ac-4215-9d3b-42d4df59f6d9}
    PackToken = ''
    AvailableFromPhase = 0
    ExperienceLevel = 0
    FactoryType = EDefaultFactories/AT
    TransporterAndUnitsList =
    [
        TDeckTransporterAndUnitsDescriptor
        (
            TransporterDescriptor = ~/Descriptor_Unit_Jeep_FR
            UnitDescriptorList =
            [
                ~/Descriptor_Unit_Canon_6pdr_FR,
            ]
        ),
        TDeckTransporterAndUnitsDescriptor
        (
            TransporterDescriptor = ~/Descriptor_Unit_Jeep_FR
            UnitDescriptorList =
            [
                ~/Descriptor_Unit_Canon_6pdr_FR,
            ]
        ),
        TDeckTransporterAndUnitsDescriptor
        (
            TransporterDescriptor = ~/Descriptor_Unit_Jeep_FR
            UnitDescriptorList =
            [
                ~/Descriptor_Unit_Canon_6pdr_FR,
            ]
        ),
    ]
)


If you want to add or remove unit from this pack you simply have to add/remove a

Code: Select all

TDeckTransporterAndUnitsDescriptor
        (
            TransporterDescriptor = ~/Descriptor_Unit_Jeep_FR
            UnitDescriptorList =
            [
                ~/Descriptor_Unit_Canon_6pdr_FR,
            ]
        ),

from the TransporterAndUnitsList list.
Image

Who is online

Users browsing this forum: No registered users and 1 guest