Event Editor Beta

What is the Event Editor Beta?

The Event Editor Beta is a tool that allows players to freely set up a comprehensive process (hereinafter referred to as an “event”) when creating worlds on Teravit with a focus on storytelling, such as advancing conversations through flag management or making boss monsters dramatically appear using camera work, similar to an RPG.
Players can use their creativity to make various other events.

Gamepad is not supported.
The “Insert Command” function is currently unavailable in the smartphone version. We plan to support it in future updates.

Event Editor and Map Pin

Both can be used in the item slots to place the corresponding items in the world. After placement, detailed settings can be adjusted by “examining” them, just like with other gimmicks.

Basic Event Editor Screen Explaination

1)Event Skin

Players can choose how the event appears on the World.

2)Event Name

The event name is used only within the event editor and will not be displayed to players in the World. It is meant for management purposes, so feel free to set any name.

3)Contact Detection

Players can configure whether contact detection is enabled for events placed in the World. If unchecked, player characters can overlap with events and pass through them without contact.

4)Event Page List

Events placed in the World can have multiple “Event Pages.”
Created event pages will be listed here.

5)Event Page Menu

Opens the menu for actions like “Copy & Paste” per page and “Preset Deployment” (mentioned later).

6)Add/Delete Event Page Button

These are the buttons for adding/deleting event pages, and the button to open event page settings. Pages are always added at the end, and deleting will remove the currently selected page.

7)Event Page Setting Button

This is the button to open the event page settings. Refer to the “Basic Page Settings” section for more details.

8)Macro Settings Tab

Open the screen for defining macros used with the command “Execute Macro” (mentioned later).

9)Event Settings Button

Opens the menu to adjust the position of the event or to delete it.
Players can also check the “Variable States” that events possess (mentioned later).

10)Undo/Redo Button

This button is used to undo actions in the event editor or to redo actions that have been undone.
Players using a PC keyboard can perform Undo with Ctrl+Z and Redo with Ctrl+Y as shortcuts.

11)Command List

This is a list of commands set within the event page.
Players can open the menu with a right-click and add commands as they go along.

Basic Page Settings

Select a page from the event page list and press the “Event Page Settings” button, and a page settings dialog like the one in the image will appear. Various settings can be adjusted from here.

1)Event Page Name

The page name will only be displayed in the page list and will not be visible to players in the World. It is meant for management purposes, so feel free to set any name.

2)Event Trigger

Set up player actions to trigger events. There are two types: “Examine” and “Approach”.
・Examine
The event is triggered when a player gets close and examines it.
・Approach
It will activate as soon as the player gets near the event.
Proximity distance can be set in one-block increments using the “Proximity Range.”

3)Animation

Players can choose the animation that the displayed skin will perform when an event page is triggered. Currently, in the beta version, only the “Standing” animation can be selected.

4)Spawn Conditions

Players can control which event pages to be activated by setting various conditions, such as having a certain number of items or having the flag turned on.
Up to three conditions can be set for activation. If multiple conditions are set, the page will be activated only when all conditions are met.

*If there are multiple pages, the event page lowest on the page list that meets the activation conditions will be enabled.
*Events will not appear in the World if there are no enabled pages.

Preset Deployment

There is a category called “Preset Deployment” within the event page menu.
By selecting this option, players can discard the current event’s content and deploy a convenient event set prepared in advance by the Official Team.
This is an example of building a versatile event using macros; please use it as a reference when creating events.

For detailed instructions on how to use presets:
https://teravit.app/contents/index.html?category=teravit-en-content&id=48393

About Variables

In the Event Editor, players can work with “Variables.” Variables are like containers where things such as numbers can be stored. They can used to specify conditions for page appearance or in commands like “Conditional Branching”. Players can also display the values stored in variables using the “Display Message” command.

Types of Variables

1)Work Variables, Event Variables, and Global Variables

Initially, all three types of variables are set to OFF by default.
These three types have different “periods for which the entered value is retained” and “events for which the value can be changed,” respectively.

・Work Variables
Work variables can only be modified by the event itself.
They can only hold their values within the event page and will reset to OFF once the executed event has been completed.

・Event Variables
Event variables are values that each event possesses, and only the event itself can modify these values.
The values will continue to be retained even after the event has ended.

・Global Variables
Global variables can be modified or referenced by all events.
The values will continue to be retained even after the event has ended.
Names for global variables can be set only when using the “Variable Calculation” command.
As it can be referenced from various events, it’s a good idea to give it a clear name and specify what kind of variable it is for in order to reduce the likelihood of variable referencing errors.

