3,355 Commits over 972 Days - 0.14cph!
more multi-league support work, fixed career mode start crash
multiple league serialization.
fixed a bunch of bugs related to having more than one league running.
careernunit init fix from save
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()
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.
CareerUnitMod now has a mark level, proto/serialized.
Only mods of mark <= to a unit can be applied
added CareerDefines.TotalTeamCount which gets set based on all leagues.
career unit database now generates the correct amount of unique units (1500)
Removed results entry prefab from career UI scene
reworked career unit database creation, now creates units per league
added starting league to CareerUnit, protobuf/serialize.
roster generation now pulls units from the correct starting league brackets.
unit mark now gets set at unit db creation
unit mark now factored into repair cost
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.
moved block values to unit tag system
moved movement range to unit tags
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 PlayPlayerFixture logic out of career controller and into the CARunPlayerMatch action
wip career modal basic setup
more career modal UI stack shit
added buttons to market/team view unit panels
added unit clicked career UI event
clicking a unit in roster or market pushes a modal panel for detailed unit view, clicking off removes it
career modal UI screens can now be set as cancellable or not
placeholder unit detail view modal UI
escape or right mouse button now close cancellable modal windows.
added CareerDefines.ValuePerMark, added it to unit value calc.
wip opportunity definition stuff
opportunity generation, definitions setup, placeholder UI screen, added to pre match events
set OpportunityGenerationChance to 0 until it works
added mapid to LeagueFixtureResult protobuf, serialize it
more UI/modal shit.
more opportunity shit.
added a new Opportunity cash transaction type, gamble opportunity uses it
restored opportunity panel prefab on root UI object
more ui stuff, hooked up results panel team name buttons
wip unit collection detail viewing
refactored team and unit clicked events to be calls to UICareerRoot show team/unit.
more collection view prep.
unit detail view can now handle a collection of units, cycle through.
team and market lists pass the collect unit collections, as well as the clicked unit to view initially
removed Adolfo, Adolph from name list
modal container back button works
modal container back button and click to close now enabled/disabled based on panel behaviour.
hooked up modal containter title text
more opportunity work
League view can now display any league.
League view league buttons now switch current league.
Fixed mapid not getting set correctly for AI matches, map name + type now shows in results.
league table entries now show correct league badge
opportunity outcome calc fix