Garry's Mod

Garry's Mod

[VJ Base] Humanimal SNPCs: Part 1 - The Humanimal's [Update!]
Showing 1-10 of 36 entries
< 1  2  3  4 >
Update: 20 Oct @ 12:53am

- Updated post door break reaction anim code to accept table and string.

Update: 20 Oct @ 12:49am

- Small fix.
- For door breaking, made the code accept both gesure and sequence anims, and corrected time lock when doing the door break anim.

Update: 20 Oct @ 12:33am

- FIxed wrong convar assigned to the break door function.

Update: 19 Oct @ 5:37am

- Newborns and young cicada's cannot borrow now.

Update: 19 Oct @ 5:30am

- Optimized the handling of the cicada's bonemerged model, now shortened into one function for both applying the bonemerge to the SNPC on spawn and death model.

- New burrowing mechanic, where if on valid materials like dirt or grass, the Humanimal's will burrow underground to hide for a random period of time before popping back up.

- Changed timer for reviving to be from 1 - 180 second, cleaned up revive code a bit and added the chance the SNPC to remember the enemy that killed it when reviving.

- Small value changes and very minor optimizations to multiple functions.

- For retreating, optimized the function and made it more centered and robust.

- Very minor bone randomization.

- Fixed issue with error popping up if you spawned and quickly removed the SNPC in cases that causes them to flap or vibrate their wings.

- Bunch of small changes.

Update: 8 Oct @ 4:49am

- Optimised and simplified the ranged projectile code.
- Lowered min distance for ranged attacks.
- Added chance for the Humanimals to find cover when alerted.
- Minor optimizations and tweaks along various functions.
- Hopefully improved most functions that force the SNPC to reposition or take cover.

Update: 26 Sep @ 9:24am

[ADDITIONS]
- If the SNPC has empty eyes, then they cannot spawn eye gibs when gibbed.
- Mother Humanimal's won't spawn in support if the enemy is within 800 units of their own position.


[CHANGES]
- Parasite chance to spawn from humanimal being damaged was changed from 30 - 45
- Moved all code form the old BeforeDamage to the new OnDamaged function with some minor optimizations.
- SNPCs no longer can do alert sequence if the enemy is within 1000 units close to them.
- Gibs now have a 1 - 3 chance to have a particle attached to them when the SNPC is gibbed.
- Parasite spawning code has now all been organized and combined into a single function instead of separate functions for different circumstances. These changes streamlined the parasite handling, allowed the removal of a lot of old code.
- Parasites that are spawned through the explosive death function now use the new parasite spawning function, allowing me to remove more code.

Update: 22 Sep @ 9:53pm

[FIXES]
- Fixed error with mother birthing support.

[CHANGES]
- Slight cleanup of birth support code.
- If controlling the mother, the snpc won't spawn support.
- Made it so Newborns cannot spawn parasites on damaged or killed.
- Humanimal's now require a line of sight of the light entities to move to them instead of just moving towards them without even seeing them.

Update: 21 Sep @ 6:10am

- Added OnGround check before moving to an attracted light source.
- SNPC no longer still moves around even is spawned as guard or set to guard.

Update: 21 Sep @ 6:04am

- Another small fix