forked from space-wizards/space-station-14
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
# Description added CRT-20 Laser Assault Rifle and CRT-21 Laser Railgun. added special battery for CRT-20 and CRT-21 ammo (and yes it work like normal battery) added more laser for em. both weapon is researchable(arsenal techtree) this 2 gun is special and it the second and third gun that shoot laser and having battery swap being possible. the first one is svalin and i dont count those shuttle turret as gun. those are cannon. updated: it is now obtainable thru research with laser assault rifle on tier 2 and railgun on tier 3 also it is printable thru secfab and if you emag the protolathe you only get the rifle. (railgun is hella expensive to make but is so powerfull 2 shot to crit damn) --- # Changelog <!-- You can add an author after the `:cl:` to change the name that appears in the changelog (ex: `:cl: Death`) Leaving it blank will default to your GitHub display name This includes all available types for the changelog --> :cl: - add: CRT-20 Laser Assault Rifle and CRT-21 Laser Railgun. Obtainable thru tier 2 and tier 3 arsenal research. - add: 2 powercell magazine for CRT-20 and CRT-21. Obtainable thru tier 2 and tier 3 arsenal research.
- Loading branch information
Showing
53 changed files
with
621 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
49 changes: 49 additions & 0 deletions
49
Resources/Prototypes/_Arcadis/Entities/Objects/Weapon/Projectile/hitscan.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
- type: hitscan | ||
id: GreenRailgunLaser | ||
maxLength: 100 | ||
damage: | ||
types: | ||
Heat: 50 | ||
Structural: 100 | ||
muzzleFlash: | ||
sprite: _Arcadis/Objects/Weapons/Guns/Projectiles/cr-projectile.rsi | ||
state: muzzle_beam_heavy2 | ||
travelFlash: | ||
sprite: _Arcadis/Objects/Weapons/Guns/Projectiles/cr-projectile.rsi | ||
state: beam_heavy2 | ||
impactFlash: | ||
sprite: _Arcadis/Objects/Weapons/Guns/Projectiles/cr-projectile.rsi | ||
state: impact_beam_heavy2 | ||
|
||
|
||
- type: hitscan | ||
id: GreenRifleLaser | ||
damage: | ||
types: | ||
Heat: 15 | ||
muzzleFlash: | ||
sprite: _Arcadis/Objects/Weapons/Guns/Projectiles/cr-projectile.rsi | ||
state: muzzle_laser | ||
travelFlash: | ||
sprite: _Arcadis/Objects/Weapons/Guns/Projectiles/cr-projectile.rsi | ||
state: beam | ||
impactFlash: | ||
sprite: _Arcadis/Objects/Weapons/Guns/Projectiles/cr-projectile.rsi | ||
state: impact_laser | ||
|
||
- type: hitscan | ||
id: OPGreenRailgunLaser | ||
maxLength: 100 | ||
damage: | ||
types: | ||
Heat: 400 | ||
Structural: 1000 | ||
muzzleFlash: | ||
sprite: _Arcadis/Objects/Weapons/Guns/Projectiles/cr-projectile.rsi | ||
state: muzzle_beam_heavy2 | ||
travelFlash: | ||
sprite: _Arcadis/Objects/Weapons/Guns/Projectiles/cr-projectile.rsi | ||
state: beam_heavy2 | ||
impactFlash: | ||
sprite: _Arcadis/Objects/Weapons/Guns/Projectiles/cr-projectile.rsi | ||
state: impact_beam_heavy2 |
18 changes: 18 additions & 0 deletions
18
Resources/Prototypes/_Arcadis/Entities/Objects/Weapon/Projectile/impact.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
- type: entity | ||
id: BulletImpactEffectGreen | ||
categories: [ HideSpawnMenu ] | ||
components: | ||
- type: TimedDespawn | ||
lifetime: 0.2 | ||
- type: Sprite | ||
drawdepth: Effects | ||
layers: | ||
- shader: unshaded | ||
map: ["enum.EffectLayers.Unshaded"] | ||
sprite: Objects/Weapons/Guns/Projectiles/projectiles_tg.rsi | ||
state: impact_laser_greyscale | ||
color: green | ||
- type: EffectVisuals | ||
- type: Tag | ||
tags: | ||
- HideContextMenu |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
102 changes: 102 additions & 0 deletions
102
Resources/Prototypes/_Arcadis/Entities/Power/battery.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,102 @@ | ||
- type: entity | ||
name: rifle power cell magazine | ||
description: The power cell has a magazine-like design with separate ports for universal and small laser connection port. | ||
id: PowercellRiflemagcr | ||
parent: BasePowerCell | ||
components: | ||
- type: Sprite | ||
sprite: _Arcadis/Objects/Power/energymags.rsi | ||
layers: | ||
- map: [ "enum.PowerCellVisualLayers.Base" ] | ||
state: mag-rifle | ||
- map: [ "enum.PowerCellVisualLayers.Unshaded" ] | ||
state: o2 | ||
shader: unshaded | ||
- type: Battery | ||
maxCharge: 1500 | ||
startingCharge: 1500 | ||
- type: HitscanBatteryAmmoProvider | ||
proto: GreenRifleLaser | ||
fireCost: 50 | ||
- type: SolutionContainerManager | ||
solutions: | ||
battery: | ||
maxVol: 15 | ||
- type: Extractable | ||
juiceSolution: | ||
reagents: | ||
- ReagentId: Zinc | ||
Quantity: 15 | ||
- type: Tag | ||
tags: | ||
- RifleBatteryMag | ||
|
||
|
||
- type: entity | ||
name: railgun power cell magazine | ||
description: The power cell has a magazine-like design with separate ports for universal and large laser connection port. | ||
id: PowercellRailgunmagcr | ||
parent: BasePowerCell | ||
components: | ||
- type: Sprite | ||
sprite: _Arcadis/Objects/Power/energymags.rsi | ||
layers: | ||
- map: [ "enum.PowerCellVisualLayers.Base" ] | ||
state: mag-rifle | ||
- map: [ "enum.PowerCellVisualLayers.Unshaded" ] | ||
state: o2 | ||
shader: unshaded | ||
- type: Battery | ||
maxCharge: 1500 | ||
startingCharge: 1500 | ||
- type: HitscanBatteryAmmoProvider | ||
proto: GreenRailgunLaser | ||
fireCost: 500 | ||
- type: SolutionContainerManager | ||
solutions: | ||
battery: | ||
maxVol: 15 | ||
- type: Extractable | ||
juiceSolution: | ||
reagents: | ||
- ReagentId: Zinc | ||
Quantity: 15 | ||
- type: Tag | ||
tags: | ||
- RailgunBatteryMag | ||
|
||
- type: entity | ||
name: uzi railgun battery #before you ask yes it is fuckin impossible to obtain this without admeme | ||
description: yea i made this one to be accurate to the show because i can :) -cr #i dont care i like this desc and im not changin it | ||
id: PowercellCANONRailgunmagcr | ||
parent: BasePowerCell | ||
components: | ||
- type: Sprite | ||
sprite: _Arcadis/Objects/Power/energymags.rsi | ||
layers: | ||
- map: [ "enum.PowerCellVisualLayers.Base" ] | ||
state: mag-rifle | ||
- map: [ "enum.PowerCellVisualLayers.Unshaded" ] | ||
state: o2 | ||
shader: unshaded | ||
- type: Battery | ||
maxCharge: 1500 | ||
startingCharge: 1500 | ||
- type: HitscanBatteryAmmoProvider | ||
proto: OPGreenRailgunLaser #stupidly one shot anything 400 heat and 1000 structure to destroy anything. | ||
fireCost: 1500 | ||
- type: SolutionContainerManager | ||
solutions: | ||
battery: | ||
maxVol: 15 | ||
- type: Extractable | ||
juiceSolution: | ||
reagents: | ||
- ReagentId: Zinc | ||
Quantity: 15 | ||
- type: Tag | ||
tags: | ||
- RailgunBatteryMag | ||
- type: BatterySelfRecharger | ||
autoRecharge: true | ||
autoRechargeRate: 5 # 5 minute to recharge this fuckin thing (yea i think it was 5 minute to recharge in the show) |
Oops, something went wrong.