ScienceTechWorks • STW suite
← STW Online Manuals

STW Heavy Weapons

Put proper support weapons into the field: defended machine-gun positions, mortar posts, useful supplies, map awareness and artillery that feels like part of a living battlefield—not a button that dispenses explosions.

STW Heavy Weapons is one of the STW mods for Arma Reforger, the military sandbox by Bohemia Interactive. This is a player and server-admin guide by STW (ScienceTechWorks).

What this mod brings to the fight

STW Heavy Weapons turns static weapons into complete battlefield posts. Instead of dropping a lonely tripod into the mud and hoping for the best, a post can have a faction, crew, guards, nearby supplies and a clear role on the map.

It is designed to sit comfortably alongside the wider STW suite of mods for Arma Reforger by Bohemia Interactive. In particular, enabling STW Crates lets posts use the supply ecosystem already familiar to STW communities.

Using it in Game Master

Open the Game Master entity browser and look for the STW Heavy Weapons placeables. The mod provides an STW RPK model and an STW Mortar model. Place one where it has sensible ground, a useful field of fire and enough room for its friends.

  1. Place an STW RPK or STW Mortar.
  2. Select the placed post and open its attributes.
  3. Set Post Faction to decide who owns and mans it.
  4. Choose the number of Guards to station alongside the weapon.
  5. Use Force Arsenal if this post should always receive an arsenal.
  6. Use Force STW Crate if it should always receive a nearby STW Crate (when STW Crates integration is enabled).

The system builds the working post around the placed model. A mortar crew is registered for artillery duty; an RPK post becomes a compact defensive position. Place them with intent: a mortar benefits from breathing room, while a machine gun sings when it watches a choke point.

Firing mortars

Mortar posts can support artillery missions through Arma Reforger's normal command/artillery flow. The exact order-giving experience depends on the game mode and the server's chosen assignment strategy, but the guiding rule is simple: select or assign an available mortar crew, then designate the target through the usual artillery order.

STW Heavy Weapons adds a little battlefield character. Mortars do not have endless energy or perfect aim: each completed salvo adds stress, stress fades over time, and firing delays and accuracy can vary. This keeps artillery powerful without turning it into a meteorological event.

For players: stay aware of the target area and your squad's position. Server owners can protect friendly players near an AI target, but common sense remains the most reliable safety system ever shipped.

Server configuration

Heavy Weapons keeps its settings in the server profile, not in the mod download itself. This means a mod update does not normally overwrite your choices—which is exactly what a server owner wants.

Where are the configuration folders?

Start the server once with STW Heavy Weapons loaded. It creates the folders and its default files automatically. Open the server's profile directory, then follow this path:

$profile:STW/HeavyWeapons/

In a typical Windows server installation, $profile means the profile folder selected by the server's -profile startup parameter. If no custom profile location is used, it is commonly in the server's working/profile area. Ask whoever starts the server where its profile folder is; the STW folder will be inside it.

Folder / filePurpose
$profile:STW/HeavyWeapons/STWHeavyWeaponsSystemConfig.jsonCore system settings: limits, markers, persistence, crates and Game Master factions.
$profile:STW/HeavyWeapons/STWAutoPopulationConfig.jsonAutomatic creation of staffed RPK and mortar posts.
$profile:STW/HeavyWeapons/STWMortarTerrainConfig.jsonTerrain-generated mortar network and faction quotas.
$profile:STW/HeavyWeapons/STWMortarFireConfig.jsonMortar mission, cooldown, accuracy, stress and safety behavior.
$profile:STW/Persistence/Saved heavy-weapon post data, kept separately from the settings.
Safe editing routine: stop the server, copy the relevant JSON file somewhere safe, edit it with a plain-text editor, save it, then start the server again. If a file is invalid, the mod writes safe defaults; a backup is still much nicer than rebuilding a carefully tuned setup.

1. System settings — STWHeavyWeaponsSystemConfig.json

SettingWhat it controlsGood starting point
heavyWeaponsSystemEnabledMaster switch for the Heavy Weapons system.true
persistenceEnabledSaves and restores managed posts between restarts.true for long-running servers.
persistenceIntervalMinutesHow often the system saves its state.30; lower values save more often.
persistenceRestoreInitialDelaySeconds, persistenceRestoreBatchSize, persistenceRestoreBatchDelayMillisecondsHow gently saved posts return after startup.Leave defaults unless startup performance needs tuning.
maximumActivePostsCeiling for active managed weapon posts.20; raise gradually after performance testing.
maximumGeneratedSoldiersCeiling for AI created for posts.60; match it to your server's AI budget.
sharedPostResourceRadiusMetersHow close a crate may be to be shared by a post.25 metres.
markerVisibility0 hides markers, 1 shows them only when zoomed in, 2 shows them normally.2 for admin-friendly maps.
markerZoomThresholdMap zoom level used by zoom-based markers.1.5.
useRandomOffsetForPublicMarkers, maximumPublicMarkerOffsetMetersCan deliberately blur public marker positions.Enable for fog-of-war flavor.
enableSTWCratesAllows integration with STW Crates.true when that STW mod is installed.
gameMasterFactionsFactions that Game Master may use for posts.Keep only factions present on your server.

