Link Between Squads.csv and scripts Questions
Posted: Thu May 25, 2017 3:47 am
Hi All, just picked this game up and still am moving thru the tutorials, but I am interested in eventually modding after I get the hang of it. Just have a few questions below if someone could help get me started. thanks and best wishes, ps love the game so far.
- If you call IsUnitSquadType(me, "Mixed_Foot"), is this checking for the unit type, ie "Type" in the squads.csv file, column "E"? If not which column in squads.csv is it checking?
- Are all of these types required to be defined in terrain.txt? For example, assuming I am correct about IsUnitSquadType() function working the way I describe you need for the "Mixed_Foot" (column "E") entry in squads.csv a corresponding TYPE MIXED_FOOT in the terrain.txt file? If I am totally wrong here please help.
- Just for my own curiosity, say you want to make a mixed unit like early Sengoku, for example, consisting in an arrangement of say 10%mounted, 70% yari, 20%yumi how would one go about doing that? Is it as simple as editing squads.csv columns of "Bow", "Light_Lancers", and "Spearmen" column entries to be 20, 10, and 70, respectively?
- In squads.csv does "TotalMen" column increase/decrease #number of men in the unit affecting the unit's military might (gameplay wise) and "UnitSize" affecting the graphical display size of the unit?