metalgearsloth
89e0925c32
Better AI reachable cleanup ( #1507 )
...
Haven't profiled so can't say if it definitely fixes the leak.
Co-authored-by: Metal Gear Sloth <metalgearsloth@gmail.com >
2020-07-27 16:11:07 +02:00
metalgearsloth
4e1597eeb3
Fix AI mem leak? ( #1482 )
...
Holy shit I'm dumb for missing that AGAIN.
Co-authored-by: Metal Gear Sloth <metalgearsloth@gmail.com >
2020-07-25 21:27:24 -07:00
metalgearsloth
56737b635f
Damage visualizer for simple mobs ( #1332 )
...
Co-authored-by: Metal Gear Sloth <metalgearsloth@gmail.com >
Co-authored-by: Pieter-Jan Briers <pieterjan.briers+git@gmail.com >
2020-07-23 02:04:03 +02:00
Acruid
c9374992a6
Converted everything to use collision and physics component interfaces.
2020-07-19 00:33:02 -07:00
Pieter-Jan Briers
11ad47303a
Fixes exceptions in AiReachableSystem on round restart.
2020-07-17 11:17:42 +02:00
metalgearsloth
51d08e8b05
AI Reachable system ( #1342 )
...
Co-authored-by: Metal Gear Sloth <metalgearsloth@gmail.com >
2020-07-11 15:09:37 +02:00
metalgearsloth
a77f219515
Minor A* optimisations ( #1335 )
...
* Add some extra comments
* Remove the redundant closedTiles variable
* Rename some variables to better match the common naming schemes
Co-authored-by: Metal Gear Sloth <metalgearsloth@gmail.com >
2020-07-10 20:30:33 +02:00
metalgearsloth
8938d96402
Fix AI avoiding entities they can't collide with ( #1331 )
...
Should stop mobs getting trapped at the bar on saltern as they try to avoid light bulbs
Co-authored-by: Metal Gear Sloth <metalgearsloth@gmail.com >
2020-07-09 14:15:48 +02:00
Metal Gear Sloth
62302bfb23
Use named tuples
...
Thanks remie
2020-07-09 00:16:57 +10:00
metalgearsloth
b4adfbc15a
Update Content.Server/GameObjects/EntitySystems/AI/Steering/AiSteeringSystem.cs
...
Co-authored-by: Remie Richards <remierichards@gmail.com >
2020-07-09 00:03:48 +10:00
Metal Gear Sloth
8678d867cf
Fix AI steering spamming console
...
Turns out you shouldn't cancel pending jobs.
2020-07-08 23:44:47 +10:00
Metal Gear Sloth
facaee0cab
Remove redundant method
...
Not used anymore.
2020-07-08 21:12:23 +10:00
Metal Gear Sloth
ae1c578e8e
Fix pathfinding entity deletions
...
Also some slight optimisations in the process.
2020-07-08 21:05:27 +10:00
metalgearsloth
1d96adcc2c
Add Breadth-First Search pathfinder ( #1283 )
...
Co-authored-by: Metal Gear Sloth <metalgearsloth@gmail.com >
2020-07-08 01:41:41 +02:00
metalgearsloth
0ecaba1727
Minor AI system fixes ( #1292 )
...
* Add test to check all LogicNames in prototypes
* Change CreateProcessor to AiLogicProcessor (I thought I'd already done this as I remember PJB telling me to do this but apparently I'm an idiot)
* Temporarily remove invalid AiControllers
Co-authored-by: Metal Gear Sloth <metalgearsloth@gmail.com >
2020-07-07 18:56:38 +02:00
metalgearsloth
29f1730d71
Remove pathfinding graph node directions ( #1223 )
...
Co-authored-by: Metal Gear Sloth <metalgearsloth@gmail.com >
2020-06-28 17:43:06 +02:00
metalgearsloth
24831bf8a0
Refactor AI movement ( #1222 )
...
Co-authored-by: Metal Gear Sloth <metalgearsloth@gmail.com >
2020-06-28 17:42:44 +02:00
Pieter-Jan Briers
f3a816321c
Merge branch 'master' into 20-06-24-movement-prediction
2020-06-24 04:04:43 +02:00
Pieter-Jan Briers
da45a52325
WiP movement prediction.
2020-06-24 02:21:20 +02:00
metalgearsloth
805a5f1689
Refactor pathfinding updates and add AccessReader support ( #1183 )
...
There was some extra bloat in the path graph updates.
Now the queue should also just run if it gets too big regardless.
Un-anchored physics objects are no longer a hard fail for pathfinding.
Add AccessReader support so open / close doors show up for pathfinding
AI also ensure they call the operator's shutdown when they're shutdown so that should cancel the pathfinding job.
I tried to split these into 2 commits but they were kinda coupled together
Co-authored-by: Metal Gear Sloth <metalgearsloth@gmail.com >
2020-06-22 18:55:50 +02:00
DrSmugleaf
ac19ad7eac
Fix crash when the round restarts ( #1161 )
2020-06-21 17:28:43 +02:00
metalgearsloth
5391d3c72a
Add utility AI ( #806 )
...
Co-authored-by: Pieter-Jan Briers <pieterjan.briers@gmail.com >
Co-authored-by: Metal Gear Sloth <metalgearsloth@gmail.com >
Co-authored-by: Pieter-Jan Briers <pieterjan.briers+git@gmail.com >
2020-06-18 14:52:44 +02:00