Garry's Mod

Garry's Mod

Dynamic NPC Squads
Viser 1-10 af 14 forekomster
< 1  2 >
Opdatering: 10. okt. 2024 kl. 16:25

Little tweaks

Opdatering: 1. aug. 2024 kl. 14:37

Big crash fix, don't do squad stuff with striders.
+lots of small tweaks.

Opdatering: 31. juli 2024 kl. 16:22

Tweaks, potential crash fix

Opdatering: 11. juli 2024 kl. 22:26

Small tweaks, fixes.

Opdatering: 6. juli 2024 kl. 18:06

Let striders, helicopters, gunships join squads

Opdatering: 21. juni 2024 kl. 12:13

Improve "Blacklisting" logic
Blacklisted/crashing npcs now call for backup, instead of doing nothing.

Added DYN_NPC_SQUADS.dynSquadTeams utility table.

Properly dissolve squads if any members hate eachother

+ misc small tweaks

Opdatering: 18. maj 2024 kl. 14:05

Error stomp

Opdatering: 11. maj 2024 kl. 12:40

Code cleanup + optimisations


Made autorun a loader.

OnEntityCreated optimisations/tweaks.
Returns early if :IsNPC() check fails.
Only creates one timer.simple.

Rework "idle/alert" logic a bit, to be more readable.

npc.DynamicNpcSquadsIgnore doesn't cancel the timer.

All assault/reinforce funcs now take priority variable.
0 priority is highest priority.

Made squads more likely to leave enclosed areas.

Opdatering: 1. maj 2024 kl. 13:16

More polish
Wandering squad leaders will now "direct" their members away from other squads, meaning they'll spread out a bit more when wandering.

Fixed squads not using up assaultpoints when acquiring them
( npcs won't flood other squads with backup, backup will come as more of a trickle )

NPCs clear areas much more aggresively
( less redundant wandering back and fourth after a fight )

Improved compatibility a bit
( dynsquad prioritizes SetSquad/GetSquad over the squadname keyvalue )

Moved all "Yapping" logic to a new autorun file

Opdatering: 26. apr. 2024 kl. 19:27

Bug stomp