File information

Last updated

Original upload

Created by

esuriddick

Uploaded by

esuriddick

Virus scan

Safe to use

Tags for this mod

Mod articles

  • Sample to create a custom dialogue UI - keanuWheeze in Discord

    Sample provided in Discord's Cyberpunk 2077 Modding Community within the channel "-cet-snippets" by keanuWheeze.

    Main file:

    local interactionUI = require("interactionUI")
    registerForEvent("onInit", function()
        interactionUI.init()
    end)
    registerForEvent("onUpdate", function()
        interactionUI.update()
    end)
    registerHotkey("customDialog", "Show Dialog", function()
        -- Setup choices
        local choice1 = interactionUI.createChoice("Choice 1", TweakDBInterface.GetChoiceCaptionIconPartRecord("ChoiceCaptionParts.ShowerIcon"), gameinteractionsChoiceType.QuestImportant) -- Icon and choiceType are optional
        local choice2 = interactionUI.createChoice("Choice 2", TweakDBInterface.GetChoiceCaptionIcon...