Rust Wiki

Revision Difference

Volume_Prefabs#545911

<cat>Dev.World</cat> <title>Volume Prefabs</title> <upload src="2f4/8d820ee62eccd5b.png" size="94188" name="image.png" /> Volume Prefabs are a collection of various triggers that have their unique effects once players enter the prefab. Almost all volumes have a 1x1x1 cube collider. Almost all are completely invisible in-game but apply specific effects to the player when interacted with. #Terrain Trigger As long as a player remains inside of this trigger, collisions with the terrain will be ignored. If you want to make an entrance into a cave or other structure that needs the player to go through the terrain, this trigger is for you. Keep in mind that all underground structures must be inside of this trigger to prevent players from instantly dying due to antihack. The 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. You also cannot currently remove these built-in triggers from those prefabs. #Water Trigger While players are inside of this trigger, visibility and interactions for all water related objects will be disabled, it will remove swimming and blurred vision but visibility becomes extremely dark as water triggers are usually needed underground. This may be helpful when your underground structure goes below the ocean level. ⤶ #Water Culling Volume⤶ Pretty much does the same thing as Water Trigger, except it does not make the whole area around you dark.⤶ #Invisible Collider It's an invisible 1x1x1 meter cube that basically works like an invisible wall. Blocks projectiles and players. #Prevent Player Movment (typo is a part of the prefab 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. You would most likely use this to stop a jump exploit in your monument without impacting PvP. #Ladder Trigger When a player touches this trigger and they walk into the wall, the player will start climbing up. This will be helpful when you want to create a custom climbing prop or make static ladder prefabs usable. ⤶ #EnvironmentVolumeBuilding⤶ Makes the image slightly darker, just like when you are inside of a monument building or player base. ⤶ #EnvironmentVolumeUnderground⤶ Makes everything completely dark, just like the inside of a Water Trigger, except you will be able to see and interact with the water in this trigger. ⤶ #Environment Volumes⤶ There are three environment volumes that change the visuals around you. This may be suitable for better immersion inside various types of design – buildings, underground structure, caves, etc. ##EnvironmentVolumeBuilding⤶ Makes the image slightly darker, just like when you are inside of a monument building or player base. Disables ambient sounds. (wind/bird sounds) ##EnvironmentVolumeUnderground⤶ Makes everything completely dark, just like the inside of a Water Trigger, except you will be able to see and interact with the water inside this trigger.⤶ ##EnvironmentVolumeTraintunnles⤶ (that's not a typo) Disables sun and sky dome, making everything around you covered in a darkness with an endless night... Probably has no use in open area, but will be a great addition for any large underground structures – this will avoid any kind of situations when sun might glitch through geometry beyond the shadow draw distance. ⤶ ⤶ #Hurt Triggers⤶ Their name are pretty much self-explanatory. Deals a certain amount of damage to player when colliding with this volume, higher volume type means more damage and lesser time to kill. There are four types of hurt triggers:⤶ * `Damage Trigger Low`⤶ * `Damage Trigger Med`⤶ * `Damage Trigger High`⤶ * `Damage Trigger Death` 💀⤶ ⤶ You can see hurt triggers in action when trying to stand inside a working car shredder or under falling rocks at Giant Excavator Pit. `Damage Trigger Death` obviously just instantly kills anybody who colliders with this volume. (does not kill you if god mode enabled)⤶ #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. This is a volumetric fog from the Bandit Camp monument. No description needed. #Safezonesphere Safe Zone is a volume trigger 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. ⤶ #Radiation Sphere⤶ 1 meter sphere which adds 10 points of radiation every second to whoever enters this trigger. Stacking radiation spheres won't work. ⤶ <bug>If you combine custom safe zones with vanilla safe zones, you will have a hostility marker visible whenever you attack or just shoot, even if there is no safe zone near you. Unfortunately the only solution is removing all default Rust safezone monuments.</bug>⤶ ⤶ #Radiation Spheres⤶ There are three types of radiation sources:⤶ * `Radiation High`⤶ * `Radiation Med`⤶ * `Radiation Low`⤶ ⤶ They have a corresponding radiation level and will do slower or faster damage on player, depending on source type. When it comes to vanilla approach for radiation levels, it's usually preferred to cover tier 3 monuments and best loot points with highest radiation level, especially if players are not meant to stay there for long, just like on top of launch site. `Med` and `Low` variants will fit the best for majority of your custom monuments.⤶ ⤶ #Comfort Volume⤶ A sphere shaped volume that provides you comfort when staying inside of it. Perhaps a good thing to implement at safe zones for players to heal themselves slowly.⤶ ⤶ #Heat Volume⤶ Cube volume that slowly hurts a player when colliding with it, providing a specific PFX and sound effect of touching the fire. Good for implementation at custom fire sources.⤶ ⤶ #Trigger Force⤶ Assumed to be a moving force just like on conveyor belts at Giant Excavator Pit. Their shape is not a standard one and may be confused to work with. (more details needs to be specified)⤶ #Chair Invisible Static An invisible variant of a handmade chair. Doesn't decay but can be destroyed with an ``ent kill`` command. Avoid using it on invisible chairs because there will be no way to add it back. Information gathered provided by the [Rust Map Making](https://discord.com/invite/HPmTWVa) community.