Jump to content

Bigger event window


joemann

Recommended Posts

Posted

Does anybody know how to increase the size of the character_event_window?

I can increase the size of the characters that appear in the window by changing <size> in gui\windows_event_gui

Spoiler


                ### LEFT CHARACTER ###
                hbox = {
                    widget = {
                        name = "portrait_left"
                        layoutpolicy_horizontal = expanding
                        layoutpolicy_vertical = expanding

                        portrait_event = {
                            name = "portrait_left"
                            datacontext = "[EventWindow.GetPortraitCharacter('left_portrait')]"
                            visible = "[And(EventWindow.HasPortraitCharacter('left_portrait'), EventWindow.HasPortraitCharacter('right_portrait'))]"
                            parentanchor = bottom|left
                            size = { 600 658 }   # 500 becomes 600 558 becomes 658 This increases the size of the character

                            portrait_texture = "[EventWindow.GetAnimatedEventPortraitTexture('left_portrait', 'camera_event_left', PdxGetWidgetScreenSize(PdxGuiWidget.Self))]"
                            alwaystransparent = "[Not(EventWindow.ShouldShowPortraitInfo('left_portrait'))]"
                            tooltip_enabled = "[EventWindow.ShouldShowPortraitInfo('left_portrait')]"

                            blockoverride "grayscale" {}

                            highlight_icon = {
                                name = "prison_bars"
                                visible = "[Character.IsImprisoned]"
                                size = { 280 500 }
                                parentanchor = bottom|left
                                effectname = "NoHighlight"
                                spriteType = corneredTiled
                                texture_density = 1.5
                                texture = "gfx/portraits/portrait_prison_body.dds"

                                modify_texture = {
                                    name = "mask"
                                    texture =  "gfx/portraits/portrait_mask_event.dds"
                                    spriteType = Corneredstretched
                                    blend_mode = alphamultiply
                                }
                            }
                        }
                    }

 

 

  but not the size of the window itself. I tried :

Spoiler

window = {
    name = "event_window"
    parentanchor = center
    size = { 1120 680 }        #  1120 becomes 1500 580 becomes 680 This does NOT increase the size of the window
    position = { 220 0 }
    layer = middle
    alpha = 0

at the beginning of the same file, but no effect.

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...