Advertisement
Guest User

A3WTanoa_hmgt_basic

a guest
Jun 15th, 2016
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 2.20 KB | None | 0 0
  1. /*
  2. // These options are created by default
  3. language="English";
  4. adapter=-1;
  5. 3D_Performance=1.000000;
  6. Resolution_W=800;
  7. Resolution_H=600;
  8. Resolution_Bpp=32;
  9.  
  10.  
  11. // These options are important for performance tuning
  12.  
  13. MinBandwidth = 131072;          // Bandwidth the server is guaranteed to have (in bps). This value helps server to estimate bandwidth available. Increasing it to too optimistic values can increase lag and CPU load, as too many messages will be sent but discarded. Default: 131072
  14. MaxBandwidth = 10000000000;     // Bandwidth the server is guaranteed to never have. This value helps the server to estimate bandwidth available.
  15.  
  16. MaxMsgSend = 128;           // Maximum number of messages that can be sent in one simulation cycle. Increasing this value can decrease lag on high upload bandwidth servers. Default: 128
  17. MaxSizeGuaranteed = 512;        // Maximum size of guaranteed packet in bytes (without headers). Small messages are packed to larger frames. Guaranteed messages are used for non-repetitive events like shooting. Default: 512
  18. MaxSizeNonguaranteed = 256;     // Maximum size of non-guaranteed packet in bytes (without headers). Non-guaranteed messages are used for repetitive updates like soldier or vehicle position. Increasing this value may improve bandwidth requirement, but it may increase lag. Default: 256
  19.  
  20. MinErrorToSend = 0.001;         // Minimal error to send updates across network. Using a smaller value can make units observed by binoculars or sniper rifle to move smoother. Default: 0.001
  21. MinErrorToSendNear = 0.01;      // Minimal error to send updates across network for near units. Using larger value can reduce traffic sent for near units. Used to control client to server traffic as well. Default: 0.01
  22.  
  23. MaxCustomFileSize = 0;          // (bytes) Users with custom face or custom sound larger than this size are kicked when trying to connect.
  24. */
  25. MaxMsgSend = 768;
  26. MaxSizeGuaranteed = 512;
  27. MaxSizeNonguaranteed = 256;
  28. MinBandwidth = 131072;
  29. MaxBandwidth = 104857600;
  30. MinErrorToSend = 0.001;
  31. MinErrorToSendNear = 0.01;
  32. MaxCustomFileSize = 1310720;
  33. class sockets{maxPacketSize = 1400;};
  34. adapter=-1;
  35. 3D_Performance=1;
  36. Resolution_W=0;
  37. Resolution_H=0;
  38. Resolution_Bpp=32;
  39. terrainGrid=25;
  40. viewDistance=2000;
  41. Windowed=0;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement