6,820 Commits over 3,103 Days - 0.09cph!
tweaked color kit/added new one
sorted kit ID by hue for visualisation , reassigned corresponding kit ID to player/ai team
change unit kit color script to spawn half in away color, sorted by ID
setup away kit with complementary colors
tweak ui portrait material for glow
redisabling the UI in the main scene
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
squad verification rework
wip squad editor color kit stuff
changed team counts per league: 8/10/12
merged from main
multiple career league support wip
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
stripped kit ids from team, gamehost, setup etc
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
removed old redundant cooldown code and value from definition, now just checks move and attack turn numbers.
moved unit health read access to a property, added Alive property to replace shitty health > 0 checks
moved movement range lookup to unity property
added maxhealth unit tag
moved block side lookup from AttackUtils to unit
block now references unit property not def directly.
removed basic attack def from unit def as it's never used
added GameTagModifier (unit stat stuff, not gameobject)
career unit modifications wip
career UI unit buttons now fire click events.
career unit mod apply/remove.
career unit mods get applied at the start of matches.
for testing: clicking a unit in the roster lit applies a +5 health mod to it
added unit mod protobuf defs
CareerUnitMod and CareerUnitMods serialization
CareerUnit protobuf/serialization of mods
unit mods serialize with career saves.
removed test code.
added unit mark to careerunit.
protobuf and serialize it.
update text mesh pro
wip career ui stuff
created a portrait prefab and replacing it in the squad editor etc..