vc-online/gamefiles/online/net.schema.json

161 lines
2.9 KiB
JSON

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "Online networking tuning",
"type": "object",
"required": [
"bubbleSeconds",
"bubbleDistance",
"radarScale",
"sendHz",
"skins",
"snapDistance",
"smoothing",
"maxExtrapolation",
"runSpeed",
"sprintSpeed",
"walkSpeed"
],
"properties": {
"$schema": {
"type": "string"
},
"comment": {
"type": "string"
},
"aimFov": {
"type": "number",
"minimum": 20,
"maximum": 70
},
"aimDistance": {
"type": "number",
"minimum": 0.2,
"maximum": 1
},
"sendHz": {
"type": "number",
"minimum": 1,
"maximum": 60
},
"skins": {
"type": "array",
"minItems": 1,
"items": {
"type": "string"
}
},
"snapDistance": {
"type": "number",
"minimum": 0
},
"smoothing": {
"type": "number",
"minimum": 0
},
"bubbleSeconds": {
"type": "number",
"minimum": 1
},
"bubbleDistance": {
"type": "number",
"minimum": 5
},
"infiniteSprint": {
"type": "boolean"
},
"carStreamDistance": {
"type": "number",
"minimum": 50
},
"radarScale": {
"type": "number",
"minimum": 0.5,
"maximum": 3
},
"maxExtrapolation": {
"type": "number",
"minimum": 0
},
"runSpeed": {
"type": "number",
"minimum": 0
},
"sprintSpeed": {
"type": "number",
"minimum": 0
},
"walkSpeed": {
"type": "number",
"minimum": 0
},
"pedDensity": {
"type": "number",
"minimum": 0
},
"carDensity": {
"type": "number",
"minimum": 0
},
"maxPeds": {
"type": "integer",
"minimum": 0,
"maximum": 100
},
"maxCars": {
"type": "integer",
"minimum": 0,
"maximum": 80
},
"sandGripScale": {
"type": "number",
"minimum": 0
},
"sandDragScale": {
"type": "number",
"minimum": 0
},
"bikeGripScale": {
"type": "number",
"minimum": 0
},
"spawnProbeHeight": {
"type": "number",
"minimum": 0
},
"reconnectMinSeconds": { "type": "number", "exclusiveMinimum": 0 },
"reconnectMaxSeconds": { "type": "number", "exclusiveMinimum": 0 },
"spawnClearance": {
"type": "number",
"minimum": 0
},
"deathFadeMs": {
"type": "number",
"minimum": 0
},
"deathRespawnMs": {
"type": "number",
"minimum": 0
},
"deathFadeSeconds": {
"type": "number",
"minimum": 0
},
"tagHeight": {
"type": "number",
"minimum": 0
},
"swimEnterDepth": {
"type": "number",
"minimum": 0
},
"swimDepth": {
"type": "number",
"minimum": 0
},
"swimLift": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": false
}