Just messing around with weapons.tbl, don't expect much
How do you calculate beam DPS? A normal beam "ticks" it's damage 5.5 times per second or so I'm lead to believe, but my fighter beam seems to be "ticking" its damage just under 10 times per seconds (my guess due to some kind of overlap), and drawing it's energy around 2.1 times per second when tested empirically and I just don't get it. How does it work?
Railguns, I'm certain you guys have made them before but my attempts have been failures (1st using energy without firing, 2nd locking you out of firing for 12 sec, 3rd inexplicably crashing), so I wanna see how you guys have done it.
My attempts:
;Lightning Gun
;Well, more of a laser gun, but lightning is more recognisable. A constant stream of damage which is potent, however
;it draws energy like nothing else and you have to track it to get the best use out of it. Don't get me wrong you can
;do stuff without tracking or by bursting, but tracking will just get things done better.
$Name: Adamantine
+Title: XSTR("GTW Adamantine", -1)
+Description: XSTR("
Range 1500
DPS 165 Armour, 185 Shield, 31 Subsystem
EUPM 1300, Beam
", -1) ;Look, I... um... I don't even know how to begin calculating these numbers. So if anyone wants to help...?
$end_multi_text
+Tech Title: XSTR("GTW Adamantine 1.21GW", -1) ;Sorry, I had to
+Tech Anim: none
+Tech Description: XSTR("The GTW Adamantine is the first fighter mountable beam cannon which has proved viable for combat. The weapon boasts a completely different firing system allowing the weapon to remain charged up at all times during a dogfight so that it can fire at any time rather than on a strict recharge timer as with capital ship beams. The Adamantine has a short range, the magnetic bottle not being able to keep the plasma beam contained at long ranges, and it consumes a very high amount of energy, but it's damage is considerable and reliable.", -1)
$end_multi_text
$Tech Model: TachyionGUN.pof
$Model File: none
@Laser Bitmap: laserglow01
@Laser Color: 20, 150, 100
@Laser Length: 0.0
@Laser Head Radius: 0.30
@Laser Tail Radius: 0.30
$Mass: 1.0
$Velocity: 2000.0
$Fire Wait: 0.2
$Damage: 7.5
$Armor Factor: 1.0
$Shield Factor: 1.125
$Subsystem Factor: 0.1875
$Lifetime: 0.578
$Energy Consumed: 10
$Cargo Size: 0.0
$Homing: NO
$LaunchSnd: 124
$ImpactSnd: 88
+Weapon Range: 1500
$Flags: ( "beam" "in tech database" "player allowed" "no pierce shields" )
$Impact Explosion: exp04
$Impact Explosion Radius: 1.5
$BeamInfo:
+Type: 4
+Life: 0.4
+Warmup: 10
+Warmdown: 10
+Radius: 1.25
+PCount: 20
+PRadius: 0.2
+PAngle: 65.0
+PAni: particle_turq
+Miss Factor: 0.5 0.7 0.9 1.1 1.3
+BeamSound: 304
+WarmupSound: -1
+WarmdownSound: -1
+Muzzleglow: ABeamAGlow
+Shots: 0
+ShrinkFactor: 1.2
+ShrinkPct: 0.0
+Range: 2000
+Attenuation: 1000
+BeamWidth: 5.0
+Beam Flash Effect: capflash
+Beam Flash Radius: 0.5
+Beam Piercing Effect: exp06
+Beam Piercing Radius: 0.5
+Beam Piercing Effect Velocity: 200
+Beam Piercing Splash Effect Velocity: -20
+Beam Piercing Effect Variance: 0.02
$Section:
+Width: 0.2
+Texture: AbeamAA
+RGBA Inner: 255 255 255 255
+RGBA Outer: 150 150 150 10
+Flicker: 0.1
+Zadd: 2.0
+Tile Factor: 133, 1
+Translation: -4
$Section:
+Width: 0.3
+Texture: AbeamAB
+RGBA Inner: 0 0 0 2
+RGBA Outer: 0 0 0 0
+Flicker: 0.1
+Zadd: 1.0
+Tile Factor: 44, 1
+Translation: -3
$Section:
+Width: 0.4
+Texture: AbeamAD
+RGBA Inner: 0 0 0 2
+RGBA Outer: 0 0 0 0
+Flicker: 0.1
+Zadd: 1.0
+Tile Factor: 57, 1
+Translation: -5
$Section:
+Width: 1
+Texture: AbeamAC
+RGBA Inner: 5 0 0 2
+RGBA Outer: 0 0 0 0
+Flicker: 0.4
+Zadd: 0.0
+Tile Factor: 17, 1
+Translation: -3
;Rail gun
;Basic idea: Balanced around being able to one shot a dragon. Long range, hitscan, ultra-long cooldown. If you use
;this and miss then you are in for some pain because you just lost a huge amount of damage.
;Effects courtesy of TBP team
;$Name: Harpe
;+Title: XSTR("GTW Harpe", -1)
;+Description: XSTR("
; Range 4000, ROF 6
; DPS 80 Armour, 240 Shield, 40 Subsystem
; EUPM 1800, Hitscan
; ", -1)
;$end_multi_text
;+Tech Title: XSTR("GTW Harpe X42", -1)
;+Tech Anim: none
;+Tech Description: XSTR("The Harpe is a product of the triumphs made in energy storage. The Harpe draws massive amounts of energy where it is then released in one massive spike. In particular, the Harpe is a railgun, accelerating a long rod penetrator to relativistic speeds before even leaving the barrel. Shields are generally quite effective at absorbing kinetic impacts, but the speed t which the Harpe travels forces energy shields to pulse energy inefficiently in an attempt to disintegrate the projectile, draining them of their power in short order.", -1)
;$end_multi_text
;$Tech Model: ArcherTECH.pof
;$Model File: none
;@Laser Bitmap: laserglow01
;@Laser Color: 88, 176, 249
;@Laser Length: 0.0
;@Laser Head Radius: 0.3
;@Laser Tail Radius: 0.3
;$Mass: 1.0
;$Velocity: 2000.0
;$Fire Wait: 3
;$Damage: 240
;$Armor Factor: 1.0
;$Shield Factor: 3.0
;$Subsystem Factor: 0.5
;$Lifetime: 0.578
;$Energy Consumed: 675
;$Cargo Size: 0.0
;$Homing: NO
;$LaunchSnd: 77
;$ImpactSnd: 88
;+Weapon Range: 4000
;$Flags: ( "beam" "in tech database" "player allowed" "no pierce shields" )
;$Impact Explosion: exp04
;$Impact Explosion Radius: 5.0
;$BeamInfo:
; +Type: 3
; +Life: 0.1818181818182
; +Warmup: 10
; +Warmdown: 10
; +Radius: 1.25
; +PCount: 32
; +PRadius: 0.5
; +PAngle: 60
; +PAni: particle_Blue
; +Miss Factor: 0.5 0.7 0.9 1.1 1.3
; +BeamSound: 77
; +WarmupSound: -1
; +WarmdownSound: -1
; +Muzzleglow: BlueBeamGlow2
; +Shots: 1
; +ShrinkFactor: 1.2
; +ShrinkPct: 0.0
; +Range: 4000
; +Attenuation: 3000
; +BeamWidth: 1.0
; +Beam Flash Effect: capflash
; +Beam Flash Radius: 0.5
; +Beam Piercing Effect: exp06
; +Beam Piercing Radius: 0.5
; +Beam Piercing Effect Velocity: 200
; +Beam Piercing Splash Effect Velocity: -20
; +Beam Piercing Effect Variance: 0.01
; $Section:
; +Width: 0.1
; +Texture: BBlueCore
; +RGBA Inner: 255 255 255 255
; +RGBA Outer: 150 150 150 10
; +Flicker: 0.1
; +Zadd: 9
; +Tile Factor: 10, 1
; +Translation: -15
; $Section:
; +Width: 0.2
; +Texture: BBlueHaze1
; +RGBA Inner: 160 160 0 255
; +RGBA Outer: 60 60 0 10
; +Flicker: 0.07
; +Zadd: 7
; +Tile Factor: 10, 1
; +Translation: -12
; $Section:
; +Width: 0.23
; +Texture: BBlueHaze2
; +RGBA Inner: 160 160 255 255
; +RGBA Outer: 60 60 0 10
; +Flicker: 0.15
; +Zadd: 5
; +Tile Factor: 16, 1
; +Translation: -6
; $Section:
; +Width: 0.25
; +Texture: BBlueHaze3
; +RGBA Inner: 160 160 0 255
; +RGBA Outer: 60 60 0 10
; +Flicker: 0.2
; +Zadd: 3
; +Tile Factor: 16, 1
; +Translation: -6
; $Section:
; +Width: 0.3
; +Texture: BlueFade
; +RGBA Inner: 255 255 255 255
; +RGBA Outer: 150 150 150 10
; +Flicker: 0.35
; +Zadd: 1
;
;Well that didn't work. Want to try again? (more information: It was a beam and acting in beam ways in that the
;"ticks" of damage and energy consumption didn't sync)
$Name: Harpe
+Title: XSTR("GTW Harpe", -1)
+Description: XSTR("
Range 4000, ROF 3
DPS 80 Armour, 240 Shield, 40 Subsystem
EUPM 2400, Hitscan
", -1)
$end_multi_text
+Tech Title: XSTR("GTW Harpe X42", -1)
+Tech Anim: none
+Tech Description: XSTR("The Harpe is a product of the triumphs made in energy storage. The Harpe draws massive amounts of energy where it is then released in one massive spike. In particular, the Harpe is a railgun, accelerating a long rod penetrator to relativistic speeds before even leaving the barrel. Shields are generally quite effective at absorbing kinetic impacts, but the speed t which the Harpe travels forces energy shields to pulse energy inefficiently in an attempt to disintegrate the projectile, draining them of their power in short order.", -1)
$end_multi_text
$Tech Model: ArcherTECH.pof
$Model File: none
@Laser Bitmap: pd2
@Laser Glow: Prometheus_Glow
@Laser Color: 250, 250, 250
@Laser Color2: 150, 150, 150
@Laser Length: 100.0
@Laser Head Radius: 0.5
@Laser Tail Radius: 0.5
$Mass: 0.01
$Velocity: 10000.0
$Fire Wait: 12
$Damage: 240
$Armor Factor: 1.0
$Shield Factor: 3.0
$Subsystem Factor: 0.5
$Lifetime: 0.4
$Energy Consumed: 200
$Cargo Size: 0.0
$Homing: NO
$LaunchSnd: 77
$ImpactSnd: 88
+Weapon Range: 4000
$Flags: ( "in tech database" "player allowed" "cycle" "particle spew")
$Trail:
+Start Width: 0.4
+End Width: 0
+Start Alpha: 1.0
+End Alpha: 0.0
+Max Life: 4
+Bitmap: missiletrail03
$Impact Explosion: exp04
$Impact Explosion Radius: 5.0
$Piercing Impact Explosion: exp06
$Piercing Impact Radius: 0.9
$Piercing Impact Velocity: 10
$Piercing Impact Splash Velocity: -2.5
$Piercing Impact Variance: 0.01
$Piercing Impact Particles: 5
$Muzzleflash: Bmuzzle
$Pspew:
+index: 0
+Type: Helix
+Count: 10
+Time: 1
+Vel: 0
+Radius: 1
+Life: 20
+Scale: 9
+Rotation Rate: 20
+Bitmap: Kayser_Particle
$Pspew:
+index: 1
+Type: Helix
+Count: 10
+Time: 1
+Vel: 0
+Radius: 1
+Life: 20
+Scale: 4
+Rotation Rate: -20
+Bitmap: Lamprey_Particle
$Pspew:
+index: 2
+Type: Helix
+Count: 20
+Time: 1
+Vel: 0
+Radius: 1
+Life: 20
+Scale: 6
+Rotation Rate: -5
+Bitmap: Vepar_Particle
;I would prefer these graphics to stick around a bit longer, but I'm probably pushing the particle limit as it is (and
;don't know how to do it)
$Name: Harpe
+Title: XSTR("GTW Harpe", -1)
+Description: XSTR("
Velocity 10000, Range 4000, ROF 3
DPS 20 Armour, 10 Subsystem
EUPM 2400, Shield Piercing
", -1)
$end_multi_text
+Tech Title: XSTR("GTW Harpe X42", -1)
+Tech Anim: none
+Tech Description: XSTR("The Harpe is a product of the triumphs made in energy storage. The Harpe draws massive amounts of energy where it is then released in one massive spike. In particular, the Harpe is a railgun, accelerating a long rod penetrator to relativistic speeds before even leaving the barrel. Shields are generally quite effective at absorbing kinetic impacts, but the speed at which the Harpe travels penetrates shield systems well before they have time to react, effectively punching through them as if they weren't there.", -1)
$end_multi_text
$Tech Model: ArcherTECH.pof
$Model File: none
@Laser Bitmap: pd2
@Laser Glow: Prometheus_Glow
@Laser Color: 250, 250, 250
@Laser Color2: 150, 150, 150
@Laser Length: 100.0
@Laser Head Radius: 0.5
@Laser Tail Radius: 0.5
$Mass: 0.01
$Velocity: 10000.0
$Fire Wait: 3
$Damage: 60
$Armor Factor: 1.0
$Shield Factor: 1.0
$Subsystem Factor: 0.5
$Lifetime: 0.4
$Energy Consumed: 42.5
$Cargo Size: 0.0
$Homing: NO
$LaunchSnd: 77
$ImpactSnd: 88
+Weapon Range: 4000
$Flags: ( "in tech database" "player allowed" "particle spew" "pierce shields")
$Trail:
+Start Width: 0.4
+End Width: 0
+Start Alpha: 1.0
+End Alpha: 0.0
+Max Life: 4
+Bitmap: missiletrail03
$Impact Explosion: exp04
$Impact Explosion Radius: 5.0
$Piercing Impact Explosion: exp06
$Piercing Impact Radius: 0.9
$Piercing Impact Velocity: 10
$Piercing Impact Splash Velocity: -2.5
$Piercing Impact Variance: 0.01
$Piercing Impact Particles: 5
$Muzzleflash: Bmuzzle
$Pspew:
+index: 0
+Type: Helix
+Count: 10
+Time: 1
+Vel: 0
+Radius: 1
+Life: 20
+Scale: 9
+Rotation Rate: 20
+Bitmap: Kayser_Particle
$Pspew:
+index: 1
+Type: Helix
+Count: 10
+Time: 1
+Vel: 0
+Radius: 1
+Life: 20
+Scale: 4
+Rotation Rate: -20
+Bitmap: Lamprey_Particle
$Pspew:
+index: 2
+Type: Helix
+Count: 20
+Time: 1
+Vel: 0
+Radius: 1
+Life: 20
+Scale: 6
+Rotation Rate: -5
+Bitmap: Vepar_Particle
mod file