Adds grappling gun (#16662)

This commit is contained in:
metalgearsloth
2023-05-27 14:15:15 +10:00
committed by GitHub
parent 9eb4d4edb0
commit 552fbb0585
48 changed files with 753 additions and 35 deletions

View File

@@ -2,3 +2,8 @@
license: "CC0-1.0"
copyright: "Watering by elittle13. Converted to .OGG and MONO by EmoGarbage404 (github)"
source: "https://freesound.org/people/elittle13/sounds/568558"
- files: ["harpoon.ogg"]
license: "CC0-1.0"
copyright: "grappling hook by 16bitstudios. Converted to .OGG and MONO by metalgearsloth"
source: "https://freesound.org/people/16bitstudios/sounds/541975/"

Binary file not shown.

View File

@@ -2,3 +2,8 @@
license: "CC-BY-SA-3.0"
copyright: "Taken from Citadel station."
source: "https://github.com/Citadel-Station-13/Citadel-Station-13-RP/blob/5b43cb2545a19957ec6ce3352dceac5e347e77df/sound/weapons/plasma_cutter.ogg"
- files: ["reel.ogg"]
license: "CC0-1.0"
copyright: "User tosha73 on freesound.org"
source: "https://freesound.org/people/tosha73/sounds/509902/"

Binary file not shown.

View File

@@ -34,6 +34,7 @@ research-technology-basic-xenoarcheology = Basic XenoArcheology
research-technology-alternative-research = Alternative Research
research-technology-magnets-tech = Localized Magnetism
research-technology-advanced-parts = Advanced Parts
research-technology-grappling = Grappling
research-technology-abnormal-artifact-manipulation = Abnormal Artifact Manipulation
research-technology-gravity-manipulation = Gravity Manipulation
research-technology-mobile-anomaly-tech = Mobile Anomaly Tech

View File

@@ -214,22 +214,54 @@
map: [ "unshaded" ]
shader: unshaded
visible: false
- type: ToggleableLightVisuals
spriteLayer: unshaded
inhandVisuals:
left:
- state: inhand-left-unshaded
shader: unshaded
right:
- state: inhand-right-unshaded
shader: unshaded
- type: ToggleableLightVisuals
spriteLayer: unshaded
inhandVisuals:
left:
- state: inhand-left-unshaded
shader: unshaded
right:
- state: inhand-right-unshaded
shader: unshaded
- type: Appearance
- type: GenericVisualizer
visuals:
enum.TetherVisualsStatus.Key:
unshaded:
True: { visible: true }
False: { visible: false }
- type: entity
name: grappling gun
parent: BaseItem
id: WeaponGrapplingGun
components:
- type: AmmoCounter
- type: GrapplingGun
- type: Gun
soundGunshot: /Audio/Weapons/Guns/Gunshots/harpoon.ogg
fireRate: 0.5
- type: RechargeCycleAmmo
- type: BasicEntityAmmoProvider
proto: GrapplingHook
capacity: 1
- type: Sprite
sprite: Objects/Weapons/Guns/Launchers/grappling_gun.rsi
layers:
- state: base
- state: base-unshaded
map: [ "unshaded" ]
shader: unshaded
visible: true
- type: UseDelay
delay: 1.5
- type: Appearance
- type: GenericVisualizer
visuals:
enum.TetherVisualsStatus.Key:
unshaded:
True: { visible: true }
False: { visible: false }
True: { state: base-unshaded }
False: { state: base-unshaded-off }
# Admeme
- type: entity

View File

@@ -670,3 +670,38 @@
radius: 1
color: orange
energy: 0.5
- type: entity
id: GrapplingHook
name: grappling hook
noSpawn: true
components:
- type: EmbeddableProjectile
- type: Clickable
- type: Sprite
noRot: false
sprite: Objects/Weapons/Guns/Launchers/grappling_gun.rsi
layers:
- state: hook
- state: hook-unshaded
shader: unshaded
- type: Physics
bodyType: Dynamic
linearDamping: 0
angularDamping: 0
- type: Projectile
deleteOnCollide: false
damage:
types:
Blunt: 0
- type: Fixtures
fixtures:
projectile:
shape:
!type:PhysShapeAabb
bounds: "-0.1,-0.1,0.1,0.1"
hard: false
mask:
- Impassable
- HighImpassable
- type: GrapplingProjectile

View File

@@ -243,6 +243,7 @@
- HolofanProjector
- WeaponForceGun
- WeaponTetherGun
- WeaponGrapplingGun
- ClothingBackpackHolding
- ClothingBackpackSatchelHolding
- ClothingBackpackDuffelHolding

View File

@@ -120,3 +120,12 @@
Steel: 500
Glass: 400
Silver: 100
- type: latheRecipe
id: WeaponGrapplingGun
result: WeaponGrapplingGun
completetime: 5
materials:
Steel: 500
Glass: 400
Gold: 100

View File

@@ -145,6 +145,18 @@
recipeUnlocks:
- RPED
- type: technology
id: Grappling
name: research-technology-grappling
icon:
sprite: Objects/Weapons/Guns/Launchers/grappling_gun.rsi
state: base
discipline: Experimental
tier: 2
cost: 5000
recipeUnlocks:
- WeaponGrapplingGun
# Tier 3
- type: technology

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.7 KiB

View File

@@ -0,0 +1,45 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Sprited by discord Kheprep#7153",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "base"
},
{
"name": "base-unshaded"
},
{
"name": "base-unshaded-off"
},
{
"name": "inhand-left",
"directions": 4
},
{
"name": "inhand-right",
"directions": 4
},
{
"name": "inhand-left-unshaded",
"directions": 4
},
{
"name": "inhand-right-unshaded",
"directions": 4
},
{
"name": "rope"
},
{
"name": "hook"
},
{
"name": "hook-unshaded"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB