ACE3 icon indicating copy to clipboard operation
ACE3 copied to clipboard

Fortify - Canceling construction results in unrecoverable budget loss

Open Zman6258 opened this issue 2 years ago • 1 comments

Mods (complete and add to the following information):

  • Arma 3: 2.08.149102 (stable)
  • CBA: 3.15.7 (latest)
  • ACE3: 3.15.0

Description: Canceling the ACE3 Fortify build timer before building an object is complete will result in budget being permanently lost.

Steps to reproduce:

  1. Enable ACE3 Fortify, any side, any template
  2. Select any object expensive enough to require a build time
  3. Confirm placement, observe as budget is subtracted
  4. Before build progress bar has completed, press ACE interact key to cancel building
  5. Fortification will not be placed, but budget will be lowered as though it was completed
  6. Missing budget cannot be recovered, as there is no object to deconstruct

Expected behavior: Budget is returned if fortification is not built.

Where did the issue occur?

  • Dedicated, Singleplayer, Editor

Log Files: N/A

Additional context: The simplest solution would probably just mean not subtracting budget until a fortification is complete, though this could be exploitable if multiple fortifications are started which result in going over budget. Subtracting budget when placement is confirmed, but refunding said budget if cancelled before completion is probably the best option, in my opinion.

Otherwise, perhaps some way to pause construction of fortification objects and resume it later would help, similarly to trenches; this might be an issue when showing a half-built fortification, however. Just having the object rise out of the ground like trenches do would be difficult, especially when fortifications can be placed in far more flexible locations, resulting in a half-built sandbag wall clipping down below a rooftop into the building interior.

Zman6258 avatar Jun 25 '22 21:06 Zman6258

Maybe should be implemented as it is IRL with online purchases. On start - lock. On success - substract. On fail - refund.

severgun avatar Jun 28 '22 21:06 severgun