branchwiseguys/main/More AI workcancel
171 Commits over 31 Days - 0.23cph!
Moved network info into the F1 screen info box that was already there
Added network stats into debug UI
Random messing with stuff
Spread out NPC spawns a bit more
Network stats UI changes. Bill Ford's going to make an interface to actually get the stats.
Starting to add a little network stats GUI thing
Refactor for managers, so they handle real builds correctly. + minor edits
Added dev client build option
Fixed messed up cop aiming in C+S mode
More tolerant shooting vs. aiming
Merging more AI work from Main
Cops aim in a more real-time way.
Fixed pistol getting deselected in some cases when reloading in vehicles.
Fixed NPCs no longer getting hit by vehicles.
Set Obstacle Avoidance on the NPC NavAgent to NONE because otherwise vehicles cannot hit them - they simply flow out of the way no matter what the speed. With it off, stationary vehicles are still pathed around as they carve out the navmesh itself when not moving.
If we want to have Obstacle Avoidance on, we'll need to manually disable the NavMesh Obstacle vehicle component whenever vehicles are moving. And DON'T test changes in combined client+server mode, it works differently.
Fixes after doing some testing
Some fixes for potential null checks and general issues
NPC shots can damage vehicles
Pedestrians flee when getting injured
Cops boost view distance momentarily when shot,
AI reloading reinstated. Added aim inaccuracy.
Cop AI work and refactoring. Cops keep their guns out and remember criminals for 30s, then go totally back to normal. Also commented out some OnDrawGizmos stuff so I can see my own ones.
Multiple fixes for hit visuals, sounds, and hit indicators.
Fixed error in client mode, and fixed double impact FX sounds when in C+S mode
Cops shout when they detect a criminal
Working on Cop AI, getting more complex
Cops put their weapons away when not in use (no target)
Fixed initialisation order problem with players who were already in vehicles
Fixed player spawns, no longer spawning at zero
Fixed player animations when holding weapons
5.6 upgrade was causing crashes. Reverted.
Updated to Unity 5.6 beta
Working on spawning and moving in actual cities. Unified network level size with tile map size.
Added AI respawn support. Some other small fixes.
Added character world model back into CLIENT+SERVER mode, so NPCs can shoot the player. NPCs drop their stuff on death. Starting work on NPC respawning.
Merging the latest in from trunk
NPC manager includes allies
Character roles now include humans.