Page MenuHomeFeedback Tracker

Add More Weapon Commands
Acknowledged, WishlistPublic

Description

It would be useful if the community could have a few more scripting commands for the upcoming Marksmen DLC Bipod feature, as well as giving more access to existing features.

For example, there is no way to know if a player is using his main scope or the backup sights on top of the scope for multi-sight scopes. There also isn't any way to script weapon deployment for units, or manually set pivot restrictions.

Some possible commands include:

Weapon Sights: (based on cfgWeapons\optic...\itemInfo\opticModes class)
opticId - return id of current weapon sight being used by attached scope (backup red dot sight, main scope, etc)
setOpticId - set current weapon sight (backup red dot sight, main scope, etc) on attached scope

Weapon Deployment:
deployWeapon - deploy weapon at given point
deployedLimits - get rotational limits of deployed weapon in degree's
setDeployedLimits - set rotational limits of deployed weapon in degree's

Details

Legacy ID
3894524469
Severity
None
Resolution
Open
Reproducibility
N/A
Category
Feature Request
Additional Information

Possible syntax:

Weapon Sights:
integer = opticId "muzzle"
unit setOpticId integer

Weapon Deployment:
unit deployWeapon [x,y,z]
array = deployedLimits unit
unit setDeployedLimits [x,y]

Event Timeline

Waffle_SS edited Additional Information. (Show Details)Mar 15 2015, 8:19 PM
Waffle_SS set Category to Feature Request.
Waffle_SS set Reproducibility to N/A.
Waffle_SS set Severity to None.
Waffle_SS set Resolution to Open.
Waffle_SS set Legacy ID to 3894524469.May 8 2016, 11:41 AM