Increase ammo count of placed AA and AT guns?

Hello, I’m making a mod with a good amount of defensive positions including AT and AA guns. I’m having trouble increasing the starting amount of ammo for both of them.

Specifically using the japanese aa, jp_20mm_type98_common, and the japanese AT, jp_towed_at_type_1_movable (+mobile_cannon_sound…).

The type98 AA only comes with 60 rounds total, or 3 mags, and that is enough for maybe 4 planes… And because they are placed in the editor and not built by a player I do not get the option to replenish ammo with an engineer. Is that an option also?

Related, has anyone made a usable version of the japanese triple AAA found in the New Georgia map? That would fit much better than the wimpy type98.

It should still work: How do i adjust the amount of ammunition and reloadspeed of placed anti tank guns? - Game Mods - Enlisted

If you know how to work with entities then here’s code:

TURRET_ENTITY_NAME{
  _override:b=yes

  gun__maxAmmo:i=60

  "gun__shellsAmmo:array"{
    ammo:i=300
  }
}

TURRET_ENTITY_NAME you can find in turret_control__turretInfo property (inside gun & add it without any + and only first entity name). Example: flak_36_sdkfz_6_2_turret_01_37mm_flak36 is for base_flak_36_sdkfz_6_2.

Ye. You need to add any builded turret inside Template Postfix (+builded_cannon_us_20mm_polsten) and then create base_fortification_build entity. And then edit some team properties:

  • team, builder_info__team & vehicle_seats__restrictToTeam = Team that can use or refill it.

  • vehicle_seats__autoDetectRestrictToTeam = Disable it?

  • buildingRadius = Like between 2.5 - 7.5. Without it you willn’t able to refill ammo.

  • building_destroy__maxTimeToDestroy = Set there big number to disable ability destroy turret.

It’s possible to make aircraft turrets be usable. I’m very slowly working on it.

1 Like