LiquidSky -> RE: New 1.05 Public Beta in Members Club (12/8/2012 2:49:06 AM)
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.