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
Colonel
Posts: 2510
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: 8710
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

mman69
Private First-Class
Posts: 8
Joined: Mon 20 Feb 2017 13:28
Contact:

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

Postby mman69 » Fri 24 Nov 2017 08:45

hi i have done as above and mod generates ok but when i load mod into game and then run game i see no more units in pack ,i know mod loaded as other things like cost of the unit are changed any help please
im trying to add one more swimwagen arty to fj3


export Descriptor_Deck_Pack_GR_3FJ_SchwimBeo is TDeckPackDescriptor
(
DescriptorId = GUID:{e35db76e-5c18-4242-905b-3d238598d423}
PackToken = ''
AvailableFromPhase = 0
ExperienceLevel = 0
FactoryType = EDefaultFactories/Art
TransporterAndUnitsList =
[
TDeckTransporterAndUnitsDescriptor
(
UnitDescriptorList =
[
~/Descriptor_Unit_Schwimmwagen_Beo,
]
),
TDeckTransporterAndUnitsDescriptor
(
UnitDescriptorList =
[
~/Descriptor_Unit_Schwimmwagen_Beo,
]
),
]
)

mman69
Private First-Class
Posts: 8
Joined: Mon 20 Feb 2017 13:28
Contact:

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

Postby mman69 » Fri 24 Nov 2017 10:49

wow so simple yet alluded me for a day or two ..

OK so there are 3 entries in packs for each division
1 for campaign i assume ..which is what i edited first
1 for sp skirmish i assume....lables multi
1 for multiplayer online i assume ..labled multi_multi

edited as above for the Multi pack and bingo i now have 2x swim arty to deploy -)

hope this helps anyone else in future
cheers

Who is online

Users browsing this forum: Stukoke and 2 guests