8,451 Commits over 2,131 Days - 0.17cph!
Merging in changes to go in this week's release.
Fixed nav generation for doors that was broken by changeset #2411. Note that NPCs are still locked out of using doors right now, since changeset #2407.
Modified NPC UI - Don't show level 3 and 4 drugs for now
Giving some NPCs a natural inclination to try level 2 drugs as well as level 1. Deterministic based on networkEntity ID so server sync isn't necessary.
Limiting framerate to 144 when in menus. Unlimited in-game. Prevents graphics cards freaking out.
Bigger framerate boost from hiding characters
Spawning shit in bins now
Fixed door interaction error
Added a system to disable movement and animations on characters on the Client when they are not in view of the player. Gives me an FPS improvement of 20-70% on the previous commit depending on where I'm looking.
Additional visibility check boosts framerate a bit more
Fixed issue with NPCs walking past the player sometimes appearing to freeze for a moment
Cherry picking door optimisations.
Looking at window instancing.
Reverting old building code
Don't instance buildingmeshes yet.
Reduced shadow distance. Better frames, minimal impact.
Added lots of timewarnings for profiling ideas.
Added Facepunch.UnityEngine for TimeWarning class
Small improvement for NPC collider updates.
Using anim hashes on all character anims now.
Fixed my frozen NPCs bug. Everything looks seamless now
Experimenting. This disables animators and some other things on characters outside of the player's view frustum. Has some promising effect in editor but seemingly very little effect in actual builds. Also bugged I think as I've seen NPCs stuck frozen in place.
Updated doors. Now uses playable API and switches animator on / off properly. 2-3ms per frame saving.
Big framerate increase from building LOD fuckup.
Trying to support instancing better.
Generated meshes are now cached.
Fixed some pooling errors. Still stuff to do here.
NPCs no longer scared of being sold drugs, or drugs being sold near them.
Simpler NPC UI fill bars. Less custom code.
Fixes #106. Stopped cops from remembering their targets past the end of wanted state.
Fixed a couple of bugs with selling drugs to NPCs in the new server-side interactions. Latency still causes some minor trouble - see GitHub issue #105.