folkarps / F3

ArmA 3 mission development framework customized for Folk ARPS
http://www.folkarps.com/
12 stars 5 forks source link

AssignGear Refactor Proposal #49

Closed darkChozo closed 5 years ago

darkChozo commented 7 years ago

I've written a potential refactor for the assignGear files, specifically the parts of the files that do per-unit assignment. A preview of this new format can be found here: https://pastebin.com/ahPRdUru (will PR this eventually).

This new format uses a "top-down" approach instead of the current "bottom-up" approach. Instead of assigning gear on a per-unit basis and having an individual loadout for each unit type, this new approach instead defines a whole bunch of "loadout packages" that represent common sets of equipment for units (for example: "has an assault rifle", "has a bag", "has this particular combination of grenades"). These loadout packages are then assigned to units (for example, an AT Rifleman might have the bag, carbine rifle, assault grenade loadout, and LAT packages).

Pros:

Cons

SamLex commented 5 years ago

I'm closing this in favour of #94