lightning gun

5 moment(s) that assert this concept — showing 1–5 of 5

single sourceRests on a single channel — treat as a lead, verify independently
↣ how this spread over time →
provenance — click a node to open its encoding unit
[1] Matt's[2] Matt's[3] Matt's[4] Matt's[5] Matt's
showing 5 of 5 moments
Matt's Ramblings · youtube · en-US
1The lightning gun in Quake's weapon system has a linear beam that cannot detect enemies standing to the side of the player, allowing them to block the path while remaining out of range.
“the year is 1996 and you're a programmer for its software you're working on the thunderbolt quake's most powerful weapon which lets you cut through hordes of enemies like butter except that it doesn't due to the weapon's linear beam”
spoken · 23s · 2023-06-13
Matt's Ramblings · youtube · en-US
2A programmer attempts to fix the lightning gun's beam by making it wider, using two additional beams on either side of the main beam to cover more ground.
“you resolve to fix this by giving the beam used to scan for enemies a width rather than just being a line if the beam is the same width as the player you'll have much easier time cutting down hordes”
spoken · 47s · 2023-06-13
Matt's Ramblings · youtube · en-US
3The original code for applying damage to the side beams fails due to a lack of in-place normalization and incorrect rotation logic that causes the side beams to grow apart based on the main beam's y-axis movement.
“the bungled rotation means the beam offset is dependent on the distance the main beam traveled in the y-axis if shoot directly along x-axis the offset will be zero but wiggle left to right the beams grow further apart”
spoken · 163s · 2023-06-13
Matt's Ramblings · youtube · en-US
4The side beams, when properly implemented, would allow enemies to be killed even if they were positioned to the side of the player, which speedrunners exploit to reduce finish time in a level.
“if any enemies get in way they will be killed in this case killing the really triggers an animation sequence normally holds the player up at end of level speedrunners use this trick to cut several seconds off the finish time for map”
spoken · 198s · 2023-06-13
Matt's Ramblings · youtube · en-US
5The side beams in the lightning gun are not intended to prevent enemy blocking, but appear to be a side-effect of a flawed implementation that allows for unintended behavior.
“I want to caveat this story by saying I don't know for sure that the side beams were intended to prevent enemy blocking but it seems like most likely explanation”
spoken · 230s · 2023-06-13