vice city online: the bare online core
This commit is contained in:
commit
2f98475c19
256 changed files with 144219 additions and 0 deletions
921
gamefiles/online/menu.json
Normal file
921
gamefiles/online/menu.json
Normal file
|
|
@ -0,0 +1,921 @@
|
|||
{
|
||||
"$schema": "./menu.schema.json",
|
||||
"comment": "Online menus. weapons: type = eWeaponType number from WeaponType.h. cars: model = model name from default.ide (cars and bikes); thumbs/<model>.jpg is its picture. featured = the six shown first. startWeapons = weapon types given when joining. help = the permanent command list on screen.",
|
||||
"keys": {
|
||||
"weapons": "q",
|
||||
"cars": "b",
|
||||
"passive": "p",
|
||||
"name": "n"
|
||||
},
|
||||
"name": {
|
||||
"promptSeconds": 45,
|
||||
"fightLockSeconds": 10,
|
||||
"title": "CHOOSE A NAME",
|
||||
"placeholder": "your name",
|
||||
"ok": "OK",
|
||||
"locked": "you fired in the last few seconds: wait",
|
||||
"away": "paused: nobody can hit you",
|
||||
"back": "back in the game"
|
||||
},
|
||||
"startArmour": 100,
|
||||
"startMoney": 1000000,
|
||||
"death": {
|
||||
"title": "WASTED",
|
||||
"killedBy": "by",
|
||||
"feedSeconds": 6
|
||||
},
|
||||
"tags": {
|
||||
"fullScaleDistance": 25,
|
||||
"minScale": 0.7
|
||||
},
|
||||
"lookSettleMs": 250,
|
||||
"helpSeconds": 25,
|
||||
"desktopRenderWidth": 1920,
|
||||
"startWeapons": [
|
||||
1,
|
||||
3,
|
||||
4,
|
||||
5,
|
||||
6,
|
||||
9,
|
||||
10,
|
||||
12,
|
||||
15,
|
||||
17,
|
||||
18,
|
||||
19,
|
||||
20,
|
||||
21,
|
||||
22,
|
||||
23,
|
||||
24,
|
||||
25,
|
||||
26,
|
||||
27,
|
||||
28,
|
||||
30,
|
||||
31,
|
||||
32,
|
||||
33
|
||||
],
|
||||
"weapons": [
|
||||
{
|
||||
"name": "Brass Knuckles",
|
||||
"type": 1,
|
||||
"ammo": 1,
|
||||
"icon": "Brass-Knuckles"
|
||||
},
|
||||
{
|
||||
"name": "Golf Club",
|
||||
"type": 3,
|
||||
"ammo": 1,
|
||||
"icon": "golf"
|
||||
},
|
||||
{
|
||||
"name": "Nightstick",
|
||||
"type": 4,
|
||||
"ammo": 1,
|
||||
"icon": "baton"
|
||||
},
|
||||
{
|
||||
"name": "Knife",
|
||||
"type": 5,
|
||||
"ammo": 1,
|
||||
"icon": "knife"
|
||||
},
|
||||
{
|
||||
"name": "Baseball Bat",
|
||||
"type": 6,
|
||||
"ammo": 1,
|
||||
"icon": "bat"
|
||||
},
|
||||
{
|
||||
"name": "Machete",
|
||||
"type": 9,
|
||||
"ammo": 1,
|
||||
"icon": "machette"
|
||||
},
|
||||
{
|
||||
"name": "Katana",
|
||||
"type": 10,
|
||||
"ammo": 1,
|
||||
"icon": "katana"
|
||||
},
|
||||
{
|
||||
"name": "Chainsaw",
|
||||
"type": 11,
|
||||
"ammo": 1,
|
||||
"icon": "chainsaw"
|
||||
},
|
||||
{
|
||||
"name": "Grenades",
|
||||
"type": 12,
|
||||
"ammo": 99,
|
||||
"icon": "grenade"
|
||||
},
|
||||
{
|
||||
"name": "Tear Gas",
|
||||
"type": 14,
|
||||
"ammo": 99,
|
||||
"icon": "teargas"
|
||||
},
|
||||
{
|
||||
"name": "Molotov",
|
||||
"type": 15,
|
||||
"ammo": 99,
|
||||
"icon": "molotov"
|
||||
},
|
||||
{
|
||||
"name": "Colt .45",
|
||||
"type": 17,
|
||||
"ammo": 999,
|
||||
"icon": "pistol"
|
||||
},
|
||||
{
|
||||
"name": "Python",
|
||||
"type": 18,
|
||||
"ammo": 999,
|
||||
"icon": "python"
|
||||
},
|
||||
{
|
||||
"name": "Shotgun",
|
||||
"type": 19,
|
||||
"ammo": 999,
|
||||
"icon": "shotgun"
|
||||
},
|
||||
{
|
||||
"name": "SPAS-12",
|
||||
"type": 20,
|
||||
"ammo": 999,
|
||||
"icon": "spaz"
|
||||
},
|
||||
{
|
||||
"name": "Stubby Shotgun",
|
||||
"type": 21,
|
||||
"ammo": 999,
|
||||
"icon": "stubbs"
|
||||
},
|
||||
{
|
||||
"name": "Tec-9",
|
||||
"type": 22,
|
||||
"ammo": 999,
|
||||
"icon": "tec9"
|
||||
},
|
||||
{
|
||||
"name": "Uzi",
|
||||
"type": 23,
|
||||
"ammo": 999,
|
||||
"icon": "uzi"
|
||||
},
|
||||
{
|
||||
"name": "Ingram",
|
||||
"type": 24,
|
||||
"ammo": 999,
|
||||
"icon": "uzi2"
|
||||
},
|
||||
{
|
||||
"name": "MP5",
|
||||
"type": 25,
|
||||
"ammo": 999,
|
||||
"icon": "mp5"
|
||||
},
|
||||
{
|
||||
"name": "M4",
|
||||
"type": 26,
|
||||
"ammo": 999,
|
||||
"icon": "m4"
|
||||
},
|
||||
{
|
||||
"name": "Ruger",
|
||||
"type": 27,
|
||||
"ammo": 999,
|
||||
"icon": "rugger"
|
||||
},
|
||||
{
|
||||
"name": "Sniper Rifle",
|
||||
"type": 28,
|
||||
"ammo": 99,
|
||||
"icon": "sniper"
|
||||
},
|
||||
{
|
||||
"name": "Rocket Launcher",
|
||||
"type": 30,
|
||||
"ammo": 99,
|
||||
"icon": "rocket"
|
||||
},
|
||||
{
|
||||
"name": "Flamethrower",
|
||||
"type": 31,
|
||||
"ammo": 999,
|
||||
"icon": "flame"
|
||||
},
|
||||
{
|
||||
"name": "M60",
|
||||
"type": 32,
|
||||
"ammo": 999,
|
||||
"icon": "m60"
|
||||
},
|
||||
{
|
||||
"name": "Minigun",
|
||||
"type": 33,
|
||||
"ammo": 999,
|
||||
"icon": "minigun"
|
||||
}
|
||||
],
|
||||
"cars": [
|
||||
{
|
||||
"name": "Infernus",
|
||||
"model": "infernus",
|
||||
"group": "Sports"
|
||||
},
|
||||
{
|
||||
"name": "Cheetah",
|
||||
"model": "cheetah",
|
||||
"group": "Sports"
|
||||
},
|
||||
{
|
||||
"name": "Banshee",
|
||||
"model": "banshee",
|
||||
"group": "Sports"
|
||||
},
|
||||
{
|
||||
"name": "Comet",
|
||||
"model": "comet",
|
||||
"group": "Sports"
|
||||
},
|
||||
{
|
||||
"name": "Stinger",
|
||||
"model": "stinger",
|
||||
"group": "Sports"
|
||||
},
|
||||
{
|
||||
"name": "Deluxo",
|
||||
"model": "deluxo",
|
||||
"group": "Sports"
|
||||
},
|
||||
{
|
||||
"name": "Hotring",
|
||||
"model": "hotring",
|
||||
"group": "Sports"
|
||||
},
|
||||
{
|
||||
"name": "Hotring A",
|
||||
"model": "hotrina",
|
||||
"group": "Sports"
|
||||
},
|
||||
{
|
||||
"name": "Hotring B",
|
||||
"model": "hotrinb",
|
||||
"group": "Sports"
|
||||
},
|
||||
{
|
||||
"name": "Bloodring",
|
||||
"model": "bloodra",
|
||||
"group": "Sports"
|
||||
},
|
||||
{
|
||||
"name": "Bloodring B",
|
||||
"model": "bloodrb",
|
||||
"group": "Sports"
|
||||
},
|
||||
{
|
||||
"name": "Sabre",
|
||||
"model": "sabre",
|
||||
"group": "Muscle"
|
||||
},
|
||||
{
|
||||
"name": "Sabre Turbo",
|
||||
"model": "sabretur",
|
||||
"group": "Muscle"
|
||||
},
|
||||
{
|
||||
"name": "Stallion",
|
||||
"model": "stallion",
|
||||
"group": "Muscle"
|
||||
},
|
||||
{
|
||||
"name": "Voodoo",
|
||||
"model": "voodoo",
|
||||
"group": "Muscle"
|
||||
},
|
||||
{
|
||||
"name": "Virgo",
|
||||
"model": "virgo",
|
||||
"group": "Muscle"
|
||||
},
|
||||
{
|
||||
"name": "Manana",
|
||||
"model": "manana",
|
||||
"group": "Muscle"
|
||||
},
|
||||
{
|
||||
"name": "Esperanto",
|
||||
"model": "esperant",
|
||||
"group": "Muscle"
|
||||
},
|
||||
{
|
||||
"name": "Idaho",
|
||||
"model": "idaho",
|
||||
"group": "Muscle"
|
||||
},
|
||||
{
|
||||
"name": "Blista Compact",
|
||||
"model": "blistac",
|
||||
"group": "Muscle"
|
||||
},
|
||||
{
|
||||
"name": "Admiral",
|
||||
"model": "admiral",
|
||||
"group": "Sedans"
|
||||
},
|
||||
{
|
||||
"name": "Sentinel",
|
||||
"model": "sentinel",
|
||||
"group": "Sedans"
|
||||
},
|
||||
{
|
||||
"name": "Sentinel XS",
|
||||
"model": "sentxs",
|
||||
"group": "Sedans"
|
||||
},
|
||||
{
|
||||
"name": "Washington",
|
||||
"model": "washing",
|
||||
"group": "Sedans"
|
||||
},
|
||||
{
|
||||
"name": "Glendale",
|
||||
"model": "glendale",
|
||||
"group": "Sedans"
|
||||
},
|
||||
{
|
||||
"name": "Greenwood",
|
||||
"model": "greenwoo",
|
||||
"group": "Sedans"
|
||||
},
|
||||
{
|
||||
"name": "Oceanic",
|
||||
"model": "oceanic",
|
||||
"group": "Sedans"
|
||||
},
|
||||
{
|
||||
"name": "Hermes",
|
||||
"model": "hermes",
|
||||
"group": "Sedans"
|
||||
},
|
||||
{
|
||||
"name": "Regina",
|
||||
"model": "regina",
|
||||
"group": "Sedans"
|
||||
},
|
||||
{
|
||||
"name": "Perennial",
|
||||
"model": "peren",
|
||||
"group": "Sedans"
|
||||
},
|
||||
{
|
||||
"name": "Stretch",
|
||||
"model": "stretch",
|
||||
"group": "Sedans"
|
||||
},
|
||||
{
|
||||
"name": "Love Fist",
|
||||
"model": "lovefist",
|
||||
"group": "Sedans"
|
||||
},
|
||||
{
|
||||
"name": "Landstalker",
|
||||
"model": "landstal",
|
||||
"group": "Off-road"
|
||||
},
|
||||
{
|
||||
"name": "Rancher",
|
||||
"model": "rancher",
|
||||
"group": "Off-road"
|
||||
},
|
||||
{
|
||||
"name": "Sandking",
|
||||
"model": "sandking",
|
||||
"group": "Off-road"
|
||||
},
|
||||
{
|
||||
"name": "Patriot",
|
||||
"model": "patriot",
|
||||
"group": "Off-road"
|
||||
},
|
||||
{
|
||||
"name": "BF Injection",
|
||||
"model": "bfinject",
|
||||
"group": "Off-road"
|
||||
},
|
||||
{
|
||||
"name": "Mesa",
|
||||
"model": "mesa",
|
||||
"group": "Off-road"
|
||||
},
|
||||
{
|
||||
"name": "Walton",
|
||||
"model": "walton",
|
||||
"group": "Off-road"
|
||||
},
|
||||
{
|
||||
"name": "Bobcat",
|
||||
"model": "bobcat",
|
||||
"group": "Off-road"
|
||||
},
|
||||
{
|
||||
"name": "Vice Cheetah",
|
||||
"model": "vicechee",
|
||||
"group": "Off-road"
|
||||
},
|
||||
{
|
||||
"name": "PCJ-600",
|
||||
"model": "pcj600",
|
||||
"group": "Bikes"
|
||||
},
|
||||
{
|
||||
"name": "Sanchez",
|
||||
"model": "sanchez",
|
||||
"group": "Bikes"
|
||||
},
|
||||
{
|
||||
"name": "Angel",
|
||||
"model": "angel",
|
||||
"group": "Bikes"
|
||||
},
|
||||
{
|
||||
"name": "Freeway",
|
||||
"model": "freeway",
|
||||
"group": "Bikes"
|
||||
},
|
||||
{
|
||||
"name": "Faggio",
|
||||
"model": "faggio",
|
||||
"group": "Bikes"
|
||||
},
|
||||
{
|
||||
"name": "Pizza Boy",
|
||||
"model": "pizzaboy",
|
||||
"group": "Bikes"
|
||||
},
|
||||
{
|
||||
"name": "Taxi",
|
||||
"model": "taxi",
|
||||
"group": "Service"
|
||||
},
|
||||
{
|
||||
"name": "Cabbie",
|
||||
"model": "cabbie",
|
||||
"group": "Service"
|
||||
},
|
||||
{
|
||||
"name": "Kaufman Cab",
|
||||
"model": "kaufman",
|
||||
"group": "Service"
|
||||
},
|
||||
{
|
||||
"name": "Zebra Cab",
|
||||
"model": "zebra",
|
||||
"group": "Service"
|
||||
},
|
||||
{
|
||||
"name": "Police",
|
||||
"model": "police",
|
||||
"group": "Service"
|
||||
},
|
||||
{
|
||||
"name": "FBI Rancher",
|
||||
"model": "fbiranch",
|
||||
"group": "Service"
|
||||
},
|
||||
{
|
||||
"name": "FBI Washington",
|
||||
"model": "fbicar",
|
||||
"group": "Service"
|
||||
},
|
||||
{
|
||||
"name": "Enforcer",
|
||||
"model": "enforcer",
|
||||
"group": "Service"
|
||||
},
|
||||
{
|
||||
"name": "Ambulance",
|
||||
"model": "ambulan",
|
||||
"group": "Service"
|
||||
},
|
||||
{
|
||||
"name": "Fire Truck",
|
||||
"model": "firetruk",
|
||||
"group": "Service"
|
||||
},
|
||||
{
|
||||
"name": "Barracks",
|
||||
"model": "barracks",
|
||||
"group": "Service"
|
||||
},
|
||||
{
|
||||
"name": "Securicar",
|
||||
"model": "securica",
|
||||
"group": "Service"
|
||||
},
|
||||
{
|
||||
"name": "Caddy",
|
||||
"model": "caddy",
|
||||
"group": "Service"
|
||||
},
|
||||
{
|
||||
"name": "Bus",
|
||||
"model": "bus",
|
||||
"group": "Work"
|
||||
},
|
||||
{
|
||||
"name": "Coach",
|
||||
"model": "coach",
|
||||
"group": "Work"
|
||||
},
|
||||
{
|
||||
"name": "Rumpo",
|
||||
"model": "rumpo",
|
||||
"group": "Work"
|
||||
},
|
||||
{
|
||||
"name": "Pony",
|
||||
"model": "pony",
|
||||
"group": "Work"
|
||||
},
|
||||
{
|
||||
"name": "Mule",
|
||||
"model": "mule",
|
||||
"group": "Work"
|
||||
},
|
||||
{
|
||||
"name": "Benson",
|
||||
"model": "benson",
|
||||
"group": "Work"
|
||||
},
|
||||
{
|
||||
"name": "Yankee",
|
||||
"model": "yankee",
|
||||
"group": "Work"
|
||||
},
|
||||
{
|
||||
"name": "Moonbeam",
|
||||
"model": "moonbeam",
|
||||
"group": "Work"
|
||||
},
|
||||
{
|
||||
"name": "Boxville",
|
||||
"model": "boxville",
|
||||
"group": "Work"
|
||||
},
|
||||
{
|
||||
"name": "Burrito",
|
||||
"model": "burrito",
|
||||
"group": "Work"
|
||||
},
|
||||
{
|
||||
"name": "Flatbed",
|
||||
"model": "flatbed",
|
||||
"group": "Work"
|
||||
},
|
||||
{
|
||||
"name": "Linerunner",
|
||||
"model": "linerun",
|
||||
"group": "Work"
|
||||
},
|
||||
{
|
||||
"name": "Packer",
|
||||
"model": "packer",
|
||||
"group": "Work"
|
||||
},
|
||||
{
|
||||
"name": "Trashmaster",
|
||||
"model": "trash",
|
||||
"group": "Work"
|
||||
},
|
||||
{
|
||||
"name": "Mr. Whoopee",
|
||||
"model": "mrwhoop",
|
||||
"group": "Work"
|
||||
},
|
||||
{
|
||||
"name": "Spand Express",
|
||||
"model": "spand",
|
||||
"group": "Work"
|
||||
},
|
||||
{
|
||||
"name": "Top Fun",
|
||||
"model": "topfun",
|
||||
"group": "Work"
|
||||
},
|
||||
{
|
||||
"name": "Phoenix",
|
||||
"model": "pheonix",
|
||||
"group": "Muscle"
|
||||
},
|
||||
{
|
||||
"name": "Cuban Hermes",
|
||||
"model": "cuban",
|
||||
"group": "Sedans"
|
||||
},
|
||||
{
|
||||
"name": "Romero",
|
||||
"model": "romero",
|
||||
"group": "Sedans"
|
||||
},
|
||||
{
|
||||
"name": "Gang Burrito",
|
||||
"model": "gangbur",
|
||||
"group": "Work"
|
||||
}
|
||||
],
|
||||
"help": [
|
||||
"WASD move Space jump Shift run",
|
||||
"Left fire Right aim F enter car",
|
||||
"T chat Tab players P passive N name",
|
||||
"Hold Q weapon wheel B vehicles Esc menu",
|
||||
"x.com/CRTkafa"
|
||||
],
|
||||
"featured": [
|
||||
"infernus",
|
||||
"cheetah",
|
||||
"banshee",
|
||||
"hotring",
|
||||
"pcj600",
|
||||
"sanchez"
|
||||
],
|
||||
"wheel": [
|
||||
{
|
||||
"name": "Melee",
|
||||
"types": [
|
||||
1,
|
||||
3,
|
||||
4,
|
||||
5,
|
||||
6,
|
||||
9,
|
||||
10,
|
||||
11
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Thrown",
|
||||
"types": [
|
||||
12,
|
||||
14,
|
||||
15
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Pistols",
|
||||
"types": [
|
||||
17,
|
||||
18
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Shotguns",
|
||||
"types": [
|
||||
19,
|
||||
20,
|
||||
21
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "SMG",
|
||||
"types": [
|
||||
22,
|
||||
23,
|
||||
24,
|
||||
25
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Rifles",
|
||||
"types": [
|
||||
26,
|
||||
27
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Sniper",
|
||||
"types": [
|
||||
28
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Heavy",
|
||||
"types": [
|
||||
30,
|
||||
31,
|
||||
32,
|
||||
33
|
||||
]
|
||||
}
|
||||
],
|
||||
"touch": {
|
||||
"renderWidth": 1280,
|
||||
"lookSpeed": 1.6,
|
||||
"stickRadius": 60,
|
||||
"stickDeadZone": 0.3,
|
||||
"rotate": "Turn your phone sideways",
|
||||
"stick": {
|
||||
"up": {
|
||||
"key": "w",
|
||||
"code": "KeyW",
|
||||
"keyCode": 87
|
||||
},
|
||||
"down": {
|
||||
"key": "s",
|
||||
"code": "KeyS",
|
||||
"keyCode": 83
|
||||
},
|
||||
"left": {
|
||||
"key": "a",
|
||||
"code": "KeyA",
|
||||
"keyCode": 65
|
||||
},
|
||||
"right": {
|
||||
"key": "d",
|
||||
"code": "KeyD",
|
||||
"keyCode": 68
|
||||
}
|
||||
},
|
||||
"buttons": [
|
||||
{
|
||||
"label": "FIRE",
|
||||
"icon": "shoot",
|
||||
"mouse": 0,
|
||||
"right": 4,
|
||||
"bottom": 8,
|
||||
"size": 22
|
||||
},
|
||||
{
|
||||
"label": "AIM",
|
||||
"icon": "lockon",
|
||||
"mouse": 2,
|
||||
"right": 28,
|
||||
"bottom": 6,
|
||||
"size": 15
|
||||
},
|
||||
{
|
||||
"label": "JUMP",
|
||||
"icon": "jump",
|
||||
"key": " ",
|
||||
"code": "Space",
|
||||
"keyCode": 32,
|
||||
"right": 6,
|
||||
"bottom": 32,
|
||||
"size": 15
|
||||
},
|
||||
{
|
||||
"label": "RUN",
|
||||
"icon": "run",
|
||||
"key": "Shift",
|
||||
"code": "ShiftLeft",
|
||||
"keyCode": 16,
|
||||
"toggle": true,
|
||||
"right": 22,
|
||||
"bottom": 24,
|
||||
"size": 15
|
||||
},
|
||||
{
|
||||
"label": "CAR",
|
||||
"icon": "enterandexit",
|
||||
"key": "f",
|
||||
"code": "KeyF",
|
||||
"keyCode": 70,
|
||||
"right": 6,
|
||||
"bottom": 50,
|
||||
"size": 15
|
||||
},
|
||||
{
|
||||
"label": "WEAPONS",
|
||||
"icon": "swapgun",
|
||||
"wheel": true,
|
||||
"top": 3,
|
||||
"right": 51,
|
||||
"bar": true
|
||||
},
|
||||
{
|
||||
"label": "VEHICLES",
|
||||
"icon": "car",
|
||||
"key": "b",
|
||||
"code": "KeyB",
|
||||
"keyCode": 66,
|
||||
"top": 3,
|
||||
"right": 40,
|
||||
"bar": true
|
||||
},
|
||||
{
|
||||
"label": "CHAT",
|
||||
"icon": "cellphone",
|
||||
"key": "t",
|
||||
"code": "KeyT",
|
||||
"keyCode": 84,
|
||||
"top": 3,
|
||||
"right": 32,
|
||||
"bar": true
|
||||
},
|
||||
{
|
||||
"label": "PLAYERS",
|
||||
"key": "Tab",
|
||||
"code": "Tab",
|
||||
"keyCode": 9,
|
||||
"top": 3,
|
||||
"right": 62,
|
||||
"bar": true,
|
||||
"icon": "players",
|
||||
"parts": [
|
||||
"circle",
|
||||
"StarIcon"
|
||||
]
|
||||
},
|
||||
{
|
||||
"label": "PASSIVE",
|
||||
"key": "p",
|
||||
"code": "KeyP",
|
||||
"keyCode": 80,
|
||||
"top": 3,
|
||||
"right": 72,
|
||||
"bar": true,
|
||||
"icon": "passive",
|
||||
"parts": [
|
||||
"circle",
|
||||
"ShieldIcon"
|
||||
]
|
||||
},
|
||||
{
|
||||
"label": "MENU",
|
||||
"icon": "pause",
|
||||
"key": "Escape",
|
||||
"code": "Escape",
|
||||
"keyCode": 27,
|
||||
"top": 3,
|
||||
"right": 25,
|
||||
"bar": true,
|
||||
"always": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"carGroups": [
|
||||
"Sports",
|
||||
"Muscle",
|
||||
"Sedans",
|
||||
"Off-road",
|
||||
"Bikes",
|
||||
"Service",
|
||||
"Work"
|
||||
],
|
||||
"radio": [
|
||||
{
|
||||
"station": 0,
|
||||
"icon": "wildstyle",
|
||||
"name": "Wildstyle"
|
||||
},
|
||||
{
|
||||
"station": 1,
|
||||
"icon": "flash",
|
||||
"name": "Flash FM"
|
||||
},
|
||||
{
|
||||
"station": 2,
|
||||
"icon": "kchat",
|
||||
"name": "K-Chat"
|
||||
},
|
||||
{
|
||||
"station": 3,
|
||||
"icon": "fever",
|
||||
"name": "Fever 105"
|
||||
},
|
||||
{
|
||||
"station": 4,
|
||||
"icon": "vrock",
|
||||
"name": "V-Rock"
|
||||
},
|
||||
{
|
||||
"station": 5,
|
||||
"icon": "vcpr",
|
||||
"name": "VCPR"
|
||||
},
|
||||
{
|
||||
"station": 6,
|
||||
"icon": "espantoso",
|
||||
"name": "Radio Espantoso"
|
||||
},
|
||||
{
|
||||
"station": 7,
|
||||
"icon": "emotion",
|
||||
"name": "Emotion 98.3"
|
||||
},
|
||||
{
|
||||
"station": 8,
|
||||
"icon": "wave103",
|
||||
"name": "Wave 103"
|
||||
},
|
||||
{
|
||||
"station": 10,
|
||||
"name": "Radio Off"
|
||||
}
|
||||
]
|
||||
}
|
||||
48
gamefiles/online/menu.schema.json
Normal file
48
gamefiles/online/menu.schema.json
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"title": "Online menus",
|
||||
"type": "object",
|
||||
"required": ["keys", "startWeapons", "weapons", "cars", "featured", "help"],
|
||||
"properties": {
|
||||
"$schema": { "type": "string" },
|
||||
"comment": { "type": "string" },
|
||||
"keys": {
|
||||
"type": "object",
|
||||
"required": ["weapons", "cars", "passive", "name"],
|
||||
"properties": { "name": { "type": "string", "minLength": 1, "maxLength": 1 }, "weapons": { "type": "string", "minLength": 1, "maxLength": 1 }, "cars": { "type": "string", "minLength": 1, "maxLength": 1 }, "passive": { "type": "string", "minLength": 1, "maxLength": 1 } },
|
||||
"additionalProperties": false
|
||||
},
|
||||
"name": { "type": "object" },
|
||||
"startArmour": { "type": "number", "minimum": 0, "maximum": 100 },
|
||||
"startMoney": { "type": "integer", "minimum": 0 },
|
||||
"carGroups": { "type": "array", "items": { "type": "string" } },
|
||||
"death": { "type": "object" },
|
||||
"tags": { "type": "object" },
|
||||
"lookSettleMs": { "type": "number", "minimum": 0 },
|
||||
"helpSeconds": { "type": "number", "minimum": 0 },
|
||||
"desktopRenderWidth": { "type": "integer", "minimum": 640 },
|
||||
"startWeapons": { "type": "array", "items": { "type": "integer", "minimum": 1, "maximum": 36 } },
|
||||
"weapons": {
|
||||
"type": "array", "minItems": 1,
|
||||
"items": {
|
||||
"type": "object", "required": ["name", "type", "ammo"],
|
||||
"properties": { "name": { "type": "string" }, "type": { "type": "integer", "minimum": 1, "maximum": 36 }, "ammo": { "type": "integer", "minimum": 1 }, "icon": { "type": "string" } },
|
||||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
"cars": {
|
||||
"type": "array", "minItems": 1,
|
||||
"items": {
|
||||
"type": "object", "required": ["name", "model"],
|
||||
"properties": { "name": { "type": "string" }, "model": { "type": "string" }, "bike": { "type": "boolean" } },
|
||||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
"featured": { "type": "array", "minItems": 6, "maxItems": 6, "items": { "type": "string" } },
|
||||
"wheel": { "type": "array", "items": { "type": "object", "required": ["name", "types"], "properties": { "name": { "type": "string" }, "types": { "type": "array", "items": { "type": "integer" } } }, "additionalProperties": false } },
|
||||
"radio": { "type": "array", "items": { "type": "object", "required": ["station", "name"], "properties": { "station": { "type": "integer", "minimum": 0, "maximum": 10 }, "icon": { "type": "string" }, "name": { "type": "string" } }, "additionalProperties": false } },
|
||||
"touch": { "type": "object", "required": ["renderWidth", "lookSpeed", "stickRadius", "stickDeadZone", "rotate", "stick", "buttons"] },
|
||||
"help": { "type": "array", "items": { "type": "string" } }
|
||||
},
|
||||
"additionalProperties": false
|
||||
}
|
||||
46
gamefiles/online/net.json
Normal file
46
gamefiles/online/net.json
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
{
|
||||
"$schema": "./net.schema.json",
|
||||
"comment": "Multiplayer tuning. skins = ped models other players are shown with (one per player id, repeating). Distances in world units, times in seconds.",
|
||||
"bubbleSeconds": 6,
|
||||
"bubbleDistance": 60,
|
||||
"infiniteSprint": true,
|
||||
"carStreamDistance": 200,
|
||||
"sendHz": 30,
|
||||
"aimFov": 42,
|
||||
"aimDistance": 0.55,
|
||||
"radarScale": 1.4,
|
||||
"skins": [
|
||||
"HMYBE",
|
||||
"WMYST",
|
||||
"BMYRI",
|
||||
"HMYRI",
|
||||
"WMYRI",
|
||||
"BMYST",
|
||||
"HMYST",
|
||||
"WMYBE"
|
||||
],
|
||||
"snapDistance": 8.0,
|
||||
"smoothing": 12.0,
|
||||
"maxExtrapolation": 0.3,
|
||||
"runSpeed": 3.5,
|
||||
"sprintSpeed": 6.5,
|
||||
"walkSpeed": 0.4,
|
||||
"pedDensity": 5.0,
|
||||
"carDensity": 5.0,
|
||||
"maxPeds": 50,
|
||||
"maxCars": 40,
|
||||
"sandGripScale": 2.0,
|
||||
"sandDragScale": 0.35,
|
||||
"bikeGripScale": 1.5,
|
||||
"spawnProbeHeight": 2.0,
|
||||
"spawnClearance": 0.1,
|
||||
"reconnectMinSeconds": 1,
|
||||
"reconnectMaxSeconds": 10,
|
||||
"deathFadeMs": 500,
|
||||
"deathRespawnMs": 1200,
|
||||
"deathFadeSeconds": 0.4,
|
||||
"tagHeight": 1.2,
|
||||
"swimEnterDepth": 0.3,
|
||||
"swimDepth": 0.45,
|
||||
"swimLift": 0.12
|
||||
}
|
||||
161
gamefiles/online/net.schema.json
Normal file
161
gamefiles/online/net.schema.json
Normal file
|
|
@ -0,0 +1,161 @@
|
|||
{
|
||||
"$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
|
||||
}
|
||||
12
gamefiles/online/spawn.json
Normal file
12
gamefiles/online/spawn.json
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
"$schema": "./spawn.schema.json",
|
||||
"comment": "Where players appear on joining and after death or arrest. x/y in world units, heading in degrees, spreadRadius = random offset so players do not stack.",
|
||||
"points": [
|
||||
{
|
||||
"x": 402.9,
|
||||
"y": -1558.9,
|
||||
"heading": 26.0
|
||||
}
|
||||
],
|
||||
"spreadRadius": 5.0
|
||||
}
|
||||
26
gamefiles/online/spawn.schema.json
Normal file
26
gamefiles/online/spawn.schema.json
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"title": "Online spawn points",
|
||||
"type": "object",
|
||||
"required": ["points", "spreadRadius"],
|
||||
"properties": {
|
||||
"$schema": { "type": "string" },
|
||||
"comment": { "type": "string" },
|
||||
"points": {
|
||||
"type": "array",
|
||||
"minItems": 1,
|
||||
"items": {
|
||||
"type": "object",
|
||||
"required": ["x", "y", "heading"],
|
||||
"properties": {
|
||||
"x": { "type": "number" },
|
||||
"y": { "type": "number" },
|
||||
"heading": { "type": "number", "minimum": 0, "maximum": 360 }
|
||||
},
|
||||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
"spreadRadius": { "type": "number", "minimum": 0 }
|
||||
},
|
||||
"additionalProperties": false
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue