Sliding Doors: Difference between revisions

From EVERYWHERE wiki
Jump to navigation Jump to search
Created page with "This page shows you how to use Move Node with objects and triggers. You can apply the same principles with different types of triggers, interactions and switches. <div style="background-color: #050522; float: right; width: 800px; margin-right: 0px;"> <div class="video-container"> <!-- Replace the placeholder video URL with your actual YouTube video URL --> <youtube width="640" height="360">k0_IInvfvuk</youtube> <div style="border: 1px solid #473ba7; bor..."
 
No edit summary
Line 7: Line 7:
<div style="border: 1px solid #473ba7; border-radius: 8px; background-color: #050522; padding: 10px; box-shadow: 0 2px 5px rgba(0,0,0,0.1); margin: 10px 0; float: right; width: 630px;  margin-right: 35px;">
<div style="border: 1px solid #473ba7; border-radius: 8px; background-color: #050522; padding: 10px; box-shadow: 0 2px 5px rgba(0,0,0,0.1); margin: 10px 0; float: right; width: 630px;  margin-right: 35px;">
Required Nodes & Objects:
Required Nodes & Objects:
     <p>1x Trigger Volume</p>
     <p>1x Box Trigger Volume</p>
     <p>4x Move Node</p>
     <p>4x Move Node</p>
     <p>2x Doors</p>
     <p>2x Doors (to create a sliding door)</p>
     </div>   
     </div>   
</div></div>
</div></div>
Line 19: Line 19:
             <span class="step-number">1</span>
             <span class="step-number">1</span>
             <div class="step-content">
             <div class="step-content">
                 <h3>Place On Actor Eliminated Node</h3>
                 <h3>Place Box Trigger Volume</h3>
                 <p>This node will trigger when the linked character is eliminated.</p>
                 <p>This will trigger linked nodes when a player steps in / steps out its volume. You can adjust the scale of it to make sure it covers the designated area.</p>
             </div>
             </div>
         </div>
         </div>
Line 27: Line 27:
             <span class="step-number">2</span>
             <span class="step-number">2</span>
             <div class="step-content">
             <div class="step-content">
                 <h3>Place Per Player Timer Node</h3>
                 <h3>Place Move Node 1</h3>
                 <p>This node provides a timer to customise the duration of linked nodes.</p>
                 <p>This node provides movement component to the attached object. This will open one side of our door.</p>
             </div>
             </div>
         </div>
         </div>
Line 35: Line 35:
             <span class="step-number">3</span>
             <span class="step-number">3</span>
             <div class="step-content">
             <div class="step-content">
                 <h3>Place Spawn Player Node</h3>
                 <h3>Place Move Node 2</h3>
                 <p>This node spawns / respawns a player.</p>
                 <p>This node provides movement component to the attached object. This will open the second side of our door.</p>
             </div>
             </div>
         </div>
         </div>
Line 43: Line 43:
             <span class="step-number">4</span>
             <span class="step-number">4</span>
             <div class="step-content">
             <div class="step-content">
                 <h3>Place Player Spawn Point</h3>
                 <h3>Link Box Trigger Volume to Move Node 1 & Move Node 2</h3>
                 <p>This is the reference location to tell the Spawn Node where to spawn the player.</p>
                 <p><code>On Enter → Start</code></p>
                <p><code>On Enter → Start</code></p>
             </div>
             </div>
         </div>
         </div>
Line 51: Line 52:
             <span class="step-number">5</span>
             <span class="step-number">5</span>
             <div class="step-content">
             <div class="step-content">
                 <h3>Link On Actor Eliminated Node to Per Player Timer Node</h3>
                 <h3>Link Move Node 1 to first door</h3>
                 <p><code>On Actor Eliminated → Start</code></p>
                 <p><code>Act On → Door(1)</code></p>
                <p><code>Killed by PlayerID PlayerID Reference</code></p>
             </div>
             </div>
         </div>
         </div>
Line 60: Line 60:
             <span class="step-number">6</span>
             <span class="step-number">6</span>
             <div class="step-content">
             <div class="step-content">
                 <h3>Link Per Player Timer Node to Spawn Player Node</h3>
                 <h3>Link Move Node 2 to second door</h3>
                 <p><code>On Finished → Spawn Player</code></p>
                 <p><code>Act On → Door(2)</code></p>
                <p><code>PlayerID Reference PlayerID Reference</code></p>
             </div>
             </div>
         </div>
         </div>
Line 69: Line 68:
             <span class="step-number">7</span>
             <span class="step-number">7</span>
             <div class="step-content">
             <div class="step-content">
                 <h3>Select the Per Player Timer Node and untick Loop</h3>
                 <h3>Open Move Node 1 attribute panel</h3>
                 <p>We want the timer to only run once.</p>
                 <p>In our example, we want to move the door sideways, that will be our Y axis</p>
                <p>Next to Translation, there are three sliders for each axis in this order: X, Y, Z</p>
                <p>On the Y axis change the value to 1.5</p>
             </div>
             </div>
         </div>
         </div>
