hellcat7
Posts: 17
Joined: 1/17/2020 Status: offline
|
I modified 'Soldiers.txt' and .. First, in the 'Weapons.txt', fg42 can be found: IDS_WEAPON_NAME84 BAR MG 12 FG42 5 7 0 0 3 0 10 1 20 4.95 7.92 3 600 1 1 1 750 1 3 498 1 0 0 -1 1 47 Its indexed number is 84, and ammo number is 47. It can be found in the 'Ammo.txt': 7.92mm Patr.s.S. 0 0.026 755 1 0.013 7.92 8 5 #C0C6FDDB -1 0 0 0 0 0 0 0 0 0 You can change soldier(0)'s weapon in 'Soldiers.txt': original 20 0 0 0 0 1 28 100 3 0 0 24 -1 -1 -1 -1 2 9 96 5 2 modified 20 0 0 0 0 4 28 100 3 0 30 24 -1 -1 -1 -1 2 11 120 5 2 11th and 12th column, 30 (M1Carbine) and 24 (GrenadeThrow) indicate first and secondary weapons of soldier(0) carrying. 17th column indicates number of ammo types, 18th and 20th columns mean ammo index number: 11 (.30 Carbine M1) and 5 (Mk II Frag Grenade). 19th and 21th column mean number of each ammo. In this way, I modified fg42. for example, I copied German soldier who carry fg 42 1 1 0 10 1 2 28 100 3 0 84 27 25 -1 -1 -1 2 47 300 50 24 51 2 if you want to copy above text line to US soldier, there blanked lines in soldiers.txt (from 147 to 157)--> solder(145) to soldier(155). you can copy that text line to the line 147 (solder(145)) by change 2nd column to 0 (0 mean US, 1 means German, 2 means Italian). Also, another column is related with soldier portait (I don't remember which column is). 1 0 0 10 1 2 28 100 3 0 84 27 25 -1 -1 -1 2 47 300 50 24 51 2 Then, modify 'Teams.txt'. original IDS_UNIT_NAME0 IDS_UNIT_DESC0 0 0 0 3 22 1 2 1 0 6 0 53 48 23 23 23 23 modified IDS_UNIT_NAME0 IDS_UNIT_DESC0 0 0 0 3 22 1 2 1 0 6 0 53 48 23 23 23 145 In this text, 12 column indicate the number of soldiers in the team (IDS_UNIT_NAME0 is 42 US company team), and I modified the last column with 145 (soldier carrying fg42). When you check if mod is going to work, start a new game and check in the soldier list. Please make backup copied files before the modification. Enjoy your game!!
|