Rust Wiki

Revision Difference

Volume_Prefabs#527605

<cat>Dev.World</cat> <title>Volume Prefabs</title> Volume Prefabs is a collection of various triggers that has their unique effects once players goes inside the prefab. Almost all volumes has a 1x1x1 cube collider. #Terrain Trigger As long as player remains inside of this trigger, collisions with the terrain will be ignored. If you want to make an entrance inside the cave or other structure, this trigger is for you. As long as player remains inside of this trigger, collisions with the terrain will be ignored. If you want to make an entrance into the cave or other structure, this trigger is for you. Keep in mind that all underground structures must be inside of this trigger to prevent players from instantly dying. Alternative solution is disabling the antihack protection for terrain using this parameter: `+antihack.terrain_protection 0` ⤶ Some prefabs like cave, sewer and bunker parts already contain a terrain trigger – you don't need to add it again.⤶ #Water Trigger While player is inside this trigger, visibility and interactions for all water objects will be disabled. This may be helpful when your underground structure goes below the ocean level. While player is inside of this trigger, visibility and interactions for all water objects will be disabled and image becomes completely dark. This may be helpful when your underground structure goes below the ocean level. #Invisible Collider It's an invisible 1x1x1 meter cube that basically works like an invisible wall. It's an invisible 1x1x1 meters cube that basically works like an invisible wall. #Prevent Player Movment This works like an invisible collider but only for players – other forms of interactions with this wall (throwing/shooting through the wall, movement for NPCs) will remain active. (typo is a part of prefabs name) This works like an invisible collider but only for players – other forms of interactions with this wall (throwing/shooting through the wall, movement for NPCs) will remain active. #Ladder Trigger When player touches this trigger and they stand near the wall, player will start climbing up. This will be helpful when you need to add a custom prop for climbing. When player touches this trigger and they walk into the wall, player will start climbing up. This will be helpful when you want to create a custom climbing prop. #EnvironmentVolumeBuilding Makes the image slightly darker, just like when you're inside of monument buildings or player base. #EnvironmentVolumeUnderground Makes everything completely dark, just like inside of Water Trigger, except you'll be able to see and interact with the water in this trigger. #Bandit Swamp Fog FX <upload src="2f4/8d8202ccbdb8562.png" size="2366506" name="image.png" /> This is a volumetric fog from the Bandit Camp monument. No description needed I guess. #Safezonesphere Safe Zone is the only volume trigger with a sphere collider (2 meter radius by default). Safe zone on custom maps works the same way as on outpost/bandit camp. You shoot – you die and receive a 30 minute long ban.