View Issue Details

IDProjectCategoryView StatusLast Update
0002338The Dark ModCodingpublic18.10.2011 21:44
ReporterSpringheel Assigned Tograyman  
PrioritynormalSeveritynormalReproducibilityhave not tried
Status resolvedResolutionduplicate 
Product VersionTDM 1.06 
Summary0002338: Expand m_LastTouchedBy to Movers (doors, elevators)
DescriptionCurrently AI alert themselves when opening suspicious doors.

There's a variable for this at least on moveables, so that AI don't react to stuff they knock over like you say. I believe it's called m_LastTouchedBy or something like that. I don't know if it's generalized to all entities or just on moveables, but its certainnly possible to set up something similar with doors and set the last idActor who opened them.

http://modetwo.net/darkmod/index.php?/topic/11572-last-acted-upon-by/
TagsNo tags attached.

Relationships

duplicate of 0002859 resolvedSpringheel If an AI opens a door marked ShouldBeClosed, he becomes suspicious 
related to 0002389 closedtels needs a new spawnarg for callobjectfunction 

Activities

grayman

grayman

04.03.2011 19:18

viewer   ~0003694

What's a "suspicious" door?
Springheel

Springheel

05.03.2011 01:08

administrator   ~0003697

Last edited: 05.03.2011 01:10

Doors can be set to "should be closed" (forget the actual spawnarg). If they are, AI get a low-level alert and make a bark if they see it open. Unfortunately, they currently do that even if THEY were the one who opened the door.

AI need to know if they were the last ones to touch the door and not be alerted if so. AI can also be alerted by the sounds of doors opening/closing, but this is currently turned off for the same reason.

Also, the issue of queues at doors will be tricky.

grayman

grayman

18.10.2011 21:44

viewer   ~0004082

Duplicate of 2859.

Issue History

Date Modified Username Field Change
10.08.2010 13:49 Springheel New Issue
03.10.2010 09:35 tels Relationship added related to 0002389
04.03.2011 19:18 grayman Note Added: 0003694
05.03.2011 01:08 Springheel Note Added: 0003697
05.03.2011 01:10 Springheel Note Edited: 0003697
18.10.2011 21:44 grayman Note Added: 0004082
18.10.2011 21:44 grayman Assigned To => grayman
18.10.2011 21:44 grayman Status new => resolved
18.10.2011 21:44 grayman Resolution open => duplicate
18.10.2011 21:44 grayman Product Version => TDM 1.06
18.10.2011 21:44 grayman Relationship added duplicate of 0002859