Exploding Barrel: Difference between revisions
No edit summary |
No edit summary |
||
Line 5: | Line 5: | ||
<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;"> |
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