Commit Graph

25 Commits

Author SHA1 Message Date
metalgearsloth
868f3298e5 Xeno spitter fixes (#18573)
* Xeno spitter fixes

- Require hands for pickup compounds
- Ranged combat can force movement to ignore LOS checks if ranged wants better LOS.

* Also spirates

IDK how this worked before but TryGetGun shouldn't care about combatmode.

* 1 more
2023-08-02 15:34:54 -06:00
metalgearsloth
c31c848afd Shooting NPCs and more (#18042)
* Add pirate shooting

* Shooting working

* Basics working

* Refactor time

* More conversion

* Update primitives

* Update yml

* weh

* Building again

* Draft

* weh

* b

* Start shutdown

* Starting to take form

* Code side done

* is it worky

* Fix prototypes

* stuff

* Shitty working

* Juke events working

* Even more cleanup

* RTX

* Fix interaction combat mode and compquery

* GetAmmoCount relays

* Fix rotation speed

* Juke fixes

* fixes

* weh

* The collision avoidance never ends

* Fixes

* Pause support

* framework

* lazy

* Fix idling

* Fix drip

* goobed

* Fix takeover shutdown bug

* Merge fixes

* shitter

* Fix carpos
2023-08-01 19:48:56 -05:00
Vordenburg
49f3f07e30 Add pathfinding support for NPCs climbing tables (#17415) 2023-07-28 16:37:29 +10:00
Leon Friedrich
541eb417e3 Rename Faction to NpcFaction (#18079) 2023-07-17 13:51:52 +10:00
metalgearsloth
c43db830ea Significantly improve NPC steering (#17931) 2023-07-14 00:48:04 +10:00
metalgearsloth
b4033d557b NPC steering tweaks (#17911)
- Slightly less twitchy in melee.
- Resteer less.
- More aggressive in pursuing running away targets.
2023-07-09 13:20:20 -06:00
metalgearsloth
68480af109 Update content vectors to numerics (#17759) 2023-07-08 14:08:32 +10:00
metalgearsloth
c2e5990c2e Fix NPC assert (#17770) 2023-07-01 23:38:14 +10:00
metalgearsloth
5b1af38277 More NPC steering fixes (#17042) 2023-06-02 00:28:23 +10:00
metalgearsloth
a9e723a93f Fix NPC static avoidance (#17039) 2023-06-01 23:11:39 +10:00
Moony
e92a8fedab Refactor stations to properly use entity prototypes. (stationsv3) (#16570)
* Update StationSpawningSystem.cs

Web-edit to allow feeding in an existing entity.

* Update StationSpawningSystem.cs

value type moment

* Update StationSpawningSystem.cs

* Oh goddamnit this is a refactor now.

* awawawa

* aaaaaaaaaaa

* ee

* forgot records.

* no records? no records.

* What's in a name?

* Sloth forcing me to do the refactor properly smh.

* e

* optional evac in test.

* tests pls work

* awa

---------

Co-authored-by: moonheart08 <moonheart08@users.noreply.github.com>
2023-05-19 15:45:09 -05:00
metalgearsloth
ca07522c03 NPC utility queries (#15843) 2023-05-01 14:57:11 -04:00
metalgearsloth
9361b0b469 NPC obstacle fixes (#15645) 2023-04-22 18:57:19 +10:00
metalgearsloth
e780c6a98a Fix NPC door prying (#15605) 2023-04-21 15:05:29 +10:00
metalgearsloth
9b616784ed Fix NPC arrival distance for nodes (#15193) 2023-04-07 20:54:20 +10:00
metalgearsloth
b5a33ea7ab Avoid NPCs getting stuck around tables (#14807) 2023-03-23 23:53:17 +11:00
metalgearsloth
e93d5113ad Remove .Owner from melee weapons (#14600) 2023-03-12 15:56:05 +11:00
metalgearsloth
28dbbbb734 Add NPC stuck detection (#14410) 2023-03-05 16:13:09 +11:00
metalgearsloth
0a9da80058 Steering tweaks (#14140)
- Fix the direct-path so NPCs. This is most noticeable when moving diagonally on planetmaps (given the current pathfinder is cardinal)
- Reduce static collision avoidance weight and distance. This seems to reduce instances of getting stuck on railings.
2023-02-16 08:24:57 -06:00
metalgearsloth
99dfe5694a More NPC steering tweaks (#14119) 2023-02-15 16:54:06 +11:00
metalgearsloth
181e16db53 Reduce NPC static collision avoidance range (#13197) 2022-12-27 12:30:31 +11:00
metalgearsloth
f5e6628465 NPC separation adjustments (#13176) 2022-12-25 11:29:52 +11:00
metalgearsloth
a5b04b49b6 Fix NPC obstacle handling (#13007) 2022-12-15 15:30:28 +11:00
metalgearsloth
666d81a869 Ignore non-hard bodies for npc steering (#12990) 2022-12-12 04:20:13 -06:00
metalgearsloth
7910bd3ff4 Context steering for NPCs (#12915) 2022-12-12 14:33:43 +11:00