userAdam Wcancel
repospacechesscancel

4,871 Commits over 2,068 Days - 0.10cph!

7 Years Ago
UnitDmgInfo now calculates the potential minimum health of an attack, taking into account max damage and armour AI.GetOrderedDmg() is now sorted by potential minimum health instead of potential damage, so the AI prefers to target enemies they can get nearer to death than just a big hit
7 Years Ago
each GameInstance now has it's own System.Random instance and stores the seed. added RandomRange(min, max) to GameInstance, to be used for deterministic shit. Increments a counter each time it's called, so we can debug/test attacks that use a damage range now use the GI function not unity's
7 Years Ago
Added TileFall match action back to Deathmatch definition Fixed TileFall to use the new tag change system. Works again now.
7 Years Ago
Added AIEnabled flag to LocalGame.cs on LocalGame object, untick it to make the AI auto pass it's turn @ezmeow
7 Years Ago
added Available flag to MatchDefinitionSO GameHost will now only pick from available match types
7 Years Ago
merged mapdb to main
7 Years Ago
GameHost now picks a random game mode each match
7 Years Ago
updated dm1 map to work
7 Years Ago
updated Control1 map to work again
7 Years Ago
Wrapped some editor functions so build works again Custom build squad checker now works with new map DB
7 Years Ago
newly crated map files are now correctly flagged as dirty squad loading
7 Years Ago
more
7 Years Ago
changed mapName to mapID (string to int) in ProtoBuf and all references map buttons now grab the map title maps should now load from the provided map id instead of name (can't test this until I update squad loading too)
7 Years Ago
map type value is set in it's data file when the map is created
7 Years Ago
it's nearly working again...
7 Years Ago
more
7 Years Ago
more
7 Years Ago
fix
7 Years Ago
new maps are created in folders based on game mode type, map definition SO file created alongside the map file
7 Years Ago
more
7 Years Ago
test code
7 Years Ago
meh
7 Years Ago
map db tool now sets the map title to the map filename if there's none specified
7 Years Ago
wip mapdb stuff to handle the different modes, tool to build map DB
7 Years Ago
Branching for wip map database improvements
7 Years Ago
directional armour is now calculated and saved in UnitDmgInfo AI will now prefer attacking and moving to attack locations that let them attack units from weaker sides (sides/back) where possible
7 Years Ago
fixes
7 Years Ago
renamed Practice button to Play A.I and make it not editor-only
7 Years Ago
Added MovementDirectionScorer which scores tiles favourably the further up/down the board they are from the unit, based on the advance/retreat flag
7 Years Ago
TileScorer can now collate individual tile scorers to get a combined list of tile values AI now prefers higher terrain when moving as default action
7 Years Ago
AI helper function to get a list of ordered unit damages for a provided list of attackers
7 Years Ago
UnitDmg now includes a ref to the attacking unit so it doesn't need to be tracked separetly in AI calcs. Renamed UnitDmg to UnitDmgInfo
7 Years Ago
AI emotes abuse
7 Years Ago
move-attack AI now checks if the unit can actually move and attack :D fallback move AI option now picks random unit
7 Years Ago
more
7 Years Ago
Fix (?) for unitview tag change when a unit kills itself Shitty placeholder code to get AI triggering stuff so I can start working on AI helper functions
7 Years Ago
fix
7 Years Ago
Clear squad button works again
7 Years Ago
CommandBlock now gets cleared after it is sent (fixes my warning log, but nothing was broken)
7 Years Ago
more
7 Years Ago
wip stuff
7 Years Ago
cleanup
7 Years Ago
unit info panel now shows armour values instead of block %
7 Years Ago
Attack unit UI bar now iuncludes damage reduction calc for hit dmg and dmg range
7 Years Ago
crowd forced to jump 1 million times forced full attendance crowd
7 Years Ago
disabled ui canvas
7 Years Ago
7 Years Ago
"Armour" test: removed block, now 100% hit chance, but attacks have the following dmg reduction: Front = 2, sides = 1, back = 0.
7 Years Ago
Grabber pull no longer does dmg to friendly units again
7 Years Ago
Control points now have 30 pts each instead of 50