2)System Variables

This contains values that the game system manages, such as the player’s money and score.
These values cannot be directly modified and are primarily used for referencing.

3)Item Quantity and Item ID

The quantity of specific items and the Item ID (management number within the game).
In general, values cannot be directly changed, but the number of items a player possesses can be modified using the “Item Configuration” command.

Related topics: Variable Conditions, “Variable Calculation” Command, “Message Display” Command.

Possible Variable Values

Variables can be roughly divided into both “ON and OFF Boolean Values” and “Numerical Values ​​from 0 to 999999”.
When used in conditions and similar contexts, “OFF and 0” are considered the same as “ON and a value greater than 1”.

Variable Conditions

The “Variable Conditions” dialog can be opened from the “Event Settings Button” in the upper right corner of the screen.
In this dialog, players can check the current state of the variable.
Event variable and global variable values can also be directly overwritten.
However, this operation is for testing purposes and does not determine the initial values of variables. When a player first plays that World, all event variables and global variables will start in the OFF state.

Basics of Adding Commands

A command is the smallest unit of processing executed in an event. Setting multiple commands on an event page defines the event’s behavior. Events generally execute all commands sequentially from top to bottom. However, certain commands such as Loops, Conditional Branches, Choices, and Processing Terminations may deviate from this rule.

1)Insert Command

Inserts a command above the currently selected row.

2)Edit

Edit the content of the set command.

3)Cut, Copy. Paste

Use Cut and Paste to change the insertion position of a command. Use copy and paste to add the same command again.
It is possible to select multiple commands and perform these operations.

4)Delete

Deletes the currently selected command.

5)Select All

Selects all commands on the page.

Command Explanation

Basic Processing

・Wait

Pause the execution of an event for a specified amount of time.

・Conditional Branching

Used when branching the processing of events. If the set conditions are met, the commands within the conditional branch are executed.
Check “Other Processing” to set commands for situations where the conditions are not met.
In the example image, we are branching the process based on whether you have 5 “Medicinal Herbs” or not.

・Loop


While the conditions are met, the commands set within the “Loop” will be executed repeatedly.
If the last command within the loop is executed in a state that no longer satisfies the conditions, the repetitive execution will terminate.
In the example image, the score decreases by 1 point every second until at least one “Flint” is obtained.

・Processing Complete

This command will terminate the execution of an event. Commands set after the termination of processing will not be executed.
Use the “Conditional Branch” command when to terminate processing under specific conditions.

・Comment

This command allows the player to write text on the command list. The content of the “comment” command is not executed during event processing.
Used for purposes such as making notes on what the content is, so that it can be referred to later when complex commands are set.

Screen Display and Input

・Message Display

Can display windows for NPC conversations and event progress notifications.
Close the message window after the message ends by checking “Close Window When Finished”.

・Timer Display

Displays timers on the screen, including remaining time and elapsed time.
The timer display ends when the event ends. To keep the timer visible, set up the event to run repeatedly in a loop to ensure it does not finish immediately.

Settings like a 10-second countdown for a timer can be done using the “Timer Settings” command.

・Switching Screens

Windows can be displayed on the screen during an event.
Currently, the window that appears when using the map can be displayed.

・Deleting a Window

Message windows and timers (among other things) can be hidden during an event.

・Theater Mode

When ON, the UI elements, such as Item Slots, will be hidden.

・Options

Can display two or more options.
It is also possible to set the processing separately after choosing an option.

・Various Inputs

Can receive numerical inputs from players.
Can allow players to select items from their inventory and receive the contents of the selected items.
In that case, the system variables “ITEM_ID,” “ITEM_NUM,” and “ITEM_LV” will contain the information of the selected item respectively.

Related Topics: Tags for Messages, etc.

・Log Output


Can display various logs.

Operation and Presentation

・Operation Lock

Locking will temporarily ignore player input commands.
Players can choose to unlock at their discretion, or unlocking can happen in the following situations:
– When the event ends.
– After displaying a message with the “Close Window When Finished” option checked in message display.

・Emotions

Can make events or player characters show emotions.

・Camera Work

Can set up camera movement effects.
– Camera Work Types
This specifies where to stop in relation to the camera’s movements and events.
1)Original Perspective
Mainly used with the player as the target.
The camera moves directly behind the player.

2)Top-Down View
Captures the target from a diagonal angle in the horizontal direction while also showing the event and the player.