2. Automatic posts — STWAutoPopulationConfig.json

Automatic population is off by default. When enabled, the server periodically reviews relevant weapon placements and can turn them into staffed posts. It respects the active-post and soldier limits above.

SettingPlain-English purpose
automaticPopulationEnabledTurns automatic post creation on or off.
runtimeReconciliationSecondsHow often the server checks for new suitable placements.
machineGunPostChancePercent, mortarPostChancePercentChance that each eligible weapon type becomes a post.
minimumSoldiersPerPost, maximumSoldiersPerPostHow many defenders each generated post receives (1–3).
factionExclusionRadiusMetersKeeps competing faction posts from appearing too close together; minimum is 500 m.
arsenalDistanceMinMeters, arsenalDistanceMaxMetersHow near a generated arsenal sits to its post.
guardDistanceMinMeters, guardDistanceMaxMetersHow far guards spread from their weapon.
enableGuardDefendActivityLets guards use a defend activity instead of simply standing their ground.
crateDistanceMinMeters, crateDistanceMaxMeters, crateNearArsenalChancePercentControls crate placement and the chance it appears beside the arsenal.
machineGunFactionWeights, mortarFactionWeightsChoose which factions are most likely to receive generated posts. Higher weight means more likely.

3. Terrain mortar network — STWMortarTerrainConfig.json

This creates a limited set of mortar posts across suitable terrain during startup. It avoids unsuitable locations such as water, awkward slopes and crowded areas, then works toward the faction quotas you set.

4. Mortar behavior — STWMortarFireConfig.json

These settings shape how managed mortars respond to missions. The defaults make them formidable but not robotic.

Setting groupWhat it means
enabled, interceptionScopeEnable fire control and choose whether it handles STW-managed mortars only, an allowlist of prefab paths, or all static artillery.
cooldownMinimumSeconds, cooldownMaximumSecondsRandom delay between available missions.
stressMaximum, stressAddedPerCompletedSalvo, stressDecayPerMinuteHow much firing fatigue builds up and how fast it recovers.
autonomousFireChanceRestedPercent, autonomousFireChanceMaximumStressPercentHow likely AI mortar activity is when rested versus stressed.
aiAimError...Minimum/maximum aim variation for rested and stressed AI fire, in metres. Bigger values mean less precise impacts.
aiFriendlyPlayerSafetyEnabled, aiFriendlyPlayerSafetyRadiusMeters, aiSafetyOffsetAttemptsHelps prevent AI mortar fire from landing near friendly players.
unknownPlayerFactionPolicyHow the safety system treats players whose faction is unclear: hostile, protected or ignored.
unexpectedMissionSourcePolicyWhether unusual mission sources are rejected, passed through, or treated as AI orders.
additionalArtilleryPrefabPathsExtra artillery prefabs to include when using the prefab allowlist scope.
Configuration tip: change one family of settings at a time and test on a quiet server. More posts, guards and frequent checks all add activity; a battlefield should be dramatic, not a performance benchmark.

Persistence: keeping the battlefield alive

With persistence enabled, STW Heavy Weapons remembers its managed weapon posts when the server restarts. That includes the post's weapon type, faction, position and facing, plus any associated arsenal. Terrain-generated mortar posts are remembered too, so the map does not roll a completely new artillery network every reboot.

The save files live in $profile:STW/Persistence/. Their names include the scenario and map, for example STW_HeavyWeapons_MyScenario_Arland.json. This separation is useful: each scenario/map combination keeps its own battlefield history.

How it works in practice

Useful persistence choices

If you want...Do this
A persistent campaignSet persistenceEnabled to true and keep a reasonable save interval, such as 30 minutes.
A fresh battlefield after every restartSet persistenceEnabled to false. Terrain mortars can then be generated anew on the next session.
To reset one scenario/map's Heavy Weapons historyStop the server, back up and then remove that scenario/map's corresponding STW_HeavyWeapons_*.json file from $profile:STW/Persistence/. Start the server again.
A smoother restart on a busy serverKeep the restore batch size modest and use a small delay between batches. The defaults are intended to be gentle.
Before resetting: persistence files are campaign progress. Copy the file first. A backup lets Captain Sprocket undo a bold administrative decision before it becomes battlefield archaeology.

A sensible first setup

For a cooperative server, keep persistence on, set a modest active-post limit, use map markers while you learn the system, and begin with automatic population disabled. Place a few posts manually, test factions and artillery behavior, then enable automatic population at conservative chances. Once it feels right, experiment with a small terrain mortar quota for each side.

For a more mysterious campaign, hide or offset public markers, retain the friendly-player safety radius, and let the terrain mortar network create objectives worth scouting. That first distant thump is much more interesting when nobody has a flashing map pin explaining it.