3,355 Commits over 972 Days - 0.14cph!
basics of a unit home/away kit colour matrix tool
Squad editor can now be started in a career editor mode, which blocks exit, auto hides map list and gets passed the next player LeageuFixture.
LeagueFixture can now hold a squad setup per team + serialize them.
squad editor can now load a squad per team.
more career squad editor stuff
SquadEditorPlacingState now only allows you to modify your own team's units
More squad editor career mode fixes
AI and player units are separated in squad editor now.
Finally found and fixed the bug that caused clicking your units in a career match directly after using squad editor to make them explode.
Team kits are now applied in career mode squad editor
GetUnitTypeCount now takes a team id to filter units.
Fix for SquadEditorController.ValidPlacement returning false because it was counting enemy units too.
squad editor now applies unit kits when placing units
career unit/squad serialization/link fixes
removed missile test from scene
AI turns in career/practice modes can now be set to play at 2x speed, currently defaults to true. (no UI for it yet)
branched the hover bar scale test
reduced volume of turn start effect
audio mixer pitch changes with timescale
added fast foward button.
fast forward defaults to false.
moved fast forward button code to own script
FF button text flashes when active
UI/UI highlight added to KitDefinitionSO
fix for league positions not deserializing properly
CareerUnit now gets serialized with Unit during match creation if career mode match.
CareerUnit name now shown in hover bar.
Career mode squads are now saved per-fixture into the career save, not over the regular map squad files.
wip squad editor unit list refactoring so we can start to show career units
added SquadEditorUnit class.
Squad editor now builds a list of available SquadEditorUnits based on mode (regular/career)
Squad editor now lists one unit per type or one unit per individual unit, depending on mode.
new prefab for career mode squad editor unit button.
correct unit button now instantiated depending on game mode.
disabled battle mode gameobject
removed some uneccessary code from UIScrollListConfig to make it easier to support career mode view
squad editor unit list grid layout handled per-mode
grid layout setup for career mode unit list.
wip placeholder career unit list ui.
more wip squad editor changes to support multiple modes
GIViewer.LocalKit and GIViewer.OpponentKit now get start at match load
results table header changed to show round number/max
added extensions class with Color.ToHex
Color.ToHex() now converts to Color32 so it can be formatted as hex
added CareerLeague.NextPlayerFixtureSetEvent.
GameColorManager now listens for this event, sets kit colours.
RosterGeneration now picks X random unit types to fill teams with isntead of the first X types
wip:
UnitGenParams
RosterGenParams
more roster generation tweaks
removed an unnecessary squad verification
Fix for squad editor not clearing squads when switching maps
UnitView.ApplyKit is now ApplyKitColours, private and with no bool for sharedMat or Away.
added UnitView.ApplyHomeKit and UnitView.ApplyAwayKit to use instead which call ApplyKitColours