Add modified weapon models

This commit is contained in:
2022-12-07 08:41:10 +01:00
parent 307eec1f4e
commit d2ed1afdc7
23 changed files with 428 additions and 283 deletions

View File

@@ -1,9 +0,0 @@
[gd_resource type="StandardMaterial3D" load_steps=3 format=3 uid="uid://cui8yu4njh1td"]
[ext_resource type="Texture2D" uid="uid://670hioiwiwy0" path="res://assets/Weapons/Gun/untitled.png" id="1_2k5kb"]
[ext_resource type="Texture2D" uid="uid://bsfkj480gegj3" path="res://assets/Weapons/Gun/Revolver_Material_Metallic.png" id="2_3065p"]
[resource]
albedo_texture = ExtResource("1_2k5kb")
metallic = 1.0
metallic_texture = ExtResource("2_3065p")

View File

@@ -1,173 +0,0 @@
{
"asset": {
"generator": "FBX2glTF",
"version": "2.0"
},
"scene": 0,
"buffers": [
{
"byteLength": 66576,
"uri": "buffer.bin"
}
],
"bufferViews": [
{
"buffer": 0,
"byteLength": 7824,
"byteOffset": 0,
"target": 34963
},
{
"buffer": 0,
"byteLength": 22032,
"byteOffset": 7824,
"target": 34962
},
{
"buffer": 0,
"byteLength": 22032,
"byteOffset": 29856,
"target": 34962
},
{
"buffer": 0,
"byteLength": 14688,
"byteOffset": 51888,
"target": 34962
}
],
"scenes": [
{
"name": "Root Scene",
"nodes": [
0
]
}
],
"accessors": [
{
"componentType": 5123,
"type": "SCALAR",
"count": 3912,
"bufferView": 0,
"byteOffset": 0
},
{
"componentType": 5126,
"type": "VEC3",
"count": 1836,
"bufferView": 1,
"byteOffset": 0,
"min": [
-0.015752213075757,
-0.00636364426463842,
-0.056483943015337
],
"max": [
0.015752213075757,
0.131857424974442,
0.00461326725780964
]
},
{
"componentType": 5126,
"type": "VEC3",
"count": 1836,
"bufferView": 2,
"byteOffset": 0
},
{
"componentType": 5126,
"type": "VEC2",
"count": 1836,
"bufferView": 3,
"byteOffset": 0
}
],
"samplers": [
{}
],
"materials": [
{
"name": "Material",
"alphaMode": "OPAQUE",
"extras": {
"fromFBX": {
"shadingModel": "Phong",
"isTruePBR": false
}
},
"pbrMetallicRoughness": {
"baseColorFactor": [
0.800000011920929,
0.800000011920929,
0.800000011920929,
1.0
],
"metallicFactor": 0.400000005960464,
"roughnessFactor": 0.229415729641914
}
}
],
"meshes": [
{
"name": "Cube.011",
"primitives": [
{
"material": 0,
"mode": 4,
"attributes": {
"NORMAL": 2,
"POSITION": 1,
"TEXCOORD_0": 3
},
"indices": 0
}
]
}
],
"nodes": [
{
"name": "RootNode",
"translation": [
0.0,
0.0,
0.0
],
"rotation": [
0.0,
0.0,
0.0,
1.0
],
"scale": [
1.0,
1.0,
1.0
],
"children": [
1
]
},
{
"name": "Cube.011",
"translation": [
-1.86264514923096e-09,
1.2553083896637,
3.58785033226013
],
"rotation": [
-0.707106828689575,
0.0,
0.0,
0.707106709480286
],
"scale": [
100.0,
100.0,
100.0
],
"mesh": 0
}
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 65 KiB

View File

@@ -1,36 +0,0 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bsfkj480gegj3"
path.s3tc="res://.godot/imported/Revolver_Material_Metallic.png-09ddab5aa35e1ae97c0eefe8e355e0f2.s3tc.ctex"
path.etc2="res://.godot/imported/Revolver_Material_Metallic.png-09ddab5aa35e1ae97c0eefe8e355e0f2.etc2.ctex"
metadata={
"imported_formats": ["s3tc", "etc2"],
"vram_texture": true
}
[deps]
source_file="res://assets/Weapons/Gun/Revolver_Material_Metallic.png"
dest_files=["res://.godot/imported/Revolver_Material_Metallic.png-09ddab5aa35e1ae97c0eefe8e355e0f2.s3tc.ctex", "res://.godot/imported/Revolver_Material_Metallic.png-09ddab5aa35e1ae97c0eefe8e355e0f2.etc2.ctex"]
[params]
compress/mode=2
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/bptc_ldr=0
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=0

Binary file not shown.

Before

Width:  |  Height:  |  Size: 33 KiB

View File

@@ -1,36 +0,0 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://670hioiwiwy0"
path.s3tc="res://.godot/imported/untitled.png-171f6a3e6ab8f7068ee4dcf93c2569b8.s3tc.ctex"
path.etc2="res://.godot/imported/untitled.png-171f6a3e6ab8f7068ee4dcf93c2569b8.etc2.ctex"
metadata={
"imported_formats": ["s3tc", "etc2"],
"vram_texture": true
}
[deps]
source_file="res://assets/Weapons/Gun/untitled.png"
dest_files=["res://.godot/imported/untitled.png-171f6a3e6ab8f7068ee4dcf93c2569b8.s3tc.ctex", "res://.godot/imported/untitled.png-171f6a3e6ab8f7068ee4dcf93c2569b8.etc2.ctex"]
[params]
compress/mode=2
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/bptc_ldr=0
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=0

Binary file not shown.

View File

@@ -3,13 +3,13 @@
importer="scene"
importer_version=1
type="PackedScene"
uid="uid://beiad4ywiojba"
path="res://.godot/imported/Revolver.gltf-1c0c2c3864f727f53cf3435925795736.scn"
uid="uid://d3sl3ypfxbfmw"
path="res://.godot/imported/Revolver.glb-42b722e7214b13489cbe235a595da532.scn"
[deps]
source_file="res://assets/Weapons/Gun/Revolver.gltf"
dest_files=["res://.godot/imported/Revolver.gltf-1c0c2c3864f727f53cf3435925795736.scn"]
source_file="res://assets/Weapons/Revolver/Revolver.glb"
dest_files=["res://.godot/imported/Revolver.glb-42b722e7214b13489cbe235a595da532.scn"]
[params]
@@ -26,11 +26,4 @@ skins/use_named_skins=true
animation/import=true
animation/fps=30
import_script/path=""
_subresources={
"materials": {
"Material": {
"use_external/enabled": true,
"use_external/path": "res://assets/Weapons/Gun/Gun.tres"
}
}
}
_subresources={}

View File

Before

Width:  |  Height:  |  Size: 65 KiB

After

Width:  |  Height:  |  Size: 65 KiB

View File

@@ -0,0 +1,289 @@
{
"asset": {
"generator": "FBX2glTF",
"version": "2.0"
},
"scene": 0,
"buffers": [
{
"byteLength": 7484,
"uri": "buffer.bin"
}
],
"bufferViews": [
{
"buffer": 0,
"byteLength": 604,
"byteOffset": 0
},
{
"buffer": 0,
"byteLength": 1812,
"byteOffset": 604
},
{
"buffer": 0,
"byteLength": 2416,
"byteOffset": 2416
},
{
"buffer": 0,
"byteLength": 1812,
"byteOffset": 4832
},
{
"buffer": 0,
"byteLength": 72,
"byteOffset": 6644,
"target": 34963
},
{
"buffer": 0,
"byteLength": 288,
"byteOffset": 6716,
"target": 34962
},
{
"buffer": 0,
"byteLength": 288,
"byteOffset": 7004,
"target": 34962
},
{
"buffer": 0,
"byteLength": 192,
"byteOffset": 7292,
"target": 34962
}
],
"scenes": [
{
"name": "Root Scene",
"nodes": [
0
]
}
],
"accessors": [
{
"componentType": 5126,
"type": "SCALAR",
"count": 151,
"bufferView": 0,
"byteOffset": 0,
"min": [
0.0
],
"max": [
6.25
]
},
{
"componentType": 5126,
"type": "VEC3",
"count": 151,
"bufferView": 1,
"byteOffset": 0
},
{
"componentType": 5126,
"type": "VEC4",
"count": 151,
"bufferView": 2,
"byteOffset": 0
},
{
"componentType": 5126,
"type": "VEC3",
"count": 151,
"bufferView": 3,
"byteOffset": 0
},
{
"componentType": 5123,
"type": "SCALAR",
"count": 36,
"bufferView": 4,
"byteOffset": 0
},
{
"componentType": 5126,
"type": "VEC3",
"count": 24,
"bufferView": 5,
"byteOffset": 0,
"min": [
-0.00477957352995872,
-0.00677411770448089,
-0.0176910851150751
],
"max": [
0.00477957399562001,
0.00677412236109376,
0.0176910851150751
]
},
{
"componentType": 5126,
"type": "VEC3",
"count": 24,
"bufferView": 6,
"byteOffset": 0
},
{
"componentType": 5126,
"type": "VEC2",
"count": 24,
"bufferView": 7,
"byteOffset": 0
}
],
"images": [
{
"name": "untitled.png",
"uri": "untitled.png"
}
],
"samplers": [
{}
],
"textures": [
{
"name": "base_color_texture",
"sampler": 0,
"source": 0
}
],
"materials": [
{
"name": "Material.003",
"alphaMode": "OPAQUE",
"extras": {
"fromFBX": {
"shadingModel": "Phong",
"isTruePBR": false
}
},
"pbrMetallicRoughness": {
"baseColorTexture": {
"index": 0,
"texCoord": 0
},
"baseColorFactor": [
1.0,
1.0,
1.0,
1.0
],
"metallicFactor": 0.400000005960464,
"roughnessFactor": 1.0
}
}
],
"meshes": [
{
"name": "Cube.003",
"primitives": [
{
"material": 0,
"mode": 4,
"attributes": {
"NORMAL": 6,
"POSITION": 5,
"TEXCOORD_0": 7
},
"indices": 4
}
]
}
],
"animations": [
{
"name": "Cube.003|Cube.002Action",
"channels": [
{
"sampler": 0,
"target": {
"node": 1,
"path": "translation"
}
},
{
"sampler": 1,
"target": {
"node": 1,
"path": "rotation"
}
},
{
"sampler": 2,
"target": {
"node": 1,
"path": "scale"
}
}
],
"samplers": [
{
"input": 0,
"interpolation": "LINEAR",
"output": 1
},
{
"input": 0,
"interpolation": "LINEAR",
"output": 2
},
{
"input": 0,
"interpolation": "LINEAR",
"output": 3
}
]
}
],
"nodes": [
{
"name": "RootNode",
"translation": [
0.0,
0.0,
0.0
],
"rotation": [
0.0,
0.0,
0.0,
1.0
],
"scale": [
1.0,
1.0,
1.0
],
"children": [
1
]
},
{
"name": "Cube.003",
"translation": [
0.0,
0.0,
0.0
],
"rotation": [
0.289807051420212,
0.644989848136902,
0.644989788532257,
-0.289807081222534
],
"scale": [
93.5872116088867,
93.5872116088867,
93.5872116088867
],
"mesh": 0
}
]
}

View File

@@ -0,0 +1,29 @@
[remap]
importer="scene"
importer_version=1
type="PackedScene"
uid="uid://0nt2837hvq0i"
path="res://.godot/imported/Magazine.gltf-e920a32b66e939dfd1525af61d83f29d.scn"
[deps]
source_file="res://assets/Weapons/UZI_MAGAZINE/Magazine.gltf"
dest_files=["res://.godot/imported/Magazine.gltf-e920a32b66e939dfd1525af61d83f29d.scn"]
[params]
nodes/root_type="Node3D"
nodes/root_name="Scene Root"
nodes/apply_root_scale=true
nodes/root_scale=1.0
meshes/ensure_tangents=true
meshes/generate_lods=true
meshes/create_shadow_meshes=true
meshes/light_baking=1
meshes/lightmap_texel_size=0.2
skins/use_named_skins=true
animation/import=true
animation/fps=30
import_script/path=""
_subresources={}

Binary file not shown.

BIN
assets/Weapons/Uzi/Uzi.glb Normal file

Binary file not shown.

View File

@@ -0,0 +1,29 @@
[remap]
importer="scene"
importer_version=1
type="PackedScene"
uid="uid://qc35m1a5gq81"
path="res://.godot/imported/Uzi.glb-866af1e12117b5342702c3f3313b68b1.scn"
[deps]
source_file="res://assets/Weapons/Uzi/Uzi.glb"
dest_files=["res://.godot/imported/Uzi.glb-866af1e12117b5342702c3f3313b68b1.scn"]
[params]
nodes/root_type="Node3D"
nodes/root_name="Scene Root"
nodes/apply_root_scale=true
nodes/root_scale=1.0
meshes/ensure_tangents=true
meshes/generate_lods=true
meshes/create_shadow_meshes=true
meshes/light_baking=1
meshes/lightmap_texel_size=0.2
skins/use_named_skins=true
animation/import=true
animation/fps=30
import_script/path=""
_subresources={}

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB