Quote:
Originally Posted by gap
I am not sure that I fully understand the logic of logic steps. How are "remaining logic steps" calculated?
Anyway, multiplying 91 second times 15 (IRAI airstrike.cfg settings), gives a maximum interval of 22.75 minutes. Isn't this delay too long? Would it be affected by Airbase Modifier (see the PS in previous post)? 
|
In the main game loop a function is called that updates all the game's timers. One of those timers is this 91.0 second one. Every 91.0 seconds the logic steps value is decremented. Once it's value is 0:
- a function is called that checks for airstrikes
- the logic steps value is reloaded with the logic steps value defined in AirStrike.cfg file
Is the Delay too long? Could be. Chances of the logic steps value being at the value defined in the AirStrikes.cfg file is very slim. Thus it's a 'random' value and is perfect for simulating delay in the airbases launching aircraft.