[gd_scene load_steps=2 format=3 uid="uid://df6lkuynwxuwl"] [ext_resource type="Script" path="res://addons/weapon_creator/WeaponCreatorDock.gd" id="1"] [node name="WeaponCreatorDock" type="PanelContainer"] anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 script = ExtResource("1") [node name="MarginContainer" type="MarginContainer" parent="."] layout_mode = 2 theme_override_constants/margin_left = 8 theme_override_constants/margin_top = 8 theme_override_constants/margin_right = 8 theme_override_constants/margin_bottom = 8 [node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer"] layout_mode = 2 theme_override_constants/separation = 8 [node name="TitleLabel" type="Label" parent="MarginContainer/VBoxContainer"] layout_mode = 2 text = "3D Weapon Creator" horizontal_alignment = 1 [node name="HSeparator" type="HSeparator" parent="MarginContainer/VBoxContainer"] layout_mode = 2 [node name="ScrollContainer" type="ScrollContainer" parent="MarginContainer/VBoxContainer"] layout_mode = 2 size_flags_vertical = 3 horizontal_scroll_mode = 0 [node name="MainVBox" type="VBoxContainer" parent="MarginContainer/VBoxContainer/ScrollContainer"] layout_mode = 2 size_flags_horizontal = 3 theme_override_constants/separation = 12 [node name="BasicInfoSection" type="VBoxContainer" parent="MarginContainer/VBoxContainer/ScrollContainer/MainVBox"] layout_mode = 2 theme_override_constants/separation = 4 [node name="BasicInfoLabel" type="Label" parent="MarginContainer/VBoxContainer/ScrollContainer/MainVBox/BasicInfoSection"] layout_mode = 2 text = "Basic Information" theme_type_variation = &"HeaderMedium" [node name="WeaponNameContainer" type="HBoxContainer" parent="MarginContainer/VBoxContainer/ScrollContainer/MainVBox/BasicInfoSection"] layout_mode = 2 [node name="Label" type="Label" parent="MarginContainer/VBoxContainer/ScrollContainer/MainVBox/BasicInfoSection/WeaponNameContainer"] layout_mode = 2 size_flags_horizontal = 3 text = "Weapon Name:" [node name="%WeaponNameEdit" type="LineEdit" parent="MarginContainer/VBoxContainer/ScrollContainer/MainVBox/BasicInfoSection/WeaponNameContainer"] unique_name_in_owner = true layout_mode = 2 size_flags_horizontal = 3 placeholder_text = "e.g., Ice Rifle" [node name="ItemKeyContainer" type="HBoxContainer" parent="MarginContainer/VBoxContainer/ScrollContainer/MainVBox/BasicInfoSection"] layout_mode = 2 [node name="Label" type="Label" parent="MarginContainer/VBoxContainer/ScrollContainer/MainVBox/BasicInfoSection/ItemKeyContainer"] layout_mode = 2 size_flags_horizontal = 3 text = "Item Key:" [node name="%ItemKeyEdit" type="LineEdit" parent="MarginContainer/VBoxContainer/ScrollContainer/MainVBox/BasicInfoSection/ItemKeyContainer"] unique_name_in_owner = true layout_mode = 2 size_flags_horizontal = 3 placeholder_text = "AUTO_GENERATED" [node name="ShortNameContainer" type="HBoxContainer" parent="MarginContainer/VBoxContainer/ScrollContainer/MainVBox/BasicInfoSection"] layout_mode = 2 [node name="Label" type="Label" parent="MarginContainer/VBoxContainer/ScrollContainer/MainVBox/BasicInfoSection/ShortNameContainer"] layout_mode = 2 size_flags_horizontal = 3 text = "Short Name:" [node name="%ShortNameEdit" type="LineEdit" parent="MarginContainer/VBoxContainer/ScrollContainer/MainVBox/BasicInfoSection/ShortNameContainer"] unique_name_in_owner = true layout_mode = 2 size_flags_horizontal = 3 placeholder_text = "e.g., IR-7" [node name="DescriptionLabel" type="Label" parent="MarginContainer/VBoxContainer/ScrollContainer/MainVBox/BasicInfoSection"] layout_mode = 2 text = "Description:" [node name="%DescriptionEdit" type="TextEdit" parent="MarginContainer/VBoxContainer/ScrollContainer/MainVBox/BasicInfoSection"] unique_name_in_owner = true custom_minimum_size = Vector2(0, 60) layout_mode = 2 [node name="BulletPathContainer" type="HBoxContainer" parent="MarginContainer/VBoxContainer/ScrollContainer/MainVBox/BasicInfoSection"] layout_mode = 2 [node name="Label" type="Label" parent="MarginContainer/VBoxContainer/ScrollContainer/MainVBox/BasicInfoSection/BulletPathContainer"] layout_mode = 2 size_flags_horizontal = 3 text = "Bullet Resource:" [node name="%BulletPathEdit" type="LineEdit" parent="MarginContainer/VBoxContainer/ScrollContainer/MainVBox/BasicInfoSection/BulletPathContainer"] unique_name_in_owner = true layout_mode = 2 size_flags_horizontal = 3 text = "res://Resources/Bullets/simple_ice_bullet.tres" [node name="StatsSection" type="VBoxContainer" parent="MarginContainer/VBoxContainer/ScrollContainer/MainVBox"] layout_mode = 2 theme_override_constants/separation = 4 [node name="StatsLabel" type="Label" parent="MarginContainer/VBoxContainer/ScrollContainer/MainVBox/StatsSection"] layout_mode = 2 text = "Weapon Statistics" theme_type_variation = &"HeaderMedium" [node name="StatsGrid" type="GridContainer" parent="MarginContainer/VBoxContainer/ScrollContainer/MainVBox/StatsSection"] layout_mode = 2 columns = 2 [node name="PriorityLabel" type="Label" parent="MarginContainer/VBoxContainer/ScrollContainer/MainVBox/StatsSection/StatsGrid"] layout_mode = 2 text = "Priority:" [node name="%PrioritySpin" type="SpinBox" parent="MarginContainer/VBoxContainer/ScrollContainer/MainVBox/StatsSection/StatsGrid"] unique_name_in_owner = true layout_mode = 2 size_flags_horizontal = 3 max_value = 100.0 value = 1.0 [node name="AmmoPerShotLabel" type="Label" parent="MarginContainer/VBoxContainer/ScrollContainer/MainVBox/StatsSection/StatsGrid"] layout_mode = 2 text = "Ammo Per Shot:" [node name="%AmmoPerShotSpin" type="SpinBox" parent="MarginContainer/VBoxContainer/ScrollContainer/MainVBox/StatsSection/StatsGrid"] unique_name_in_owner = true layout_mode = 2 size_flags_horizontal = 3 max_value = 1000.0 value = 1.0 [node name="RateOfFireLabel" type="Label" parent="MarginContainer/VBoxContainer/ScrollContainer/MainVBox/StatsSection/StatsGrid"] layout_mode = 2 text = "Rate of Fire:" [node name="%RateOfFireSpin" type="SpinBox" parent="MarginContainer/VBoxContainer/ScrollContainer/MainVBox/StatsSection/StatsGrid"] unique_name_in_owner = true layout_mode = 2 size_flags_horizontal = 3 max_value = 100.0 step = 0.1 value = 0.2 [node name="BulletCapacityLabel" type="Label" parent="MarginContainer/VBoxContainer/ScrollContainer/MainVBox/StatsSection/StatsGrid"] layout_mode = 2 text = "Bullet Capacity:" [node name="%BulletCapacitySpin" type="SpinBox" parent="MarginContainer/VBoxContainer/ScrollContainer/MainVBox/StatsSection/StatsGrid"] unique_name_in_owner = true layout_mode = 2 size_flags_horizontal = 3 max_value = 10000.0 value = 100.0 [node name="ReloadTimeLabel" type="Label" parent="MarginContainer/VBoxContainer/ScrollContainer/MainVBox/StatsSection/StatsGrid"] layout_mode = 2 text = "Reload Time:" [node name="%ReloadTimeSpin" type="SpinBox" parent="MarginContainer/VBoxContainer/ScrollContainer/MainVBox/StatsSection/StatsGrid"] unique_name_in_owner = true layout_mode = 2 size_flags_horizontal = 3 max_value = 100.0 step = 0.1 value = 2.0 [node name="InfiniteAmmoLabel" type="Label" parent="MarginContainer/VBoxContainer/ScrollContainer/MainVBox/StatsSection/StatsGrid"] layout_mode = 2 text = "Infinite Ammo:" [node name="%InfiniteAmmoCheck" type="CheckBox" parent="MarginContainer/VBoxContainer/ScrollContainer/MainVBox/StatsSection/StatsGrid"] unique_name_in_owner = true layout_mode = 2 [node name="RechargeTimeLabel" type="Label" parent="MarginContainer/VBoxContainer/ScrollContainer/MainVBox/StatsSection/StatsGrid"] layout_mode = 2 text = "Recharge Time:" [node name="%RechargeTimeSpin" type="SpinBox" parent="MarginContainer/VBoxContainer/ScrollContainer/MainVBox/StatsSection/StatsGrid"] unique_name_in_owner = true layout_mode = 2 size_flags_horizontal = 3 max_value = 100.0 step = 0.1 [node name="RechargeAmountLabel" type="Label" parent="MarginContainer/VBoxContainer/ScrollContainer/MainVBox/StatsSection/StatsGrid"] layout_mode = 2 text = "Recharge Amount:" [node name="%RechargeAmountSpin" type="SpinBox" parent="MarginContainer/VBoxContainer/ScrollContainer/MainVBox/StatsSection/StatsGrid"] unique_name_in_owner = true layout_mode = 2 size_flags_horizontal = 3 max_value = 1000.0 [node name="BulletsPerShotLabel" type="Label" parent="MarginContainer/VBoxContainer/ScrollContainer/MainVBox/StatsSection/StatsGrid"] layout_mode = 2 text = "Bullets Per Shot:" [node name="%BulletsPerShotSpin" type="SpinBox" parent="MarginContainer/VBoxContainer/ScrollContainer/MainVBox/StatsSection/StatsGrid"] unique_name_in_owner = true layout_mode = 2 size_flags_horizontal = 3 max_value = 100.0 value = 1.0 [node name="SpreadAngleLabel" type="Label" parent="MarginContainer/VBoxContainer/ScrollContainer/MainVBox/StatsSection/StatsGrid"] layout_mode = 2 text = "Spread Angle:" [node name="%SpreadAngleSpin" type="SpinBox" parent="MarginContainer/VBoxContainer/ScrollContainer/MainVBox/StatsSection/StatsGrid"] unique_name_in_owner = true layout_mode = 2 size_flags_horizontal = 3 max_value = 360.0 step = 0.1 [node name="RandomSpreadLabel" type="Label" parent="MarginContainer/VBoxContainer/ScrollContainer/MainVBox/StatsSection/StatsGrid"] layout_mode = 2 text = "Random Spread:" [node name="%RandomSpreadSpin" type="SpinBox" parent="MarginContainer/VBoxContainer/ScrollContainer/MainVBox/StatsSection/StatsGrid"] unique_name_in_owner = true layout_mode = 2 size_flags_horizontal = 3 max_value = 360.0 step = 0.1 [node name="ButtonsContainer" type="HBoxContainer" parent="MarginContainer/VBoxContainer"] layout_mode = 2 alignment = 1 [node name="%CreateButton" type="Button" parent="MarginContainer/VBoxContainer/ButtonsContainer"] unique_name_in_owner = true layout_mode = 2 text = "Create Weapon" [node name="%ClearLogButton" type="Button" parent="MarginContainer/VBoxContainer/ButtonsContainer"] unique_name_in_owner = true layout_mode = 2 text = "Clear Log" [node name="HSeparator2" type="HSeparator" parent="MarginContainer/VBoxContainer"] layout_mode = 2 [node name="LogLabel" type="Label" parent="MarginContainer/VBoxContainer"] layout_mode = 2 text = "Output Log:" [node name="LogContainer" type="ScrollContainer" parent="MarginContainer/VBoxContainer"] custom_minimum_size = Vector2(0, 150) layout_mode = 2 size_flags_vertical = 3 [node name="%LogText" type="RichTextLabel" parent="MarginContainer/VBoxContainer/LogContainer"] unique_name_in_owner = true layout_mode = 2 size_flags_horizontal = 3 size_flags_vertical = 3 bbcode_enabled = true scroll_following = true