Army Lists

Post Reply
rbodleyscott
Field of Glory 2
Field of Glory 2
Posts: 28052
Joined: Sun Dec 04, 2005 6:25 pm

Army Lists

Post by rbodleyscott »

Here is a quick tutorial on army lists.

Here is an army list from the ArmyList.txt file. The army lists have to be defined in this way. Note that total number of points for the units ought to be at least 3000 approx to work well. The lists are effectively designed for choosing 2000 point armies and will be scaled for other sizes - generally rounding up fractions.

// 500 BC - 319 AD // this is a comment and does not actually do anything
[EC_INDIAN] // this is the "chunk name" and is the internal name of the army list. It is the name of the army list to use in CustomCampaign.txt files.
SIDEID 17 // this is the sideID - you can see who is who by looking at the IDS_SIDENAME strings in in /Data/Text/Text2.txt
NAME IDS_ARMY_EC_INDIAN // This is the string tag for the army list name. It is basically IDS_ARMY_ plus the chunk name. IIRC it must be to work everywhere.
YEARS 2500 3319 // Note start era from 3000 BC - start and end dates of the army, counting from 3000 BC. For date filter.
DEPLOYMENT Hellenistic // there are three types of deployment Roman, Hellenistic and Skythian. Roman deploy in chequerboard, Hellenistic with one main battle line, skythian in a formation suitable for cavalry armies.
LONGMIN 63 // minimum longitude for the nation at the dates of the army list - for geographical filter
LONGMAX 94 // maximum longitude
LATMIN 5 // minimum latitude
LATMAX 35 // maximum latitude
INTRO IDS_ARMY_INTRO_INDIAN // string tag for army list blurb
SORTNAME Indian // sort name for alphabetical army list sort
MAPSET Tropical // Mapset - this is either Medi, North, MidEast, Steppe, Desert or Tropical. It is currently used for sandbox campaigns only.

UNIT_0 Indian_Elephants // internal unit name - the first column in the squads file
MIN_0 2 // fixed quantity for 2000 point army
MAX_0 11 // total (fixed + selection) quantity for 2000 point army

UNIT_1 Indian_H_Chariots
MIN_1 0
MAX_1 3

UNIT_2 Indian_L_Chariots
MIN_2 2
MAX_2 5

UNIT_3 Indian_Cavalry
MIN_3 2
MAX_3 9

UNIT_4 Indian_Archers
MIN_4 7
MAX_4 30

UNIT_5 Indian_Javelinmen
MIN_5 2
MAX_5 10

UNIT_6 Nomad_LH
MIN_6 0
MAX_6 3

UNIT_7 Indian_Light_Archers
MIN_7 0
MAX_7 3

UNIT_8 Heavy_Artillery
MIN_8 0
MAX_8 1

UNIT_9 Light_Artillery
MIN_9 0
MAX_9 1

Note that the UNIT_ numbers for each unit type must be consecutive or the units below the gap will be ignored.
Richard Bodley Scott

Image
rbodleyscott
Field of Glory 2
Field of Glory 2
Posts: 28052
Joined: Sun Dec 04, 2005 6:25 pm

Re: Army Lists

Post by rbodleyscott »

Oh another thing. If you do make your own army lists file, and then later add more army lists, always add them at the end, or previously saved battles and campaigns will not work correctly.

This is because the "chunk" number is stored and not the chunk name. So you need to make sure you don't change the existing chunk numbers by inserting lists above existing ones, or the saved games will be referring to the wrong list. Chunks are numbered from the top, starting with 0, but you don't really need to know this - just don't change the order.
Richard Bodley Scott

Image
rbodleyscott
Field of Glory 2
Field of Glory 2
Posts: 28052
Joined: Sun Dec 04, 2005 6:25 pm

Re: Army Lists

Post by rbodleyscott »

VERY IMPORTANT

If you are planning for your army lists to be used in MP, make sure you have the word

REPLACE

above the [POTLUCK] line in your army list.

Otherwise the wrong army list names will be displayed in the challenge list, and possibly other strange things may occur.
Richard Bodley Scott

Image
kronenblatt
General - Elite King Tiger
General - Elite King Tiger
Posts: 4361
Joined: Mon Jun 03, 2019 4:17 pm
Location: Stockholm, SWEDEN

Re: Army Lists

Post by kronenblatt »

Do I need to bother with SIDEID? And specify it uniquely for each army list? 1,2, 3...,4, etc.?
kronenblatt's campaign and tournament thread hub:

https://www.slitherine.com/forum/viewtopic.php?t=108643
rbodleyscott
Field of Glory 2
Field of Glory 2
Posts: 28052
Joined: Sun Dec 04, 2005 6:25 pm

Re: Army Lists

Post by rbodleyscott »

kronenblatt wrote: Thu Sep 03, 2020 2:41 pm Do I need to bother with SIDEID? And specify it uniquely for each army list? 1,2, 3...,4, etc.?
SIDEID determines which of the IDS_SIDENAME_nnn strings will be displayed in game as the army's nationality.

You will find the full list of those in /Data/Text/Text2.txt.

You just need to specify the index.

(Unless you are adding new nationalities to the game)
Richard Bodley Scott

Image
kronenblatt
General - Elite King Tiger
General - Elite King Tiger
Posts: 4361
Joined: Mon Jun 03, 2019 4:17 pm
Location: Stockholm, SWEDEN

Re: Army Lists

Post by kronenblatt »

