Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Railgun #718

Merged
merged 45 commits into from
Apr 29, 2024
Merged
Show file tree
Hide file tree
Changes from 13 commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
29b5884
test
musicmanvr Jan 22, 2024
51d17d2
cleanup
musicmanvr Jan 22, 2024
6f0da88
addition to uplink
musicmanvr Jan 22, 2024
790ce86
Update railgun_ammo.yml
musicmanvr Jan 22, 2024
95f16b5
laser variant
musicmanvr Jan 22, 2024
e126385
laser railgun cleanup
musicmanvr Jan 22, 2024
4ca7cf5
adds the caninator
musicmanvr Jan 22, 2024
baa8e82
admeme variant and removal of clown variant for now
musicmanvr Jan 23, 2024
49359a4
Merge branch 'DeltaV-Station:master' into Railgun
musicmanvr Jan 23, 2024
4f48a86
Slowdown in Hands
musicmanvr Jan 24, 2024
9f799c9
Merge branch 'Railgun' of https://github.com/musicmanvr/Delta-V into …
musicmanvr Jan 24, 2024
6d72486
Laser railgun Sprite
musicmanvr Jan 24, 2024
837f33a
fix the sprite
musicmanvr Jan 24, 2024
626910d
Issue Cleanup
musicmanvr Jan 24, 2024
79b2263
purchasable ammo and charge sound update
musicmanvr Jan 27, 2024
6049b0f
QA pass
musicmanvr Jan 27, 2024
f6daa81
Merge branch 'master' into Railgun
DangerRevolution Jan 28, 2024
155fa0a
error fixing
DangerRevolution Jan 28, 2024
e1f332e
Sprite Update + Reverse Engineering
musicmanvr Jan 30, 2024
b60451d
Merge branch 'DeltaV-Station:master' into Railgun
musicmanvr Jan 30, 2024
181ef62
Merge branch 'master' into Railgun
musicmanvr Jan 30, 2024
a8c2a69
reverse engineered fast firerate
musicmanvr Jan 30, 2024
ef1b941
Final Changes
musicmanvr Jan 30, 2024
69e1974
Copyright Update
musicmanvr Jan 31, 2024
bbd170a
Update license.txt
musicmanvr Jan 31, 2024
3aba2a7
Merge branch 'master' into Railgun
musicmanvr Feb 2, 2024
4e5241c
remove old attributions
musicmanvr Feb 11, 2024
e167925
Merge branch 'DeltaV-Station:master' into Railgun
musicmanvr Feb 11, 2024
719826e
price increase
musicmanvr Feb 12, 2024
dc63d5d
Merge branch 'master' into Railgun
musicmanvr Feb 13, 2024
d3d38e5
Merge branch 'master' into Railgun
musicmanvr Feb 19, 2024
1d8c5e5
Merge branch 'master' into Railgun
VMSolidus Mar 8, 2024
1b29618
Merge remote-tracking branch 'upstream/master' into Railgun
musicmanvr Mar 8, 2024
c1c94f7
Merge remote-tracking branch 'upstream/master' into Railgun
musicmanvr Mar 10, 2024
ed693f4
requested changes
musicmanvr Mar 11, 2024
7096909
conversion to mono
musicmanvr Mar 11, 2024
7795e50
fix of that other fix for the new file rename shit
musicmanvr Mar 11, 2024
8f7973c
proper noun
musicmanvr Mar 11, 2024
ad3e34d
Update Resources/Prototypes/DeltaV/Entities/Objects/Weapons/Guns/Proj…
musicmanvr Mar 11, 2024
6e5f45c
Update duffelbag.yml
musicmanvr Mar 11, 2024
9e4d675
Merge remote-tracking branch 'upstream/master' into Railgun
musicmanvr Mar 25, 2024
74d8fe6
Update uplink_catalog.yml
musicmanvr Mar 25, 2024
c0a2bd0
Update rod_impact.ogg
musicmanvr Mar 25, 2024
9270720
Update uplink_catalog.yml
musicmanvr Mar 25, 2024
b2f2c3e
Merge branch 'master' into Railgun
deltanedas Apr 22, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added Resources/Audio/Items/railgun_charge.ogg
Binary file not shown.
Binary file added Resources/Audio/Weapons/Guns/Gunshots/railgun.ogg
Binary file not shown.
Binary file not shown.
Binary file added Resources/Audio/Weapons/Guns/Hits/rod_impact.ogg
Binary file not shown.
3 changes: 3 additions & 0 deletions Resources/Locale/en-US/deltav/store/uplink-catalog.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,6 @@ uplink-reinforcement-radio-nukie-mouse-desc = Calls in a specially trained mouse
# Implants
uplink-bionic-syrinx-implanter-name = Bionic Syrinx Implanter
uplink-bionic-syrinx-implanter-desc = An implant that enhances a harpy's natural talent for mimicry to let you adjust your voice to whoever you can think of.
# Bundles
uplink-decimator-bundle-name = Decimator Bundle
uplink-decimator-bundle-desc = The Decimator railgun and nine extra rebar. Favored by Gorlex snipers.
12 changes: 12 additions & 0 deletions Resources/Prototypes/Catalog/Fills/Backpacks/duffelbag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -336,3 +336,15 @@
- id: ClothingHandsGlovesNitrile
- id: SyringeTranexamicAcid
- id: SyringeHyronalin

