27 lines
1.1 KiB
JSON
27 lines
1.1 KiB
JSON
{
|
|
"constants": {
|
|
"tickHz": 60,
|
|
"fovDeg": 66,
|
|
"playerSpeed": 3.2,
|
|
"playerRadius": 0.25,
|
|
"playerMaxHealth": 100,
|
|
"mouseSensitivity": 0.0022,
|
|
"turnKeysRadPerSec": 2.6,
|
|
"pickupRadius": 0.5,
|
|
"doorAutoCloseMs": 2500,
|
|
"projectileCap": 64
|
|
},
|
|
"weapons": [
|
|
{ "id": "fists", "name": "Fists", "kind": "melee", "damage": 15, "range": 0.9, "arcDeg": 100, "cooldownMs": 500 },
|
|
{ "id": "pistol", "name": "Pistol", "kind": "projectile", "damage": 20, "speed": 11, "cooldownMs": 350, "ammoCost": 1, "maxAmmo": 50, "startAmmo": 8, "hitRadius": 0.18, "ttlSec": 3 }
|
|
],
|
|
"enemies": [
|
|
{ "id": "guard", "name": "Guard", "health": 40, "speed": 2.0, "radius": 0.35, "detectRange": 8, "meleeRange": 0.9, "meleeDamage": 8, "meleeCooldownMs": 800, "fireRange": 7, "fireCooldownMs": 950, "projectileSpeed": 9, "projectileDamage": 12, "hitRadius": 0.18 }
|
|
],
|
|
"items": [
|
|
{ "id": "pistol", "name": "Pistol", "kind": "weapon", "grantsWeapon": "pistol", "ammo": 6 },
|
|
{ "id": "ammo", "name": "Ammo Clip", "kind": "ammo", "amount": 8 },
|
|
{ "id": "health", "name": "Medkit", "kind": "health", "amount": 25 }
|
|
]
|
|
}
|