mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-17 11:53:48 +00:00
Enemy information
This commit is contained in:
parent
fff3ddc3cf
commit
b9b8834bc2
11 changed files with 118 additions and 61 deletions
43
Resources/Weapons/Enemy/TurretWeapon.tres
Normal file
43
Resources/Weapons/Enemy/TurretWeapon.tres
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
[gd_resource type="Resource" script_class="WeaponResource" load_steps=7 format=3 uid="uid://dyaxm3st70sh6"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://dh81snen2f6bf" path="res://Scenes/Weapons/Bullets/enemyBullet_rice_blue_small.tscn" id="1_uu3nm"]
|
||||
[ext_resource type="Script" uid="uid://b6h8slfcd5suh" path="res://Scripts/Resources/DecreasingSpeedModifier.cs" id="2_1ok24"]
|
||||
[ext_resource type="Script" uid="uid://dslyrfcej3g2n" path="res://Scripts/Resources/BulletResource.cs" id="3_elbjf"]
|
||||
[ext_resource type="Script" uid="uid://b6fmrnipv88bk" path="res://Scripts/Resources/WeaponResource.cs" id="4_17dut"]
|
||||
|
||||
[sub_resource type="Resource" id="Resource_ktwe0"]
|
||||
script = ExtResource("2_1ok24")
|
||||
decreaseRate = 0.1
|
||||
metadata/_custom_type_script = "uid://b6h8slfcd5suh"
|
||||
|
||||
[sub_resource type="Resource" id="Resource_5eesc"]
|
||||
script = ExtResource("3_elbjf")
|
||||
BulletScene = ExtResource("1_uu3nm")
|
||||
BulletSpeed = 100.0
|
||||
Direction = Vector2(1, 0)
|
||||
BulletDamage = 40.0
|
||||
LifeTime = 10.0
|
||||
DestroyOnCollision = true
|
||||
Owner = 2
|
||||
DamageType = 0
|
||||
Controllable = false
|
||||
Modifier = SubResource("Resource_ktwe0")
|
||||
TimeModifiers = Array[Object]([])
|
||||
metadata/_custom_type_script = "uid://dslyrfcej3g2n"
|
||||
|
||||
[resource]
|
||||
script = ExtResource("4_17dut")
|
||||
Name = null
|
||||
BulletData = SubResource("Resource_5eesc")
|
||||
RateOfFire = 0.4
|
||||
BulletCapacity = 20
|
||||
ReloadTime = 2.0
|
||||
AutoReload = true
|
||||
InfiniteAmmo = true
|
||||
BulletsPerShot = 1
|
||||
SpreadAngle = 0.0
|
||||
RandomSpread = 0.0
|
||||
ItemKey = null
|
||||
AmmoKey = null
|
||||
_rotationOffset = 0.0
|
||||
metadata/_custom_type_script = "uid://b6fmrnipv88bk"
|
||||
Loading…
Add table
Add a link
Reference in a new issue