mirror of
https://github.com/1dot13/source.git
synced 2026-07-29 13:52:17 +02:00
Improved Auto Fast Forward (by Sevenfm)
- New options in ja2_options.ini AUTO_FAST_FORWARD_ENEMIES: 0 - default behavior 1 - auto fast forward only enemies that are not seen by player's team 2 - auto fast forward only invisible enemies 3 - auto fast forward all enemies AUTO_FAST_FORWARD_MILITIA: 0 - default behavior 1 - auto fast forward only militia that does not see enemies 2 - auto fast forward militia always Note: only movement is accelerated, most of specific actions like shooting and tossing grenades are performed at normal speed git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@6693 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -2126,6 +2126,10 @@ void LoadGameExternalOptions()
|
||||
gGameExternalOptions.iFastForwardPeriod = (FLOAT)iniReader.ReadDouble("Clock Settings","FAST_FORWARD_PERIOD", 500, 1, 10000);
|
||||
gGameExternalOptions.fClockSpeedPercent = (FLOAT)iniReader.ReadDouble("Clock Settings","CLOCK_SPEED_PERCENT", 150, 100, 300);
|
||||
gGameExternalOptions.iNotifyFrequency = iniReader.ReadInteger("Clock Settings","UPDATE_FREQUENCY", 16000, 1000, 20000);
|
||||
|
||||
// sevenfm: improved auto fast forwarding
|
||||
gGameExternalOptions.ubAutoFastForwardEnemies = iniReader.ReadInteger("Clock Settings","AUTO_FAST_FORWARD_ENEMIES", 0, 0, 3);
|
||||
gGameExternalOptions.ubAutoFastForwardMilitia = iniReader.ReadInteger("Clock Settings", "AUTO_FAST_FORWARD_MILITIA", 0, 0, 2);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user