How to add new units in game for unique historical scenario

Post Reply
welk
Staff Sergeant - Kavallerie
Staff Sergeant - Kavallerie
Posts: 302
Joined: Sat Sep 08, 2007 11:56 am

How to add new units in game for unique historical scenario

Post by welk »


1°/ Open the Squads Excel page and add a supplementary line at the end of the file
This line must contain all needed informations, like other lines


The better is to simply copy one existant line and then to modify the parameters of this line

But take care :

a/ Name in first row must always be different of names of others units (1 unit = 1 name)
b/ N° in second row must (seems not needed but in my opinion, is better) respect the mathematic order (last unit vanilla game is actually N°109, your first new added unit should be N°110)
c/ Use _ to separate parts of the name : sample => My_unit and not My unit

If you are french : To convert the squads excel file in Squads.csv file with the French version of Excel : see the concerned sticked thread (in modding section)

2°/ In the directory of your custom campaign (documents/mygames folder), you should find a file named TXT1.txt
Note : this directory is the directory you have obligatory created in game editor at the beginning of the process scenario creation


If the TXT1 file is not present : create it (TXT1.txt file with bloc-notes)

Open the TXT1 file and “declare” in this file your new unit under this form :

IDS_UNITNAMExx, "unit name",

(do not forget the final comma and respect the spaces)
If you have created more than 1 new unit, you must declare all your new units under these forms (1 unit per line)

Details :
IDS_UNITNAME: do not change this
xx : replace this by the N° of your unit in the 2° row of the squads excel file
unit name : the historical name of your unit, for the concerned scenario (you have choice : this name may be identical or different of the unit name set in the 1° row of the squads Excel file)


Sample : your first new added unit has the N° 110 and his historical name is : Cocorico Cavalery
=> you must enter in the TXT1 :

IDS_UNITNAME110, “Cocorico Cavalery” ,

(here, symbol _ is not needed between parts of name, but do not forget the “ “ symbols and the final comma)


3°/ Add in the same directory your modified Squads.csv file


And you have a new unit in game for your historical battle, with historical name and customized parameters/stats (set in squads excel file)

Hope there are no mistakes, and I will use this process for my Raphia battle scenario
For nostalgics of Field of Glory 1, I am working on a special "ancient battles" mod (Matrix forum - Strategic Command WIE)
Post Reply

Return to “Field of Glory II: Modding”