Pages in Documentation

../images/architecture/2024/door-settings/thumbs/03.jpg
Settings
../images/architecture/2023/ui32/thumbs/01.jpg
UI3 Overview
../images/architecture/2022/doorsv2/thumbs/01.jpg
[old] Doors UE5
../images/architecture/0040/quick/thumbs/01.jpg
Quick Start
../images/architecture/0040/swap/thumbs/01.jpg
Swap Actor
../images/architecture/0040/custom/thumbs/04.jpg
Custom Assets
../images/architecture/0040/system/thumbs/01.jpg
System Drawings
../images/architecture/0040/steps/thumbs/12.jpg
Step by Step
../images/architecture/0040/faq/thumbs/01.jpg
Tips & FAQ
../images/architecture/0040/settings/thumbs/03.jpg
Settings
../images/architecture/0033/designer/thumbs/02.jpg
UI3 Designer
../images/architecture/0033/cost/thumbs/02.jpg
UI3 Cost
../images/architecture/0033/features/thumbs/08.jpg
UI3 Features
../images/architecture/0033/quick/thumbs/01.jpg
UI3 Quick Guide
../images/architecture/0033/settings/thumbs/16d.jpg
UI3 Scene Settings
../images/architecture/0033/connect/thumbs/02.jpg
UI3 Connect
../images/architecture/0033/vr/thumbs/03.jpg
UI3 VR projects
../images/architecture/0033/history/thumbs/01.jpg
UI3 Vers History
../images/architecture/0033/preview/thumbs/01.jpg
UI3 Preview Ft.
../images/architecture/0033/bugs/thumbs/01m.jpg
UI3 Fix Bugs
../images/architecture/0033/design/thumbs/01t.jpg
UI3 Design
../images/architecture/0033/layout/thumbs/02.jpg
UI3 Layout Design
../images/architecture/0033/game/thumbs/07.jpg
UI3 Input&Mode
../images/architecture/0033/faq/thumbs/08.jpg
UI3 FAQ + TIPS
../images/architecture/0023/history/thumbs/02.jpg
Ver History
../images/architecture/0023/v3-placements/thumbs/02.jpg
V3 Placements
../images/architecture/0023/v3-mesh/thumbs/02.jpg
V3 Mesh Def.
../images/architecture/0023/v3-segments/thumbs/03.jpg
V3 Segments
../images/architecture/0023/v3-quick/thumbs/01.jpg
V3 Quick Start
../images/architecture/0021/v2/thumbs/01.jpg
Books V2
../images/architecture/0021/v1/thumbs/01.jpg
Books V1
../images/architecture/0019/custom/thumbs/01h.jpg
Customize
../images/architecture/0019/overview/thumbs/00b.jpg
Quick Guide
../images/architecture/0019/swap/thumbs/01.jpg
Swap Actor
../images/architecture/0019/faq/thumbs/01.jpg
Doors FAQ
../images/architecture/0019/v2/thumbs/01.jpg
Doors UE4 (V1)
../images/architecture/2021/ui3-bugs/thumbs/02.jpg
3.1 Bugs Fixes
../images/architecture/0040/history/thumbs/02.jpg
Ver History
../images/architecture/0023/v2-generic/thumbs/01.jpg
V2 Generic BP
../images/architecture/0023/v2-examples/thumbs/01.jpg
V2 Examples
../images/architecture/0023/v1/thumbs/01.jpg
V1 Railings Fences
../images/architecture/2019/guide1/thumbs/01.jpg
UI 1 - Part 1
../images/architecture/2018/03/thumbs/06.jpg
UI 1
../images/architecture/2019/guide2/thumbs/01.jpg
Ui 1 - Part 2
../images/architecture/2019/ui2/thumbs/01.jpg
1 Overview
../images/architecture/0013/features/thumbs/04.jpg
UI2 Features
../images/architecture/0013/start/thumbs/01.jpg
UI2 Get Started
../images/architecture/0013/infomap/thumbs/06.jpg
UI2 Info Map
../images/architecture/0013/actors/thumbs/01.jpg
UI2 BP Actors
../images/architecture/0013/users/thumbs/01.jpg
UI2 User Manager
../images/architecture/0013/faq/thumbs/03.jpg
UI2 FAQ
../images/architecture/0013/tutorials/thumbs/06.jpg
UI2 Tutorials
../images/architecture/2021/ui3/thumbs/01.jpg
UI3 Overview
../images/architecture/2021/ui3-start/thumbs/02.jpg
UI3 Get Started
../images/architecture/2021/ui3-infomap/thumbs/02.jpg
3.1 Info Map
../images/architecture/0033/variation/thumbs/01.jpg
UI3 Variations
../images/architecture/0033/other/thumbs/02.jpg
UI3 Other BPs

Interactive Doors - Swap Actor

The swap actor is the bridge between a user interface and the interactive doors. It allows to change materials and door parts during a walkthrough.

Content:

Link Between Actors

Connecting Swap Actor and Door

Style Variations

Material Variations

Controller Connection in the Scene

Link Between Actors

The BP_Doors_SwapActor is the link between a widget or any other actor that controls the users input and the door blueprints.

The Swap Actor receives user input from the widget via a Blueprint Interface connection.

The Swap Actor can be directly connected to one or more Doors

image

Connecting Swap Actor and Door

MyProject / Content / DoorsBPV2 / Blueprints / BP_Doors_SwapActor

Place the Swap Actor next to the door and then use the eyedropper to connect one or more door blueprint actors.

Both Swap Actor and Door need to be in the same level.

All connected doors will change together.

image

Style Variations

  • Click the relevant (+) icon next to the style's name for each variation choice.
  • Then select the choice from the dropdown list.
  • Give the style a Tag name.

The Tag and the variation ID will be sent from the widget. Every option with the same tag name will change. All options will change at once if they have the same tag name or individually if they have unique names.

image

Material Variations

  • Click the (+) icon to add a Material Variation
  • Add one or more Parts that should change to the new material
  • Click the (+) icon next to Variations for each material ID that should be changed
  • Enter the material ID number
  • Add the Materials per Choice ID.
  • Add a Tag name as described for style changes.

image

Controller Connection in the Scene

The Door Blueprints and the Player Controller are connected through the BPI_Doors_Interaction blueprint interface. The interface has no code in it. It just routes one actor to another actor with empty functions. Blueprints / Other / BP_DoorController

Interaction

The controller calls the Interact function in all blueprints with the same interface if the [R] key is clicked.

The door blueprints then check if the player is within the trigger box and open the door.

Variation

The keys [1] to [6] will call the Set Variation function and send the tag and choice ID to any blueprint that has the blueprint interface assigned.

The blueprints with the interface then look at the tag name and set the choice if the tag name is the correct one.

image
Top of page