30 lines
1.2 KiB
JSON
30 lines
1.2 KiB
JSON
{
|
|
"constants": {
|
|
"tickHz": 60,
|
|
"fovDeg": 66,
|
|
"playerSpeed": 3.2,
|
|
"playerRadius": 0.35,
|
|
"playerMaxHealth": 100,
|
|
"mouseSensitivity": 0.0022,
|
|
"turnKeysRadPerSec": 2.6,
|
|
"pickupRadius": 0.5,
|
|
"doorAutoCloseMs": 2500,
|
|
"projectileCap": 64
|
|
},
|
|
"ammoTypes": [
|
|
{ "id": "9mm", "name": "9mm Rounds", "damageMin": 8, "damageMax": 12 }
|
|
],
|
|
"weapons": [
|
|
{ "id": "fists", "name": "Fists", "kind": "melee", "damage": 15, "range": 0.9, "arcDeg": 100, "cooldownMs": 500, "fireMode": "auto" },
|
|
{ "id": "pistol", "name": "Pistol", "kind": "projectile", "ammoType": "9mm", "fireMode": "semi", "speed": 11, "cooldownMs": 600, "ammoCost": 1, "maxAmmo": 50, "startAmmo": 8, "hitRadius": 0.18, "ttlSec": 3 }
|
|
],
|
|
"enemies": [
|
|
{ "id": "guard", "name": "Guard", "health": 20, "stunMs": 200, "speed": 2.0, "radius": 0.35, "detectRange": 8, "meleeRange": 0.9, "meleeDamage": 8, "meleeCooldownMs": 800, "fireRange": 7, "rangedWeapon": "pistol" }
|
|
],
|
|
"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 }
|
|
]
|
|
}
|