55 lines
1.7 KiB
Plaintext
55 lines
1.7 KiB
Plaintext
[gd_resource type="Resource" script_class="WeaponResource" format=3 uid="uid://bgb8htvjywlwm"]
|
|||
|
|
|
||
|
|
[ext_resource type="PackedScene" uid="uid://x8oniabn746q" path="res://addons/Weapons/Scenes/MuzzleFlashParticleScene.tscn" id="2_lxpym"]
|
||
|
|
[ext_resource type="Script" uid="uid://bnhfyt5sl8jcd" path="res://addons/Weapons/Scripts/WeaponResourcesScript.gd" id="5_ynmrh"]
|
||
|
|
|
||
|
|
[sub_resource type="Curve" id="Curve_eo1mu"]
|
||
|
|
_data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(0.0991379, 1), 0.0, 0.0, 0, 0, Vector2(0.336207, 0.168539), 0.0, 0.0, 0, 0, Vector2(1, 0.0492958), 0.0, 0.0, 0, 0]
|
||
|
|
point_count = 4
|
||
|
|
|
||
|
|
[resource]
|
||
|
|
script = ExtResource("5_ynmrh")
|
||
|
|
weaponName = "Shotgun"
|
||
|
|
weaponId = 3
|
||
|
|
type = 1
|
||
|
|
animBlendTime = 0.2
|
||
|
|
equipAnimName = "EquipAnimShotgun"
|
||
|
|
unequipAnimName = "UnequipAnimShotgun"
|
||
|
|
shootAnimName = "ShootAnimShotgun"
|
||
|
|
reloadAnimName = "ReloadAnimShotgun"
|
||
|
|
totalAmmoInMag = 64
|
||
|
|
totalAmmoInMagRef = 64
|
||
|
|
ammoType = "ShellAmmo"
|
||
|
|
equipTime = 0.2
|
||
|
|
unequipTime = 0.2
|
||
|
|
canAutoShoot = true
|
||
|
|
nbProjShotsAtSameTime = 8
|
||
|
|
nbProjShots = 1
|
||
|
|
minSpread = -0.7
|
||
|
|
maxSpread = 0.7
|
||
|
|
maxRange = 210.0
|
||
|
|
damagePerProj = 25.0
|
||
|
|
damageDropoff = SubResource("Curve_eo1mu")
|
||
|
|
headshotDamageMult = 1.7
|
||
|
|
timeBetweenShots = 0.28
|
||
|
|
nbPartsNeeded = 8
|
||
|
|
reloadTimePerPart = 0.3
|
||
|
|
baseRotSpeed = 7.0
|
||
|
|
targetRotSpeed = 8.0
|
||
|
|
recoilVal = Vector3(0.13, 0.05, 0)
|
||
|
|
position = Array[Vector3]([Vector3(0.196569, -0.209086, -0.0802836), Vector3(0, 3.14159, 0)])
|
||
|
|
tiltRotSpeed = 7.0
|
||
|
|
tiltRotAmount = 0.3
|
||
|
|
minSwayVal = Vector2(-20, -20)
|
||
|
|
maxSwayVal = Vector2(20, 20)
|
||
|
|
swaySpeedPos = 0.1
|
||
|
|
swaySpeedRot = 0.1
|
||
|
|
swayAmountPos = 0.2
|
||
|
|
swayAmountRot = 40.0
|
||
|
|
bobFreq = 0.009
|
||
|
|
bobAmount = 0.022
|
||
|
|
bobSpeed = 10.0
|
||
|
|
onIdleBobFreqDivider = 1.5
|
||
|
|
muzzleFlashRef = ExtResource("2_lxpym")
|
||
|
|
showMuzzleFlash = true
|