SteveMcClaire -> RE: Team upgrades, how do they work? (12/3/2020 4:22:39 PM)
|
It is a fairly complex file as different fields may mean different things depending on the type of upgrade or the condition under which it can used / gained. For an extra panzerschreck, I would start with the bazooka team upgrade and change the name string, nation, icon, and weapon. Field 1 would be the string ID for the panzerschreck upgrade name you want to display. Field 2 would be the German nation ID (1 in stock TBF) Field 3 would be the icon index to display for this upgrade. Field 10 (Effect Count) would be 1 (this upgrade has 1 effect.) Field 11 (Effect type) would be 5 (split off a temporary unit.) Field 12 (Effect sub-type) is the team index in teams.txt of the temporary team you want to create with men from the original unit. Field 13 (Effect value) should be 1 for effect type 5. The game doesn't currently support creating more than one temporary unit from an upgrade. If you wanted to do it as an extra weapon that is added to an existing team without breaking off men (as the extra LMG or Panzerfaust upgrades do) you could copy the Panzerfaust upgrade. In this case the upgrade has 2 effects, one to add a weapon and one to add ammo for the weapon. You'd just need to change the effect sub-type for these two effects to add a panzerschreck and its ammo. Field 13
|
|
|
|