From 54c44a89a7ea14bd7013278ad405e633fbce90ad Mon Sep 17 00:00:00 2001 From: in0finite Date: Sun, 26 May 2019 01:10:39 +0200 Subject: [PATCH] Create some files --- .../Scripts/Behaviours/Vehicles/Vehicle_Networking.cs | 0 .../Behaviours/Vehicles/Vehicle_Networking.cs.meta | 11 +++++++++++ Assets/Scripts/Settings/NetSettings.cs | 0 Assets/Scripts/Settings/NetSettings.cs.meta | 11 +++++++++++ Assets/Scripts/Stats.meta | 8 ++++++++ Assets/Scripts/Stats/MiscStats.cs | 0 Assets/Scripts/Stats/MiscStats.cs.meta | 11 +++++++++++ Assets/Scripts/Stats/NetStats.cs | 0 Assets/Scripts/Stats/NetStats.cs.meta | 11 +++++++++++ Assets/Scripts/Stats/PerformanceStats.cs | 0 Assets/Scripts/Stats/PerformanceStats.cs.meta | 11 +++++++++++ Assets/Scripts/Stats/PlayerStats.cs | 0 Assets/Scripts/Stats/PlayerStats.cs.meta | 11 +++++++++++ Assets/Scripts/Stats/WorldStats.cs | 0 Assets/Scripts/Stats/WorldStats.cs.meta | 11 +++++++++++ Assets/Scripts/UI/MenuEntry.cs | 0 Assets/Scripts/UI/MenuEntry.cs.meta | 11 +++++++++++ Assets/Scripts/UI/StatsWindow.cs | 0 Assets/Scripts/UI/StatsWindow.cs.meta | 11 +++++++++++ Assets/Scripts/Utilities/Stats.cs | 0 Assets/Scripts/Utilities/Stats.cs.meta | 11 +++++++++++ Docs/Multiplayer.md | 2 ++ 22 files changed, 120 insertions(+) create mode 100644 Assets/Scripts/Behaviours/Vehicles/Vehicle_Networking.cs create mode 100644 Assets/Scripts/Behaviours/Vehicles/Vehicle_Networking.cs.meta create mode 100644 Assets/Scripts/Settings/NetSettings.cs create mode 100644 Assets/Scripts/Settings/NetSettings.cs.meta create mode 100644 Assets/Scripts/Stats.meta create mode 100644 Assets/Scripts/Stats/MiscStats.cs create mode 100644 Assets/Scripts/Stats/MiscStats.cs.meta create mode 100644 Assets/Scripts/Stats/NetStats.cs create mode 100644 Assets/Scripts/Stats/NetStats.cs.meta create mode 100644 Assets/Scripts/Stats/PerformanceStats.cs create mode 100644 Assets/Scripts/Stats/PerformanceStats.cs.meta create mode 100644 Assets/Scripts/Stats/PlayerStats.cs create mode 100644 Assets/Scripts/Stats/PlayerStats.cs.meta create mode 100644 Assets/Scripts/Stats/WorldStats.cs create mode 100644 Assets/Scripts/Stats/WorldStats.cs.meta create mode 100644 Assets/Scripts/UI/MenuEntry.cs create mode 100644 Assets/Scripts/UI/MenuEntry.cs.meta create mode 100644 Assets/Scripts/UI/StatsWindow.cs create mode 100644 Assets/Scripts/UI/StatsWindow.cs.meta create mode 100644 Assets/Scripts/Utilities/Stats.cs create mode 100644 Assets/Scripts/Utilities/Stats.cs.meta diff --git a/Assets/Scripts/Behaviours/Vehicles/Vehicle_Networking.cs b/Assets/Scripts/Behaviours/Vehicles/Vehicle_Networking.cs new file mode 100644 index 00000000..e69de29b diff --git a/Assets/Scripts/Behaviours/Vehicles/Vehicle_Networking.cs.meta b/Assets/Scripts/Behaviours/Vehicles/Vehicle_Networking.cs.meta new file mode 100644 index 00000000..ab701e63 --- /dev/null +++ b/Assets/Scripts/Behaviours/Vehicles/Vehicle_Networking.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 67d86053f15f8d7ad9dd22edbad98ecc +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Settings/NetSettings.cs b/Assets/Scripts/Settings/NetSettings.cs new file mode 100644 index 00000000..e69de29b diff --git a/Assets/Scripts/Settings/NetSettings.cs.meta b/Assets/Scripts/Settings/NetSettings.cs.meta new file mode 100644 index 00000000..833f000f --- /dev/null +++ b/Assets/Scripts/Settings/NetSettings.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: d74d48dcfd0b49da58a569569969b1de +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Stats.meta b/Assets/Scripts/Stats.meta new file mode 100644 index 00000000..d2ba64e0 --- /dev/null +++ b/Assets/Scripts/Stats.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: b7097d6063acdce089dfe59d43710c8e +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Stats/MiscStats.cs b/Assets/Scripts/Stats/MiscStats.cs new file mode 100644 index 00000000..e69de29b diff --git a/Assets/Scripts/Stats/MiscStats.cs.meta b/Assets/Scripts/Stats/MiscStats.cs.meta new file mode 100644 index 00000000..f6fe5eee --- /dev/null +++ b/Assets/Scripts/Stats/MiscStats.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: f161e22561af2d239a17c4c13acbdd4f +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Stats/NetStats.cs b/Assets/Scripts/Stats/NetStats.cs new file mode 100644 index 00000000..e69de29b diff --git a/Assets/Scripts/Stats/NetStats.cs.meta b/Assets/Scripts/Stats/NetStats.cs.meta new file mode 100644 index 00000000..cb792fd5 --- /dev/null +++ b/Assets/Scripts/Stats/NetStats.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 9c2d166d95086c371b6787c093be9551 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Stats/PerformanceStats.cs b/Assets/Scripts/Stats/PerformanceStats.cs new file mode 100644 index 00000000..e69de29b diff --git a/Assets/Scripts/Stats/PerformanceStats.cs.meta b/Assets/Scripts/Stats/PerformanceStats.cs.meta new file mode 100644 index 00000000..a57541d4 --- /dev/null +++ b/Assets/Scripts/Stats/PerformanceStats.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 1c4867dce7115fa8fa337f54bc81d2f9 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Stats/PlayerStats.cs b/Assets/Scripts/Stats/PlayerStats.cs new file mode 100644 index 00000000..e69de29b diff --git a/Assets/Scripts/Stats/PlayerStats.cs.meta b/Assets/Scripts/Stats/PlayerStats.cs.meta new file mode 100644 index 00000000..572171a8 --- /dev/null +++ b/Assets/Scripts/Stats/PlayerStats.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 367d406ec345854c39b68c83107c4dfc +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Stats/WorldStats.cs b/Assets/Scripts/Stats/WorldStats.cs new file mode 100644 index 00000000..e69de29b diff --git a/Assets/Scripts/Stats/WorldStats.cs.meta b/Assets/Scripts/Stats/WorldStats.cs.meta new file mode 100644 index 00000000..b781ce17 --- /dev/null +++ b/Assets/Scripts/Stats/WorldStats.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 75eabaf0a22e45900a48bb279f9ae3b1 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/UI/MenuEntry.cs b/Assets/Scripts/UI/MenuEntry.cs new file mode 100644 index 00000000..e69de29b diff --git a/Assets/Scripts/UI/MenuEntry.cs.meta b/Assets/Scripts/UI/MenuEntry.cs.meta new file mode 100644 index 00000000..6e86d454 --- /dev/null +++ b/Assets/Scripts/UI/MenuEntry.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: fd565b9417b9e57eebb98694bc287f7a +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/UI/StatsWindow.cs b/Assets/Scripts/UI/StatsWindow.cs new file mode 100644 index 00000000..e69de29b diff --git a/Assets/Scripts/UI/StatsWindow.cs.meta b/Assets/Scripts/UI/StatsWindow.cs.meta new file mode 100644 index 00000000..42b7ce53 --- /dev/null +++ b/Assets/Scripts/UI/StatsWindow.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 7709e8544ae081652bcd6ab571cec504 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Utilities/Stats.cs b/Assets/Scripts/Utilities/Stats.cs new file mode 100644 index 00000000..e69de29b diff --git a/Assets/Scripts/Utilities/Stats.cs.meta b/Assets/Scripts/Utilities/Stats.cs.meta new file mode 100644 index 00000000..222f055a --- /dev/null +++ b/Assets/Scripts/Utilities/Stats.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 341c06175ec8b97e8a993ba8d30e82d2 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Docs/Multiplayer.md b/Docs/Multiplayer.md index d45fa709..8cfb5a38 100644 --- a/Docs/Multiplayer.md +++ b/Docs/Multiplayer.md @@ -12,6 +12,8 @@ - syncvar for current vehicle and seat - required for newly connected players, who will not get rpc - or... provide additional data when changing state syncvar +- disable vehicle damage on both server and client + - **vehicle is bumping on clients** - disable (or destroy) wheel colliders, and sync them - this should not be done on local player, see below - when exit vehicle anim is finished on client, it is repeated - change wrap mode