- Required Dependencies
-
https://umod.org/plugins/image-library
https://chaoscode.io/resources/chaos.321/
This plugin require the Chaos extension -> https://chaoscode.io/resources/chaos.321/
Features
Permissions
pvpheatmap.use - Required to use the UI heat map command
Chat Commands
/pvp - Show the UI heatmap. This command can be changed in the config
/heatmap.generateevents - Generates random heat event around the map. This is for visualization/debug purposes. Only admins can use this command
/heatmap.generateimage - Force regenerate the heatmap overlay image. This is for visualization/debug purposes. Only admins can use this command
Game Map Markers
There is support for creating map markers on the Rust map, but it doesn't look as good as the UI generated image.
When enabled each grid cell with heat events will generate a map marker. However, this option can be quite heavy, it is recommended to increase the grid cell size when using this option.
Map markers size on the game map are accurate to the grid cell size set in the config
Configuration
Features
- The heatmap is split in to segments and images are generated using Unity's job system and Burst compiler for fast drawing and each segment is run over multiple frames
- UI has zoom in/out functionality and always focuses on the players position
- UI scales with users interface scale
- Option to create map markers on the standard Rust map (see below before enabling)
- Customize the heatmap color ranges
- Option to have older heat events register at a lower range than newer events
- Customize how long a heat event will last on the heat map
- Option to change how many deaths in a area account for the highest heat value
Permissions
pvpheatmap.use - Required to use the UI heat map command
Chat Commands
/pvp - Show the UI heatmap. This command can be changed in the config
/heatmap.generateevents - Generates random heat event around the map. This is for visualization/debug purposes. Only admins can use this command
/heatmap.generateimage - Force regenerate the heatmap overlay image. This is for visualization/debug purposes. Only admins can use this command
Game Map Markers
There is support for creating map markers on the Rust map, but it doesn't look as good as the UI generated image.
When enabled each grid cell with heat events will generate a map marker. However, this option can be quite heavy, it is recommended to increase the grid cell size when using this option.
Map markers size on the game map are accurate to the grid cell size set in the config
Configuration
JSON:
{
"Store heat data between server starts": true,
"Heat grid size in world units": 50,
"The rate in which the heat grid is updated in seconds": 300,
"How many deaths in a cell for it to register as hottest value": 5,
"The maximum opacity of the cell drawn on the map (0.0 - 1.0)": 0.75,
"Fade opacity of a heat event using the time remaining until it expires": true,
"The value of a heat event (0.0 - 1.0)": 1.0,
"The time in seconds before a heat event expires": 1800,
"Show heat map using map markers on ingame map": false,
"Generate heat map image and enable UI heat map": true,
"Heat map UI command": "pvp",
"Heat colors in order of lowest to highest": [
{
"Hex color": "000000",
"Alpha (0.0 - 1.0)": 0.0
},
{
"Hex color": "7600C5",
"Alpha (0.0 - 1.0)": 0.1960784
},
{
"Hex color": "002DFF",
"Alpha (0.0 - 1.0)": 0.3921569
},
{
"Hex color": "00FAFF",
"Alpha (0.0 - 1.0)": 0.4901961
},
{
"Hex color": "00FF1E",
"Alpha (0.0 - 1.0)": 0.5882353
},
{
"Hex color": "FF8400",
"Alpha (0.0 - 1.0)": 0.7058824
},
{
"Hex color": "FF0003",
"Alpha (0.0 - 1.0)": 0.7058824
}
],
"Version": {
"Major": 1,
"Minor": 0,
"Patch": 0
}
}