About Telliamed's TrigAlert script. - by Lady Rowena
Lady Rowena on 10/8/2013 at 12:41
I have to set up two of my missions like the T1 OM Undercover. At the moment I'm checking Telliamed's "A wedding at the bar" demo FM.
I understand the settings and all, if not for the fact that all the AIs have a "TrigAIAlert" script on them. The problem is that such a script does not exist in the latest Telliamed's release 21.
The FM is old (2006) so I'm not sure of what to do. Maybe theat particular script comes with the FM and it's not stil valid if I put it into mine?
Telliamed, if you are out there, please enlighten me! :)
Daraan on 10/8/2013 at 13:16
TrigAIAlert is a basic thief script inside of gen.osm
Quote:
TrigAIAlert gen.osm 1/G/2
When the object goes to high alert (message Alertness with an alert level of 3), sends TurnOn to ControlDevice linked objects.
Lady Rowena on 10/8/2013 at 14:14
Quote Posted by Daraan
TrigAIAlert is a basic thief script inside of gen.osm
Ooops, I should have know it, I presume...:o
So the TrigAIAlert doesn't have any other purposes? Good to know it.
Thanks to both of you. :)
Lady Rowena on 10/8/2013 at 23:49
It doesn't work as it should....
In Telliamed's FM AIs react immediately, as soon as they see me, in spite of having their vision set to below average. In my mission they have a reaction 1/10 times. Most of the times they seem to not see me at all even if I'm in full light. :(
The guards seems to act slightly better than the bystanders, but if they have an AIWAtchObj link to a patrol point, I have to set the Priority to Low.
I tested it on different AIs and rooms, but it doesn't change anything.
I am really disappointed. I really need the "undercover" setting expecially in the 3rd mission.
Is there anything I can do to raise the AI awareness?
kdau on 11/8/2013 at 01:17
Could you post a screenshot of the AI\Utility\Watch: watch link defaults property dialog for your M-PlayerBreach metaproperty? For the PrivateRoom script, those settings control how aware the AI has to be of the player. Specifically, changing the Priority to High or Very high should take care of guards who already have other AIWatchObj links. As for the AIs not always noticing the player, you will need to adjust the Required awareness, Line requirement, Minimum alertness, and Maximum alertness fields somehow.
Lady Rowena on 11/8/2013 at 10:22
I don't have any M-PlayerBreach...I just copied the settings of Telliamed's FM, which are very simple. The forbidden room has the PrivateRoom script, and the AIs have the M-AlertCApZero metaproperty. That's all, and yet it works just fine there.
The problem is not only with the AIs that have the AIWatchOby on them. (this is to make them to have a pause while patrolling). I tried it on standing still bystanders, and it's even worse.
This is shown in the monolog:
PrivateRoom #1572: PlayerEnter
PrivateRoom #1572: Damn, no meta-prop
PrivateRoom #1572: PlayerExit
PrivateRoom #1572: Removing links
PrivateRoom #1572: Testing awareness
PrivateRoom #1572: PlayerEnter
PrivateRoom #1572: Damn, no meta-prop
PrivateRoom #1572: PlayerExit
This happens most of the times, and when they finally notice me this line is added:
PrivateRoom #1572: Signalling AI1536
I also tried puttting the "ai_flow_watch" on one of them, but nothing relevant appears in the monolog, just the description of all what they are doing.
It seems that I need more complicated settings....I would be very grateful if anyone is willing to suggest what exactly I have to do.
R Soul on 11/8/2013 at 18:22
Quote Posted by Lady Rowena
I don't have any M-PlayerBreach...I just copied the settings of Telliamed's FM, which are very simple.
But you need that metaprop. That tells the AI what to do when you are seen. A typical response is to remove M-AlertCapZero, which allows them to attack you.
kdau on 11/8/2013 at 18:40
The M-PlayerBreach metaproperty is in Telliamed's demo, under AI_Behaviors\AI_B_Gen. It isn't applied to anyone because PrivateRoom takes care of that.
The "Damn, no meta-prop" message you're getting is the script giving up because the metaprop is missing. Without that, it doesn't even create any AIWatchObj links. The rare "Signalling AI" that you see isn't supposed to be the main event.
To get this working, just copy the M-PlayerBreach metaproperty exactly from the demo. Specifically, it just needs to have the following settings in the
AI\Utility\Watch: Watch link defaults property:
Inline Image:
https://lh5.googleusercontent.com/-umm2I8vzniU/UgfaP4SKzNI/AAAAAAAAAMg/lILrp1ofoNQ/s800/M-PlayerBreach.pngIf you still have issues with guards who have other AIWatchObj links, try changing the
Priority to
High.
Lady Rowena on 11/8/2013 at 20:10
It works! :thumb:
I was concentrated on the mission itself and I never checked the requirements for the script to work properly. I added the metaprop and it works fine now. Thanks! :D