first commit

This commit is contained in:
2026-07-20 22:48:58 +07:00
commit e80aea750e
599 changed files with 2375815 additions and 0 deletions
@@ -0,0 +1,58 @@
[gd_resource type="Resource" script_class="WeaponResource" format=3 uid="uid://j42d6dl8qkaj"]
[ext_resource type="PackedScene" uid="uid://x8oniabn746q" path="res://addons/Weapons/Scenes/MuzzleFlashParticleScene.tscn" id="1_0bp1b"]
[ext_resource type="Script" uid="uid://bnhfyt5sl8jcd" path="res://addons/Weapons/Scripts/WeaponResourcesScript.gd" id="2_0fmbw"]
[ext_resource type="AudioStream" uid="uid://wqg8m4nlm87s" path="res://Sound/effect/pistol-loaded-to-fire.mp3" id="2_vx7n8"]
[ext_resource type="AudioStream" uid="uid://dreqp22wgbfnn" path="res://Sound/effect/pistol.mp3" id="3_5tegi"]
[sub_resource type="Curve" id="Curve_eo1mu"]
_data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(0.097493, 1), 0.0, 0.0, 0, 0, Vector2(0.643454, 0.0704225), 0.0, 0.0, 0, 0, Vector2(1, 0.0492958), 0.0, 0.0, 0, 0]
point_count = 4
[resource]
script = ExtResource("2_0fmbw")
weaponName = "Pistol"
weaponId = 1
type = 1
animBlendTime = 0.2
equipAnimName = "EquipAnimPistol"
unequipAnimName = "UnequipAnimPistol"
shootAnimName = "ShootAnimPistol"
reloadAnimName = "ReloadAnimPistol"
shootSound = ExtResource("3_5tegi")
reloadSound = ExtResource("2_vx7n8")
totalAmmoInMag = 10
totalAmmoInMagRef = 10
ammoType = "LightAmmo"
equipTime = 0.2
unequipTime = 0.2
canAutoShoot = true
nbProjShotsAtSameTime = 1
nbProjShots = 1
minSpread = -0.01
maxSpread = 0.01
maxRange = 100.0
damagePerProj = 10.0
damageDropoff = SubResource("Curve_eo1mu")
headshotDamageMult = 2.0
timeBetweenShots = 0.19
autoReload = false
reloadTimePerPart = 1.1
baseRotSpeed = 7.0
targetRotSpeed = 8.0
recoilVal = Vector3(0.04, 0.012, 0)
position = Array[Vector3]([Vector3(0.20047, -0.153444, -0.150842), Vector3(0, 3.142, 0)])
tiltRotSpeed = 4.04
tiltRotAmount = 0.3
minSwayVal = Vector2(-20, -20)
maxSwayVal = Vector2(20, 20)
swaySpeedPos = 0.1
swaySpeedRot = 0.1
swayAmountPos = 0.2
swayAmountRot = 28.0
bobFreq = 0.008
bobAmount = 0.018
bobSpeed = 10.0
onIdleBobFreqDivider = 2.0
muzzleFlashRef = ExtResource("1_0bp1b")
showMuzzleFlash = true