I created some
"difficulty files" and broke the difficulty settings into sections that match the in game GUI for ease of changing the server settings. This version is for v4.12.2.
The only lines I have in my server.cmd file are these three.
Code:
server NAME My Server PWD 123456
file 00-Difficulty_Standard
maxping 9999 DELAY 9999 WARNINGS 9999
00-Difficulty_Standard
Code:
# These sections are broken down to match the in game difficulty settings GUI.
# Putting a # in front of the line keeps the server from reading it and throwing a "Command not found:" error message.
# Empty lines are just skipped
# [Flight Model]
difficulty SeparateEStart 1
difficulty ComplexEManagement 1
difficulty EngineOverheat 1
difficulty TorqueGyroEffects 1
difficulty FlutterEffect 1
difficulty StallsSpins 1
difficulty BlackoutsRedouts 1
difficulty GLimits 1
difficulty Reliability 1
# [Weapons & Stores]
difficulty RealisticGunnery 1
difficulty LimitedAmmo 1
difficulty LimitedFuel 1
difficulty BombFuzes 1
difficulty FragileTorps 0
difficulty RealisticRocketSpread 1
# [Views]
difficulty NoOutsideViews 0
difficulty NoOwnPlayerViews 1
difficulty NoEnemyViews 1
difficulty NoFriendlyViews 0
difficulty NoAircraftViews 0
difficulty NoSeaUnitViews 1
difficulty CockpitAlwaysOn 1
difficulty NoSpeedBar 0
difficulty NoPadlock 1
difficulty No_GroundPadlock 0
# [Icons & Map]
difficulty NoMapIcons 1
difficulty NoPlayerIcon 1
difficulty NoFogOfWarIcons 0
difficulty NoMinimapPath 1
difficulty NoIcons 1
# [Misc. Difficulty Settings]
difficulty Vulnerability 1
difficulty RealisticPilotVulnerability 1
difficulty NoInstantSuccess 1
difficulty TakeoffLanding 1
difficulty RealisticLandings 1
difficulty RealisticNavigationInstruments 1
difficulty SharedKills 1
difficulty SharedKillsHistorical 0
difficulty HeadShake 1
difficulty WindTurbulence 1
difficulty Clouds 1
@timeout 210000 chat <=Server=> Difficulty Settings set to **352nd Standard** TO ALL
file 00-HUD_Icons
You can either create a batch program to change the difficulty settings or alter the server.cmd file to call a different set of difficulty settings.
Until someone can show me another way the server needs to be shut down for any changes to the difficulty settings to take effect.
This is the 00-HUD_Icons file being called in the 00-Difficulty_Standard settings file.
00-HUD_Icons
Code:
@timeout 180000 mp_dotrange FOE COLOR 2.5 DOT 25 RANGE 1.5 TYPE 1.0 ID 0.7 NAME 0.5
@timeout 180000 chat <=Server=> FOE ICONS - COLOR 2.5 DOT 25 RANGE 1.5 TO ALL
@timeout 180500 chat <=Server=> FOE ICONS - TYPE 1.0 ID 0.7 NAME 0.5 TO ALL
@timeout 190000 mp_dotrange FRIENDLY COLOR 4.0 DOT 25 RANGE 3.0 TYPE 2.5 ID 2.0 NAME 1.0
@timeout 190000 chat <=Server=> FRIENDLY ICONS - COLOR 4.0 DOT 25 RANGE 3.0 TO ALL
@timeout 190500 chat <=Server=> FRIENDLY ICONS - TYPE 2.5 ID 2.0 NAME 1.0 TO ALL
@timeout 200000 chat <=Server=> Icons set to 352nd TO ALL
Wheels