Cataclysm-dda: Unable to shoot through the vehicle windows with laser weapons

Created on 24 Aug 2018  路  5Comments  路  Source: CleverRaven/Cataclysm-DDA

Windows, tiles, 0.C-29661-g765578f.
Mods: dda, no_npc_food, novitamins

Shots from laser weapons are blocked by vehicle windows while coming through the regular house windows or reinforced glass in labs just fine.

To reproduce: make a vehicle consisting only of frames and windowshields, try shooting through it with a laser rifle - it will result in blocked shots and vehicle damage.

<Bug> Ranged Vehicles

Most helpful comment

I guess @maniak1349's point is that all glass should work the same.

All 5 comments

Physicswise light get麓s deflected when entering from one medium into another one.
[Next time you sit in the bath tub, turn the light off and take a flashlight to put light onto the ground of the tub through the water. The lightspot will be not where you have pointed it, unless your impact angle is 90掳.]

The laser does that twice while moving through glass.

  1. air -> glass,
  2. glass -> air.
    So how about any glass deflecting lasers every time ingame.

I know I麓m smart assing here. If you just want to shoot lazors, thats fine with me also.
I consider it an interesting gameplay feature to be not able to shoot lasers through glass.

I guess @maniak1349's point is that all glass should work the same.

I agree with that. One way or another.

Most glass is not perfectly transparent (or clean) either, the impurities/imperfections in ordinary glass would probably absorb enough energy to shatter it from a laser as powerful as these weapons seem to be. my five cents would be to treat them as any other gun in this case.

What's the wavelength of the laser weapons in game? Regular soda lime glass that vehicle windows use is mostly opaque to wavelength below ~300nm (short wavelength ultraviolet).

Was this page helpful?
0 / 5 - 0 ratings