Exploding Barrel: Difference between revisions
Created page with "This page shows you how to use a Damage Volume and Target to create damaging traps.. You can apply the same principles with different types of triggers, interactions and switches based on the game you want to create. <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"></youtube>..." |
No edit summary |
||
(3 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
This page shows you how to use a Damage Volume and Target to create damaging traps.. You can apply the same principles with different types of triggers, interactions and switches based on the game you want to create. | This page shows you how to use a Damage Volume and Target to create damaging traps.. You can apply the same principles with different types of triggers, interactions and switches based on the game you want to create. | ||
A functional stamp is available under Exploding Barrel | |||
<div style="background-color: #050522; float: right; width: 800px; margin-right: 0px;"> | <div style="background-color: #050522; float: right; width: 800px; margin-right: 0px;"> | ||
<div class="video-container"> | <div class="video-container"> | ||
<!-- Replace the placeholder video URL with your actual YouTube video URL --> | <!-- Replace the placeholder video URL with your actual YouTube video URL --> | ||
<youtube width="640" height="360"></youtube> | <youtube width="640" height="360">63vfI2xAkbs</youtube> | ||
<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;"> | ||
Line 49: | Line 51: | ||
<h3>Link Remove Node to your Barrel</h3> | <h3>Link Remove Node to your Barrel</h3> | ||
<p><code>Event: Act On → Barrel</code> (You may need to more your Target Cylinder to select the barrel)</p> | <p><code>Event: Act On → Barrel</code> (You may need to more your Target Cylinder to select the barrel)</p> | ||
<p><code>Event: Act On → Target Cylinder</code> | <p><code>Event: Act On → Target Cylinder</code></p> | ||
</div> | </div> | ||
</div> | </div> |
Latest revision as of 22:38, 28 August 2024
This page shows you how to use a Damage Volume and Target to create damaging traps.. You can apply the same principles with different types of triggers, interactions and switches based on the game you want to create.
A functional stamp is available under Exploding Barrel
Required Nodes & Objects:
1x Sphere Damage Volume
1x On/Off Node
1x Remove Node
1x Set Visibility Node
1x Target Cylinder
1x Explosion
1x Barrel 1A
1
Place Barrel
There are a few barrels in Arcadia, pick the one that suits you best. I used Barrel 1A
2
Place Cylinder Target
Cylinder target acts as a volume that the player can attack. Place it over your barrel, so you can't see it anymore.
3
Place Remove node
Place a Remove node near your barrel & remove node.
4
Link Remove Node to your Barrel
Event: Act On → Barrel
(You may need to more your Target Cylinder to select the barrel)
Event: Act On → Target Cylinder
5
Link Target Cylinder to Remove Node
Event: On Destroyed → Function: Activate
If you play test at this point, you will be able to shoot your cylinder, and it will disappear when it is destroyed
6
Kill nearby actors
An exploding barrel that does no damage isn't very useful.
Place Sphere Damage Volume on top of your barrel.
Set it's radius to 10
Enable Kill Instantly
7
Activate damage volume
Place an On/Off node
Connect Event: On Destroyed → Function: Activate
from Target Cylinder to On/Off node
Connect Event: Turn On/Off → Function: Turn On/Off
from On/Off node to Damage Volume
If you preview now, standing next to your barrel while destroying it will eliminate the player.
8
Make it sparkle
Place an Explosion node on top of the barrel
Connect Event: On Destroyed → Function: Play
from Target Cylinder to Explosion
9
Hide target cylinder
Finally, to hide the target cylinder from the player, place a Set Visibility Node
Connect Event: Act On → Function: Visibility
from Set Visibility Node to the Target Cylinder