branchwiseguys/main/botscancel
55 Commits over 31 Days - 0.07cph!
Added a debug mode that spawns straight into the zombie game and allows for having only one player
Added a prison island to testmap_smaller
Fixed "Animator is not playing an AnimatorController" warnings that were causes by making calls to the animator before it had had time to initialize.
Fix another map object call to animator before it was initialized
Debug mode allows time for multi clients to connect when testing, and spawns straight to map instead of from the plane.
Connection not required to set up new users, allowing for bots
Working on bot player stuff
Apparently we can't just call SetConnection at the end. Moved it back to its old spot
Bot players can be added successfully, but have no AI yet
Exclude player zombie from NPC manager spawn options
Fixed NPC spawn ratios to work correctly with the new types, and new "should spawn" tickbox
Dumb code to get things working
Fix possibility to select dead targets
Better place for the character broadcast code
WIP for AI inputs for playable characters.
Still working on AI for player characters. All broken at the moment
Working on ICharacterControl
Character ICharacterControl refactor work
Bot player spawning in on command.
Moved character collider + other stuff
Fixed bot player not setting ServerPosition
Bot damage working correctly
Move some client-only stuff out the the base player prefab. Spawn it only on client
Fix melee weapons not doing their hit FX on proxies. Proxy clients now calculate the hits to show the FX, like how proxy guns still shoot harmless bullets.
Much faster zombie finding for AI
Fix bug with NPC manager and spawn %
AI stuff. Going to change the ammo checking in ApexSelectItem but saving this version.
AI item selection work. Not quite right at the moment
Hysteresis on AI distances. Prevents wavering on the edge of two distance-based options
Bots handle being in prison
Bots starting to handle the plane
Bots successfully depart from the plane, but just hover in the air
Bots can exit the plane successfully, although they teleport instantly to the ground. THAT'S GOOD ENOUGH.
Doubled Zombie HP because things were too easy