Page MenuHomeFeedback Tracker

Script commands requirest to overwrite config values for weapon and magazine reload time
New, NormalPublic

Description

  1. CfgWeapons >> weapon >> magazineReloadTime
  2. CfgWeapons >> weapon >> reloadTime

Please implement new script commands to overwrite this config values

  • object setMagazineReloadTime [gunner, muzzleName, magazineReloadTime]
  • object setWeaponReloadTime [gunner, muzzleName, reloadTime]

do not confuse with the setWeaponReloadingTime command which sets the reloading phase, this is a request to change the reload time value of the weapon config

Examples

  • player setMagazineReloadTime [player, "GL_3GL_F", 11]; //→11 sec to reload a rifle's grenade laucher magazine
  • _vehicle setWeaponReloadTime [gunner vehicle player, currentMuzzle gunner vehicle player, 1]; //→ 1 sec between each shot

And commands to return reload time

  • player magazineReloadTime [player, "GL_3GL_F"];
  • _vehicle weaponReloadTime [gunner _vehicle, currentMuzzle gunner _vehicle];

Examples

  • player magazineReloadTime [player, "GL_3GL_F"]; //→11 sec to reload a rifle's grenade laucher magazine
  • _vehicle weaponReloadTime [gunner _vehicle, currentMuzzle gunner _vehicle]; //→ 1 sec between each shot

Details

Severity
Feature
Resolution
Open
Reproducibility
N/A
Operating System
Windows 11 x64
Operating System Version
22Н2
Category
Scripting

Event Timeline

TRAGER created this task.Jan 16 2024, 5:24 AM
TRAGER updated the task description. (Show Details)Jan 16 2024, 5:39 AM
TRAGER updated the task description. (Show Details)Jan 16 2024, 5:43 AM
TRAGER updated the task description. (Show Details)Jan 16 2024, 5:50 AM
TRAGER updated the task description. (Show Details)Jan 16 2024, 12:32 PM