Generate Player Heatmap
generate_player_heatmapGenerate a top-down SVG heatmap showing where a player spent time during a demo. The POV player's trace is always complete. For other players only the frames where they were visible to the recording client are included — the resulting map is sparser and biased toward areas visible from the POV player's position. Output is written to a file. Call open_demo first to get a session_id.
When to Use
Use this tool when you need to generate a top-down svg heatmap showing where a player spent time during a demo. the pov player's trace is always complete. for other players only the frames where they were visible to the recording client are included — the resulting map is sparser and biased toward areas visible from the pov player's position. output is written to a file. call open_demo first to get a session_id.. This is part of the Mcps provider on xpay✦.
MCP Connection
Connect to xpay✦ to access this tool (and 87+ others):
{
"mcpServers": {
"xpay": {
"url": "https://mcp.xpay.sh/mcp?key=YOUR_API_KEY"
}
}
}
For Claude Code:
claude mcp add --transport http xpay "https://mcp.xpay.sh/mcp?key=YOUR_API_KEY"
How to Execute
Use the xpay✦ meta-tools to run this tool:
xpay_details— Get full input schema:xpay_details("quakelive/generate_player_heatmap")xpay_run— Execute:xpay_run("quakelive/generate_player_heatmap", { ...inputs })
Input Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
cell_size_qu | number,null | No | Heat grid cell size in Quake units (default: 128). Smaller = finer detail but more SVG elements. |
size | integer,null | No | SVG viewport size in pixels (default: 900) |
client_num | integer,null | No | Target player client number (0-63). Alternative to player_name. |
output_path | string,null | No | Output SVG file path. Relative paths resolve against DEMO_PATH. Auto-generated if omitted. |
session_id | string | Yes | Analysis session ID (from open_demo) |
z_min | number,null | No | Only include positions with Z >= this value. |
player_name | string,null | No | Target player name substring (case-insensitive). Omit for the POV player. For non-POV players positions are sampled from entity state, which is only available when the entity was in the POV player's PVS — the trace will be sparser. |
z_max | number,null | No | Only include positions with Z <= this value. |
map | string,null | No | Map name or path for a background geometry layer (same lookup as get_bsp_info). Omit to skip background. |
Pricing
- Cost: $0.02/call
- Balance check: Use
xpay_balanceto check remaining credits - Get your API key at xpay.tools — $5 free credits included
Related Skills
- Mcps (all tools) — 88 tools
- Add Player — $0.00/call
- Add Raw Snapshot — $0.00/call
- Add Server Command — $0.00/call
- Analyze Demo — $0.02/call
- Award Medal — $0.02/call
Links
- Tool page: https://xpay.tools/quakelive/generate-player-heatmap/
- Provider: https://xpay.tools/quakelive/
- All tools: https://xpay.tools/explore
How to Execute
Input Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
cell_size_qu | numbernull | No | Heat grid cell size in Quake units (default: 128). Smaller = finer detail but more SVG elements. |
size | integernull | No | SVG viewport size in pixels (default: 900) |
client_num | integernull | No | Target player client number (0-63). Alternative to player_name. |
output_path | stringnull | No | Output SVG file path. Relative paths resolve against DEMO_PATH. Auto-generated if omitted. |
session_id | string | Yes | Analysis session ID (from open_demo) |
z_min | numbernull | No | Only include positions with Z >= this value. |
player_name | stringnull | No | Target player name substring (case-insensitive). Omit for the POV player. For non-POV players positions are sampled from entity state, which is only available when the entity was in the POV player's PVS — the trace will be sparser. |
z_max | numbernull | No | Only include positions with Z <= this value. |
map | stringnull | No | Map name or path for a background geometry layer (same lookup as get_bsp_info). Omit to skip background. |
Install Skill
Pricing
Cost
$0.02/call
Model
Flat rate
Provider
Mcps

