Subcategories
-
53 Topics421 Posts
Recent Posts
-
<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...
-
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.
-
yea i already did that at first
That's for your Research_Facility, your question was about factory_major. So, you did not do it.

Add <option name="typeAA" value ="AtmoicProductionFacility"/> to factory_major or remove it from Research_Facility.Cheers...
-

