]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Minigun inhands + HMG multihand and slow move speed (#35344)
authorK-Dynamic <20566341+K-Dynamic@users.noreply.github.com>
Thu, 10 Jul 2025 12:42:02 +0000 (00:42 +1200)
committerGitHub <noreply@github.com>
Thu, 10 Jul 2025 12:42:02 +0000 (14:42 +0200)
* hmg move speed

* minigun inhands

* even better inhands

* touch-up

Resources/Prototypes/Entities/Objects/Weapons/Guns/HMGs/hmgs.yml
Resources/Textures/Objects/Weapons/Guns/HMGs/minigun.rsi/inhand-left.png [new file with mode: 0644]
Resources/Textures/Objects/Weapons/Guns/HMGs/minigun.rsi/inhand-right.png [new file with mode: 0644]
Resources/Textures/Objects/Weapons/Guns/HMGs/minigun.rsi/meta.json

index e1de308b12352d52103697e5874993af02ece40b..cbed4c7760f54d432b487cced7b6b09846cc9cd0 100644 (file)
@@ -8,6 +8,11 @@
   - type: Sprite
   - type: Item
     size: Ginormous
+  - type: MultiHandedItem
+  - type: ClothingSpeedModifier
+    walkModifier: 0.8
+    sprintModifier: 0.8
+  - type: HeldSpeedModifier
   - type: Gun
     fireRate: 20
     selectedMode: FullAuto
diff --git a/Resources/Textures/Objects/Weapons/Guns/HMGs/minigun.rsi/inhand-left.png b/Resources/Textures/Objects/Weapons/Guns/HMGs/minigun.rsi/inhand-left.png
new file mode 100644 (file)
index 0000000..b11cd62
Binary files /dev/null and b/Resources/Textures/Objects/Weapons/Guns/HMGs/minigun.rsi/inhand-left.png differ
diff --git a/Resources/Textures/Objects/Weapons/Guns/HMGs/minigun.rsi/inhand-right.png b/Resources/Textures/Objects/Weapons/Guns/HMGs/minigun.rsi/inhand-right.png
new file mode 100644 (file)
index 0000000..39f1a90
Binary files /dev/null and b/Resources/Textures/Objects/Weapons/Guns/HMGs/minigun.rsi/inhand-right.png differ
index 54fc2938ce49ee6429586ea59a8894bd4dc6ac8b..fc09537d257e6bf31bbfa785488e1fe96e727186 100644 (file)
@@ -1,31 +1,39 @@
 {
-  "version": 1,
-  "license": "CC-BY-SA-3.0",
-  "copyright": "https://github.com/tgstation/tgstation/commit/a39e3f3f1f351e3be5ae955c4de3a2e8889e191b",
-  "size": {
-    "x": 32,
-    "y": 32
-  },
-  "states": [
-    {
-      "name": "holstered"
+    "version": 1,
+    "license": "CC-BY-SA-3.0",
+    "copyright": "Assets taken from /tg/station 13 at https://github.com/tgstation/tgstation/commit/a39e3f3f1f351e3be5ae955c4de3a2e8889e191b. inhand-left, inhand-right by K-Dynamic (github).",
+    "size": {
+        "x": 32,
+        "y": 32
     },
-    {
-      "name": "notholstered"
-    },
-    {
-      "name": "base",
-      "delays": [
-        [
-          0.1,
-          0.1,
-          0.1,
-          0.1
-        ]
-      ]
-    },
-    {
-      "name": "icon"
-    }
-  ]
-}
\ No newline at end of file
+    "states": [
+        {
+            "name": "icon"
+        },
+        {
+            "name": "inhand-left",
+            "directions": 4
+        },
+        {
+            "name": "inhand-right",
+            "directions": 4
+        },
+        {
+            "name": "holstered"
+        },
+        {
+            "name": "notholstered"
+        },
+        {
+            "name": "base",
+            "delays": [
+                [
+                0.1,
+                0.1,
+                0.1,
+                0.1
+                ]
+            ]
+        }
+    ]
+}