branchwiseguys/maincancel

2,811 Commits over 1,918 Days - 0.06cph!

7 Years Ago
Might have fixed the spectating bugs. There was an issue where the spectator entity didn't get destroyed on disconnect. The player would spawn a new character in a new round, but still have their spectator entity as well, which would grab the camera.
7 Years Ago
Needed some IsUnityNull() checks to replace simple null checks in interfaces that could be MonoBehaviours
7 Years Ago
Fix issues that occurred if a character was synced to a client when already dead, and the NetworkEntity was destroyed before init completed. Happened fairly reproducibly on game modes with lots of characters dying frequently, like zombie mode (with zombies dying).
7 Years Ago
Fixed bugs on clients for players dying while in a vehicle
7 Years Ago
Change "didn't expect a Deserialize after Init" from error to warning
7 Years Ago
Heavy was OP
7 Years Ago
Bots are a bit more likely to jump off plane
7 Years Ago
Merge in UI work
7 Years Ago
Shuffling UI around
7 Years Ago
Wrote a possibly stupid event class. Will think about this better on Monday.
7 Years Ago
Gang warfare test mode edit - Leave gang on death. Plus NetworkGameMode method work.
7 Years Ago
Fixed gang leader serialization. With any luck, gang sync is now good.
7 Years Ago
Fixed another gang member bug. And there's one more to come.
7 Years Ago
FINALLY got gang members synchronising properly. Added gang member NetworkUsers as referenced entities for the gangs. On top of that, we needed to delay the member stuff that was in Deserialize until OnPostDeserialize because: - User entities need to be deserialized and ready so we can use FindUser to find them by ID. - Gangs set their members as Referenced entities so that they're sent along with the gang, making sure they're available. - So everything gets deserialized, but the base thing (gang) gets deserialized first, so the members still aren't ready. - OnPostDeserialize isn't called until after ALL referenced entities are deserialized, so it now works.
7 Years Ago
Got rid of the NetworkGameMode singleton option. Better to integrate it with NetworkPeer. But I don't like how there's a short time where NetworkPeer exists and NetworkGameMode isn't assigned yet - need to think about options there.
7 Years Ago
Oops
7 Years Ago
Just rearranging
7 Years Ago
Another comment edit
7 Years Ago
Comment
7 Years Ago
Gang member structure edit
7 Years Ago
Comment fix
7 Years Ago
Testing another fix
7 Years Ago
Add gang members properly
7 Years Ago
Undone fix testing something
7 Years Ago
A potential fix for the spawn issue
7 Years Ago
Remove debug print
7 Years Ago
Fix more gang ID stuff
7 Years Ago
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.
7 Years Ago
Clean up all warnings
7 Years Ago
#CLIENT fix
7 Years Ago
Gang warfare mode fallback for scenes with no gangs
7 Years Ago
Got gang safes working as they used to
7 Years Ago
Join gangs correctly, spawn in gang buildings
7 Years Ago
Gang warfare test mode mostly working
7 Years Ago
Working on adding a gang warfare game mode for testing gangs
7 Years Ago
Fixed menu clicks not swallowing input
7 Years Ago
Working on getting gang support back in
7 Years Ago
Remove TODO
7 Years Ago
Trello task complete: Game modes can define their own colour correction. Plus added callbacks to game mode creation + round start + round end.
7 Years Ago
Trello task complete: Show game state when in pre-game wait
7 Years Ago
Fixed loading screen glitch when there was no image
7 Years Ago
Game menu options can be added and removed per game mode
7 Years Ago
Colour coding
7 Years Ago
Give WiseGuysTools two scene quickslots so it's easy to switch between them
7 Years Ago
New loading screen background image
7 Years Ago
Added support for custom loading screen images for game mode.
7 Years Ago
Minor cleanup
7 Years Ago
Got payer characters to de destroyable without ragdoll etc as well.
7 Years Ago
NPCs don't generate ragdolls at end of round anymore either
7 Years Ago
Got rid of vehicle wreckage at end of round