3)Front View
Camera revolves around the model of the event, facing it directly.
When the model’s orientation changes through emotions and such, the front view also changes accordingly.

4)Bird’s-Eye View
Captures the event and the player while also showing the target from an overhead angle.

5)Side View
Positions the camera slightly offset to the side while keeping both the event and the player in view from their midpoint, capturing the target.

6)Custom
Makes the target the focal point. Player can adjust the camera work by moving the camera position with an offset.
Positive Z Value: North, Negative Z Value: South, Positive X Value: East, Negative X Value: West, Positive Y Value: Up, Negative Y Value: Down

– Camera Target
Can choose either events or players.

– Offset
Can adjust the camera’s stopping position along the three axes: X, Y, and Z.

– Animation
Choose from three options: None, Quick, and Smooth. These mainly allow the player to adjust the camera movement speed.

・Effects

Display effects at events or player positions.

・Screen Effects

Set effects on the screen such as Screen Shaking and Blackout.

Processing Variables

Flag Settings

Set values to either ON or OFF for three types of variables: Work Variables, Event Variables, and Global Variables.
To make more advanced settings, such as configuring numerical values, use the “Variable Calculation” command.

Variable Calculation

This command performs variable calculations.
For more details regarding variables, please refer to “About Variables”.

In variable calculations, there is a mode called “Script” that allows for complex calculations.
Use the “Script” mode to perform calculations using multiple variables simultaneously.
In “Script” mode, you will need to manually write variables and expressions. The notation for variables that can be written in the script is as follows, without the need for parentheses:
– Global Variables:G001
– Event Variables:A
– Work Variables:W
– System Variables:MONEY

It is possible to specify the priority of calculation order using parentheses.
Ex:(MONEY+100)*2

Timer Settings

Use this command to set timers, such as countdowns and countups.

Counter

Counts the number of players or monsters within the specified area.

Distance Tracker

This is a command to track distance. As for event and player distances, they can be referred to separately using the system variable “CHR_DIST”.

Map Pin Settings

A command used to perform actions on map pins that have been placed on the World using Map Pin Items.
Change how map pins are displayed on the map based on the “Set State”.
– Hide PIn
Hides map pins on the map.
-Show Pin
Displays map pins on the map.

– Set as Destination
Display map pins on the map and show the straight-line distance from the current location with a dotted line.
Also displays map pin icons on the world map.
– Set as Teleport Point
Displays map pins on the map and allows player to teleport by selecting the pins.

Advanced Processing

Executing Macros

Refer to “About Macros” for more details.
This command allows players to execute macros.
The macro and the calling event can use the same event variable, but the work variables each have their own.
– Variables for Passing Macros
The value specified in the “Argument” is automatically stored when the macro is executed.
At the end of the macro, put the value of this variable in “Variable Containing the Return Value” and return the value to the event.

– Arguments
The value stored in the “Variables Used for Passing Macros” during macro execution.

– Variable Containing the Return Value
At the end of the macro, the macro will store the value of “Variable Containing the Return Value” in this variable.

Try running various events that can be created with “Preset Deployment” to better understand the specific uses of events utilizing macros.

Iteration

A command that sequentially retrieves objects within a specified range and executes loop processing.
For example, when targeting “Inventory”, a loop process will be executed for each item in possession. During this process, system variables like ITEM_ID will be sequentially assigned the IDs of the owned items with each iteration.
When targeting players, positional information such as POS_X and CHR_DIST, as well as status information like CHR_HP, will be searched and assigned for respective obtainable players.

Mechanism

・Teleport

Teleports player to a specified map pin.

・Gimmick Trigger

Activate treasure chests and monster spawners from the event side.
“Enable in Events” must be set in advance on the treasure chest or monster spawner side.

・Stop Gimmick

A command that stops a gimmick that has been activated by a gimmick trigger.

・Item Drop

Drop specified items onto the world in various ways.

・Delete Dropped Item

Delete dropped items within the specified area.
Upon successful deletion, the “result variable” will receive a boolean value of ‘ON’.

Status

・Score Settings

Configure calculations such as adding or subtracting scores.

・Gem Settings

Configure calculations regarding gem balance such as adding or subtracting.

・Status Settings

Change the status effects of the player’s character, directly specify HP, or perform calculations on them.

・Item Settings

This command directly manipulates the inventory to add or subtract items, among other actions. In case of an error where the command cannot be completed, such as when there is no space in the inventory, players can specify the command’s behavior.

