Subcategories

  • Land units with strategic bombing?

    26
    0 Votes
    26 Posts
    6k Views
    C
    @Frostion So, to summarize and make sure, is the latest issue at hand that disabling any units doesn't disable their AA attacks nor their ability to give support, while it correctly disables their regular attacks, instead? Isn't that maybe just intended?
  • unitInitialize

    5
    0 Votes
    5 Posts
    1k Views
    B
    @andrewthree said in unitInitialize: Thank you both! It's amazing how you can be looking right at something and not see it. Heh heh It's got me many a time
  • Fun İssue

    14
    0 Votes
    14 Posts
    3k Views
    SchulzS
    Doubling unit costs and setting up games dice would definitely help too.
  • WWII v3 1941 Mod

    Moved
    6
    0 Votes
    6 Posts
    886 Views
    RogerCooperR
    @eagledrc If you send me your mod, I will post on my site. I have a lot of mods not in the scenario repository as well as 2 mods that in the scenario repository but don't work in the versions in the repository. Complete Scenario List
  • Where are the XMLs?

    Moved
    4
    0 Votes
    4 Posts
    856 Views
    Captain CrunchC
    Cernel move this to the Shulz, Frostion, Lafeyette Topic forum please
  • First map; error: Unable to load expected resource: polygons.txt

    19
    1 Votes
    19 Posts
    3k Views
    H
    @Cernel thx man, i had to make the reliefTiles map a bit transparent, cut it up with the imagetilebreaker and replaced the old reliefTiles with the new ones. The map is, apart from some balancing basicly ready thanks to you guy. you're legends Hidde2k
  • Population / manpower

    17
    0 Votes
    17 Posts
    3k Views
    U
    Dear @redrum and Dear @Hepps, thanks a lot for the advice to look into the Civil War map. There are many good mechanics implemented there.
  • Map/xml with tech system?

    3
    0 Votes
    3 Posts
    804 Views
    SchulzS
    https://axisandallies.fandom.com/wiki/Domination_1914_NML_Navalland
  • Trigger when units are present on map?

    6
    0 Votes
    6 Posts
    1k Views
    C
    @redrum said in Trigger when units are present on map?: @Frostion Yeah, as @Cernel pointed out not a bad feature request. @Frostion Not a wonderful solution but, for now, one might do this with a limited amount of coding by using "eaches" on the conditions, then having as many same conditions assigned to the trigger as the number of units specified in the conditions themselves, then a condition type equal to the minimum number you want (in your case, 5), if you are following me. However, I'm not sure if it would work, as eaches are normally used to make the trigger firing that many times. EDIT: Nevermind, checked pos2 it says that eaches are just 1s, condition wise.
  • Problem with TriggerAttachment using placement option

    trigger
    12
    0 Votes
    12 Posts
    2k Views
    RogerCooperR
    @Cernel Thank you, I will fix it.
  • How do you modify the Map Rules?

    4
    1 Votes
    4 Posts
    1k Views
    redrumR
    @RyansPlace You'll need to unzip the map file then go to "\map\games" directory inside it. There you'll see the various game XMLs for that map. Open the one that corresponds to the game you want to edit then find those 2 properties and change them to editable="true".
  • 0 Votes
    33 Posts
    4k Views
    C
    @Cernel If so, I believe this would be the only case in all Axis&Allies history in which I'm forbidden from doing nothing during a movement phase.
  • Variable lists do not seem to work

    14
    0 Votes
    14 Posts
    3k Views
    Martin MadueñoM
    @redrum Thanks, i will try with pre-release :grinning_face_with_smiling_eyes:
  • XML code that only plays an mp3 file

    8
    0 Votes
    8 Posts
    2k Views
    redrumR
    @Frostion Ah I see. I'd need to see the error details to see why that's happening. Not sure if you have those but if so please post them.
  • Perfect AA system

    31
    0 Votes
    31 Posts
    5k Views
    T
    @Cernel For WWII scenarios, and thinking about the way the 88s were used in reality (ignoring their use in the late-model panzers), it would be nice if: AA were treated like any other unit for purchase, movement, etc, except as below: on defense, AA acts as flak/air defense if any attacking aircraft are present, and as anti-tank/inf artillery if no aircraft are present, at start of defensive fire phase (SBR is just a special type of attack, so AA would be 'flak mode'). No input required from defending player. on offense, the attacking player has to specify the default mode of the AA guns (flak vs anti-tank) during combat movement, similar to how bombers have to select 'bomb vs attack' in most current maps (I have no idea how complex the coding would be for this, but existing bomber behavior shows that this is possible). If the Attacker wants some of each, move them in two separate moves, just like we do now with bombers attacking and bombing a single territory today. In 'flak mode', AA hits more rarely (1/6 in most maps), but cherry-picks aircraft only for casualties In 'anti-tank mode', AA behaves like Artillery in most maps, with better hit chance (say 2/6), but allows full defender-choice on casualties. If all defending aircraft are eliminated but attack still underway, then AA is in 'anti-tank' thereafter. So, in effect, AA would just be artillery with a special 'anti-air' mode available. Cost, cargo size, movement rates, and combat strengths would need to be balanced carefully. If a player wants to buy a bunch of AA rather than 'normal' artillery, then it should be an option, but come with a cost premium. I would think that a slightly higher cost and the fact that they would still count as a placement should prevent unreasonable AA unit spamming.
  • Player specific territory effects?

    4
    0 Votes
    4 Posts
    850 Views
    HeppsH
    @Frostion The only way I can think if to achieve this (without having a unique Swiss Infantry unit) would be to create another hypothetical unit... call it "Swiss Advantage" (it could even be invisible) This unit could then just support the Swiss infantry units... and you could trigger it to be added and removed each turn based on where Swiss infantry meet the condition of being in a mountain terrain.
  • Two Capitals for One Player

    18
    0 Votes
    18 Posts
    5k Views
    prastleP
    @Captain-Crunch snorts in agreement
  • Simple Trigger Help

    74
    0 Votes
    74 Posts
    27k Views
    Captain CrunchC
    @all ok glad you mentioned what mod/map this is for ... we been getting lots of threads and questions for questionable "projects" and had you mentioned at the start your mod/map then I would not have wondered! Plus your title "simple Trigger help" also got me suspicious. Sure call me the forum nerd that likes to keep the trolls in check ... if a guy who was on his student council and quarterbacked his highschool and football teams and played Can-Am baseball 10 years is a nerd
  • Discussion about unit costs of WW1/WW2

    5
    0 Votes
    5 Posts
    1k Views
    HeppsH
    The value of unit strengths can also be affected by whether the game is meant to be played as Dice or Low Luck.
  • Houserules/mods for fun

    Moved
    4
    2 Votes
    4 Posts
    2k Views
    G
    @wc_sumpton Thanks. You are correct, that works fine.

