Laser range/effectiveness

Post Reply
Starstrider42
Posts: 16
Joined: Sun Jul 02, 2023 5:40 pm

Laser range/effectiveness

Post by Starstrider42 »

Hello, nerding out again, this time over lasers and their ranges. If you define a laser's effective range as the distance at which armor has normal effectiveness, the early-game lasers look like:

Code: Select all

| Name               | Aperture | Wavelength | Armor @ 200 km| Eff. Range |
|--------------------|----------|------------|---------------|------------|
| 60 cm IR Laser     |    60 cm |    1080 nm |         1318% |      55 km |
| 60 cm Green Laser  |    60 cm |     540 nm |          358% |     105 km |
| 120 cm IR Laser    |   120 cm |    1080 nm |          361% |     105 km |
| 120 cm Green Laser |   120 cm |     540 nm |          121% |     180 km |
| 240 cm IR Laser    |   240 cm |    1080 nm |          124% |     180 km |
| 240 cm Green Laser |   240 cm |     540 nm |           64% |     250 km |
| 480 cm IR Laser    |   480 cm |    1080 nm |           66% |     245 km |
| 480 cm Green Laser |   480 cm |     540 nm |           51% |     280 km |
Naively, I'd expect diffraction to become significant at a range of about D^2/λ, with the beam intensity almost constant at shorter ranges and following an inverse-square law at longer ranges. But the in-game ranges are much shorter than that formula (fortunately for balance!), instead being an (almost) pure function of D/λ with quickly diminishing returns and following an inverse-square law everywhere.

So I'm curious how the armor effectiveness scores are actually computed from the laser's base specs. So far I haven't been able to find any function that reproduces that steep leveling out at high D/λ.

(Also, are all these measurements really in cm, and not mm? These lasers seem rather... big compared to conventional and magnetic guns.)
neilwilkes
Posts: 184
Joined: Sat Oct 01, 2022 10:44 am

Re: Laser range/effectiveness

Post by neilwilkes »

Starstrider42 wrote: Sun Dec 10, 2023 9:06 pm (Also, are all these measurements really in cm, and not mm? These lasers seem rather... big compared to conventional and magnetic guns.)
A very good point - shouldn't be in cm either - surely it's nanometers (nm)
https://www.gentec-eo.com/blog/the-lase ... -explained
PAwleus
Posts: 109
Joined: Fri Mar 19, 2021 12:58 pm

Re: Laser range/effectiveness

Post by PAwleus »

Surely it's NOT nm - it's NOT the wavelength but the aperture. It's clearly labeled, isn't it?
User avatar
johnnylump
Site Admin
Posts: 1261
Joined: Wed Nov 11, 2015 4:12 am

Re: Laser range/effectiveness

Post by johnnylump »

One note that 60cm etc. is the radius, not the diameter, of the optics.
Starstrider42
Posts: 16
Joined: Sun Jul 02, 2023 5:40 pm

Re: Laser range/effectiveness

Post by Starstrider42 »

Ok, so my math is a factor of 2 or 4 off. :D But seriously, what's the reasoning behind how lasers work in the game? I'm sure the dev team's put more thought into it than my quick order-of-magnitude stuff.
Post Reply