View Issue Details

IDProjectCategoryView StatusLast Update
0004370The Dark ModCodingpublic08.09.2016 14:24
Reportergrayman Assigned Tograyman  
PrioritynormalSeveritynormalReproducibilityalways
Status resolvedResolutionfixed 
Product VersionTDM 2.04 
Target VersionTDM 2.05Fixed in VersionTDM 2.05 
Summary0004370: idMovers don't apply damage to player or AI when blocked by them
DescriptionIf an elevator gets blocked by an AI, it should apply enough damage to kill them. They won't try to get loose on their own, and it's the only way to free the elevator.

If a player blocks an elevator, perhaps just hurting them a bit is enough for them to try to get loose. Otherwise, damage should accrue until they're dead.
TagsNo tags attached.

Activities

grayman

grayman

05.09.2016 01:40

viewer   ~0008304

A better solution might be to reverse the direction of the elevator.
grayman

grayman

06.09.2016 15:41

viewer   ~0008307

The player and AI will now receive a bit of damage when an elevator hits them.

Small animals with mass < 5 (i.e. rats) will be crushed to death.

The elevator will reverse direction when it encounters an obstruction.

Rev. 6618:

Mover.cpp
Mover.h
MultiStateMover.cpp
MultiStateMover.h

Rev. 14587:

tdm_mover_elevators.def
grayman

grayman

08.09.2016 14:24

viewer   ~0008311

Round 2:

Use an “allow_reversal” spawnarg to turn on/off the ability for the elevator to reverse direction when hitting an obstruction.

Rev. 6621:

MultiStateMover.cpp

Rev. 14589:

tdm_mover_elevators.def

Issue History

Date Modified Username Field Change
05.09.2016 01:38 grayman New Issue
05.09.2016 01:38 grayman Status new => assigned
05.09.2016 01:38 grayman Assigned To => grayman
05.09.2016 01:40 grayman Note Added: 0008304
06.09.2016 15:41 grayman Note Added: 0008307
06.09.2016 15:41 grayman Status assigned => resolved
06.09.2016 15:41 grayman Resolution open => fixed
06.09.2016 15:41 grayman Fixed in Version => TDM 2.05
08.09.2016 14:24 grayman Note Added: 0008311