• Tracker

    Spaces
    Browse
    Statistics
  • /
  • /Stable Feedback
  • /DZG-926
Back
2

Enable RenderTargetWidget (SetWidgetWorld) and RTTextureWidget (SetGUIWidget) for modding

UIModel / Texture UI / UX
2

State

Open
Issue key
DZG-926
Access
Public
Space
DayZ
Project
Stable Feedback
Creator
yuki
Created
Sep 26, 2026
Views
9
Platform
PC Steam
What happened?

Two render-to-texture features are declared in 1_core/proto/enwidgets.c but do not work for mods:

  1. Camera → UI: RenderTargetWidget + SetWidgetWorld(w, g_Game.GetWorldEntity(), camera): [result, e.g. "widget stays black"]

  2. UI → 3D model: RTTextureWidget + SetGUIWidget(ent, index, w) with $rendertarget in the rvmat: [result, e.g. "texture stays empty"]

Notes:

  • The declarations are unchanged in 1.30, and no vanilla script uses them.

  • The helper 2_gamelib/entities/rendertarget.c is wrapped in #ifdef GAME_TEMPLATE, so it is not available in DayZ.

  • The new PreviewWidget.ApplyToCamera(int) is undocumented and unused.

Reproduction steps

None

Exact build version (optional)
1.30.164014
Where did it happen?
Unknown
Is it modded?
Yes
Expected result

Please enable these in retail, or document what is missing (for example, how to create or assign secondary camera indices). They would allow in-game monitors, security cameras, scopes and PiP, and interactive 3D screens (terminals, keypads) without workarounds.

Section
Mod list

None

Load order / launch params
—
Reactions

Activity

    about 1 hour ago
  • yuki
    created issueabout 1 hour ago

You are not signed in. Please sign in to see more details and to reply.

State

Open
Issue key
DZG-926
Access
Public
Space
DayZ
Project
Stable Feedback
Creator
yuki
Created
Sep 26, 2026
Views
9