Tuesday, June 24, 2025

Custom Event Editor: World Object Step

World Object Step is to add or remove objects in the scene. It is a useful step if you want to make your scene a bit different from having the same kind of background again and again.

A World Object Step can only be either Add or Remove. If you want to add objects and remove objects at the same time, you need 2 World Object Steps to do it. 

The default waiting type of this step type is "Auto".

 

Add World Objects

To add objects to the scene, select "Add Objects" in Type and click the "Edit" button. 

A modal window is displayed for entering the object detail.

(1) Number of objects to be added.

Select the number and new rows will be generated in the table belo the drop down


(2) Object ID

This is the ID that defined by the creator. You will need this Object ID value when you remove the added object. You can name it whatever you want but to play safe it is better to use alphanumeric and underscore only.


(3) Source Name, (4) Position, (5) Rotation and (6) Scale

This four fields should be captured from the game. 


How do I get the object data to add?

Press F1 to open the Configuration Manager, Find "Find Object Info List Key". You can set the hotkey here. Default key is "O". 

Go to the studio mode. Setup your scene and add the objects you want.

For example I want to create a scene that a crepe stall appeared in the entrance of the empire club.

Once the position, rotation and scale is all set, hit the hotkey to capture the info. 

You can see a list of data is printed in the console window. You can copy the information to the editor.

Note:
1. the Object Name displayed is for your reference only. You do not need to copy this to the editor. 
2. Exclude the branckets when copying the Position and Rotation values.

 


Remove World Objects 

To remove world objects, select "Remove Objects" in Type. A textbox will be displayed.

Type the Object IDs of the object that defined in (2) you want to remove. If you want to remove multiple objects, type one Object ID per line. 

Please do not add any comma or full stop etc, the game will not be able to find the object if extra symbol is added. 

 

 

No comments:

Post a Comment

Custom Event Editor: Evaluate Step

Evaluate Step is to let use the parameters or variables in the game to do some computations and stored it in a result variable. It could...