Nuke boom buoom

This commit is contained in:
Victor Turgeon 2023-06-11 14:02:05 -04:00
parent 891647905e
commit 9986cd0f19
6 changed files with 53 additions and 3 deletions

View File

@ -6,10 +6,7 @@
- https://www.youtube.com/watch?v=7L6ZUYj1hs8
## 3d Assets
- https://ace-spectre.itch.io/ps1-heavy-and-light-weapons-pack
- https://loafbrr.itch.io/small-apartment-block
- https://dripsone.itch.io/barrels-psx-low-poly
- https://t-allen-studios.itch.io/turret-pack-01
- https://davidoreilly.itch.io/everything-library-buildings
## Textures

BIN
assets/meshes/nuke.glb Normal file

Binary file not shown.

23
assets/meshes/nuke.tscn Normal file
View File

@ -0,0 +1,23 @@
[gd_scene load_steps=2 format=3 uid="uid://py8i4xd737su"]
[ext_resource type="PackedScene" uid="uid://c1jm7opwb0i3l" path="res://assets/meshes/nuke.glb" id="1_c0u7n"]
[node name="nuke" instance=ExtResource("1_c0u7n")]
[node name="barrel" parent="." index="0"]
transform = Transform3D(13.841, 0, 1.81305, 0, 4.55649, 0, -1.81305, 0, 13.841, 0.425865, 0.923079, -2.34237)
[node name="barrel001" parent="." index="1"]
transform = Transform3D(-10.859, -4.22546e-07, -1.42244, 3.53092e-06, -1.3106, 2.30277e-07, -1.42244, -2.75573e-08, 10.859, 0.149696, 5.33207, -2.48934)
[node name="Sphere" parent="." index="2"]
transform = Transform3D(8.78036, 0, 0, 0, 7.04411, 0, 0, 0, 8.78036, 0.213692, 6.0137, -2.55096)
[node name="Sphere001" parent="." index="3"]
transform = Transform3D(7.77461, 0, 0, 0, 6.23723, 0, 0, 0, 7.77461, 0.213692, 7.40261, -2.55096)
[node name="Sphere002" parent="." index="4"]
transform = Transform3D(6.93864, 0, 0, 0, 5.56657, 0, 0, 0, 6.93864, 0.213692, 8.36782, -2.55096)
[node name="base018" parent="." index="5"]
transform = Transform3D(0.01, 0, 0, 0, -3.57628e-09, -0.000221213, 0, 0.01, -7.9112e-11, 0.572624, 6.1917, -2.18874)

Binary file not shown.

After

Width:  |  Height:  |  Size: 115 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 196 KiB

View File

@ -0,0 +1,30 @@
[gd_scene load_steps=4 format=3 uid="uid://bh6e2nxqswoqg"]
[ext_resource type="Script" path="res://buildings/arms_building.cs" id="1_wbsyl"]
[ext_resource type="PackedScene" uid="uid://py8i4xd737su" path="res://assets/meshes/nuke.tscn" id="2_upv26"]
[ext_resource type="PackedScene" uid="uid://m3lrwoup4i4r" path="res://buildings/grass_block.tscn" id="3_xrkoj"]
[node name="radiotower" type="Node3D" node_paths=PackedStringArray("BlocksNode")]
transform = Transform3D(-1, 0, -1.50996e-07, 0, 1, 0, 1.50996e-07, 0, -1, 0, 0, 0)
script = ExtResource("1_wbsyl")
Megaton = 10
ApprovalDrop = 5
BlocksNode = NodePath("blocks")
DisplayName = "Radio Tower"
KashCost = 30
[node name="nuke" parent="." instance=ExtResource("2_upv26")]
transform = Transform3D(0.119675, 0, 0, 0, 0.119675, 0, 0, 0, 0.119675, -1.0343, 0.45843, -0.638305)
[node name="blocks" type="Node3D" parent="."]
[node name="grass_block" parent="blocks" instance=ExtResource("3_xrkoj")]
[node name="grass_block2" parent="blocks" instance=ExtResource("3_xrkoj")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2, 0, -1.74846e-07)
[node name="grass_block3" parent="blocks" instance=ExtResource("3_xrkoj")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.82782e-07, 0, -2)
[node name="grass_block4" parent="blocks" instance=ExtResource("3_xrkoj")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2, 0, -2)