Squads.csv questions

Post Reply
Galdred
Master Sergeant - U-boat
Master Sergeant - U-boat
Posts: 504
Joined: Tue Nov 15, 2011 5:43 am

Squads.csv questions

Post by Galdred »

A lot of fields in the squads.csv file do not appear to be used at all in the game:
1ST/2ND/3RD_APEffective[1/2/3]
1ST/2ND/3RD_WeaponAccuracy[1/2/3]
1ST/2ND/3RD_WeaponPower[1/2/3]

Only the index 0 is used, so can I repurpose the values 1/2/3 for whatever I need them to, will they be removed soon, or are they used by something I missed?

Is it possible to add a new field and use it with GetAttrib?
GordonStraylight
Straylight
Straylight
Posts: 148
Joined: Tue Aug 16, 2016 12:47 pm

Re: Squads.csv questions

Post by GordonStraylight »

Hi Galdred,

These entries are used. The 0 index is the base value and the rest are the distance in tiles that the weapon starts to degrade.

Yes you can add new entries to the squads file and you will be able to retrieve them with GetAttrib/GetAttribArray.

Cheers,

Gordon.
Galdred_slith
Private First Class - Opel Blitz
Private First Class - Opel Blitz
Posts: 1
Joined: Sat Dec 10, 2016 8:08 pm

Re: Squads.csv questions

Post by Galdred_slith »

Thanks!
What would happens if I change the structure of units.csv in the middle of a campaign? Would that destroy everything with carryover units (ie some missing fields, or too many of them)? Or are they generated from the units.csv at the beginning of each mission?
Post Reply

Return to “Sanctus Reach Mods and Scenario Design”