- type: entity
musicmanvr marked this conversation as resolved.
Show resolved Hide resolved
parent: ClothingBackpackDuffelSyndicateBundle
id: ClothingBackpackDuffelSyndicateFilledRailgun
name: decimator bundle
description: "Favored by Gorlex Maurauder snipers, this railcannon packs a punch. Comes with 9 shots."
components:
- type: StorageFill
contents:
- id: WeaponRailgunDecimator
- id: BulletRailgunBasic
amount: 9
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,5 @@
- id: EmergencyRollerBedSpawnFolded
- id: BodyBag_Folded
- id: Portafib


musicmanvr marked this conversation as resolved.
Show resolved Hide resolved
13 changes: 12 additions & 1 deletion Resources/Prototypes/DeltaV/Catalog/uplink_catalog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,17 @@
categories:
- UplinkUtility

- type: listing
id: Decimator Railgun Bundle
name: uplink-decimator-bundle-name
description: uplink-decimator-bundle-desc
productEntity: ClothingBackpackDuffelSyndicateFilledRailgun
icon: { sprite: DeltaV/Objects/Weapons/Guns/Railguns/railgun.rsi, state: icon }
cost:
Telecrystal: 20
categories:
- UplinkBundles

#- type: listing
# id: UplinkCyborgBeaconSyndicate
# name: uplink-borg-beacon-name
Expand Down Expand Up @@ -45,4 +56,4 @@
- !type:BuyerWhitelistCondition
blacklist:
components:
- SurplusBundle
- SurplusBundle
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@
parent: BaseWeaponBatterySmall
id: WeaponEnergyGunMini
description: A light version of the Energy gun with a smaller capacity.
components:
components:
musicmanvr marked this conversation as resolved.
Show resolved Hide resolved
- type: Sprite
sprite: DeltaV/Objects/Weapons/Guns/Battery/mini_energygun.rsi
layers:
Expand Down Expand Up @@ -256,4 +256,46 @@
magState: mag
steps: 5
zeroVisible: true
- type: Appearance
- type: Appearance

