View Issue Details

IDProjectCategoryView StatusLast Update
0003992The Dark ModAIpublic04.10.2017 13:33
Reportergrayman Assigned Tograyman  
PrioritynormalSeveritynormalReproducibilityalways
Status resolvedResolutionfixed 
Product VersionTDM 2.03 
Target VersionTDM 2.04Fixed in VersionTDM 2.04 
Summary0003992: Dropped weapons should not be ignored by AI
DescriptionWeapons found by AI are checked for 'friendliness'. If they belonged to a friend, they're ignored and the AI isn't alerted.

It should be the opposite: if my friend's weapon is on the floor, I should search around for my friend.

This will mean players need to hide not only a body, but any weapons dropped by the body.
TagsNo tags attached.

Relationships

related to 0002917 closedgrayman AI alerted by objects they drop 

Activities

grayman

grayman

18.09.2015 15:32

administrator   ~0007788

1 – Gave weapons a visual stim so they could alert passing AI. This is disabled at map start, otherwise all weapons would be stimming all AI. When the weapon is dropped by an AI, the stim is enabled.

2 – Allow dropped weapons to be seen if there’s no body nearby (KO’ed or dead), and no other weapons nearby. This lets the player hide the dropped weapon on a table of other weapons w/o raising suspicion. The other weapons can be func_statics with weapon models; they don’t have to be useable weapons. (Anything from the models/darkmod/weapons/ folder.) If the body is moved elsewhere, or the table cleared of everything but the dropped weapon, the dropped weapon is by itself and will alert nearby AI.

3 – A weapon in the player’s grabber won’t alert nearby AI. If they can see the weapon, they can see the player, and they’ll go after the player anyway, so ignoring the weapon is okay.

4 – If a dropped weapon causes an alert, and AI mount a search, if the weapon is moved elsewhere later, it can cause another search. All weapons look the same, unlike bodies.

5 – If a dropped weapon causes a search, and is picked up and dropped in the same place, it won’t cause another search.

6 – Lowered the alert ranking of dropped weapons from 35 to 24, per Springheel’s request.

Rev. 6538:

AI.cpp
State.cpp
Physics_RigidBody.cpp
Entity.cpp
Entity.h

Rev. 14387:

tdm_moveable_weapons.def
SteveL

SteveL

18.09.2015 18:50

developer   ~0007789

Can it distinguish weapons dropped by AI from other weapon models? So, avoiding the situation that two swords from KO'd AI could make one another invisible.
grayman

grayman

18.09.2015 20:01

administrator   ~0007790

Yes, it can distinguish.

However, a single weapon by itself is suspicious. Two or more shouldn't be. Bring it up on the thread if you want folks to discuss.
tels

tels

07.11.2015 08:32

developer   ~0007888

Will AI be alertered by weapons that are dropped by their enemies, e.g. a monster they both fight?

Issue History

Date Modified Username Field Change
28.12.2014 01:13 grayman New Issue
16.09.2015 19:55 grayman Assigned To => grayman
16.09.2015 19:55 grayman Status new => assigned
18.09.2015 15:32 grayman Note Added: 0007788
18.09.2015 15:32 grayman Status assigned => resolved
18.09.2015 15:32 grayman Resolution open => fixed
18.09.2015 15:32 grayman Fixed in Version => TDM 2.04
18.09.2015 18:50 SteveL Note Added: 0007789
18.09.2015 20:01 grayman Note Added: 0007790
07.11.2015 08:32 tels Note Added: 0007888
04.10.2017 13:33 nbohr1more Relationship added related to 0002917