read_vmf_sightlines
Find the longest clear lines of sight in an uncompiled .vmf by sampling standable cells, so mappers can judge sight-line length before running a compile.
Instructions
The longest clear lines of sight in an UNCOMPILED .vmf, sampled from the places a person can actually stand. read_sightlines answers the same question on a compiled map by sampling ground in a column, which picks up roofs and the spawn room under the map; this samples the standable cells the room pass found, which is a stronger constraint and needs no vbsp. Long sight lines are what a mapper trades away for framerate, so the number is a design decision rather than a fault.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>"
},
"name": "read_vmf_sightlines"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| step | No | ||
| limit | No | ||
| seeds | No | ||
| spacing | No | Take one sample cell in this many, per axis. Pairs cost the square of this. | |
| maxCells | No | ||
| eyeHeight | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| notes | Yes | ||
| longest | Yes | ||
| pairsTested | Yes | ||
| samplePoints | Yes |