From 62b82917675a332466bd30a171edda5a171685b8 Mon Sep 17 00:00:00 2001 From: Artyom Date: Tue, 11 Oct 2022 15:21:58 +0300 Subject: [PATCH] part 1 of 5 --- package-lock.json | 29 ++++++++++--------- package.json | 1 + snippets/ini_snippets.json | 57 +++++++++++++++++++++++++++++++++++++- 3 files changed, 73 insertions(+), 14 deletions(-) diff --git a/package-lock.json b/package-lock.json index 7f56728..ad07919 100644 --- a/package-lock.json +++ b/package-lock.json @@ -148,9 +148,9 @@ "dev": true }, "node_modules/@types/node": { - "version": "16.11.64", - "resolved": "https://registry.npmjs.org/@types/node/-/node-16.11.64.tgz", - "integrity": "sha512-z5hPTlVFzNwtJ2LNozTpJcD1Cu44c4LNuzaq1mwxmiHWQh2ULdR6Vjwo1UGldzRpzL0yUEdZddnfqGW2G70z6Q==", + "version": "16.11.65", + "resolved": "https://registry.npmjs.org/@types/node/-/node-16.11.65.tgz", + "integrity": "sha512-Vfz7wGMOr4jbQGiQHVJm8VjeQwM9Ya7mHe9LtQ264/Epf5n1KiZShOFqk++nBzw6a/ubgYdB9Od7P+MH/LjoWw==", "dev": true }, "node_modules/@types/vscode": { @@ -1403,10 +1403,13 @@ } }, "node_modules/minimist": { - "version": "1.2.6", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.6.tgz", - "integrity": "sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q==", - "dev": true + "version": "1.2.7", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.7.tgz", + "integrity": "sha512-bzfL1YUZsP41gmu/qjrEk0Q6i2ix/cVeAhbCbqH9u3zYutS1cLg00qhrD0M2MVdCcx4Sc0UpP2eBWo9rotpq6g==", + "dev": true, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } }, "node_modules/mkdirp": { "version": "0.5.6", @@ -2308,9 +2311,9 @@ "dev": true }, "@types/node": { - "version": "16.11.64", - "resolved": "https://registry.npmjs.org/@types/node/-/node-16.11.64.tgz", - "integrity": "sha512-z5hPTlVFzNwtJ2LNozTpJcD1Cu44c4LNuzaq1mwxmiHWQh2ULdR6Vjwo1UGldzRpzL0yUEdZddnfqGW2G70z6Q==", + "version": "16.11.65", + "resolved": "https://registry.npmjs.org/@types/node/-/node-16.11.65.tgz", + "integrity": "sha512-Vfz7wGMOr4jbQGiQHVJm8VjeQwM9Ya7mHe9LtQ264/Epf5n1KiZShOFqk++nBzw6a/ubgYdB9Od7P+MH/LjoWw==", "dev": true }, "@types/vscode": { @@ -3256,9 +3259,9 @@ } }, "minimist": { - "version": "1.2.6", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.6.tgz", - "integrity": "sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q==", + "version": "1.2.7", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.7.tgz", + "integrity": "sha512-bzfL1YUZsP41gmu/qjrEk0Q6i2ix/cVeAhbCbqH9u3zYutS1cLg00qhrD0M2MVdCcx4Sc0UpP2eBWo9rotpq6g==", "dev": true }, "mkdirp": { diff --git a/package.json b/package.json index 95c0fe5..f37099e 100644 --- a/package.json +++ b/package.json @@ -2,6 +2,7 @@ "name": "assetto-corsa-extension-config-snippets", "displayName": "Assetto Corsa Extension Config snippets", "description": "Assetto Corsa Extension Config snippets for easily work with game", + "publisher": "corych", "version": "0.0.1", "engines": { "vscode": "^1.72.0" diff --git a/snippets/ini_snippets.json b/snippets/ini_snippets.json index 6a0f30e..b54e5a3 100644 --- a/snippets/ini_snippets.json +++ b/snippets/ini_snippets.json @@ -27,7 +27,7 @@ "prefix": "material_license_plate", "description": "Includes license plate materials base", "body":[ - "[INCLUDE: common/materials_licene_plate.ini]" + "[INCLUDE: common/materials_license_plate.ini]" ] }, @@ -310,5 +310,60 @@ "DetailNormalPBRSmoothnessGamma = 1", "DetailTextureBlur = 1" ] + }, + + "Include v2 leather interior material base":{ + "prefix": "materials_interior_leather_v2", + "description": "Include v2 leather interior materials base", + "body": [ + "[Material_Leather_v2]", + "Materials = Material", + "Reflectance = 0.04", + "DetailNormalTexture = common/pbr_leather_bumpy.dds", + "DetailNormalIntensity = 3", + "DetailNormalPBRSecondaryColor = 1, 1, 1, 0.08", + "DetailNormalBlend = -1" + ] + }, + + "Include v2 spotty leather interior material base":{ + "prefix": "materials_interior_spotty_leather_v2", + "description": "Include v2 spotty leather interior materials base", + "body": [ + "[Material_LeatherSpotty_v2]", + "Materials = Material", + "Reflectance = 0.03", + "DetailNormalTexture = common/pbr_leather_spotty.dds", + "DetailNormalPBRSecondaryColor = 0, 0, 0, 0.1" + ] + }, + + "Include v2 poked leather interior material base":{ + "prefix": "materials_interior_poked_leather_v2", + "description": "Include v2 poked leather interior materials base", + "body": [ + "[Material_LeatherPoked_v2]", + "Materials = Material", + "Reflectance = 0.04", + "DetailNormalTexture = common/pbr_leather_pattern.dds", + "DetailNormalIntensity = 2", + "DetailNormalPBRSecondaryColor = 0, 0, 0, 10", + "DetailNormalPBRReflectance = 10" + ] + }, + + "Include v2 fabric interior material base":{ + "prefix": "materials_interior_fabric_v2", + "description": "Include fabric interior materials base", + "body": [ + "[Material_Fabric_v2]", + "Materials = Material", + "Reflectance = 0.02", + "DetailNormalTexture = common/pbr_fabric.dds", + "DetailNormalPBRSecondaryColor = 0, 0, 0, 0.3", + "UseClothShading = 1", + "Reflectance = 0.4", + "ClothSheenColor = 1, 1, 1" + ] } } \ No newline at end of file