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

Creator dumass pr #148

Merged
merged 7 commits into from
Jan 20, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#_Arcadis\Objects\Weapons\Guns\Battery
#_Arc\Objects\Weapons\Guns\Battery

- type: entity
name: overclocked railgun
Expand All @@ -6,15 +8,15 @@
description: A railgun that fires projectiles at such high speeds that they become lasers!
components:
- type: Sprite
sprite: /Textures/_Arc/Objects/Weapons/Guns/Battery/railgun_fbi.rsi
sprite: _Arcadis/Objects/Weapons/Guns/Battery/railgun_fbi.rsi
layers:
- state: base
map: ["enum.GunVisualLayers.Base"]
- state: mag-unshaded-4
map: ["enum.GunVisualLayers.MagUnshaded"]
shader: unshaded
- type: Clothing
sprite: /Textures/_Arc/Objects/Weapons/Guns/Battery/railgun_fbi.rsi
sprite: _Arcadis/Objects/Weapons/Guns/Battery/railgun_fbi.rsi
- type: Gun
selectedMode: SemiAuto
fireRate: 3
Expand Down Expand Up @@ -46,15 +48,15 @@
- Taser
- Sidearm
- type: Sprite
sprite: /Textures/_Arc/Objects/Weapons/Guns/Battery/disabler_magnum_fbi.rsi
sprite: _Arcadis/Objects/Weapons/Guns/Battery/disabler_magnum_fbi.rsi
layers:
- state: base
map: ["enum.GunVisualLayers.Base"]
- state: mag-unshaded-0
map: ["enum.GunVisualLayers.MagUnshaded"]
shader: unshaded
- type: Clothing
sprite: /Textures/_Arc/Objects/Weapons/Guns/Battery/disabler_magnum_fbi.rsi
sprite: /Textures/_Arcadis/Objects/Weapons/Guns/Battery/disabler_magnum_fbi.rsi
quickEquip: false
slots:
- suitStorage
Expand Down Expand Up @@ -91,7 +93,7 @@
description: Highly advanced energy pistol that is custom-made for each user. It comes with 3 firing modes and a self-recharging battery. The only drawback is that all non-lethal firing modes consume more energy than typical energy pistol models.
components:
- type: Sprite
sprite: /Textures/_Arc/Objects/Weapons/Guns/Battery/crweaponenergypistol.rsi
sprite: _Arcadis/Objects/Weapons/Guns/Battery/crweaponenergypistol.rsi
layers:
- state: base
map: ["enum.GunVisualLayers.Base"]
Expand All @@ -102,7 +104,7 @@
map: ["enum.GunVisualLayers.MagUnshaded"]
shader: unshaded
- type: Clothing
sprite: /Textures/_Arc/Objects/Weapons/Guns/Battery/crweaponenergypistol.rsi
sprite: _Arcadis/Objects/Weapons/Guns/Battery/crweaponenergypistol.rsi
- type: Gun
soundGunshot:
path: /Audio/DeltaV/Weapons/Guns/Gunshots/laser.ogg
Expand All @@ -112,19 +114,19 @@
maxCharge: 800
startingCharge: 800
- type: ProjectileBatteryAmmoProvider
proto: BulletDisabler
fireCost: 50
proto: BulletDisablerBlasterCR
fireCost: 100
- type: EnergyGun
fireModes:
- proto: BulletDisabler
- proto: BulletDisablerBlasterCR
fireCost: 100
name: disable
state: disabler
- proto: BulletEnergyGunLaser
- proto: BulletEnergyBlasterCR
fireCost: 100
name: lethal
state: lethal
- proto: BulletLaserSpreadNarrow
- proto: BulletLaserSpreadPistolCR
fireCost: 200
name: spread lethal
state: lethal
Expand Down Expand Up @@ -156,3 +158,76 @@
wideAnimationRotation: 135
- type: DamageOtherOnHit
staminaCost: 5