- type: entity
musicmanvr marked this conversation as resolved.
Show resolved Hide resolved
name: Decimator Laser
parent: BaseWeaponBattery
id: WeaponLaserRailgun
musicmanvr marked this conversation as resolved.
Show resolved Hide resolved
size: Huge
description: Limited run energy variant of the Decimator railcannon. Self recharging, slow firing but extremely powerful.
components:
- type: Sprite
sprite: DeltaV/Objects/Weapons/Guns/Railguns/railgun_laser.rsi
layers:
- state: base
map: ["enum.GunVisualLayers.Base"]
- type: Clothing
sprite: DeltaV/Objects/Weapons/Guns/Railguns/railgun_laser.rsi
quickEquip: false
slots:
- Back
- type: Wieldable
wieldSound:
path: /Audio/DeltaV/Effects/railgun_charge.ogg
- type: UseDelay
delay: 5
- type: GunRequiresWield
- type: Gun
fireRate: 0.25
selectedMode: SemiAuto
availableModes:
- SemiAuto
soundGunshot:
path: /Audio/DeltaV/Weapons/Guns/Gunshots/railgun_laser.ogg
- type: HitscanBatteryAmmoProvider
proto: Decimator
fireCost: 25000
- type: Battery
maxCharge: 75000
startingCharge: 75000
- type: BatterySelfRecharger
autoRecharge: true
autoRechargeRate: 500
- type: StaticPrice
price: 15000
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
- type: entity
parent: BaseItem
id: BulletRailgun
abstract: true
components:
- type: Item
size: Small
- type: Sprite
sprite: DeltaV/Objects/Weapons/Guns/Ammunition/Cartridges/railrod.rsi
layers:
- state: base
- type: Fixtures
fixtures:
fix1:
shape: !type:PhysShapeCircle
radius: 0.2
density: 10
restitution: 0.3
friction: 0.2
mask:
- ItemMask
projectile:
shape:
!type:PhysShapeAabb
bounds: "-0.1,-0.1,0.1,0.1"
hard: false
mask:
- Impassable
- BulletImpassable
- type: EmbeddableProjectile
minimumSpeed: 10
sound: /Audio/DeltaV/Weapons/Guns/Impacts/rod_impact.ogg
embedOnThrow: false
- type: ThrowingAngle
angle: 0
- type: Ammo
muzzleFlash: null
- type: Tag
tags:
- BulletRailgun
musicmanvr marked this conversation as resolved.
Show resolved Hide resolved
- CannonRestrict
- type: Projectile
deleteOnCollide: false
onlyCollideWhenShot: true
damage:
types:
Piercing: 50

- type: entity
parent: BulletRailgun
id: BulletRailgunBasic
name: Rebar Rod
description: Heavy iron rod for use in a railcannon
components:
- type: Sprite
sprite: DeltaV/Objects/Weapons/Guns/Ammunition/Cartridges/railrod.rsi
- type: Projectile
damage:
types:
Piercing: 15
Blunt: 75
Heat: 20
Structural: 25

# Fear that which cannot be understood

- type: entity
parent: BulletRailgun
id: BulletRailgunAdmeme
name: Unholy Rod [Admeme]
description: By the time you're able to pick this up, the station's probably already destroyed.
musicmanvr marked this conversation as resolved.
Show resolved Hide resolved
components:
- type: Sprite
sprite: DeltaV/Objects/Weapons/Guns/Ammunition/Cartridges/railrod.rsi
- type: TimedDespawn
lifetime: 3
- type: Projectile
deleteOnCollide: true
damage:
types:
Piercing: 100
Blunt: 100
Slash: 1
Caustic: 1
Radiation: 1
Heat: 1
Cellular: 1
Structural: 20000
Original file line number Diff line number Diff line change
@@ -0,0 +1,139 @@
- type: entity
name: BaseWeaponRailgun
parent: BaseItem
id: BaseWeaponRailgun
description: A terrifying thunderous railcannon made handheld.
abstract: true
components:
- type: Item
size: Huge
- type: Clothing
sprite: DeltaV/Objects/Weapons/Guns/Railguns/railgun.rsi
quickEquip: false
slots:
- Back
- type: AmmoCounter
- type: Wieldable
wieldSound:
path: /Audio/DeltaV/Effects/railgun_charge.ogg
- type: UseDelay
delay: 5
- type: HeldSpeedModifier
walkModifier: 0.75
sprintModifier: 0.75
- type: GunRequiresWield
- type: Gun
fireRate: 0.20
selectedMode: SemiAuto
availableModes:
- SemiAuto
soundGunshot:
path: /Audio/DeltaV/Weapons/Guns/Gunshots/railgun_laser.ogg
- type: BallisticAmmoProvider
cycleable: false
capacity: 3
proto: BulletRailgunBasic
whitelist:
tags:
- BulletRailgun
- type: ContainerContainer
containers:
ballistic-ammo: !type:Container
ents: []
- type: StaticPrice
price: 10000

