Posted by: sloanjh
« on: January 12, 2010, 07:45:57 PM »Quote from: "sloanjh"
Quote from: "Magnnus"Is being able to use lasers on planets with or without an atmosphere of 1 a boolean? Or does it's effectiveness scale as the atmospheric pressure goes up?
IIRC, damage is multiplied by (1-pressure_expressed_in_units_of_1_earth_atmosphere), rounded down to the nearest integer.
So a strength-2 hit on a world with 0.66 pressure would be 1.32 rounded down to 1; with .49 pressure it would be .98 rounded down to 0.
I'm fairly certain about the multiplier, but don't remember if it affects damage or something else.
You should be able to do a search in the forum for "atmosphere" and "beam" and turn something up.... (Haven't tried it, just guessing.)
John
Yep - found this thread by searching for "atmosphere beam" - viewtopic.php?f=1&t=1550&p=14046&hilit=atmosphere+beam#p14046 I realized after doing the search that it's usually a good idea to filter on only posts from *Steve* (he has two accounts) to cut down on noise
And reading the post made me realize my examples were backwards - .66 pressure results in 2*(1-.66) = .68 which rounds to zero, while .49 results in 2*(1-.49) = 1.02 which rounds to 1.
John