verhoevenv / OpenNotrium

Code and bugfixes for Instant Kingdom's Notrium, a topdown survival game
Other
86 stars 26 forks source link

AI acts dumb when behind a solid object that can pass bullets #50

Open Infernus444 opened 8 years ago

Infernus444 commented 8 years ago

So, if you place a movable creature behind a barricade (Object that is dense, but allows bullets to pass) with shooting AI type, it will rather move to the side so he has a clear shot, than shooting trough the barricade.

You can observe that in default mod where the marines base is. The marines will chase you around the rock to get a clear shot, instead of shooting at you trough it. The rock does not stop bullets.

Note that unmovable creatures (min and max speed = 0) works fine and will shoot trough that barricade.