View Issue Details

IDProjectCategoryView StatusLast Update
0002356The Dark ModAIpublic27.10.2011 05:16
Reportergrayman Assigned Tograyman  
PrioritynormalSeveritynormalReproducibilityalways
Status closedResolutionfixed 
PlatformWin32OSWindowsOS VersionXP
Product VersionTDM 1.02 
Target VersionTDM 1.04Fixed in VersionTDM 1.04 
Summary0002356: Rats get stuck
DescriptionRats get stuck on stairs and ramps.
Steps To ReproducePut a rat on a random walk near stairs or ramps and they invariably end up partway up the structure, where they forever stay. They cycle through a "stand up/drop down" animation sequence.

I'll provide a sample map later.
Additional InformationIf a rat finds itself in the same spot after a period of time, it should do something to start moving again. It found its way to this spot, so theoretically it should be able to find its way out.
TagsNo tags attached.

Activities

grayman

grayman

05.02.2011 15:44

viewer   ~0003562

Increased animal patrol goal-finding to give rats more chances to find good spots to go to. This reduces getting stuck in small spaces like stairs.

Added a 10s timeout for rats traveling to a spot. This prevents getting stuck when a spot is valid, but unreachable.

If a goal is very far away (>120), a rat will run to it instead of possibly doing a slow hop the entire distance.

Added a drowning check for rats to keep them from pausing too long underwater. This reduces drowning, but doesn’t prevent it.

If stuck on a func_static, vertical downward velocity can build up, killing a rat when it frees itself. Added a check to prevent this.

New check for freeing AI stuck inside a func_static (like a rat stuck under a bed).

rev 4472:

AnimalPatrolTask.h
AnimalPatrolTask.cpp
ResolveMovementBlockTask.cpp
MovementSubsystem.h
MovementSubsystem.cpp
physics_monster.cpp

Issue History

Date Modified Username Field Change
18.09.2010 18:47 grayman New Issue
18.11.2010 16:26 grayman Assigned To => grayman
18.11.2010 16:26 grayman Status new => assigned
05.02.2011 15:44 grayman Note Added: 0003562
05.02.2011 15:45 grayman Status assigned => resolved
05.02.2011 15:45 grayman Resolution open => fixed
05.02.2011 15:45 grayman Fixed in Version => TDM 1.04
05.02.2011 15:45 grayman Target Version => TDM 1.04
27.10.2011 05:16 greebo Status resolved => closed