Commit Graph

50 Commits

Author SHA1 Message Date
Visne
c6d3e4f3bd Fix warnings and code cleanup/fixes (#13570) 2023-01-19 13:56:45 +11:00
Jezithyr
eeb5b17b34 Mobstate Refactor (#13389)
Refactors mobstate and moves mob health thresholds to their own component

Co-authored-by: DrSmugleaf <drsmugleaf@gmail.com>
2023-01-13 16:57:10 -08:00
metalgearsloth
243fd73db4 Update tilechangedevent to ref structs (#13383) 2023-01-09 13:45:21 +11:00
metalgearsloth
181e16db53 Reduce NPC static collision avoidance range (#13197) 2022-12-27 12:30:31 +11:00
metalgearsloth
bc8f3dc0b0 Fix some NPC dancing (#13177)
- Bump the collision avoidance range, seemed okay compared to last time I tried. Means they shouldn't get caught by thindows
- Removed the steer frequency because I'm pretty sure that lead to dancing in some instances.
2022-12-24 18:35:00 -06:00
metalgearsloth
f5e6628465 NPC separation adjustments (#13176) 2022-12-25 11:29:52 +11:00
metalgearsloth
4a37f7b917 Adjust NPC steering a bit (#13162) 2022-12-24 12:54:28 +11:00
metalgearsloth
b78ca238c6 Add parallel NPC steering back in (#13159) 2022-12-24 12:37:58 +11:00
Pieter-Jan Briers
a323671984 Changes for prototype load parallelization (#13066)
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
2022-12-20 14:25:34 -08:00
metalgearsloth
95011a4a97 Force pathfinding graph for empty chunks (#12856)
* Force pathfinding graph for empty chunks

* im merging
2022-12-19 21:59:33 -06:00
metalgearsloth
c656e051c2 Revert parallel steering (#13085) 2022-12-19 18:46:27 +11:00
metalgearsloth
8b177e83e5 Add VV to gridpathfinding comp (#13081) 2022-12-19 13:11:09 +11:00
Leon Friedrich
881a2b2ece PopupSystem public methods rejig (#12830) 2022-12-19 08:41:47 +11:00
Pieter-Jan Briers
55c61b9c35 Config presets system. (#12824) 2022-12-16 23:26:24 +01:00
metalgearsloth
a5b04b49b6 Fix NPC obstacle handling (#13007) 2022-12-15 15:30:28 +11:00
metalgearsloth
6fa9104ad7 Update content for pause event changes (#12970) 2022-12-14 11:55:51 +11:00
metalgearsloth
666d81a869 Ignore non-hard bodies for npc steering (#12990) 2022-12-12 04:20:13 -06:00
metalgearsloth
3b3963083b Replace GridEntityId with Owner (#12743) 2022-12-12 14:59:02 +11:00
metalgearsloth
7910bd3ff4 Context steering for NPCs (#12915) 2022-12-12 14:33:43 +11:00
metalgearsloth
83fede79eb Add simple miss chances for NPCs (#12978)
Doesn't consider juking potential but okay for now.
2022-12-11 07:37:09 -06:00
metalgearsloth
f8a8b41976 Fix rat pathfinding (#12951)
Fixes https://github.com/space-wizards/space-station-14/issues/12950
2022-12-10 20:31:02 +11:00
metalgearsloth
540a3d9028 Increase NPC chase persistence (#12850) 2022-12-06 15:34:23 -08:00
metalgearsloth
dd384c55a0 Pathfinder tweaks (#12848) 2022-12-06 15:33:44 -08:00
metalgearsloth
2ff2ba89a1 Fix NPCs stopping steering on 1 bad path (#12571) 2022-12-06 15:11:05 -08:00
metalgearsloth
cc90f68f0f Fix turrets not shooting in space (#12820)
* Fix turrets not shooting in space

* Faster target acquisition
2022-12-01 09:02:01 -06:00
Paul Ritter
3884c4d3db serv4 + submodule update (#12740)
Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com>
2022-11-27 19:25:55 +01:00
metalgearsloth
5a6f30fb74 Fix another pathfinding invalid node slipping (#12739) 2022-11-24 18:28:17 +11:00
metalgearsloth
fee44d13b2 Re-implement parallel for pathfinding crumbs (#12355) 2022-11-22 13:36:34 +11:00
metalgearsloth
6c76061887 Content changes for mapgrid kill (#12567) 2022-11-22 13:12:04 +11:00
metalgearsloth
b749d0d275 Remove NPC IEntityManager resolves (#12648) 2022-11-18 22:07:52 +01:00
DrSmugleaf
7fbc2608e8 Remove redundant read-only VV from datafields (#12626) 2022-11-16 20:22:11 +01:00
Leon Friedrich
0b5a58001c IListener and IRadio purge (#11980) 2022-11-15 15:09:27 +11:00
metalgearsloth
ef56145308 Bump NPC melee range for steering (#12570) 2022-11-13 20:57:14 +11:00
Leon Friedrich
86ef8c5473 Make PathfindingSystem take a nap during large explosions (#12309) 2022-11-04 12:24:41 +11:00
metalgearsloth
c0abea8047 Content side for removing IMap / IMapGrid comps (#12357) 2022-11-04 10:12:25 +11:00
metalgearsloth
4cb96dba6d Clear path on exception (#12335)
Should hopefully avoid it spamming in future.
2022-11-01 20:12:50 -05:00
metalgearsloth
508b810137 Bandaid pathpoly neighbors for now (#12337) 2022-11-01 23:39:58 +11:00
metalgearsloth
4d51f786c6 Fix medibot exception (#12336) 2022-11-01 23:27:27 +11:00
metalgearsloth
41c8e382a4 Hotfix path empty frontier issue (#12334) 2022-11-01 22:50:35 +11:00
Leon Friedrich
0b8622e9e7 Misc content xform changes (#12166) 2022-10-24 00:19:51 -07:00
metalgearsloth
4a3df4f85a Maybe fix pathfinding nullref (#12085) 2022-10-22 15:29:01 -07:00
metalgearsloth
4db3b30dc1 Sleep NPCs on attach (#12014) 2022-10-19 10:07:44 +11:00
metalgearsloth
fa59983bd9 Bandaid medibots (#11718) 2022-10-13 21:36:29 +11:00
metalgearsloth
4e7f09ade5 Add dependency collection to serialization writes (#11570) 2022-10-03 20:29:14 +11:00
metalgearsloth
f456ad911e Pathfinder rework (#11452) 2022-09-30 14:39:48 +10:00
metalgearsloth
f51248ecaa Melee refactor (#10897)
Co-authored-by: metalgearsloth <metalgearsloth@gmail.com>
2022-09-29 15:51:59 +10:00
metalgearsloth
8871c445b8 Cleanup factions code (#11075)
Co-authored-by: Kara <lunarautomaton6@gmail.com>
2022-09-14 11:45:02 -07:00
metalgearsloth
78a4ab6eb2 Update for collision events by-ref (#10933) 2022-09-14 17:26:26 +10:00
Leon Friedrich
6b05861068 Fix pathfinding exception (#11228) 2022-09-14 17:06:24 +10:00
metalgearsloth
0286b88388 NPC refactor (#10122)
Co-authored-by: metalgearsloth <metalgearsloth@gmail.com>
2022-09-06 00:28:23 +10:00