Bot Fixes

This commit is contained in:
MrGadget1024 2023-01-26 08:15:31 -05:00
parent 2fed347e6d
commit bc64a7358c
6 changed files with 1283 additions and 83 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 808159c2b19eadb45bb9255c2bd30ec9
guid: 41855c7cf63a3dc45ac8a93b4e2ecd54
PrefabImporter:
externalObjects: {}
userData:

View File

@ -1,76 +0,0 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1001 &57158865832913047
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 2033010110135952297, guid: 10f39bef276942448bfdfba062b6b6e0, type: 3}
propertyPath: m_Name
value: PlayerNPC Variant
objectReference: {fileID: 0}
- target: {fileID: 2415462970743521564, guid: 10f39bef276942448bfdfba062b6b6e0, type: 3}
propertyPath: m_RootOrder
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2415462970743521564, guid: 10f39bef276942448bfdfba062b6b6e0, type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2415462970743521564, guid: 10f39bef276942448bfdfba062b6b6e0, type: 3}
propertyPath: m_LocalPosition.y
value: 1
objectReference: {fileID: 0}
- target: {fileID: 2415462970743521564, guid: 10f39bef276942448bfdfba062b6b6e0, type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2415462970743521564, guid: 10f39bef276942448bfdfba062b6b6e0, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 2415462970743521564, guid: 10f39bef276942448bfdfba062b6b6e0, type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2415462970743521564, guid: 10f39bef276942448bfdfba062b6b6e0, type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2415462970743521564, guid: 10f39bef276942448bfdfba062b6b6e0, type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2415462970743521564, guid: 10f39bef276942448bfdfba062b6b6e0, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2415462970743521564, guid: 10f39bef276942448bfdfba062b6b6e0, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2415462970743521564, guid: 10f39bef276942448bfdfba062b6b6e0, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4314596929967491211, guid: 10f39bef276942448bfdfba062b6b6e0, type: 3}
propertyPath: sceneId
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4314596929967491211, guid: 10f39bef276942448bfdfba062b6b6e0, type: 3}
propertyPath: _assetId
value: 3089007148
objectReference: {fileID: 0}
- target: {fileID: 7264761320023842541, guid: 10f39bef276942448bfdfba062b6b6e0, type: 3}
propertyPath: syncDirection
value: 1
objectReference: {fileID: 0}
- target: {fileID: 7264761320023842541, guid: 10f39bef276942448bfdfba062b6b6e0, type: 3}
propertyPath: compressRotation
value: 0
objectReference: {fileID: 0}
m_RemovedComponents:
- {fileID: 6285387349840257400, guid: 10f39bef276942448bfdfba062b6b6e0, type: 3}
m_SourcePrefab: {fileID: 100100000, guid: 10f39bef276942448bfdfba062b6b6e0, type: 3}

View File

@ -1571,7 +1571,7 @@ MonoBehaviour:
autoCreatePlayer: 1
playerSpawnMethod: 0
spawnPrefabs:
- {fileID: 2089004215024372542, guid: 808159c2b19eadb45bb9255c2bd30ec9, type: 3}
- {fileID: 9078678990242496461, guid: 41855c7cf63a3dc45ac8a93b4e2ecd54, type: 3}
timeInterpolationGui: 1
--- !u!114 &821201136
MonoBehaviour:

View File

@ -1598,7 +1598,7 @@ MonoBehaviour:
autoCreatePlayer: 1
playerSpawnMethod: 0
spawnPrefabs:
- {fileID: 2089004215024372542, guid: 808159c2b19eadb45bb9255c2bd30ec9, type: 3}
- {fileID: 9078678990242496461, guid: 41855c7cf63a3dc45ac8a93b4e2ecd54, type: 3}
timeInterpolationGui: 1
--- !u!114 &821201136
MonoBehaviour:

View File

@ -82,8 +82,6 @@ void OnValidate()
if (NTReliableExt == null)
NTReliableExt = GetComponent<NTReliableExt>();
NTReliableExt.syncDirection = SyncDirection.ClientToServer;
this.enabled = false;
}
@ -254,8 +252,7 @@ void HandleTurning()
// Headless client forced to ground
void HandleJumping()
{
jumpSpeed = -9.81f * Time.deltaTime;
// jumpSpeed = Physics.gravity.y * Time.deltaTime;
jumpSpeed = Physics.gravity.y * Time.deltaTime;
}
#endif