View Issue Details

IDProjectCategoryLast Update
0019368AI War 2Gameplay IdeaFeb 6, 2018 5:16 pm
ReporterChris_McElligottPark Assigned ToChris_McElligottPark  
Severityminor 
Status resolvedResolutionfixed 
Product Version0.702 Activating Mk1 Grinding Machine 
Fixed in Version0.706 
Summary0019368: Start defining intra-squad formations via xml, not prefabs.
DescriptionIdea came up in thread linked via 0019367.
TagsNo tags attached.

Relationships

related to 0019367 closedChris_McElligottPark Xml-based ship firing offsets. 

Activities

Chris_McElligottPark

Feb 6, 2018 5:16 pm

administrator   ~0046894

* The individual-ship formations (those inside a squad, not the multi-squad formations) are now read out of xml in an FormationIntraSquad class type.
** This is replacing our old method of loading these formations from asset bundles, and makes it so that anyone can create formations without needing unity to do so. The aiw2squads asset bundle is now pointless and can be removed from future builds.
** The formations can still be set up using the old approach if desired, however. Then just attach the new SquadDataDumper component to the root transform of the old style squad, hit play in the AIWar2ModdingAndGUI project, and it will dump your xml results to the console log. This is not the preferred approach anymore, but it's there and is handy.
** The ability to have different formations per faction type was actually set up incorrectly previously. Fixed.

* The balance_ships_per_squad entry on individual ships has been removed. This was a bit inconsistently used, and was only being used for ships that had a cap of 1 ship per squad.
** Most things had already been moved over to the Granularity object, but not quite all; now everything has.
** As far as that goes, all of it is now handled on the Granularity object.
** Previously the total number of ships and the total number of squads per granularity were defined, which was confusing. That meant ships per squad had to be inferred.
*** Now ships per squad and total squads are defined, and total ships is inferred instead. This also has the benefit of never resulting in bad divisions if the person creating the xml made a mistake.

Issue History

Date Modified Username Field Change
Jan 26, 2018 1:24 pm Chris_McElligottPark New Issue
Jan 26, 2018 1:24 pm Chris_McElligottPark Status new => assigned
Jan 26, 2018 1:24 pm Chris_McElligottPark Assigned To => Chris_McElligottPark
Jan 26, 2018 1:24 pm Chris_McElligottPark Relationship added related to 0019367
Jan 26, 2018 1:24 pm Chris_McElligottPark Description Updated
Feb 6, 2018 5:16 pm Chris_McElligottPark Status assigned => resolved
Feb 6, 2018 5:16 pm Chris_McElligottPark Resolution open => fixed
Feb 6, 2018 5:16 pm Chris_McElligottPark Fixed in Version => 0.706
Feb 6, 2018 5:16 pm Chris_McElligottPark Note Added: 0046894