lgsm-default.network.cfg 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. //
  2. // network.cfg - Defines network tuning parameters
  3. //
  4. // This file is to be passed to the -cfg parameter on the command line for the server
  5. // See http://community.bistudio.com/wiki/basic.cfg
  6. // The following settings are the suggested settings
  7. // BANDWIDTH SETTINGS
  8. // Bandwidth the server is guaranteed to have (in bps)
  9. // General guideline is NumberOfPlayers * 256kb
  10. // Default: 131072
  11. MinBandwidth=5120000;
  12. // Bandwidth the server can never go above (in bps)
  13. // For a single server, use full network speed; decrease when running multiple servers
  14. MaxBandwidth=10240000;
  15. // PACKET SETTINGS
  16. // Maximum number of packets per frame.
  17. // Increasing the value potentially decreases lag, but increases desync
  18. // Default: 128
  19. MaxMsgSend=2048;
  20. // Maximum payload of guaranteed packet (in b)
  21. // Small messages are packed to larger packets
  22. // Guaranteed packets are used for non-repetitive events, like shooting
  23. // Lower value means more packets are sent, so less events will get combined
  24. // Default: 512
  25. MaxSizeGuaranteed=512;
  26. // Maximum payload of non-guaranteed packet (in b)
  27. // Increasing this value may improve bandwidth requirement, but may also increase lag
  28. // Largest factor in desync
  29. // Guidance is half of MaxSizeGuaranteed
  30. // Default: 256
  31. MaxSizeNonguaranteed=256;
  32. // Maximal size of a packet sent over the network
  33. // Only necessary if ISP forces lower packet size and there are connectivity issues
  34. // Default: 1400
  35. // class sockets{maxPacketSize=1400};
  36. // SMOOTHNESS SETTINGS
  37. // Minimal error required to send network updates for far units
  38. // Smaller values will make for smoother movement at long ranges, but will increase network traffic
  39. // Default: 0.003
  40. MinErrorToSend=0.01;
  41. // Minimal error required to send network updates for near units
  42. // Using larger value can reduce traffic sent for near units
  43. // Also controls client to server traffic
  44. // Default: 0.01
  45. MinErrorToSendNear=0.02;
  46. // GEOLOCATION SETTINGS
  47. // Server latitude
  48. serverLatitude=52;
  49. serverLatitudeAuto=52;
  50. // Server Longitude
  51. serverLongitude=0;
  52. serverLongitudeAuto=0;
  53. // MISC
  54. // View Distance (not sure if this actually works)
  55. viewDistance=10000;
  56. // Maximum size (in b) for custom face or sound files
  57. // Default: 0
  58. MaxCustomFileSize=0;
  59. // Server language
  60. language="English";
  61. steamLanguage="English";
  62. // Adapter
  63. adapter=-1;
  64. // Windowed mode
  65. Windowed=0;
  66. 3D_Performance=1.000000;