8,451 Commits over 2,131 Days - 0.17cph!
We have a problem where Gangs deserialize before their members, which means they aren't found when their IDs come though. I started fixing this by making gangs just reference members by ID, and it kinda works, but there end up being too many calls to get the member objects anyway - in effect just moving the problem around. Going to solve it a different way but saving this partial work first.
Add gang members properly
Undone fix testing something
A potential fix for the spawn issue
Got gangs to serialize and deserialize correctly to clients. Gangs were overriding their NetworkEntityBehaviour ID with a custom gang ID, which meant the server wouldn't match the client, and the deserialize mask would stop it deserializing. Moved the gang ID to a separate var.
Gang warfare mode fallback for scenes with no gangs
Got gang safes working as they used to
Join gangs correctly, spawn in gang buildings
Gang warfare test mode mostly working
Working on adding a gang warfare game mode for testing gangs
Fixed menu clicks not swallowing input
Working on getting gang support back in
Trello task complete: Game modes can define their own colour correction.
Plus added callbacks to game mode creation + round start + round end.
Trello task complete: Show game state when in pre-game wait
Fixed loading screen glitch when there was no image
Game menu options can be added and removed per game mode
Give WiseGuysTools two scene quickslots so it's easy to switch between them
New loading screen background image
Added support for custom loading screen images for game mode.
Got payer characters to de destroyable without ragdoll etc as well.
NPCs don't generate ragdolls at end of round anymore either
Got rid of vehicle wreckage at end of round
Added vehicles option to game mode, and destroying vehicle at end of round. Although I need to deal with the wreckage issue.
Finally got Z Game player counts working correctly with zombies killing players
Fixed jittery NPC movements which were caused by a lack of hysteresis when their speed was right on the border of run animation speed
A big of game mode spawn method refactoring
Added a special game mode for spectating bots playing
Added early bail if disconnect on client is caused by app quitting. Prevents some errors
Fix zombie mode start countdown time
Fix for spectator stuff happening on the wrong client
Proper spectate cam for ragdolls
Separated nav arrow code from the MainCamera script
Adjust bot deathmatch brain to only attack players. No more pedestrian massacres!
Updated vehicle camera attach