- type: entity
name: CRT-5 Energy Blaster
parent: BaseWeaponBatterySmall
id: CRWeaponEnergyBlasterCR
description: A versatile laser pistol combining precision laser beams, controlled explosive projectile and EMP projectiles, offering adaptable energy modes, and compact design for both combat and tech disruption. #chatgpt ah kind of fuckin description
components:
- type: Sprite
sprite: _Arcadis/Objects/Weapons/Guns/Battery/crt5energyblaster.rsi
layers:
- state: base
map: ["enum.GunVisualLayers.Base"]
- state: mode-disabler
shader: unshaded
map: [ "Firemode" ]
- state: mag-unshaded-4
map: ["enum.GunVisualLayers.MagUnshaded"]
shader: unshaded
- type: Clothing
sprite: _Arcadis/Objects/Weapons/Guns/Battery/crt5energyblaster.rsi
- type: Gun
soundGunshot:
path: /Audio/DeltaV/Weapons/Guns/Gunshots/laser.ogg
soundEmpty:
path: /Audio/DeltaV/Weapons/Guns/Empty/dry_fire.ogg
- type: Battery
maxCharge: 1000
startingCharge: 1000
- type: ProjectileBatteryAmmoProvider
proto: BulletEmpBlasterCR
fireCost: 100
- type: EnergyGun
fireModes:
- proto: BulletEmpBlasterCR
fireCost: 100
name: disable
state: disabler
- proto: BulletEnergyBlasterCR
fireCost: 100
name: lethal
state: lethal
- proto: BulletExplosiveLaserCR
fireCost: 500
name: explosive laser
state: lethal
- type: MagazineVisuals
magState: mag
steps: 5
zeroVisible: true
- type: BatterySelfRecharger
autoRecharge: true
autoRechargeRate: 50
- type: Appearance
- type: GenericVisualizer
visuals:
enum.EnergyGunFireModeVisuals.State:
Firemode:
Disabler: { state: mode-disabler }
Lethal: { state: mode-lethal }
- type: Tag
tags:
- Sidearm
- type: StaticPrice
price: 750
- type: MeleeWeapon
attackRate: 1.2
damage:
types:
Blunt: 7
bluntStaminaDamageFactor: 1.0
wideAnimationRotation: 135
- type: DamageOtherOnHit
staminaCost: 5
Original file line number Diff line number Diff line change
@@ -0,0 +1,154 @@
- type: entity
name: laser blast
id: BulletEnergyBlasterCR
parent: BaseBullet
categories: [ HideSpawnMenu ]
components:
- type: Reflective
reflective:
- Energy
- type: FlyBySound
sound:
collection: EnergyMiss
params:
volume: 5
- type: Sprite
sprite: Objects/Weapons/Guns/Projectiles/projectiles_tg.rsi
layers:
- state: heavylaser
shader: unshaded
- type: Ammo
- type: Physics
- type: Fixtures
fixtures:
projectile:
shape:
!type:PhysShapeAabb
bounds: "-0.2,-0.2,0.2,0.2"
hard: false
mask:
- Opaque
- type: Projectile
impactEffect: BulletImpactEffectRedDisabler
damage:
types:
Heat: 20
soundHit:
collection: MeatLaserImpact

- type: entity
name: disabler blast
id: BulletDisablerBlasterCR
parent: BaseBullet
categories: [ HideSpawnMenu ]
components:
- type: Reflective
reflective:
- Energy
- type: FlyBySound
sound:
collection: EnergyMiss
params:
volume: 5
- type: Sprite
sprite: Objects/Weapons/Guns/Projectiles/projectiles_tg.rsi
layers:
- state: omnilaser
shader: unshaded
- type: Ammo
- type: Physics
- type: Fixtures
fixtures:
projectile:
shape:
!type:PhysShapeAabb
bounds: "-0.2,-0.2,0.2,0.2"
hard: false
mask:
- Opaque
- type: StaminaDamageOnCollide
damage: 30
- type: Projectile
impactEffect: BulletImpactEffectDisabler
damage:
types:
Heat: 5
soundHit:
collection: MeatLaserImpact

- type: entity
name: laser spreadshot
id: BulletLaserSpreadPistolCR
parent: BulletEnergyBlasterCR
categories: [ HideSpawnMenu ]
components:
- type: ProjectileSpread
proto: BulletEnergyBlasterCR
count: 3 #60 damage if all hit
spread: 15

- type: entity
name: disabler spreadshot
id: BulletDisablerSpreadPistolCR
parent: BulletDisablerBlasterCR
categories: [ HideSpawnMenu ]
components:
- type: ProjectileSpread
proto: BulletDisablerBlasterCR
count: 3 #instant knock if you get all hit
spread: 20

- type: entity
id: BulletExplosiveLaserCR
name: Explosive Blaster
parent: BaseBulletTrigger
categories: [ HideSpawnMenu ]
components:
- type: Sprite
sprite: Objects/Weapons/Guns/Projectiles/projectiles_tg.rsi
layers:
- state: heavylaser
shader: unshaded
- type: ExplodeOnTrigger
- type: Explosive
explosionType: DemolitionCharge
maxIntensity: 2
intensitySlope: 4
totalIntensity: 2
maxTileBreak: 0
- type: PointLight
radius: 2
color: orange
energy: 0.5
- type: Projectile
deleteOnCollide: true
onlyCollideWhenShot: true
damage:
types:
Heat : 10 # damage relied on explosion so this is lower than normal

- type: entity
id: BulletEmpBlasterCR
name: emp blast
parent: BaseBulletTrigger
categories: [ HideSpawnMenu ]
components:
- type: Sprite
sprite: Objects/Weapons/Guns/Projectiles/projectiles_tg.rsi
layers:
- state: omnilaser
shader: unshaded
- type: EmpOnTrigger
range: 0.5
energyConsumption: 100
disableDuration: 2
- type: Ammo
muzzleFlash: null
- type: PointLight
radius: 1.5
color: blue
energy: 0.5
- type: Projectile
damage:
types:
Heat : 5
Loading
Loading