Recent Posts

  • @Ramon

    Try something like this:

    <attachment name="unitAttachment" attachTo="landmine" javaClass="UnitAttachment" type="unitType"> <!-- <option name="defense" value="0"/> removed --> <!-- <option name="attack" value="0"/> removed --> <!-- <option name="isAA" value="true"/> removed --> <!-- Expanding "isAA" values --> <option name="isAAforCombatOnly" value="true"/> <option name="isAAforFlyOverOnly" value="true"/> <option name="typeAA" value="Landmines"/> <option name="attackAA" value="1"/> <option name="maxAAattacks" value="6"/> <option name="targetsAA" value="infantry:tank:cavalry"/> <option name="isInfrastructure" value="true"/> <!-- Changed so units can't be taken as fodder --> <!-- <option name="isFirstStrike" value="true"/> removed --> <option name="isConstruction" value="true"/> <option name="constructionType" value="Landmines"/> <!-- Changed --> <option name="constructionsPerTerrPerTypePerTurn" value="1"/> <option name="maxConstructionsPerTypePerTerr" value="10"/> <!-- The following is added so that mines operate on defense --> <option name="isSuicideOnDefense" value="true"/> <!-- only those units that gets a hit are removed --> <option name="isSuicideOnHit" value="true"/> <!-- Unit can not be captured --> <option name="destroyedWhenCapturedBy" value="BY:$ListOfAllPlayers$"/> </attachment>

    Also "Units Can Be Destroyed Instead Of Captured" will need to be set.

    Cheers...

    read more

  • @wc_sumpton

    Thanks a lot!

    I hope im not asking too much,

    We are implementing landmines and currently i have the following unit attachment set up:

    <attachment name="unitAttachment" attachTo="landmine" javaClass="UnitAttachment" type="unitType">
    <option name="defense" value="0"/>
    <option name="attack" value="0"/>
    <option name="isAA" value="true"/>
    <option name="attackAA" value="1"/>
    <option name="maxAAattacks" value="6"/>
    <option name="targetsAA" value="infantry:tank:cavalry"/>
    <option name="isInfrastructure" value="false"/>
    <option name="isFirstStrike" value="true"/>
    <option name="isConstruction" value="true"/>
    <option name="constructionType" value="bunker"/>
    <option name="constructionsPerTerrPerTypePerTurn" value="1"/>
    <option name="maxConstructionsPerTypePerTerr" value="10"/>
    </attachment>

    Right now landmines behave like Anti-aircraft against troops (first strike and hitting a set number of units, which is intentional), but they also have 1 hp

    In a perfect situation the landmine should act like a normal AA (like the one in domination), but once the territory is captured it should destroy itself.

    I have looked at other maps, but i couldnt find any that implement landmines in this way. Do you know if this is possible?

    I tried making it a suicide unit, this didnt work, they all suicide after 1 infantry attacks them.

    If i make them non-suicide the enemy can capture them

    I appreciate your help, cheers!

    read more

  • @Ramon

    Try "isCombatTransport" for those units that can transport and also participate in battle.

    Cheers...

    read more

  • @wc_sumpton

    Thank you for your response!

    Turns out that setting was indeed not enabled.

    Once i enable this setting i'm running into another issue. In our mod, transports have 1 defense and battlecruisers are able to transport 1 inf. However this setup appears to be incompatible, im recieving the following error:

    Validation errors parsing game-XML file: C:\Users\ramon\triplea\downloadedMaps\war_plan_red_orange\war_plan_red_orange\map\games\War_Plan_Red_Orange.xml, errors: Restricted transports cannot have attack or defense, , for: UnitAttachment attached to: UnitType{name=transport} with name: unitAttachment Restricted transports cannot have attack or defense, , for: UnitAttachment attached to: UnitType{name=battlecruiser} with name: unitAttachment

    this makes sense, if i understand correctly i cant restrict transport casaulties and making them have 1 defense.

    Is there a way to make these features compatible?

    Thank you!

    read more