http://youtube.com/c/ange1uk - YouTube Channel
#tiefighter #xwing #modding
#tiefighter #xwing #modding
However you might notice the code is not including 32768 in its if/else check. All values are greater/equal than 43690 or less than 21845 - Veteran gets left out thus it ends up with the highest rate of fire of all skills (TopAce/SuperAce is half this speed).
However you might notice the code is not including 32768 in its if/else check. All values are greater/equal than 43690 or less than 21845 - Veteran gets left out thus it ends up with the highest rate of fire of all skills (TopAce/SuperAce is half this speed).
The faulty code? A simple else/if statement checking the AI skill level and what rate of fire calculation should be used. In the code, AI skill looks something like this:
The faulty code? A simple else/if statement checking the AI skill level and what rate of fire calculation should be used. In the code, AI skill looks something like this: