userAdam Wcancel

11,455 Commits over 3,561 Days - 0.13cph!

7 Years Ago
added some batch files for bot army, more headless player client stuff
7 Years Ago
more
7 Years Ago
batch client test
7 Years Ago
some quick AI optim, wip AI damage stuff
7 Years Ago
Deleted the commented out, old hit % code, as it's now always 100%
7 Years Ago
Unit range/damage finding functions can now specify if they should include friendly damage or not, to be used by AI
7 Years Ago
AI now creates a random squad each match (currently copies the spawn positions from the player's squad though)
7 Years Ago
Random squad generation wip
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