Page MenuHomeFeedback Tracker

Laser attachment parameters (beam width and dot size) not working on IR lasers
New, NormalPublic

Description

It would be great if we had the same customization over IR lasers as we do over visible lasers for configured weapon laser attachments.

Scripted lasers allow us to customize the size of the dot and the "girth" of the beam, but it doesn't apply to the weapon attachments. It only does if the laser in the attachment is non-IR.

This would save a ton of time for modders who are working on advanced weapon attachments, because now both BettIR (the update that is not released yet) and ITN have to use scripted workarounds to create an IR effect that has the parameters we need.

Details

Severity
Minor
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Category
General
Steps To Reproduce

When creating a config for a weapon laser attachment, set beamWidth and irDotSize parameters, i.e.

class acc_pointer_IR_nobeam: acc_pointer_IR {
       displayName="Laser with just a dot";
       class ItemInfo: ItemInfo {
           class Pointer: Pointer {
               isIR=1;
               beamThickness=0.0002;
               irDotSize=0.15;
           };
       };
   };

When built, Notice that the parameters are ignored and the rendered laser looks exactly the same as in the default acc_pointer_IR device.

Event Timeline

Vestarr created this task.Sep 15 2023, 10:56 PM
dedmen added a subscriber: dedmen.Sep 19 2023, 12:47 PM

https://feedback.bistudio.com/T168103
Already known that IR modifying is missing

dedmen set Ref Ticket to AIII-56220.Jan 23 2024, 3:30 PM