Changing AA Value Against Strategic Bombers
-
-
-
yea just a disconnect I guess

Can you make a "factory_major" not shoot the same time the new Facility unit does when being bombed ?

Edit
Hmm ... maybe if I make it like a "airfield" it'd work ? Can't place anyone then though. -
-
-
-
Lets start over.
I need to make a a unit that is a Factory, that it's AA defends at 2, against Strategic Bombing and when attacked by Bombrs in a Strategic Bombing raid and there is a "Factory" present, the "Factory" AA will not fire with it's AA against the Bmbrs.
What should happen, is the new "Factory" will fire at 2 against Strategic Bomber attacks. There should be no AA Fire from any other Facility.
-
<attachment name="unitAttachment" attachTo="Research_Facility" javaClass="UnitAttachment" type="unitType"> <option name="isInfrastructure" value="true"/> <option name="isConstruction" value="true"/> <option name="constructionType" value="AtomicProduction"/> <option name="constructionsPerTerrPerTypePerTurn" value="1"/> <option name="maxConstructionsPerTypePerTerr" value="1"/> <option name="canBeDamaged" value="true"/> <option name="maxDamage" value="20"/> <option name="consumesUnits" value="1:AtomicLevel5"/> <option name="unitPlacementOnlyAllowedIn" value="Eastern United States:Germany"/> <option name="maxBuiltPerPlayer" value="1"/> <option name="isAAforBombingThisUnitOnly" value="true"/> <!-- allows this unit to be an AA gun only when the territory this unit is in is attacked by a strategic bombing raid --> <option name="attackAA" value="2"/> <!-- AA defends at 2 --> </attachment>Trying to eat... Thunderstorm... and two dogs...
Cheers...
-
Right on. Give it a try in a bit.
Yea we had storms roll through a couple nights ago. Finally get back to a normal sleep pattern and 3 bands come through rattling the windows lol
First world problem

Edit
Well it almost worked
The Factory didn't fire, just the Facility. However when I bomb just the Fctry, it shoots at 2 now also.I tried adding <option name="attackAA" value="1"/> to the Fctry but it still shot at 2

Edit 2
I tried removing "isFactory" from the Fctry and just add the stuff the Facility had with the AA shoots at 1 but that didn't work either.Not that I really expected it to
I'm thinking triplea currently can't separate the different infrastructure AA fire.Well, I'll just go with 2 rds of shooting at 1 for now. One can always use edit and handroll if they want to be completely rule compliant

Thanks for your time

Edit 3
Actually, that won't work either. The Fctry gets hit twice too then. I'll just have it shoot at 1 and people will have to edit any hits at 2 and damage after the Raid -
Again, I reference PoS2;
isAAforBombingThisUnitOnly values: allows this unit to be an AA gun only when this unit is directly attacked by a strategic bombing raid (currently defends against all strategic bombing attacks in this territory, not just against this unit). it will not defend against a normal attack.There are 2 units in Germany with "isAAforBombingThisUnitOnly" so both units defend against SBR attacks against that territory, PoS2 clearly states not just against this unit.
And again the PoS2:
typeAA. values: any string which identifies this type-group of aa guns. Only 1 aa gun per group may fire (unless you've set maxAAattacks). (defaults to "AA") Warning: all units with the same typeAA must have the same dice sides, or else you will experience weird results.So, if both units have the same "typeAA" as "AA", the default if missing, then they fire as a group, with only the best unit defending.
SBR units attack a territory, only the damage is applied to a selected target. This is how aaGuns work in 'classic' style maps. They can defend against SBR, even though they are not targeted.
Cheers...
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login


