Перейти к содержимому

Фотография

Fix plot flag display in toolset


  • Пожалуйста, авторизуйтесь, чтобы ответить
5 ответов в этой теме

#1
sapphim

sapphim
  • Members
  • 32 сообщений

Plot flags used to display in groups under two headings, split between main and defined. Somehow this got messed up, and now each flag is split up under an individual heading and I can no longer sort them by anything other than flag name. Does anyone know what arcane combination of keystrokes I must have accidentally typed at some point to make this happen, and how I can fix it? I can't find a setting anywhere to change this, and it's incredibly annoying. :\

 

Example:

 

Xz1J8vz.png?1



#2
Sunjammer

Sunjammer
  • Members
  • 925 сообщений

Plot flags used to display in groups under two headings, split between main and defined. Somehow this got messed up, and now each flag is split up under an individual heading and I can no longer sort them by anything other than flag name. Does anyone know what arcane combination of keystrokes I must have accidentally typed at some point to make this happen, and how I can fix it? I can't find a setting anywhere to change this, and it's incredibly annoying. :\

 

Try the File > Restore Environment menu option. That should reset the Toolset's layout to how it was when you first opened it. If that doesn't work we may have to hunt for and manually delete your settings file.


  • Это нравится: MerAnne

#3
sapphim

sapphim
  • Members
  • 32 сообщений

Try the File > Restore Environment menu option. That should reset the Toolset's layout to how it was when you first opened it. If that doesn't work we may have to hunt for and manually delete your settings file.

Restore Environment didn't do anything, even after a restart. Where would the settings file be located? I didn't see any likely candidates in the Dragon Age\tools directory, and Roaming\Dragon Age Toolset is completely empty.



#4
Sunjammer

Sunjammer
  • Members
  • 925 сообщений
In C:\Users\<username>\Documents\BioWare\Dragon Age\Toolset\ there should be a file called layouts#.xml (where # is a number).
 
The easiest approach is simply to move or delete that file. That will reset every UI change you've made to the toolset but then that's what the File > Restore Environment menu option should have done for you.
 
If you feel a little more adventurous (and are comfortable editing XML) then all you should need to do is change the value in the ShowItemsInGroups element for the Plot Editor from a 1 to a 0.

NOTE: there are potentially a couple of ShowItemsInGroups elements in the file so you want the following one:
settings > DragonAgeToolset > DefaultLayout > Editors > PlotEditor > PlotsReportControl > Header > ShowItemsInGroups
mUkyiHt.png

#5
Sunjammer

Sunjammer
  • Members
  • 925 сообщений

Ignore my previous - it is half right at best!
 
While I was able to recreate your problem when I set ShowItemsInGroups to 1 I think it was more coincidence than anything and unfortunately setting it back to 0 didn't fix it. Belatedly I realised it wasn't the grouping that was the problem but that the editor was grouping on the Flag Name instead of the Type that was the problem. Armed with this new insight I started poking the XML and the Toolset ...
 
I believe what happened was you inadvertently dragged the Flag Name column header down onto the list of flags. This does not appear to do anything at the time however when you close the Toolset it updates the Layout#.xml file with some new settings. Then when you next open the toolset, the Plot Editor is suddenly grouping on the Flag Name for no obvious reason!
 
So to actually fix your issue you can:

  • delete the Layout#.xml file, or
  • manually fix the contents Column# elements the Layout#.xml file (see below)

 

How to Manually Fix the Plot Editor's Grouping

 

If you open the Layout#.xml file and navigate to the Plot Editor's Columns element:

settings > DragonAgeToolset > DefaultLayout > Editors > PlotEditor > PlotsReportControl > Columns

You will probably see something like this:

          :
          <PlotsReportControl type="empty">
            <Columns type="empty">
              <Count>10</Count>
              <Column0 type="empty">
                <ItemIndex>1</ItemIndex>
                <Visible>0</Visible>
                <StaticWidth>50</StaticWidth>
                <AutoWidth>50</AutoWidth>
              </Column0>
              <Column1 type="empty">
                <ItemIndex>0</ItemIndex>
                <SortIncreasing>0</SortIncreasing>
                <StaticWidth>430</StaticWidth>
                <AutoWidth>120</AutoWidth>
              </Column1>
              :

I've only shown the Column0 and Column1 elements because those are the two we are interested in but there should be elements all the way up to Column9. If the Plot Editor was grouping on a different field then the theory would be the same but it would involve Column1 and another column element.
 
Column0 appears to be the Flag Name and Column1 appears to be the Type (i.e. Main or Defined flag). Normally don't see a column for Type: it is hidden and is only used for grouping.
 
Within the two Column# elements the important elements are the ItemIndex and Visible elements. For Column0 (Flag Name) we want the ItemIndex to have a value of 0 and there should be no Visible element. For Column1 (Type) we want the ItemIndex to have a value of 1 and the Visible element to have a value of 0 (meaning it is hidden).
 
When you are done it should look something like:

          :
          <PlotsReportControl type="empty">
            <Columns type="empty">
              <Count>10</Count>
              <Column0 type="empty">
                <ItemIndex>0</ItemIndex>
                <StaticWidth>434</StaticWidth>
                <AutoWidth>120</AutoWidth>
              </Column0>
              <Column1 type="empty">
                <ItemIndex>1</ItemIndex>
                <SortIncreasing>0</SortIncreasing>
                <Visible>0</Visible>
                <StaticWidth>50</StaticWidth>
                <AutoWidth>50</AutoWidth>
              </Column1>
              :

  • Это нравится: MerAnne и sapphim

#6
sapphim

sapphim
  • Members
  • 32 сообщений

 

When you are done it should look something like:

          :
          <PlotsReportControl type="empty">
            <Columns type="empty">
              <Count>10</Count>
              <Column0 type="empty">
                <ItemIndex>0</ItemIndex>
                <StaticWidth>434</StaticWidth>
                <AutoWidth>120</AutoWidth>
              </Column0>
              <Column1 type="empty">
                <ItemIndex>1</ItemIndex>
                <SortIncreasing>0</SortIncreasing>
                <Visible>0</Visible>
                <StaticWidth>50</StaticWidth>
                <AutoWidth>50</AutoWidth>
              </Column1>
              :

 

Ah, you're a rockstar!! Editing the XML sorted it right out. And yeah, you're probably right as to the cause. Thank you for this fix.


  • Это нравится: MerAnne