First tour of the Studio
What this page is for
Section titled “What this page is for”Intrigues Studio is the window where you build everything in Intrigues: schemes, families, clans, actors and behaviour. This page shows how to open it, what its parts are called, how to move between pages and how to save.
When you come here
Section titled “When you come here”- You open the Studio for the first time.
- You press the shortcut and get a page you did not expect.
- A lesson names a part of the window, such as the Element Inspector or the page area, and you want to see where it is.
What you see
Section titled “What you see”Waits for some seconds or days of game time (paused with the scheme), a random length between two, or until a Stop Wait node stops it.
- Start, output Start, goes to Show Dialogue.
- Show Dialogue, output Bribe the guard, goes to Check Opinion.
- Show Dialogue, output Do it myself, goes to Chance.
- Check Opinion, output True, goes to Wait.
- Check Opinion, output False, goes to Fail Scheme.
- Chance, output Success, goes to Wait.
- Chance, output Failure, goes to Fail Scheme.
- Wait goes to Succeed Scheme.
- Toolbar. Pages, items, Run, Problems and Find.
- Element Inspector. The settings of what you selected.
- Library. Tabs and rows for the open page.
- Page area. The graph of the open item. Other pages show a list here.
The window has three parts.
- The toolbar runs along the top. The toolbar, control by control names every button.
- The left side has two panels. The Element Inspector is on top and the Library is below it.
- The page area fills the rest. On the Schemes and Families pages it holds a graph. On the Clans page it holds the clans overview or a clan’s court. On the other pages it holds a list or a form.
Four pages fill the whole window and hide the left side: Home, Settings, Texts and Simulation. On those pages, the Inspector toggle in the toolbar is switched off.
The left side starts 340 pixels wide. It never gets narrower than 280 pixels, and never wider than half of the window. The window itself cannot be smaller than 960 by 540 pixels.
Under the toolbar, a bar says Play mode: live view, editing is off while the Editor is in Play mode.
Do it, step by step
Section titled “Do it, step by step”Open the Studio from the menu
Section titled “Open the Studio from the menu”Choose Tools > MrW > Intrigues > Studio.
The Studio opens on one database. It picks the database of the Intrigue Manager in the open scene. If the scene has no manager, or its manager has no database, it picks the database you used last. If there is no such database, it picks the first database it finds in the project. If the project has no database at all, the window opens on Home, which offers to create one.
To undo, close the window. Nothing in your project changes.
Open the Studio with the shortcut
Section titled “Open the Studio with the shortcut”Press Cmd plus Shift plus I, or Ctrl plus Shift plus ICmdShiftICtrlShiftI. The first chord is for macOS. The second is for other systems.
The Studio opens on the database it showed last. If it has not shown one yet, it opens on Home.
The shortcut is an ordinary Unity shortcut in the category Intrigues. You can change it in Unity’s shortcut manager or on the Studio’s Settings page, in the row Open Intrigues Studio with a key.
Open the Studio from a database
Section titled “Open the Studio from a database”Double-click a database asset in the Project window. The Studio opens on it.
Open the Studio from the Intrigue Manager
Section titled “Open the Studio from the Intrigue Manager”Select the Intrigue Manager in your scene and click Open Studio in its inspector. The Studio opens on the manager’s database. If the manager has no database, the Studio opens on Home.
Open Home
Section titled “Open Home”Choose Tools > MrW > Intrigues > Home, or click the Home button at the left end of the toolbar. The Studio also opens on Home by itself when Unity starts, and after an update of Intrigues. That is the setting Show Home when Unity starts.
Move between pages
Section titled “Move between pages”Use the Page menu in the toolbar to choose a page. Some entries, such as Clans, Actors and Behaviour, hold several pages. A strip of tabs above the page area switches between them. The Home and Settings buttons at the left end of the toolbar open those two pages. Back and Forward step through the pages and items you opened.
The Studio remembers the page you were on and shows it the next time it opens. The very first time, it shows Home.
All the controls, and the table of pages and tabs, are in The toolbar, control by control.
To undo, click Back.
Show or hide the left side
Section titled “Show or hide the left side”Click the Inspector toggle, the third button from the left in the toolbar. Its tooltip reads Show or hide the Element Inspector and the library panel.
Drag the divider between the left side and the page area to change its width. Drag the divider between the Element Inspector and the Library to change the height of the Library. The Studio remembers both sizes.
To undo, click the toggle again.
Press Cmd or Ctrl plus SCmdCtrlS in the Studio, or open the More menu (the last button of the toolbar) and choose Save.
Saving writes the database asset to disk. A field you are still typing in is committed first, so the save includes your last edit. Unity’s own Save writes the database too.
While the database has edits that are not on disk, the Studio sets Unity’s unsaved-changes mark on its window. If you close the window then, Unity asks, with the text The Intrigues database has changes that are not saved to disk.
A save cannot be undone. To go back, undo the edit with Undo in Unity’s Edit menu, then save again.
Look at a game in Play mode
Section titled “Look at a game in Play mode”Enter Play mode with the Studio open, and it becomes a live view. The bar Play mode: live view, editing is off appears under the toolbar. The + button and the item menu are switched off, and so are Run and Clear Database….
To edit again, stop Play mode.
A test run does the same thing to one scheme. While a run plays a scheme, that scheme cannot be edited, and the Studio says Stop the run to edit.
Start without a database
Section titled “Start without a database”With no database, the Studio shows Home, with a card named Create your first database. See Home.
How it connects
Section titled “How it connects”You come from Set up your first scene and Make your first scheme, which use the Studio without naming its parts. The next lessons are The toolbar, control by control, Home and I want to… which page?.
The left side holds the Element Inspector and the Library. The rest of the window is the page area.
Settings on this page
Section titled “Settings on this page”| Setting | What it does | Default | When to change it |
|---|---|---|---|
| Show Home when Unity starts | Opens Intrigues Studio on the Home page when you open the project and after an update. | On | Turn it off if you do not want the Studio to open by itself. |
| Open-Studio shortcut | The keys that open the Studio. Rebindable. | Cmd plus Shift plus I, or Ctrl plus Shift plus ICmdShiftICtrlShiftI | Change it if another tool uses these keys. |
Both are in the Studio’s Settings page. Show Home when Unity starts is kept per user, in the Editor’s preferences. A choice made in Intrigues 1.x (“Don’t show at startup”) decides until you set it again.
Unity’s Preferences window has an Intrigues entry with one button, Open Intrigues Settings. It opens the same Settings page.
Mistakes and messages
Section titled “Mistakes and messages”The shortcut opens Home, not my scheme. The Studio has no stored database yet. Double-click a database once, or click Open Studio in the Intrigue Manager’s inspector.
The Inspector toggle is grey. You are on Home, Settings, Texts or Simulation, which have no left side. It is also grey when no database is open.
I cannot change anything. Look for the bar Play mode: live view, editing is off. Stop Play mode. If a test run is playing, stop the run.
| Message | Where it shows | What to do |
|---|---|---|
| Play mode: live view, editing is off | A bar under the toolbar | Stop Play mode. |
| Stop the run to edit. | The Studio, while a test run plays the open scheme | Stop the run. |
| The Intrigues database has changes that are not saved to disk. | Unity’s prompt when you close the Studio window with unsaved edits | Choose to save, or discard, in Unity’s prompt. |