Discuss the technicalities of "XML Options Browser"
@elreigh My guess is you were editing/loading the wrong XML or something :)
I think most maps set air defense and defense to the same value so there could be a bug there. I'll have to take a look.
@redrum I decided to test it one more time before zipping it up and sending it to you. Inexplicably, it works. I haven't changed anything at all since the last time I checked, it just works now. I don't know why. Anyway, thanks for your help.
Additionally, I have discovered what is definitely a bug: air units show their airAttack and airDefense values as the same number in the mouse-over tooltip, even when they are different. This has no effect on air battles, as my interceptor with 4 defense still defends on a 4, even if the tooltip says it defends on a 2. You can see what I mean in this picture:
@elreigh Can you upload your entire map zip so I can test it?
I've tried everything and I'm only discovering even more bugs that I cannot figure out. Like an AA unit with "offensiveAttackAA" value="4" that is rolling on a 3, not a 4. Can't figure out why; the xml very clearly says 4, and there are no properties I can find that would change that.
And then one of my air units with "airDefense" value="4" and "airAttack" value="2" has its mouse-over tooltip display that its airDefense is 2, not 4. For some reason airDefense is defaulting to whatever the airAttack value is.
Maybe all of these problems are related? I have no idea. They're all air units, so maybe.
If anyone who knows what might be wrong wants to take a look at my xml, I've attached it to this post.