Page MenuHomeFeedback Tracker

Discrete ranges on ironsighted weapons broken when weapon created in cargo.
Closed, ResolvedPublic

Description

Weapons without any optic attachments (ie, ironsights only) and discretedistance[] in their configuration, created through either addweaponcargo[] or through ammoboxes, breaks adjustable zeroing.

Details

Legacy ID
790394701
Severity
Minor
Resolution
Duplicate
Reproducibility
Always
Category
Modding
Steps To Reproduce

Example , the no-optics EBR -

-go to editor
-create player unit and weapon box (or other suitable container) with initialisation:

this addweaponcargo["srifle_EBR_F",1];

  • preview and collect weapon from box, note that variable zero does not appear.
Additional Information

If you spawn the weapon on the unit, or as part of the unit's configuration, the weapon appears with the correct zeroing adjustment.

Event Timeline

toadie edited Steps To Reproduce. (Show Details)Mar 29 2013, 9:23 AM
toadie edited Additional Information. (Show Details)
toadie set Category to Modding.
toadie set Reproducibility to Always.
toadie set Severity to Minor.
toadie set Resolution to Duplicate.
toadie set Legacy ID to 790394701.May 7 2016, 1:16 PM

I'm quite sure the zeroing is tied to the optics attachments more than to the weapons

MadDogX added a subscriber: MadDogX.May 7 2016, 1:16 PM

Unable to reproduce using your repro steps. Broken zeroing seems to be tied to weapon scopes. If you have more info, please post a comment on #3540.