Page MenuHomeFeedback Tracker

AI is also shooting you when you are hidden
Reviewed, WishlistPublic

Description

I have been trying a bit around with the scripting commands and found out that if you are hiden with "player hideObject true" AI will still shoot you, but the bullets will go through you.
I have also tried to reload the mission i had and tried if it works, but still same issue.

Details

Legacy ID
228847096
Severity
None
Resolution
Open
Reproducibility
Always
Category
AI Aiming / Shooting
Steps To Reproduce

Go im editor
Create player and a few random enemy AI's
Create a gamelogic "player hideObject true"
Try it out.

Event Timeline

MrKiller200 edited Additional Information. (Show Details)
MrKiller200 set Category to AI Aiming / Shooting.
MrKiller200 set Reproducibility to Always.
MrKiller200 set Severity to None.
MrKiller200 set Resolution to Open.
MrKiller200 set Legacy ID to 228847096.May 7 2016, 7:03 PM
MrKiller200 edited a custom field.

Hey! Thank you for the report.

That is true and it is an intended behavior. HideObject does only hide an object visually. It's e.g. often used with enableSimulation false to hide something you want to enable / reveal later in the mission or to manage performance of the scenario.

The AI only looses the visual detection on a hidden object, however the AI still has audible (and ev. radar) detection. Usually it would be the footsteps what reveals you, on the other hand footsteps should not allow the AI for friend-or-foe identification. Other sounds (fire, shouting) could however.

AI can you see trough objects, from 500-700 metre

oukej added a comment.Jul 23 2014, 9:00 AM

I've checked it again and it doesn't seem working like I thought it should. However using hideObject on an active unit is still something the command wasn't intended for and it may not be AI-friendly when used so.

So far I can't promise any change in the behavior, but will investigate the issue.

i just tried to use both commands enablesimulation false and hideObject true, but that resulted in me being stuck unable to move/turn/shoot/change weapon...