FakeFishGames / Barotrauma

A 2D online multiplayer game taking place in a submarine travelling through the icy depths of Jupiter's moon Europa.
http://www.barotraumagame.com/
1.74k stars 403 forks source link

Searchlights do not attract aliens unlike gun lights #12265

Closed mygamingaccount closed 2 months ago

mygamingaccount commented 1 year ago

Disclaimers

What happened?

Gun turrets attract aliens with vision from a great distance.

The same is not true for searchlights, aliens ignore those.

Reproduction steps

Spawn crawlers near a sub that has the gun lights off, searchlights on. Use freecam and aitargets to inspect the AI.

Toggle the gun lights

Expected: crawlers attack the source of bright light regardless of what it's attached to

Instead they ignore the searchlight.

Bug prevalence

Happens every time I play

Version

v1.0.21.0

-

No response

Which operating system did you encounter this bug on?

Linux

Relevant error messages and crash reports

No response

mygamingaccount commented 1 year ago

Searchlights lack the <aitarget> tag

itchyOwl commented 1 year ago

Seems to be unimplemented. Thanks for reporting it!

itchyOwl commented 1 year ago

Implemented in Regalis11/Barotrauma-development@0dbe382.

Jasontti commented 1 year ago

Tested. Removed turrets, crawlers are attracted to searchlight same as turrets. Closing ticket.

Regalis11 commented 11 months ago

This seems to have caused a new issue https://github.com/Regalis11/Barotrauma/issues/12818, so I decided to revert the fix for now. Tagging the searchlight as a turret could cause other side-effects as well, we should at least check it doesn't affect upgrades or swapping.

itchyOwl commented 2 months ago

Simple steps to repro:

itchyOwl commented 2 months ago

Addressed in FakeFishGames/Barotrauma-development#5557.

Rokvach commented 2 months ago

Tested, working correctly. Can be merged and closed.