dninemfive / wn-9id

WARNO mod implementing the 9th Infantry Division (Motorized).
Other
0 stars 0 forks source link

Simplify squad weapon assignments #5

Closed dninemfive closed 16 hours ago

dninemfive commented 1 month ago

In the database, the weapon assignments for a squad follow a very complicated structure, but most squads have the same sort of pattern - the first n soldiers have the second weapon, usually a SAW, then the remaining soldiers have the first weapon, usually a standard rifle; the last m soldiers have the third weapon, usually a LAW.

It would be simple but extremely useful to make a helper method which automatically creates this assignment given n and m.