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,57 @@
[gd_resource type="Resource" script_class="WeaponResource" format=3 uid="uid://cbxau8flaoifg"]
[ext_resource type="PackedScene" uid="uid://x8oniabn746q" path="res://addons/Weapons/Scenes/MuzzleFlashParticleScene.tscn" id="2_4d7vg"]
[ext_resource type="AudioStream" uid="uid://b88waak17hcaf" path="res://Sound/effect/reloading-weapons.mp3" id="2_wwj3m"]
[ext_resource type="AudioStream" uid="uid://db15o7lfgctub" path="res://Sound/effect/ak.mp3" id="3_mqb0n"]
[ext_resource type="Script" uid="uid://bnhfyt5sl8jcd" path="res://addons/Weapons/Scripts/WeaponResourcesScript.gd" id="4_i0hia"]
[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("4_i0hia")
weaponName = "AssaultRifle"
weaponId = 2
type = 1
animBlendTime = 0.2
equipAnimName = "EquipAnimAssaultRifle"
unequipAnimName = "UnequipAnimAssaultRifle"
shootAnimName = "ShootAnimAssaultRifle"
reloadAnimName = "ReloadAnimAssaultRifle"
shootSound = ExtResource("3_mqb0n")
reloadSound = ExtResource("2_wwj3m")
totalAmmoInMag = 30
totalAmmoInMagRef = 30
ammoType = "MediumAmmo"
equipTime = 0.2
unequipTime = 0.2
canAutoShoot = true
nbProjShotsAtSameTime = 1
nbProjShots = 1
minSpread = -0.03
maxSpread = 0.03
maxRange = 290.0
damagePerProj = 25.0
damageDropoff = SubResource("Curve_eo1mu")
headshotDamageMult = 2.0
timeBetweenShots = 0.11
reloadTimePerPart = 2.1
baseRotSpeed = 7.0
targetRotSpeed = 8.0
recoilVal = Vector3(0.08, 0.04, 0)
position = Array[Vector3]([Vector3(0.194412, -0.18, -0.144264), Vector3(0, 3.142, 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_4d7vg")
showMuzzleFlash = true
@@ -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
@@ -0,0 +1,54 @@
[gd_resource type="Resource" script_class="WeaponResource" format=3 uid="uid://dn71dyben68oe"]
[ext_resource type="PackedScene" uid="uid://u4tj3ey6tjg8" path="res://addons/Weapons/Scenes/RocketScene.tscn" id="1_hdqr8"]
[ext_resource type="PackedScene" uid="uid://x8oniabn746q" path="res://addons/Weapons/Scenes/MuzzleFlashParticleScene.tscn" id="1_icrwl"]
[ext_resource type="Script" uid="uid://bnhfyt5sl8jcd" path="res://addons/Weapons/Scripts/WeaponResourcesScript.gd" id="4_ws8wg"]
[sub_resource type="Curve" id="Curve_8j8ql"]
_data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(0.969231, 0.0578563), 0.0, 0.0, 0, 0]
point_count = 2
[resource]
script = ExtResource("4_ws8wg")
weaponName = "RocketLauncher"
weaponId = 5
type = 2
animBlendTime = 0.2
equipAnimName = "EquipAnimRocketLauncher"
unequipAnimName = "UnequipAnimRocketLauncher"
shootAnimName = "ShootAnimRocketLancher"
reloadAnimName = "ReloadAnimRocketLauncher"
totalAmmoInMag = 1
totalAmmoInMagRef = 1
ammoType = "RocketAmmo"
equipTime = 0.2
unequipTime = 0.2
canAutoShoot = true
nbProjShotsAtSameTime = 1
nbProjShots = 1
damagePerProj = 340.0
damageDropoff = SubResource("Curve_8j8ql")
timeBetweenShots = 0.82
reloadTimePerPart = 1.9
baseRotSpeed = 3.0
targetRotSpeed = 6.5
recoilVal = Vector3(0.19, 0.03, 0)
isProjExplosive = true
projRef = ExtResource("1_hdqr8")
projMoveSpeed = 25.0
projTimeBeforeVanish = 10.0
position = Array[Vector3]([Vector3(0.177288, -0.268151, -0.15469), Vector3(0, 3.14159, 0)])
tiltRotSpeed = 7.0
tiltRotAmount = 0.2
minSwayVal = Vector2(-20, -20)
maxSwayVal = Vector2(20, 20)
swaySpeedPos = 0.1
swaySpeedRot = 0.1
swayAmountPos = 0.2
swayAmountRot = 48.0
bobFreq = 0.01
bobAmount = 0.025
bobSpeed = 10.0
onIdleBobFreqDivider = 1.2
muzzleFlashRef = ExtResource("1_icrwl")
showMuzzleFlash = true
@@ -0,0 +1,54 @@
[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
@@ -0,0 +1,51 @@
[gd_resource type="Resource" script_class="WeaponResource" format=3 uid="uid://b63lj0c7tash0"]
[ext_resource type="PackedScene" uid="uid://x8oniabn746q" path="res://addons/Weapons/Scenes/MuzzleFlashParticleScene.tscn" id="2_ijpj8"]
[ext_resource type="Script" uid="uid://bnhfyt5sl8jcd" path="res://addons/Weapons/Scripts/WeaponResourcesScript.gd" id="5_kospc"]
[sub_resource type="Curve" id="Curve_eo1mu"]
_data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(0.678639, 1), 0.0, 0.0, 0, 0, Vector2(1, 0.462132), 0.0, 0.0, 0, 0]
point_count = 3
[resource]
script = ExtResource("5_kospc")
weaponName = "SniperRifle"
weaponId = 4
type = 1
animBlendTime = 0.2
equipAnimName = "EquipAnimSniperRifle"
unequipAnimName = "UnequipAnimSniperRifle"
shootAnimName = "ShootAnimSniperRifle"
reloadAnimName = "ReloadAnimSniperRifle"
totalAmmoInMag = 5
totalAmmoInMagRef = 5
ammoType = "HeavyAmmo"
equipTime = 0.2
unequipTime = 0.2
canAutoShoot = true
nbProjShotsAtSameTime = 1
nbProjShots = 1
maxRange = 490.0
damagePerProj = 180.0
damageDropoff = SubResource("Curve_eo1mu")
headshotDamageMult = 2.0
timeBetweenShots = 0.95
reloadTimePerPart = 2.0
baseRotSpeed = 5.0
targetRotSpeed = 9.0
recoilVal = Vector3(0.2, 0.04, 0)
position = Array[Vector3]([Vector3(0.208089, -0.137525, -0.165069), Vector3(0, 3.14159, 0)])
tiltRotSpeed = 7.0
tiltRotAmount = 0.25
minSwayVal = Vector2(-20, -20)
maxSwayVal = Vector2(20, 20)
swaySpeedPos = 0.07
swaySpeedRot = 0.1
swayAmountPos = 0.2
swayAmountRot = 44.0
bobFreq = 0.01
bobAmount = 0.023
bobSpeed = 10.0
onIdleBobFreqDivider = 1.4
muzzleFlashRef = ExtResource("2_ijpj8")
showMuzzleFlash = true