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 18 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 added Resources/Audio/DeltaV/Effects/railgun_charge.ogg
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.
6 changes: 6 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,9 @@ 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 three extra rebar. Favored by Gorlex snipers.
musicmanvr marked this conversation as resolved.
Show resolved Hide resolved
# Ammo
uplink-railgun-ammo-name = Railgun Ammo
uplink-railgun-ammo-desc = Three extra rods for the Decimator railgun.
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
- type: entity
parent: ClothingBackpackDuffelSyndicateBundle
id: ClothingBackpackDuffelSyndicateFilledRailgun
name: Decimator bundle
musicmanvr marked this conversation as resolved.
Show resolved Hide resolved
description: "Favored by Gorlex Maurauder snipers, this railcannon packs a punch. Comes with 3 shots."
VMSolidus marked this conversation as resolved.
Show resolved Hide resolved
musicmanvr marked this conversation as resolved.
Show resolved Hide resolved
components:
- type: StorageFill
contents:
- id: WeaponRailgunDecimator
- id: BulletRailgunBasic
amount: 3

- type: entity
parent: BoxCardboard
id: RailgunAmmoBag
name: Box of Rebar
musicmanvr marked this conversation as resolved.
Show resolved Hide resolved
description: A box for storing metal rods, commonly used in construction.
musicmanvr marked this conversation as resolved.
Show resolved Hide resolved
#prefix: Syndicate # What is this meant to be for?
musicmanvr marked this conversation as resolved.
Show resolved Hide resolved
components:
- type: StorageFill
contents:
- id: BulletRailgunBasic
amount: 3
45 changes: 44 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,49 @@
categories:
- UplinkUtility

- type: listing
id: Decimator Railgun Bundle NukeOps
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
conditions:
- !type:StoreWhitelistCondition
whitelist:
tags:
- NukeOpsUplink

- 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: 14
musicmanvr marked this conversation as resolved.
Show resolved Hide resolved
categories:
- UplinkBundles
conditions:
- !type:StoreWhitelistCondition
blacklist:
tags:
- NukeOpsUplink

- type: listing
id: Railgun Ammo
name: uplink-railgun-ammo-name
description: uplink-railgun-ammo-desc
productEntity: RailgunAmmoBag
icon: { sprite: DeltaV/Objects/Weapons/Guns/Ammunition/Cartridges/railrod.rsi, state: icon }
cost:
Telecrystal: 2
categories:
- UplinkAmmo

#- type: listing
# id: UplinkCyborgBeaconSyndicate
# name: uplink-borg-beacon-name
Expand Down Expand Up @@ -45,4 +88,4 @@
- !type:BuyerWhitelistCondition
blacklist:
components:
- SurplusBundle
- SurplusBundle
Original file line number Diff line number Diff line change
Expand Up @@ -259,3 +259,46 @@
steps: 5
zeroVisible: true
- type: Appearance

- type: entity
name: Decimator Laser
musicmanvr marked this conversation as resolved.
Show resolved Hide resolved
parent: BaseWeaponBattery
id: WeaponLaserRailgun
description: Limited run energy variant of the Decimator railcannon. Self recharging, slow firing but extremely powerful.
components:
- type: Item
size: Huge
- 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.30
selectedMode: SemiAuto
availableModes:
- SemiAuto
soundGunshot:
path: /Audio/DeltaV/Weapons/Guns/Gunshots/railgun_laser.ogg
- type: HitscanBatteryAmmoProvider
proto: DecimatorLaser
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,107 @@
- 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
- CannonRestrict
- type: Projectile
deleteOnCollide: false
onlyCollideWhenShot: true
damage:
types:
Piercing: 50

- type: entity
parent: BulletRailgun
id: BulletRailgunBasic
name: Rebar Rod
musicmanvr marked this conversation as resolved.
Show resolved Hide resolved
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

# Laser variant

musicmanvr marked this conversation as resolved.
Show resolved Hide resolved
- type: hitscan
id: DecimatorLaser
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


# Fear that which cannot be understood

musicmanvr marked this conversation as resolved.
Show resolved Hide resolved
- type: entity
parent: BulletRailgun
id: BulletRailgunAdmeme
suffix: "DO NOT MAP"
musicmanvr marked this conversation as resolved.
Show resolved Hide resolved
name: Unholy Rod
musicmanvr marked this conversation as resolved.
Show resolved Hide resolved
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: Sprite
sprite: DeltaV/Objects/Weapons/Guns/Railguns/railgun.rsi
layers:
- state: base
map: ["enum.GunVisualLayers.Base"]
- 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: GunRequiresWield
- type: UseDelay
delay: 5
- type: HeldSpeedModifier
walkModifier: 0.75
sprintModifier: 0.75
- type: Gun
fireRate: 0.30
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: entity
name: ERT Railgun
parent: BaseWeaponRailgun
id: WeaponRailgunERT
description: A mighty railgun that packs a hefty punch. Heavy, yet destructive.
components:
- type: BallisticAmmoProvider
cycleable: false
capacity: 3

#admeme variant

musicmanvr marked this conversation as resolved.
Show resolved Hide resolved
- type: entity
name: Unmaker Railgun
parent: BaseWeaponRailgun
id: WeaponRailgunAdmeme
suffix: "Admeme"
VMSolidus marked this conversation as resolved.
Show resolved Hide resolved
musicmanvr marked this conversation as resolved.
Show resolved Hide resolved
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: Gun
fireRate: 99 #the only thing they fear is you
selectedMode: SemiAuto
availableModes:
- SemiAuto
- FullAuto
soundGunshot:
path: /Audio/Items/Toys/ian.ogg #barks so your ears are saved from BRRRRRRRRRRRRRRRR

#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

3 changes: 3 additions & 0 deletions Resources/Prototypes/DeltaV/tags.yml
musicmanvr marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,6 @@

- type: Tag
id: PaperSlip

- type: Tag
id: BulletRailgun
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.
Loading
Loading