3,355 Commits over 972 Days - 0.14cph!
implemented a new CareerAction system to handle weekly steps/actions/events to allow more flexibility.
Reworked all current functionality into new separate CareerAction classes that get executed in order.
moved movement range to unit tags
moved block values to unit tag system
reworked career unit init/construction
moved attack min/max damage to unit tag system.
updated attack damage UI calls to use unit property not attack def.
unit mark now gets set at unit db creation
unit mark now factored into repair cost
added starting league to CareerUnit, protobuf/serialize.
roster generation now pulls units from the correct starting league brackets.
reworked career unit database creation, now creates units per league
Removed results entry prefab from career UI scene
added CareerDefines.TotalTeamCount which gets set based on all leagues.
career unit database now generates the correct amount of unique units (1500)
CareerUnitMod now has a mark level, proto/serialized.
Only mods of mark <= to a unit can be applied
added SpawnTileFilter enum to control which team aligned spawn tiles we can show in the squad editor.
career mode squad editor now only shows player team spawn tile highlights.
added CareerUIUtils as a central place for formatting shit to be used in multiple places.
career unit type and mark now set through CareerUIUtils.GetUnitTypeAndMarkString()
careernunit init fix from save
multiple league serialization.
fixed a bunch of bugs related to having more than one league running.
more multi-league support work, fixed career mode start crash
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
Fix for squad editor not clearing squads when switching maps
removed an unnecessary squad verification
more roster generation tweaks
wip:
UnitGenParams
RosterGenParams
RosterGeneration now picks X random unit types to fill teams with isntead of the first X types
added CareerLeague.NextPlayerFixtureSetEvent.
GameColorManager now listens for this event, sets kit colours.
Color.ToHex() now converts to Color32 so it can be formatted as hex
added extensions class with Color.ToHex
results table header changed to show round number/max
GIViewer.LocalKit and GIViewer.OpponentKit now get start at match load
more wip squad editor changes to support multiple modes
grid layout setup for career mode unit list.
wip placeholder career unit list ui.
squad editor unit list grid layout handled per-mode
removed some uneccessary code from UIScrollListConfig to make it easier to support career mode view
disabled battle mode gameobject
new prefab for career mode squad editor unit button.
correct unit button now instantiated depending on game mode.
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.
wip squad editor unit list refactoring so we can start to show career units
Career mode squads are now saved per-fixture into the career save, not over the regular map squad files.
CareerUnit now gets serialized with Unit during match creation if career mode match.
CareerUnit name now shown in hover bar.
fix for league positions not deserializing properly
UI/UI highlight added to KitDefinitionSO
FF button text flashes when active
moved fast forward button code to own script