・Mode Items

Set mode items that can be configured with markers or items from the event side.

・Update Ressurection Points

Set resurrection points that can be configured with markers from the event side.

Sound

BGM

Play BGM (Background Music).

Sound Effects

Play sound effects.

About Macros

In the Event Editor, a “Macro” is defined as a collection of multiple commands that can be reused repetitively.
Macros are executed outside of events. Use the “Run Macro” command or set the macro to “Auto Run,” so it will be executed when the specified conditions are met.

The automatic execution of macros is particularly unique in events. For example, it can trigger events at timings that cannot be executed in regular events, such as displaying a message when a player has 10 “Medicinal Herbs” in their possession or healing HP when it drops below 50.

Tags for Messages

・[pname]

Display player name.

・[pg]

Perform page breaks with the “Display Message” command.

・Work Variable[W][X][Y][Z]

・Event Variable[A][B][C][D]

・Global Variable[G001] etc.

Display the value stored in the variable.

・System Variable[CHR_HP][MONEY] etc.

Display information such as the player’s current balance and HP.

・[item amount]
Display the item name specified by a number.
Numbers are used to store and utilize the following types of information:
– – “ITEM_ID” obtained with the “Various Inputs” command
Ex: [item ITEM_ID]

-The item ID received in the “Calculate Variable” command.
Ex: Use [item W] after receiving the item ID in work variable W through variable calculation.

Message when the condition is met (e.g., when 5 Medicinal Herbs have been obtained).
Message for when the condition has not been met (e.g., 5 Medicinal Herbs have not been obtained).
Do you have Medicinal Herbs?
Please share some Medicinal Herbs.
That’s unfotunate.

目次

  1. What is the Event Editor Beta?
  2. Event Editor and Map Pin
  3. Basic Event Editor Screen Explaination
  4. 1)Event Skin
  5. 2)Event Name
  6. 3)Contact Detection
  7. 4)Event Page List
  8. 5)Event Page Menu
  9. 6)Add/Delete Event Page Button
  10. 7)Event Page Setting Button
  11. 8)Macro Settings Tab
  12. 9)Event Settings Button
  13. 10)Undo/Redo Button
  14. 11)Command List
  15. Basic Page Settings
  16. 1)Event Page Name
  17. 2)Event Trigger
  18. 3)Animation
  19. 4)Spawn Conditions
  20. Preset Deployment
  21. About Variables
  22. Types of Variables
  23. 1)Work Variables, Event Variables, and Global Variables
  24. 2)System Variables
  25. 3)Item Quantity and Item ID
  26. Possible Variable Values
  27. Variable Conditions
  28. Basics of Adding Commands
  29. 1)Insert Command
  30. 2)Edit
  31. 3)Cut, Copy. Paste
  32. 4)Delete
  33. 5)Select All
  34. Command Explanation
  35. Basic Processing
  36. ・Wait
  37. ・Conditional Branching
  38. ・Loop
  39. ・Processing Complete
  40. ・Comment
  41. Screen Display and Input
  42. ・Message Display
  43. ・Timer Display
  44. ・Switching Screens
  45. ・Deleting a Window
  46. ・Theater Mode
  47. ・Options
  48. ・Various Inputs
  49. ・Log Output
  50. Operation and Presentation
  51. ・Operation Lock
  52. ・Emotions
  53. ・Camera Work
  54. ・Effects
  55. ・Screen Effects
  56. Processing Variables
  57. Flag Settings
  58. Variable Calculation
  59. Timer Settings
  60. Counter
  61. Distance Tracker
  62. Map Pin Settings
  63. Advanced Processing
  64. Executing Macros
  65. Iteration
  66. Mechanism
  67. ・Teleport
  68. ・Gimmick Trigger
  69. ・Stop Gimmick
  70. ・Item Drop
  71. ・Delete Dropped Item
  72. Status
  73. ・Score Settings
  74. ・Gem Settings
  75. ・Status Settings
  76. ・Item Settings
  77. ・Mode Items
  78. ・Update Ressurection Points
  79. Sound
  80. BGM
  81. Sound Effects
  82. About Macros
  83. Tags for Messages
  84. ・[pname]
  85. ・[pg]
  86. ・Work Variable[W][X][Y][Z]
  87. ・Event Variable[A][B][C][D]
  88. ・Global Variable[G001] etc.
  89. ・System Variable[CHR_HP][MONEY] etc.

▲
TOP