tweaks and continued gd4.4 upgrading
This commit is contained in:
@@ -8,7 +8,6 @@ class_name weapon_resource
|
||||
@export_enum("Mag","Revolver","Bolt Action") var reload_type = 0
|
||||
@export var bullet : bullet_resource
|
||||
@export_enum("Auto", "Single", "Burst") var fire_mode: int
|
||||
@export var hitscan_range : float = 100 ##for hitscan and melee weapons
|
||||
@export var fov_zoom_amt = .98
|
||||
@export var ads : bool = false
|
||||
@export var recoil_amount : Vector3 = Vector3(.05,.05,.05)
|
||||
@@ -22,6 +21,12 @@ class_name weapon_resource
|
||||
@export_group("Gun Assets")
|
||||
@export var casing : Resource
|
||||
@export var mag : Resource
|
||||
@export_group("Vibration Settings")
|
||||
@export var vibration_weak_magnitude : float = .1
|
||||
@export var vibration_strong_magnitude : float = .5
|
||||
@export var vibration_duration = .1
|
||||
@export_group("Revolver Settings")
|
||||
@export var chamber_rot_amount = 60.0
|
||||
@export_group("Shotgun Settings")
|
||||
@export var shotgun_spread : Vector3 = Vector3(.1,.1,.1)
|
||||
@export var pellets_per_shot : int = 20
|
||||
@@ -29,3 +34,5 @@ class_name weapon_resource
|
||||
@export var blast_power : float = 50.0
|
||||
@export_group("Tracker Settings")
|
||||
@export var tracker_asset : Resource
|
||||
@export_group("Hitscan Settings")
|
||||
@export var hitscan_range : float = 100 ##for hitscan and melee weapons
|
||||
|
||||
Reference in New Issue
Block a user