branchwiseguys/main/Sandboxcancel
54 Commits over 0 Days - ∞cph!
Created a base class for all types of game mode
Moving shit to the base class
Shifted some more stuff into the base class. Probably need to remove some nasty and unnecessary dependencies.
Fixed game modes not starting.
Moved some player connection callbacks to base class.
Fixed NRE for missing building icon
Spawning players in a sandbox game mode.
NPC manager etc. no longer has any connection to game mode system.
VehicleManager no longer has any references to game mode
Commented and summaried most of the base game mode classes.
More clean up and sandbox mode work
Update project version to the latest Unity 2018: 2018.2.7f1
New PersistentGameMode class. No content yet.
Persistent/Round-based markers in WiseGuysTools window dropdown
Added persistent mode testing mode
Fix game mode selection bug
Updated the IGameModeSpawnActions. Subclass IRoundBasedGameModeSpawnActions added.
Persistent game mode WIP. Moved some things into the base class that can be shared. Persistent mode now uses the character select and spawn process properly, although there's no way to change your character once you have one, since that's always been per-round only so far.
Fix some server/client issues/mistakes
Adding shop support back in to the game
Whacky races weapon signs fix/improvement
Remove no longer needed game mode events
Set up vehicles, NPCs, and events in persistent game mode
Unity latest version doesn't like Ctrl+C as an editor key command anymore. Changed the quick connect command to Ctrl+E
Removed code that's now in DoBaseGameSetup
All persistent modes handle respawn, not just Killing Spree
Update round-based casts that can now be more general and reference the base class shared content. Also gets welcome screen info text and scoreboard screen working.
Wanted system working well, simplified + fixed some code, added the stars UI back in.
Wanted stars hide entirely when player isn't wanted. Nicer for modes that don't use crimes at all.
Dispose method in base class. Bots join and work correctly in persistent modes now.
Fix NPC error message, now get a more correct error message...
Fixed NPC addiction stats bugs
New character type designed for testing. Goes fast etc
Fixed vehicle collision crimes
Fixed wanted stars not resetting when sighted by cops
Changed criminal serialization to the new system, with a proper ShouldSerialize check, which stops unnecessary serialization happening all the time when the character changes weapon and other unrelated stuff on the same entity.
Reduce weapon recoil a little