way too many changes to list, oops. big rewrite.
This commit is contained in:
17
Weapons/Ascension/ascension.tscn
Normal file
17
Weapons/Ascension/ascension.tscn
Normal file
@ -0,0 +1,17 @@
|
||||
[gd_scene load_steps=6 format=3 uid="uid://df27vi4stdgjx"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://b7nargdyg28fj" path="res://Scenes/Weapons/weapon.tscn" id="1_533eh"]
|
||||
[ext_resource type="Script" uid="uid://bg8jqsqf83tbf" path="res://Weapons/Ascension/ascension_weapon.gd" id="2_s1gtk"]
|
||||
[ext_resource type="Resource" uid="uid://do05i1xtdwfqk" path="res://Weapons/Ascension/weapon_stats.tres" id="3_s1gtk"]
|
||||
[ext_resource type="Texture2D" uid="uid://dc6g4iw3eje0e" path="res://Weapons/Ascension/ascension_export.png" id="4_evfnb"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_4kfie"]
|
||||
atlas = ExtResource("4_evfnb")
|
||||
region = Rect2(0, 0, 64, 64)
|
||||
|
||||
[node name="Weapon" instance=ExtResource("1_533eh")]
|
||||
script = ExtResource("2_s1gtk")
|
||||
stats = ExtResource("3_s1gtk")
|
||||
|
||||
[node name="Sprite3D" parent="." index="0"]
|
||||
texture = SubResource("AtlasTexture_4kfie")
|
BIN
Weapons/Ascension/ascension_export.png
Normal file
BIN
Weapons/Ascension/ascension_export.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.9 KiB |
35
Weapons/Ascension/ascension_export.png.import
Normal file
35
Weapons/Ascension/ascension_export.png.import
Normal file
@ -0,0 +1,35 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://dc6g4iw3eje0e"
|
||||
path.s3tc="res://.godot/imported/ascension_export.png-f435b49fb5a6cc70d59171b329503da5.s3tc.ctex"
|
||||
metadata={
|
||||
"imported_formats": ["s3tc_bptc"],
|
||||
"vram_texture": true
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Weapons/Ascension/ascension_export.png"
|
||||
dest_files=["res://.godot/imported/ascension_export.png-f435b49fb5a6cc70d59171b329503da5.s3tc.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=2
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
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
|
6
Weapons/Ascension/ascension_weapon.gd
Normal file
6
Weapons/Ascension/ascension_weapon.gd
Normal file
@ -0,0 +1,6 @@
|
||||
class_name AscensionWeapon extends Weapon
|
||||
|
||||
|
||||
func shoot() -> void:
|
||||
super.shoot()
|
||||
hero.movement.apply_ragdoll(-hero.camera.global_basis.z * 14.0)
|
1
Weapons/Ascension/ascension_weapon.gd.uid
Normal file
1
Weapons/Ascension/ascension_weapon.gd.uid
Normal file
@ -0,0 +1 @@
|
||||
uid://bg8jqsqf83tbf
|
30
Weapons/Ascension/weapon_stats.tres
Normal file
30
Weapons/Ascension/weapon_stats.tres
Normal file
@ -0,0 +1,30 @@
|
||||
[gd_resource type="Resource" script_class="CardText" load_steps=6 format=3 uid="uid://do05i1xtdwfqk"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://yjb0uv6og430" path="res://Scripts/Resources/stat_attribute.gd" id="1_c5ghd"]
|
||||
[ext_resource type="Script" uid="uid://dg7gxxqfqxcmc" path="res://Scripts/Resources/card_text.gd" id="2_hwijr"]
|
||||
|
||||
[sub_resource type="Resource" id="Resource_c5ghd"]
|
||||
script = ExtResource("1_c5ghd")
|
||||
key = "Fire Delay"
|
||||
value = 2.0
|
||||
metadata/_custom_type_script = "uid://yjb0uv6og430"
|
||||
|
||||
[sub_resource type="Resource" id="Resource_hwijr"]
|
||||
script = ExtResource("1_c5ghd")
|
||||
key = "Damage"
|
||||
value = 0.0
|
||||
metadata/_custom_type_script = "uid://yjb0uv6og430"
|
||||
|
||||
[sub_resource type="Resource" id="Resource_5pac0"]
|
||||
script = ExtResource("1_c5ghd")
|
||||
key = "Energy"
|
||||
value = 5.0
|
||||
metadata/_custom_type_script = "uid://yjb0uv6og430"
|
||||
|
||||
[resource]
|
||||
script = ExtResource("2_hwijr")
|
||||
target_type = 2
|
||||
energy_type = 1
|
||||
attributes = Array[ExtResource("1_c5ghd")]([SubResource("Resource_c5ghd"), SubResource("Resource_hwijr"), SubResource("Resource_5pac0")])
|
||||
text = "Send yourself flying"
|
||||
metadata/_custom_type_script = "uid://dg7gxxqfqxcmc"
|
Reference in New Issue
Block a user