Closed chaosvolt closed 2 years ago
I expect it's caused by invalid handling of exotic damage types. Corrosive uses acid and laser may use heat.
Augmented undead riflemen, one of the nod critters tested as well, use heat type damage as well however.
Describe the bug
Vehicle quarterpanels, windshields, and the like block some monster ranged attacks, but others will go through vehicles entirely. So far every monster gun to ignore vehicles completely has been found to copy from
fake_item
. The majority of guns that are properly halted by vehicle parts are instead dervied from normal firearms.The sole anomaly found thus far is the
laser_cannon_turret_fake
used by laser turrets. It was found to SOMETIMES ignore vehicle cover seemingly at random, for unknown reasons. Like all guns found to always behave themselves, it inherits from a real weapon rather than fake_item. Like all guns so far found to always ignore cover, it doesn't use ammo. Any actual cause I've yet to determine.Being inside the vehicle is likewise no protection relative to standing outside the vehicle.
Steps To Reproduce
Expected behavior
Screenshots
Test demonstrating corrosive zombie laughs at vehicle cover and calls it smol (uses acid_spit weapon, inherits from fake_item):
Test confirming this still applies even if inside the vehicle:
Test demonstrating a mil-spec turret can't ignore vehicles (uses m16a4_turret_fake, copies from m16a4):
Test confirming the same behavior when inside the vehicle:
Test confirming riot control platform also behaves as expected (uses pseudo_m203, copies from launcher_base):
Test with laser turret, confirming its behavior to be an anomaly compared to all monsters tested thus far (weapon is laser_cannon_turret_fake, copies from laser_cannon):
Test with undead augmented rifleman from Cataclysm++, confirming an example of a mod monster behaving sanely (weapon is arc_laser_rifle_monster, copies from arc_laser_rifle). Not a viable example of consistent laser behavior since the version of Cata++'s ARC-134 that super-soldiers use consume ammo from plutonium batteries, and are not UPS-fed:
Test with Arcana's Strigoi mech ignoring cover (weapon is monster_laser_fake, copies from fake_item):
Versions and configuration
Additional context
I was gonna try testing this with Bio-Weapon Apophis as it's the only other example of a monster that I think has an infinite-ammo ranged weapon that doesn't inherit from fake_item, but he wasn't cooperating. Also tried testing the host of the archon since he uses a weapon inheriting from fake_item too, hard to tell since he'd just open the car door and throw magic at me.