Page MenuHomeFeedback Tracker

addMagazineAmmoTurret and magazinesAmmoTurrets commands
Closed, ResolvedPublic

Description

<b>Re-created new issue because Killzone_Kid completely misinterpreted and closed my previous issue</b> (#21718)

So, the number of turret commands has increased thanks to vehicle firing, but the game is still missing 2 crucial commands that in my opinion should have been included since Operation Arrowhead:

<b>addMagazineAmmoTurret</b>

<u>Syntax:</u> vehicle addMagazineAmmoTurret [magazineName, turretPath, ammoCount]

<b>magazinesAmmoTurrets</b>

<u>Syntax:</u> magazinesAmmoTurrets vehicle

Example of return value for UH-80 Ghost Hawk:
<pre>[
["168Rnd_CMFlare_Chaff_Magazine", [-1], 168],
["2000Rnd_65x39_Belt_Tracer_Red", [1], 2000],
["2000Rnd_65x39_Belt_Tracer_Red", [2], 2000]
]</pre>

This would make the coding of vehicle persistence a whole lot easier.

In order to get/set turret loadouts, a combination of all the following commands is currently required, which is the cause of many headaches:
magazinesAmmo, allTurrets, magazinesTurret, currentMagazineTurret, currentMagazineDetailTurret, addMagazineTurret, addMagazine, setVehicleAmmo

Details

Legacy ID
1164150516
Severity
None
Resolution
Duplicate
Reproducibility
N/A
Category
Feature Request

Event Timeline

AgentRev edited Additional Information. (Show Details)
AgentRev set Category to Feature Request.
AgentRev set Reproducibility to N/A.
AgentRev set Severity to None.
AgentRev set Resolution to Duplicate.
AgentRev set Legacy ID to 1164150516.May 7 2016, 7:50 PM

@KK:

setMagazineTurretAmmo and magazineTurretAmmo are <b>not</b> appropriate for the purpose I have described. I need to know the exact ammo count for <i>all</i> magazines inside <i>all</i> the turrets, even those of the same class in the same turret, and be able to add them one by one to an empty vehicle with their exact ammo count.

I expect setMagazineTurretAmmo to be only be able to set the ammo of the magazine of that is or was last loaded in one of the turret's weapons; what if I want to add an extra magazine with partial ammo? This is where addMagazineAmmoTurret would come in.

Similarly, I expect magazineTurretAmmo to only report the ammo of the magazine of that is or was last loaded in one of the turret's weapons; what if there are multiple partial mags of the same class? Answer: magazinesAmmoTurrets

It'd be great if you didn't close stuff outright without asking for precisions.

Duplicate of #21718