Updated grenade model, textures and scene.
After Width: | Height: | Size: 8.7 KiB |
After Width: | Height: | Size: 8.3 KiB |
After Width: | Height: | Size: 149 KiB |
After Width: | Height: | Size: 351 KiB |
|
@ -1,29 +1,31 @@
|
||||||
[gd_scene load_steps=5 format=2]
|
[gd_scene load_steps=5 format=2]
|
||||||
|
|
||||||
[ext_resource path="res://Assets/Weapons/GrenadeLauncher/Grenade.gd" type="Script" id=1]
|
[ext_resource path="res://Assets/Weapons/GrenadeLauncher/Grenade.gd" type="Script" id=1]
|
||||||
[ext_resource path="res://Assets/Weapons/GrenadeLauncher/GrenadeMesh.tscn" type="PackedScene" id=2]
|
[ext_resource path="res://Assets/Weapons/GrenadeLauncher/Grenade.gltf" type="PackedScene" id=2]
|
||||||
|
|
||||||
[sub_resource type="PhysicsMaterial" id=3]
|
[sub_resource type="PhysicsMaterial" id=1]
|
||||||
friction = 0.3
|
friction = 0.3
|
||||||
bounce = 0.7
|
bounce = 0.7
|
||||||
|
|
||||||
[sub_resource type="CapsuleShape" id=4]
|
[sub_resource type="CapsuleShape" id=2]
|
||||||
radius = 0.102523
|
radius = 0.102523
|
||||||
height = 0.105712
|
height = 0.105712
|
||||||
|
|
||||||
[node name="Grenade" type="RigidBody"]
|
[node name="Grenade" type="RigidBody"]
|
||||||
physics_material_override = SubResource( 3 )
|
physics_material_override = SubResource( 1 )
|
||||||
script = ExtResource( 1 )
|
script = ExtResource( 1 )
|
||||||
|
|
||||||
[node name="GrenadeMesh" parent="." instance=ExtResource( 2 )]
|
[node name="Grenade" parent="." instance=ExtResource( 2 )]
|
||||||
transform = Transform( 4.37114e-08, -1, -3.82137e-15, -1, -4.37114e-08, 8.74228e-08, -8.74228e-08, 0, -1, 0, 0, 0 )
|
transform = Transform( -4.37114e-08, 1, 0, -1, -4.37114e-08, 0, 0, 0, 1, 0, 0, 0 )
|
||||||
|
|
||||||
[node name="CollisionShape" type="CollisionShape" parent="."]
|
[node name="CollisionShape" type="CollisionShape" parent="."]
|
||||||
transform = Transform( 1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, 0, 0, 0 )
|
transform = Transform( 1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, 0, 0, 0 )
|
||||||
shape = SubResource( 4 )
|
shape = SubResource( 2 )
|
||||||
|
|
||||||
[node name="Timer" type="Timer" parent="."]
|
[node name="Timer" type="Timer" parent="."]
|
||||||
wait_time = 2.0
|
wait_time = 2.0
|
||||||
autostart = true
|
autostart = true
|
||||||
|
|
||||||
[connection signal="timeout" from="Timer" to="." method="explode"]
|
[connection signal="timeout" from="Timer" to="." method="explode"]
|
||||||
|
|
||||||
|
[editable path="Grenade"]
|
||||||
|
|
Before Width: | Height: | Size: 36 KiB |
|
@ -1,34 +0,0 @@
|
||||||
[remap]
|
|
||||||
|
|
||||||
importer="texture"
|
|
||||||
type="StreamTexture"
|
|
||||||
path="res://.import/Grenade_Albedo.png-f8a955586b64474507b79400f8ca5592.stex"
|
|
||||||
metadata={
|
|
||||||
"vram_texture": false
|
|
||||||
}
|
|
||||||
|
|
||||||
[deps]
|
|
||||||
|
|
||||||
source_file="res://Assets/Weapons/GrenadeLauncher/Grenade_Albedo.png"
|
|
||||||
dest_files=[ "res://.import/Grenade_Albedo.png-f8a955586b64474507b79400f8ca5592.stex" ]
|
|
||||||
|
|
||||||
[params]
|
|
||||||
|
|
||||||
compress/mode=0
|
|
||||||
compress/lossy_quality=0.7
|
|
||||||
compress/hdr_mode=0
|
|
||||||
compress/bptc_ldr=0
|
|
||||||
compress/normal_map=0
|
|
||||||
flags/repeat=0
|
|
||||||
flags/filter=true
|
|
||||||
flags/mipmaps=false
|
|
||||||
flags/anisotropic=false
|
|
||||||
flags/srgb=2
|
|
||||||
process/fix_alpha_border=true
|
|
||||||
process/premult_alpha=false
|
|
||||||
process/HDR_as_SRGB=false
|
|
||||||
process/invert_color=false
|
|
||||||
stream=false
|
|
||||||
size_limit=0
|
|
||||||
detect_3d=true
|
|
||||||
svg/scale=1.0
|
|
Before Width: | Height: | Size: 3.9 KiB |
|
@ -1,34 +0,0 @@
|
||||||
[remap]
|
|
||||||
|
|
||||||
importer="texture"
|
|
||||||
type="StreamTexture"
|
|
||||||
path="res://.import/Grenade_Emit.png-4bb2816af2ce5c286deadb67ab7839f2.stex"
|
|
||||||
metadata={
|
|
||||||
"vram_texture": false
|
|
||||||
}
|
|
||||||
|
|
||||||
[deps]
|
|
||||||
|
|
||||||
source_file="res://Assets/Weapons/GrenadeLauncher/Grenade_Emit.png"
|
|
||||||
dest_files=[ "res://.import/Grenade_Emit.png-4bb2816af2ce5c286deadb67ab7839f2.stex" ]
|
|
||||||
|
|
||||||
[params]
|
|
||||||
|
|
||||||
compress/mode=0
|
|
||||||
compress/lossy_quality=0.7
|
|
||||||
compress/hdr_mode=0
|
|
||||||
compress/bptc_ldr=0
|
|
||||||
compress/normal_map=0
|
|
||||||
flags/repeat=0
|
|
||||||
flags/filter=true
|
|
||||||
flags/mipmaps=false
|
|
||||||
flags/anisotropic=false
|
|
||||||
flags/srgb=2
|
|
||||||
process/fix_alpha_border=true
|
|
||||||
process/premult_alpha=false
|
|
||||||
process/HDR_as_SRGB=false
|
|
||||||
process/invert_color=false
|
|
||||||
stream=false
|
|
||||||
size_limit=0
|
|
||||||
detect_3d=true
|
|
||||||
svg/scale=1.0
|
|
Before Width: | Height: | Size: 13 KiB |
|
@ -1,34 +0,0 @@
|
||||||
[remap]
|
|
||||||
|
|
||||||
importer="texture"
|
|
||||||
type="StreamTexture"
|
|
||||||
path="res://.import/Grenade_Metallness.png-71caa908a594791271a32b67a2507521.stex"
|
|
||||||
metadata={
|
|
||||||
"vram_texture": false
|
|
||||||
}
|
|
||||||
|
|
||||||
[deps]
|
|
||||||
|
|
||||||
source_file="res://Assets/Weapons/GrenadeLauncher/Grenade_Metallness.png"
|
|
||||||
dest_files=[ "res://.import/Grenade_Metallness.png-71caa908a594791271a32b67a2507521.stex" ]
|
|
||||||
|
|
||||||
[params]
|
|
||||||
|
|
||||||
compress/mode=0
|
|
||||||
compress/lossy_quality=0.7
|
|
||||||
compress/hdr_mode=0
|
|
||||||
compress/bptc_ldr=0
|
|
||||||
compress/normal_map=0
|
|
||||||
flags/repeat=0
|
|
||||||
flags/filter=true
|
|
||||||
flags/mipmaps=false
|
|
||||||
flags/anisotropic=false
|
|
||||||
flags/srgb=2
|
|
||||||
process/fix_alpha_border=true
|
|
||||||
process/premult_alpha=false
|
|
||||||
process/HDR_as_SRGB=false
|
|
||||||
process/invert_color=false
|
|
||||||
stream=false
|
|
||||||
size_limit=0
|
|
||||||
detect_3d=true
|
|
||||||
svg/scale=1.0
|
|
Before Width: | Height: | Size: 279 KiB |
Before Width: | Height: | Size: 20 KiB |
|
@ -1,34 +0,0 @@
|
||||||
[remap]
|
|
||||||
|
|
||||||
importer="texture"
|
|
||||||
type="StreamTexture"
|
|
||||||
path="res://.import/Grenade_Roughness.png-660d12756854cf1b4e01f6e46e521caa.stex"
|
|
||||||
metadata={
|
|
||||||
"vram_texture": false
|
|
||||||
}
|
|
||||||
|
|
||||||
[deps]
|
|
||||||
|
|
||||||
source_file="res://Assets/Weapons/GrenadeLauncher/Grenade_Roughness.png"
|
|
||||||
dest_files=[ "res://.import/Grenade_Roughness.png-660d12756854cf1b4e01f6e46e521caa.stex" ]
|
|
||||||
|
|
||||||
[params]
|
|
||||||
|
|
||||||
compress/mode=0
|
|
||||||
compress/lossy_quality=0.7
|
|
||||||
compress/hdr_mode=0
|
|
||||||
compress/bptc_ldr=0
|
|
||||||
compress/normal_map=0
|
|
||||||
flags/repeat=0
|
|
||||||
flags/filter=true
|
|
||||||
flags/mipmaps=false
|
|
||||||
flags/anisotropic=false
|
|
||||||
flags/srgb=2
|
|
||||||
process/fix_alpha_border=true
|
|
||||||
process/premult_alpha=false
|
|
||||||
process/HDR_as_SRGB=false
|
|
||||||
process/invert_color=false
|
|
||||||
stream=false
|
|
||||||
size_limit=0
|
|
||||||
detect_3d=true
|
|
||||||
svg/scale=1.0
|
|
After Width: | Height: | Size: 8.7 KiB |
|
@ -0,0 +1,36 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="StreamTexture"
|
||||||
|
path.s3tc="res://.import/Grenade_Albedo.png-b75ab46a2e98841f8fbe10225c1f999f.s3tc.stex"
|
||||||
|
path.etc2="res://.import/Grenade_Albedo.png-b75ab46a2e98841f8fbe10225c1f999f.etc2.stex"
|
||||||
|
metadata={
|
||||||
|
"imported_formats": [ "s3tc", "etc2" ],
|
||||||
|
"vram_texture": true
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://Assets/Weapons/GrenadeLauncher/Grenade_Textures/Grenade_Albedo.png"
|
||||||
|
dest_files=[ "res://.import/Grenade_Albedo.png-b75ab46a2e98841f8fbe10225c1f999f.s3tc.stex", "res://.import/Grenade_Albedo.png-b75ab46a2e98841f8fbe10225c1f999f.etc2.stex" ]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=2
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_mode=0
|
||||||
|
compress/bptc_ldr=0
|
||||||
|
compress/normal_map=0
|
||||||
|
flags/repeat=true
|
||||||
|
flags/filter=true
|
||||||
|
flags/mipmaps=true
|
||||||
|
flags/anisotropic=false
|
||||||
|
flags/srgb=1
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/HDR_as_SRGB=false
|
||||||
|
process/invert_color=false
|
||||||
|
stream=false
|
||||||
|
size_limit=256
|
||||||
|
detect_3d=false
|
||||||
|
svg/scale=1.0
|
After Width: | Height: | Size: 8.3 KiB |
|
@ -0,0 +1,36 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="StreamTexture"
|
||||||
|
path.s3tc="res://.import/Grenade_Emit.png-e55fbf3963841af0b4a0d0ea7bfac379.s3tc.stex"
|
||||||
|
path.etc2="res://.import/Grenade_Emit.png-e55fbf3963841af0b4a0d0ea7bfac379.etc2.stex"
|
||||||
|
metadata={
|
||||||
|
"imported_formats": [ "s3tc", "etc2" ],
|
||||||
|
"vram_texture": true
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://Assets/Weapons/GrenadeLauncher/Grenade_Textures/Grenade_Emit.png"
|
||||||
|
dest_files=[ "res://.import/Grenade_Emit.png-e55fbf3963841af0b4a0d0ea7bfac379.s3tc.stex", "res://.import/Grenade_Emit.png-e55fbf3963841af0b4a0d0ea7bfac379.etc2.stex" ]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=2
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_mode=0
|
||||||
|
compress/bptc_ldr=0
|
||||||
|
compress/normal_map=0
|
||||||
|
flags/repeat=true
|
||||||
|
flags/filter=true
|
||||||
|
flags/mipmaps=true
|
||||||
|
flags/anisotropic=false
|
||||||
|
flags/srgb=1
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/HDR_as_SRGB=false
|
||||||
|
process/invert_color=false
|
||||||
|
stream=false
|
||||||
|
size_limit=256
|
||||||
|
detect_3d=false
|
||||||
|
svg/scale=1.0
|
After Width: | Height: | Size: 149 KiB |
|
@ -2,8 +2,8 @@
|
||||||
|
|
||||||
importer="texture"
|
importer="texture"
|
||||||
type="StreamTexture"
|
type="StreamTexture"
|
||||||
path.s3tc="res://.import/Grenade_Normal.png-8569f0f8a36921b87d275360d21c571f.s3tc.stex"
|
path.s3tc="res://.import/Grenade_Normal.png-4fc71acc0e899466470093bc13ba1d4e.s3tc.stex"
|
||||||
path.etc2="res://.import/Grenade_Normal.png-8569f0f8a36921b87d275360d21c571f.etc2.stex"
|
path.etc2="res://.import/Grenade_Normal.png-4fc71acc0e899466470093bc13ba1d4e.etc2.stex"
|
||||||
metadata={
|
metadata={
|
||||||
"imported_formats": [ "s3tc", "etc2" ],
|
"imported_formats": [ "s3tc", "etc2" ],
|
||||||
"vram_texture": true
|
"vram_texture": true
|
||||||
|
@ -11,8 +11,8 @@ metadata={
|
||||||
|
|
||||||
[deps]
|
[deps]
|
||||||
|
|
||||||
source_file="res://Assets/Weapons/GrenadeLauncher/Grenade_Normal.png"
|
source_file="res://Assets/Weapons/GrenadeLauncher/Grenade_Textures/Grenade_Normal.png"
|
||||||
dest_files=[ "res://.import/Grenade_Normal.png-8569f0f8a36921b87d275360d21c571f.s3tc.stex", "res://.import/Grenade_Normal.png-8569f0f8a36921b87d275360d21c571f.etc2.stex" ]
|
dest_files=[ "res://.import/Grenade_Normal.png-4fc71acc0e899466470093bc13ba1d4e.s3tc.stex", "res://.import/Grenade_Normal.png-4fc71acc0e899466470093bc13ba1d4e.etc2.stex" ]
|
||||||
|
|
||||||
[params]
|
[params]
|
||||||
|
|
||||||
|
@ -31,6 +31,6 @@ process/premult_alpha=false
|
||||||
process/HDR_as_SRGB=false
|
process/HDR_as_SRGB=false
|
||||||
process/invert_color=false
|
process/invert_color=false
|
||||||
stream=false
|
stream=false
|
||||||
size_limit=0
|
size_limit=256
|
||||||
detect_3d=false
|
detect_3d=false
|
||||||
svg/scale=1.0
|
svg/scale=1.0
|
After Width: | Height: | Size: 351 KiB |
|
@ -0,0 +1,36 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="StreamTexture"
|
||||||
|
path.s3tc="res://.import/Grenade_ORM.png-a2b05b25cb0c1e79ecb3ae3bfc599d68.s3tc.stex"
|
||||||
|
path.etc2="res://.import/Grenade_ORM.png-a2b05b25cb0c1e79ecb3ae3bfc599d68.etc2.stex"
|
||||||
|
metadata={
|
||||||
|
"imported_formats": [ "s3tc", "etc2" ],
|
||||||
|
"vram_texture": true
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://Assets/Weapons/GrenadeLauncher/Grenade_Textures/Grenade_ORM.png"
|
||||||
|
dest_files=[ "res://.import/Grenade_ORM.png-a2b05b25cb0c1e79ecb3ae3bfc599d68.s3tc.stex", "res://.import/Grenade_ORM.png-a2b05b25cb0c1e79ecb3ae3bfc599d68.etc2.stex" ]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=2
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_mode=0
|
||||||
|
compress/bptc_ldr=0
|
||||||
|
compress/normal_map=0
|
||||||
|
flags/repeat=true
|
||||||
|
flags/filter=true
|
||||||
|
flags/mipmaps=true
|
||||||
|
flags/anisotropic=false
|
||||||
|
flags/srgb=2
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/HDR_as_SRGB=false
|
||||||
|
process/invert_color=false
|
||||||
|
stream=false
|
||||||
|
size_limit=256
|
||||||
|
detect_3d=false
|
||||||
|
svg/scale=1.0
|