rbodleyscott wrote: Thu Sep 03, 2020 5:50 pm
kronenblatt wrote: Thu Sep 03, 2020 2:41 pm Do I need to bother with SIDEID? And specify it uniquely for each army list? 1,2, 3...,4, etc.?
SIDEID determines which of the IDS_SIDENAME_nnn strings will be displayed in game as the army's nationality.

You will find the full list of those in /Data/Text/Text2.txt.

You just need to specify the index.

(Unless you are adding new nationalities to the game)
Thanks! And I also noticed the hard way that it determines the name of the generals? (My proud Kilikia general was Scottish... :) )
kronenblatt's campaign and tournament thread hub:

https://www.slitherine.com/forum/viewtopic.php?t=108643
Paul59
General - King Tiger
General - King Tiger
Posts: 3808
Joined: Tue Jul 21, 2015 11:26 pm

Re: Army Lists

Post by Paul59 »

kronenblatt wrote: Thu Sep 03, 2020 6:03 pm
rbodleyscott wrote: Thu Sep 03, 2020 5:50 pm
kronenblatt wrote: Thu Sep 03, 2020 2:41 pm Do I need to bother with SIDEID? And specify it uniquely for each army list? 1,2, 3...,4, etc.?
SIDEID determines which of the IDS_SIDENAME_nnn strings will be displayed in game as the army's nationality.

You will find the full list of those in /Data/Text/Text2.txt.

You just need to specify the index.

(Unless you are adding new nationalities to the game)
Thanks! And I also noticed the hard way that it determines the name of the generals? (My proud Kilikia general was Scottish... :) )
Random general names are allocated based upon their nationality by Data/Scripts/RandomGeneralName.BSF, the names themselves are in Data/Text/Text6.txt and Text7.txt.

I explain a bit more about it in these guides;

viewtopic.php?f=491&t=81328

viewtopic.php?f=491&t=80816
Field of Glory II Scenario Designer - Age of Belisarius, Rise of Persia, Wolves at the Gate and Swifter than Eagles.

Field of Glory II Medieval Scenario Designer.

FOGII TT Mod Creator

Warhammer 40,000: Sanctus Reach Tournament Scenario Designer.
kronenblatt
General - Elite King Tiger
General - Elite King Tiger
Posts: 4361
Joined: Mon Jun 03, 2019 4:17 pm
Location: Stockholm, SWEDEN

Re: Army Lists

Post by kronenblatt »

rbodleyscott wrote: Thu Sep 03, 2020 5:50 pm
Paul59 wrote: Thu Sep 03, 2020 6:31 pm
Thanks, guys for your help and advice: highly useful! I've now created 24 new army lists with their own nationalities too, based on combinations of existing ones, one for each of the satrapies in my Dividing the Spoils tournament idea (thread HERE), if you want to have a look. Still missing allies but will come later, as tribal add-ons to these Hellenistic armies. :)
kronenblatt's campaign and tournament thread hub:

https://www.slitherine.com/forum/viewtopic.php?t=108643
kronenblatt
General - Elite King Tiger
General - Elite King Tiger
Posts: 4361
Joined: Mon Jun 03, 2019 4:17 pm
Location: Stockholm, SWEDEN

Re: Army Lists

Post by kronenblatt »

In which cases and situations in-game FoG2 is the INTRO ("string tag for army list blurb") applied and shown for an army list?
kronenblatt's campaign and tournament thread hub:

https://www.slitherine.com/forum/viewtopic.php?t=108643
Paul59
General - King Tiger
General - King Tiger
Posts: 3808
Joined: Tue Jul 21, 2015 11:26 pm

Re: Army Lists

Post by Paul59 »

kronenblatt wrote: Sat Sep 05, 2020 1:24 pm In which cases and situations in-game FoG2 is the INTRO ("string tag for army list blurb") applied and shown for an army list?
It shows up when you select an army in the Custom Battle creation screen, at the bottom of the screen. Also in the Custom Campaign creation screen;

Image

The intro text strings themselves can be found in Data/Text/Text2.txt, there is also a recently added one in Text8.txt.

If you want to create new ones, just add them to any Text.txt file in your new scenario or campaign folder.
Field of Glory II Scenario Designer - Age of Belisarius, Rise of Persia, Wolves at the Gate and Swifter than Eagles.

Field of Glory II Medieval Scenario Designer.

FOGII TT Mod Creator

Warhammer 40,000: Sanctus Reach Tournament Scenario Designer.
kronenblatt
General - Elite King Tiger
General - Elite King Tiger
Posts: 4361
Joined: Mon Jun 03, 2019 4:17 pm
Location: Stockholm, SWEDEN

Re: Army Lists

Post by kronenblatt »

Paul59 wrote: Sat Sep 05, 2020 4:32 pm
kronenblatt wrote: Sat Sep 05, 2020 1:24 pm In which cases and situations in-game FoG2 is the INTRO ("string tag for army list blurb") applied and shown for an army list?
It shows up when you select an army in the Custom Battle creation screen, at the bottom of the screen. Also in the Custom Campaign creation screen;

Image

The intro text strings themselves can be found in Data/Text/Text2.txt, there is also a recently added one in Text8.txt.

If you want to create new ones, just add them to any Text.txt file in your new scenario or campaign folder.
OK, got it: many thanks, Paul!
kronenblatt's campaign and tournament thread hub:

https://www.slitherine.com/forum/viewtopic.php?t=108643
Post Reply

Return to “Field of Glory II: Modding”