Thread: [TEC] Goblin Editor Schema
View Single Post
Old 03-10-23, 08:35 PM   #3
Mon Homme
Seaman
 
Join Date: Feb 2023
Posts: 41
Downloads: 73
Uploads: 0
Default

Quote:
Originally Posted by gap View Post
Sorry, I have not the game installed currently so I can't test your mod, but I wonder what is its use. Can you be more specific on its benefits?
GoblinEditor.layout
Code:
<?xml version="1.0" encoding="utf-16"?>
<!-- Magic, The User Interface library for .NET (www.dotnetmagic.com) -->
<!-- Modifying this generated file will probably render it invalid -->
<DockingConfig FormatVersion="5" InsideFill="False" InnerMinimum="20; 20">
  <Content Name="Project Tree" Visible="True" Docked="True" AutoHidden="True" CaptionBar="True" CloseButton="True" DisplaySize="150; 150" DisplayLocation="150; 150" AutoHideSize="150; 150" FloatingSize="150; 150" FullTitle="Project Tree">
    <DefaultRestore Type="Crownwood.Magic.Docking.RestoreContentState">
      <Content Name="Project Tree" />
      <State Value="DockLeft" />
      <Child Type="null" />
    </DefaultRestore>
    <AutoHideRestore Type="Crownwood.Magic.Docking.RestoreAutoHideAffinity">
      <Content Name="Project Tree" />
      <State Value="DockLeft" />
      <Next Count="0" />
      <Previous Count="0" />
      <NextAll Count="2">
        <Item Name="Waypoints Editor" />
        <Item Name="GDS Scene Tree" />
      </NextAll>
      <PreviousAll Count="0" />
      <Child Type="null" />
    </AutoHideRestore>
    <DockingRestore Type="Crownwood.Magic.Docking.RestoreContentDockingAffinity">
      <Content Name="Project Tree" />
      <State Value="DockLeft" />
      <Position Size="150; 150" Location="150; 150" />
      <Best Count="1">
        <Item Name="Project Tree" />
      </Best>
      <Next Count="1">
        <Item Name="GDS Scene Tree" />
      </Next>
      <Previous Count="1">
        <Item Name="Waypoints Editor" />
      </Previous>
      <NextAll Count="1">
        <Item Name="GDS Scene Tree" />
      </NextAll>
      <PreviousAll Count="1">
        <Item Name="Waypoints Editor" />
      </PreviousAll>
      <Child Type="Crownwood.Magic.Docking.RestoreZoneAffinity">
        <Content Name="Project Tree" />
        <Space Value="100" />
        <Best Count="1">
          <Item Name="Project Tree" />
        </Best>
        <Next Count="0" />
        <Previous Count="0" />
        <Child Type="Crownwood.Magic.Docking.RestoreWindowContent">
          <Content Name="Project Tree" />
          <Next Count="0" />
          <Previous Count="0" />
          <Selected Value="True" />
          <Child Type="null" />
        </Child>
      </Child>
    </DockingRestore>
    <FloatingRestore Type="Crownwood.Magic.Docking.RestoreContentState">
      <Content Name="Project Tree" />
      <State Value="Floating" />
      <Child Type="null" />
    </FloatingRestore>
  </Content>
  <Content Name="Waypoints Editor" Visible="True" Docked="True" AutoHidden="True" CaptionBar="True" CloseButton="True" DisplaySize="150; 150" DisplayLocation="150; 150" AutoHideSize="150; 150" FloatingSize="150; 150" FullTitle="Waypoints Editor">
    <DefaultRestore Type="Crownwood.Magic.Docking.RestoreContentState">
      <Content Name="Waypoints Editor" />
      <State Value="DockLeft" />
      <Child Type="null" />
    </DefaultRestore>
    <AutoHideRestore Type="Crownwood.Magic.Docking.RestoreAutoHideAffinity">
      <Content Name="Waypoints Editor" />
      <State Value="DockLeft" />
      <Next Count="0" />
      <Previous Count="0" />
      <NextAll Count="1">
        <Item Name="GDS Scene Tree" />
      </NextAll>
      <PreviousAll Count="0" />
      <Child Type="null" />
    </AutoHideRestore>
    <DockingRestore Type="Crownwood.Magic.Docking.RestoreContentDockingAffinity">
      <Content Name="Waypoints Editor" />
      <State Value="DockLeft" />
      <Position Size="150; 150" Location="150; 150" />
      <Best Count="1">
        <Item Name="Waypoints Editor" />
      </Best>
      <Next Count="1">
        <Item Name="GDS Scene Tree" />
      </Next>
      <Previous Count="0" />
      <NextAll Count="1">
        <Item Name="GDS Scene Tree" />
      </NextAll>
      <PreviousAll Count="0" />
      <Child Type="Crownwood.Magic.Docking.RestoreZoneAffinity">
        <Content Name="Waypoints Editor" />
        <Space Value="100" />
        <Best Count="1">
          <Item Name="Waypoints Editor" />
        </Best>
        <Next Count="0" />
        <Previous Count="0" />
        <Child Type="Crownwood.Magic.Docking.RestoreWindowContent">
          <Content Name="Waypoints Editor" />
          <Next Count="0" />
          <Previous Count="0" />
          <Selected Value="True" />
          <Child Type="null" />
        </Child>
      </Child>
    </DockingRestore>
    <FloatingRestore Type="Crownwood.Magic.Docking.RestoreContentState">
      <Content Name="Waypoints Editor" />
      <State Value="Floating" />
      <Child Type="null" />
    </FloatingRestore>
  </Content>
  <Content Name="GDS Scene Tree" Visible="True" Docked="True" AutoHidden="True" CaptionBar="True" CloseButton="True" DisplaySize="150; 150" DisplayLocation="150; 150" AutoHideSize="150; 150" FloatingSize="150; 150" FullTitle="GDS Scene Tree">
    <DefaultRestore Type="Crownwood.Magic.Docking.RestoreContentState">
      <Content Name="GDS Scene Tree" />
      <State Value="DockLeft" />
      <Child Type="null" />
    </DefaultRestore>
    <AutoHideRestore Type="Crownwood.Magic.Docking.RestoreAutoHideAffinity">
      <Content Name="GDS Scene Tree" />
      <State Value="DockLeft" />
      <Next Count="0" />
      <Previous Count="0" />
      <NextAll Count="0" />
      <PreviousAll Count="0" />
      <Child Type="null" />
    </AutoHideRestore>
    <DockingRestore Type="Crownwood.Magic.Docking.RestoreContentDockingAffinity">
      <Content Name="GDS Scene Tree" />
      <State Value="DockLeft" />
      <Position Size="150; 150" Location="150; 150" />
      <Best Count="1">
        <Item Name="GDS Scene Tree" />
      </Best>
      <Next Count="0" />
      <Previous Count="0" />
      <NextAll Count="0" />
      <PreviousAll Count="0" />
      <Child Type="Crownwood.Magic.Docking.RestoreZoneAffinity">
        <Content Name="GDS Scene Tree" />
        <Space Value="100" />
        <Best Count="1">
          <Item Name="GDS Scene Tree" />
        </Best>
        <Next Count="0" />
        <Previous Count="0" />
        <Child Type="Crownwood.Magic.Docking.RestoreWindowContent">
          <Content Name="GDS Scene Tree" />
          <Next Count="0" />
          <Previous Count="0" />
          <Selected Value="True" />
          <Child Type="null" />
        </Child>
      </Child>
    </DockingRestore>
    <FloatingRestore Type="Crownwood.Magic.Docking.RestoreContentState">
      <Content Name="GDS Scene Tree" />
      <State Value="Floating" />
      <Child Type="null" />
    </FloatingRestore>
  </Content>
</DockingConfig>
GoblinEditor.params
Code:
<?xml version="1.0"?>
<GoblinEditorProperties xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <ViewportColorRGBA>C0C0C0FF</ViewportColorRGBA>
  <GridSpacing>5</GridSpacing>
  <GridSize>1000</GridSize>
  <DrawShadows>false</DrawShadows>
  <DrawBoundingSphere>false</DrawBoundingSphere>
  <Viewport3DSize>
    <Width>1280</Width>
    <Height>1024</Height>
  </Viewport3DSize>
  <RootFolder>d:\GAMES\U-Boats5\</RootFolder>
  <ActorsDirectory>d:\GAMES\U-Boats5\</ActorsDirectory>
</GoblinEditorProperties>
This is not a mod, but a configuration for comfortable work with Goblin.

Last edited by Mon Homme; 03-10-23 at 09:11 PM.
Mon Homme is offline   Reply With Quote