In event#20: New Major Order (Soviet)
Line 19: TempVar1 = Gameslot_Soviet Strategic position(#10)
Line 72: CHECK: TempVar1 > 5
....Add offensive order
Line 94: CHECK: TempVar1 < 5
....Add defensive order.
My partner noticed that the Russians are getting a major mission just after taking Kharkov. When I look at the event code, I notice that if you are at level 5 you cannot get a major mission. Shouldn't that be level 6?
I also notice that in your minor code, you set TempVar1 to be the strategic level, but subtract one from it for the Soviets if the turn is less then September. So far, so good...
Line 89: CHECK: TempVar1 > 4
....Add Offensive minor order.
Which means if the Soviets are at strategic level 6 (the starting level), the modified level is 5, which is greater then 4, so they get a minor offensive mission.
Line 111: CHECK: TempVar1 < 5
....Add Defensive minor order
Means they wont get a defensive one until they are at strategic level 5 (modified to level 4). Which is probably what you want.
Line 89 should probably be > 5.
I am going to change it so you cant get a major (at all) at level 6, and an offensive minor at level 6 or higher. (modified to 5 for the Russians)
Bah...I wrote the stuff up top before I realized that the Russians actually start at level 5. Which means the code as you have written means they cannot get a major (either offensive/defensive) and because they are considered to be level 4, can get a minor defensive order.
What appears to have happened is when he took Kharkov in his test, the strategic level went up to 6, which allowed him to get an offensive major order.
< Message edited by LiquidSky -- 12/8/2012 3:45:54 AM >
“My logisticians are a humorless lot … they know if my campaign fails, they are the first ones I will slay.” – Alexander the Great