- type: entity
name: Decimator Railgun
parent: BaseWeaponRailgun
id: WeaponRailgunDecimator
description: A terrifying starship railcannon, now in your hands.
components:
- type: BallisticAmmoProvider
cycleable: false
capacity: 3
- type: Sprite
sprite: DeltaV/Objects/Weapons/Guns/Railguns/railgun.rsi
layers:
- state: base
map: ["enum.GunVisualLayers.Base"]
- type: Wieldable
- type: GunRequiresWield
wieldSound:
path: /Audio/DeltaV/Effects/railgun_charge.ogg
musicmanvr marked this conversation as resolved.
Show resolved Hide resolved


#admeme variant

musicmanvr marked this conversation as resolved.
Show resolved Hide resolved
- type: entity
name: Unmaker Railgun [Admeme]
musicmanvr marked this conversation as resolved.
Show resolved Hide resolved
parent: BaseWeaponRailgun
id: WeaponRailgunAdmeme
description: So pants shittingly terrifying that it was banished to the bluespace dimension by Nar'Sie. It's back now.
musicmanvr marked this conversation as resolved.
Show resolved Hide resolved
components:
- type: BallisticAmmoProvider
cycleable: false
proto: BulletRailgunAdmeme
capacity: 4200 #PANIC
- type: Sprite
sprite: DeltaV/Objects/Weapons/Guns/Railguns/railgun.rsi
layers:
- state: base
map: ["enum.GunVisualLayers.Base"]
- type: Gun
fireRate: 99 #the only thing they fear is you
selectedMode: SemiAuto
availableModes:
- SemiAuto
- FullAuto
soundGunshot:
path: /Audio/Items/Toys/ian.ogg
- type: Wieldable
wieldSound:
path: /Audio/Items/Toys/ian.ogg

#clown variant, not finished
musicmanvr marked this conversation as resolved.
Show resolved Hide resolved

#- type: entity
# name: Caninator
# parent: BaseItem
# id: WeaponRailgunCaninator
# size: Huge
# description: BEHOLD Syndie the Syndicus, the CANINATOR!
# components:
# - type: Sprite
# sprite: DeltaV/Objects/Weapons/Guns/Railguns/railgun.rsi
# layers:
# - state: base
# map: ["enum.GunVisualLayers.Base"]
# - type: UseDelay
# delay: 5
# - type: GunRequiresWield
# - type: Wieldable
# wieldSound:
# path: /Audio/DeltaV/Effects/railgun_charge.ogg
# - type: Gun
# projectileSpeed: 1000
# minAngle: 0
# maxAngle: 2
# fireRate: 1
# selectedMode: SemiAuto
# availableModes:
# - SemiAuto
# soundGunshot:
# path: /Audio/DeltaV/Weapons/Guns/Gunshots/railgun_laser.ogg
# - type: ItemSlots
# slots:
# can:
# name: Can
# startingItem: null
# insertSound: /Audio/Weapons/Guns/Misc/arrow_nock.ogg
# whitelist:
# tags:
# - DrinkCan
# - type: ContainerContainer
# containers:
# can: !type:ContainerSlot
# - type: ContainerAmmoProvider
# container: can

Original file line number Diff line number Diff line change
Expand Up @@ -121,3 +121,18 @@
impactFlash:
sprite: Objects/Weapons/Guns/Projectiles/projectiles.rsi
state: impact_blue

- type: hitscan
musicmanvr marked this conversation as resolved.
Show resolved Hide resolved
id: Decimator
damage:
types:
Heat: 100
muzzleFlash:
sprite: Objects/Weapons/Guns/Projectiles/projectiles.rsi
state: muzzle_blue
travelFlash:
sprite: Objects/Weapons/Guns/Projectiles/projectiles.rsi
state: beam_blue
impactFlash:
sprite: Objects/Weapons/Guns/Projectiles/projectiles.rsi
state: impact_blue
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Still-Icarus",
musicmanvr marked this conversation as resolved.
Show resolved Hide resolved
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "base"
},
{
"name": "icon"
}
]
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Still-Icarus",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "base"
},
{
"name": "icon"
}
]
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
musicmanvr marked this conversation as resolved.
Show resolved Hide resolved
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading