mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-01 10:05:34 +00:00
33 lines
1.1 KiB
Text
33 lines
1.1 KiB
Text
[gd_resource type="Resource" script_class="BulletResource" load_steps=4 format=3 uid="uid://laser3d_example"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://bkv1sf54u3agr" path="res://Scenes/Weapons/Bullets/Laser_Bullet_3D.tscn" id="1_laser_scene"]
|
|
[ext_resource type="Script" uid="uid://dslyrfcej3g2n" path="res://Scripts/Resources/BulletResource.cs" id="2_bullet_res"]
|
|
[ext_resource type="Script" uid="uid://5utr3255hbln" path="res://Scripts/Actors/3D/LaserConfig.cs" id="3_laser_config"]
|
|
|
|
[sub_resource type="Resource" id="LaserConfig_example"]
|
|
script = ExtResource("3_laser_config")
|
|
MaxLength = 100.0
|
|
WarningRadius = 0.025
|
|
DamageRadius = 0.05
|
|
WarningDuration = 0.5
|
|
ExpansionDelay = 0.0
|
|
ExpansionDuration = 0.2
|
|
ActiveDuration = 2.0
|
|
GeometryLayer = 1
|
|
Damagelayer = 2
|
|
|
|
[resource]
|
|
script = ExtResource("2_bullet_res")
|
|
BulletScene = ExtResource("1_laser_scene")
|
|
BulletSpeed = 0.0
|
|
BulletDamage = 10.0
|
|
MaxDamage = 10.0
|
|
Knockback = 0.0
|
|
LifeTime = 3.0
|
|
Owner = 2
|
|
DamageType = 0
|
|
GrazeValue = 0.5
|
|
Attributes = 0
|
|
TimeModifiers = []
|
|
IsLaser = true
|
|
LaserConfig = SubResource("LaserConfig_example")
|