Line 77: Line 78:
             <span class="step-number">8</span>
             <span class="step-number">8</span>
             <div class="step-content">
             <div class="step-content">
                 <h3>Player Spawn Point IDs</h3>
                 <h3>Open Move Node 2 attribute panel</h3>
                 <p>Add an ID to the Player Spawn Point Node, for example: <code>Spawn Point A</code></p>
                 <p>In our example, we want to move the door sideways, that will be our Y axis</p>
                 <p>If you want this Spawn point to be the initial Spawn point, tick the box: Initial Spawn Point in the attributes panel.</p>
                 <p>We want this one to go in the opposite direction, so we give the negative value to Move Node 1</p>
                <p>On the Y axis change the value to -1.5</p>
             </div>
             </div>
         </div>
         </div>
 
       
         <div class="step">
         <div class="step">
             <span class="step-number">9</span>
             <span class="step-number">9</span>
             <div class="step-content">
             <div class="step-content">
                 <h3>Place a String Node</h3>
                 <h3>Now, we want to add the reverse action when we exit the Box Trigger Volume</h3>
                 <p>Change the Default String field to match the Player Spawn Point ID you just added. In our example: <code>Spawn Point A</code></p>
                 <p><code>Act On → Door(2)</code></p>
                <p>Set Automatically Send Value to On Game Start.</p>
             </div>
             </div>
         </div>
         </div>
Line 95: Line 96:
             <span class="step-number">10</span>
             <span class="step-number">10</span>
             <div class="step-content">
             <div class="step-content">
                 <h3>Link String to Spawn Player Node</h3>
                <h3>Place Move Node 3 and Move Node 4</h3>
                 <p><code>Outputted String Spawn Point ID</code></p>
                <p>These nodes will move the doors back to their original position when we exit the trigger volume.</p>
            </div>
        </div>
 
        <div class="step">
            <span class="step-number">11</span>
            <div class="step-content">
                 <h3>Link Box Trigger Volume to Move Node 3 & Move Node 4</h3>
                 <p><code>On Exit → Start</code></p>
                <p><code>On Exit Start</code></p>
            </div>
        </div>
 
        <div class="step">
            <span class="step-number">12</span>
            <div class="step-content">
                <h3>Link Move Node 3 to first door</h3>
                <p><code>Act On → Door(1)</code></p>
                <h3>Link Move Node 4 to second door</h3>
                <p><code>Act On → Door(2)</code></p>
            </div>
        </div>
 
        <div class="step">
            <span class="step-number">13</span>
            <div class="step-content">
                <h3>Open Move Node 3 attribute panel</h3>
                <p>In our example, we want to reverse the 1.5 Y axis movement</p>
                <p>On the Y axis change the value to -1.5</p>
            </div>
        </div>
 
        <div class="step">
            <span class="step-number">14</span>
            <div class="step-content">
                <h3>Open Move Node 4 attribute panel</h3>
                <p>In our example, we want to reverse the 1.5 Y axis movement</p>
                <p>On the Y axis change the value to 1.5</p>
             </div>
             </div>
         </div>
         </div>
    </div>

Revision as of 12:55, 17 June 2024

This page shows you how to use Move Node with objects and triggers. You can apply the same principles with different types of triggers, interactions and switches.

       

Required Nodes & Objects:

1x Box Trigger Volume

4x Move Node

2x Doors (to create a sliding door)

           1

Place Box Trigger Volume

This will trigger linked nodes when a player steps in / steps out its volume. You can adjust the scale of it to make sure it covers the designated area.

           2

Place Move Node 1

This node provides movement component to the attached object. This will open one side of our door.

           3

Place Move Node 2

This node provides movement component to the attached object. This will open the second side of our door.

           4

Link Box Trigger Volume to Move Node 1 & Move Node 2

On Enter → Start

On Enter → Start

           5

Link Move Node 1 to first door

Act On → Door(1)

           6

Link Move Node 2 to second door

Act On → Door(2)

           7

Open Move Node 1 attribute panel

In our example, we want to move the door sideways, that will be our Y axis

Next to Translation, there are three sliders for each axis in this order: X, Y, Z

On the Y axis change the value to 1.5

           8

Open Move Node 2 attribute panel

In our example, we want to move the door sideways, that will be our Y axis

We want this one to go in the opposite direction, so we give the negative value to Move Node 1

On the Y axis change the value to -1.5

           9

Now, we want to add the reverse action when we exit the Box Trigger Volume

Act On → Door(2)

           10

Place Move Node 3 and Move Node 4

These nodes will move the doors back to their original position when we exit the trigger volume.

           11

Link Box Trigger Volume to Move Node 3 & Move Node 4

On Exit → Start

On Exit → Start

           12

Link Move Node 3 to first door

Act On → Door(1)

Link Move Node 4 to second door

Act On → Door(2)

           13

Open Move Node 3 attribute panel

In our example, we want to reverse the 1.5 Y axis movement

On the Y axis change the value to -1.5

           14

Open Move Node 4 attribute panel

In our example, we want to reverse the 1.5 Y axis movement

On the Y axis change the value to 1.5