Jump to content

Forums Announcement

Read-Only Mode for Announcements & Changelogs

Dear Survivors, we'd like to inform you that this forum will transition to read-only mode. From now on, it will serve exclusively as a platform for official announcements and changelogs.

For all community discussions, debates, and engagement, we encourage you to join us on our social media platforms: Discord, Twitter/X, Facebook.

Thank you for being a valued part of our community. We look forward to connecting with you on our other channels!

Stay safe out there,
Your DayZ Team

kubrick32

How to block the attachment of the sight? ( optic stacked )

Recommended Posts

On 3/24/2023 at 4:38 AM, kubrick32 said:

Hello guys, i made a weapon for dayz, my weapon has two proxies, weaponOptics and weaponOpticsHunting, and they are stacked how can this be fixed? 

https://cdn.discordapp.com/attachments/897801352510591038/1088357869872754719/image.png

There's no direct way to solve it.

But you may try to:

a. Override optics. (v1: create new slot and append there all optics that may fit that slot (each optics shall ve overwritten to accept this new slot) v2: override optic (hunter or acogs) to fit one slot type.

b. Try left only one slot to prevent installation of two optics.

c. (I don't know how) but check on attach event (check on Mosin 91/30 rifle you can attach: 1 - compensator, 2 - bayonet, but you can't do it in wrong order (for example 2 then 1)) and check is attachment slot is emty. If it so - model shall accept attachment if not - model shall not accept the attachment.

Share this post


Link to post
Share on other sites

×