yiran365 发表于 2023-2-21 15:52:14

求助,NPC对话框背景素材调整问题

目前发现关于NPC对话框的调整在Server\Views\HorseInfoView.cs文件中
public NPCDialog()
      {
            
            TitleLabel.Text = string.Empty;
            HasFooter = false;
            Movable = true;
            SetClientSize(new Size(492, 259));      //NPC对话框大小
            

            DXImageControl BgImage = new DXImageControl()
            {
                LibraryFile = LibraryFile.GameInter,
                //Index = 378,      //GameInter.ZI文件内对话框背景 调完叠加在上面,删除后依然有背景图
                Location = new Point(0, 129),
                Parent = this,
            };已知 SetClientSize(new Size(492, 259)); 可以设置对话框大小

Index = 378,在GameInter.ZI素材文件中379才是对应的背景

在注释掉这行后背景依然存在,搜索整个解决方案Index = 379并没有搜到。
求大佬指点

页: [1]
查看完整版本: 求助,NPC对话框背景素材调整问题