Only AICharacters use simplephysics, AICharacter bleeding syncing, resetting limb velocities in MP when doing full position reset, characters aren't updated if health <= 0, monsterevent initialization using synced seed, GetRandomWaypoint uses synced seed, disabling debug stuff when starting a client, netconfig changes

This commit is contained in:
Regalis
2016-01-30 15:18:19 +02:00
parent a1770427a0
commit 92a162cbf5
9 changed files with 39 additions and 28 deletions

View File

@@ -16,7 +16,7 @@ namespace Barotrauma.Networking
//if a Character is further than this from the sub, the server will ignore it
//(in sim units)
public const float CharacterIgnoreDistance = 100.0f;
public const float CharacterIgnoreDistance = 300.0f;
//if a ragdoll is further than this from the correct position, teleport it there
//(in sim units)
@@ -32,7 +32,7 @@ namespace Barotrauma.Networking
public const float IdSendInterval = 0.2f;
public const float RerequestInterval = 0.2f;
public const int ReliableMessageBufferSize = 100;
public const int ReliableMessageBufferSize = 500;
public const int ResendAttempts = 10;
}
}