Mapping and models

This commit is contained in:
Marco 2025-07-09 17:18:09 +02:00
commit 8c2d7eae66
13 changed files with 1755 additions and 1608 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

Binary file not shown.

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load diff

View file

@ -6,6 +6,7 @@
size = Vector3(2.0110168, 0.868431, 0.871704)
[node name="TubeStraight" type="StaticBody3D" groups=["Solid"]]
collision_mask = 0
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.0017549396, 0.00475672, 0.0043335)

View file

@ -15,6 +15,6 @@ description = "Tube Emitter"
base_classes = Array[Resource]([ExtResource("1_cogy3")])
meta_properties = {
"model": "\"3D/MapModels/actor_emitter_tube.glb\"",
"size": AABB(-8, -8, -8, 8, 8, 8)
"size": AABB(-2, -8, -8, 2, 8, 8)
}
metadata/_custom_type_script = "uid://c83r7t467hm4m"

View file

@ -1,7 +1,7 @@
[gd_resource type="Resource" script_class="FuncGodotFGDModelPointClass" load_steps=4 format=3 uid="uid://5jxyln87hluw"]
[ext_resource type="Resource" uid="uid://5bc1qysixhmh" path="res://3D/TrenchBroom/EntityDefinitions/base/actor_base.tres" id="1_bwovp"]
[ext_resource type="PackedScene" uid="uid://7s7t2piaf8cq" path="res://3D/BlockbenchModels/Tubes/Tube_Straight_Long.gltf" id="2_bwovp"]
[ext_resource type="PackedScene" uid="uid://xxq6rhhdlbk3" path="res://3D/Scenes/Props/Tube_3D_Straight_Long.tscn" id="2_bwovp"]
[ext_resource type="Script" uid="uid://dkmyelig23ub5" path="res://addons/func_godot/src/fgd/func_godot_fgd_model_point_class.gd" id="3_r30wg"]
[resource]

View file

@ -0,0 +1,23 @@
[gd_resource type="Resource" script_class="BulletScript3D" load_steps=6 format=3 uid="uid://cx0rbqwvfmm5w"]
[ext_resource type="Resource" uid="uid://dugnfpcenki5l" path="res://Resources/Bullets/3D/simple_blue_bullet_3D.tres" id="1_7k2by"]
[ext_resource type="Script" uid="uid://b5s5mjuk1rng5" path="res://Scripts/Resources/TimeModifier.cs" id="2_3hbyi"]
[ext_resource type="Script" uid="uid://bxiprx5nwmpnu" path="res://Scripts/AttackPatterns/ShootingPattern3D.cs" id="3_knai5"]
[ext_resource type="Script" uid="uid://w8hcpu68ssq" path="res://Scripts/Resources/BulletScripts/BulletScript3D.cs" id="4_ohb2x"]
[sub_resource type="Resource" id="Resource_7k2by"]
script = ExtResource("3_knai5")
BulletResource = ExtResource("1_7k2by")
bulletCount = 3
UseParentRotationOffset = true
duration = 10.0
spread = 60.0
burstInterval = 0.1
ShotsPerBurst = 6
BurstRate = 0.5
metadata/_custom_type_script = "uid://bxiprx5nwmpnu"
[resource]
script = ExtResource("4_ohb2x")
Patterns = Array[Object]([SubResource("Resource_7k2by")])
metadata/_custom_type_script = "uid://w8hcpu68ssq"

View file

@ -0,0 +1,16 @@
[gd_resource type="Resource" script_class="BulletResource" load_steps=4 format=3 uid="uid://dugnfpcenki5l"]
[ext_resource type="PackedScene" uid="uid://crcdug04y1dxy" path="res://Scenes/Weapons/base_generic_bullet_3D.tscn" id="1_ip36r"]
[ext_resource type="Texture2D" uid="uid://dooyhu8vt63vm" path="res://Sprites/Bullets/mid_bullet_blue.png" id="2_6vscb"]
[ext_resource type="Script" uid="uid://dslyrfcej3g2n" path="res://Scripts/Resources/BulletResource.cs" id="3_likdx"]
[resource]
script = ExtResource("3_likdx")
BulletScene = ExtResource("1_ip36r")
BulletSprite = ExtResource("2_6vscb")
BulletSize = 0.161
BulletSpeed = 3.0
BulletDamage = 12.0
GrazeValue = 1.0
Attributes = 290
TimeModifiers = []

View file

@ -0,0 +1,54 @@
[gd_scene load_steps=8 format=3 uid="uid://crcdug04y1dxy"]
[ext_resource type="Script" uid="uid://cg6y36s7buapp" path="res://Scripts/Weapons/Bullet3D.cs" id="1_1hlxa"]
[ext_resource type="Texture2D" uid="uid://dooyhu8vt63vm" path="res://Sprites/Bullets/mid_bullet_blue.png" id="2_1hlxa"]
[ext_resource type="AudioStream" uid="uid://b3rm0vj6x54k4" path="res://SFX/th_knockoff_sfx/click_collect.wav" id="3_4sq4m"]
[ext_resource type="Material" uid="uid://ogkwkokxevat" path="res://Resources/Particles/graze_particle_3D.tres" id="4_83jmy"]
[sub_resource type="SphereShape3D" id="SphereShape3D_pklkt"]
radius = 0.161126
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_t5ure"]
vertex_color_use_as_albedo = true
[sub_resource type="QuadMesh" id="QuadMesh_nd0aw"]
lightmap_size_hint = Vector2i(2, 2)
material = SubResource("StandardMaterial3D_t5ure")
size = Vector2(0.1, 0.1)
orientation = 1
[node name="Bullet" type="Area3D" groups=["bullets"]]
collision_layer = 136
collision_mask = 87
script = ExtResource("1_1hlxa")
Speed = 200.0
metadata/_edit_group_ = true
[node name="Sprite" type="Sprite3D" parent="."]
transform = Transform3D(0.707107, -0.5, 0.5, 0, 0.707107, 0.707107, -0.707107, -0.5, 0.5, 0, 0, 0)
pixel_size = 0.05
texture_filter = 0
texture = ExtResource("2_1hlxa")
[node name="CollisionShape" type="CollisionShape3D" parent="."]
shape = SubResource("SphereShape3D_pklkt")
[node name="VisibleOnScreenNotifier" type="VisibleOnScreenNotifier3D" parent="."]
[node name="GrazeSound" type="AudioStreamPlayer3D" parent="."]
stream = ExtResource("3_4sq4m")
bus = &"Effects"
[node name="GrazeParticles" type="GPUParticles3D" parent="."]
transform = Transform3D(0.70710677, 0.49999997, 0.49999997, 0, 0.70710677, -0.70710677, -0.70710677, 0.49999997, 0.49999997, 0, 0, 0)
emitting = false
amount = 2
lifetime = 0.2
one_shot = true
local_coords = true
process_material = ExtResource("4_83jmy")
draw_pass_1 = SubResource("QuadMesh_nd0aw")
[connection signal="area_entered" from="." to="." method="_on_area_entered"]
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
[connection signal="screen_exited" from="VisibleOnScreenNotifier" to="." method="_on_visible_on_screen_notifier_2d_screen_exited"]