View Issue Details

IDProjectCategoryView StatusLast Update
0006254The Dark ModPhysicspublic09.02.2023 16:57
ReporterAluminumHaste Assigned To 
Status acknowledgedResolutionopen 
Product VersionTDM 2.11 
Target VersionTDM 2.12 
Summary0006254: AI ragdolls not sustaining any damage from any fall height

Ko'ed and/or dropped AI turn into ragdolls after a short fall (normal behaviour), but stop accelerating pretty quickly.
They then fall at a capped rate and sustain no damage when they hit the ground.

Steps To ReproduceLoad up test map, press button and the trap door opens and AI falls.
Will turn into ragdoll then slowly float to the ground.
Additional InformationTest Map:
TagsNo tags attached.




09.02.2023 14:54

developer   ~0015932

The reason I assigned this to you (Greebo) is your comments in the code

// greebo: Now calibrate the damage using the sixth power of the velocity (=square^3)
    // The damage has a linear relationship to the sixth power of vdelta
    delta = delta*delta*delta;
    int damage = static_cast<int>(1.4E-16 * delta - 3);

Seems you know your way around this part of the code.

Grayman modified the code back in 2.01 and fixed it in 2.03.

And it worked,

But something for 2.05 broke it, as it continued to work in 2.04.

Issue History

Date Modified Username Field Change
09.02.2023 14:52 AluminumHaste New Issue
09.02.2023 14:52 AluminumHaste Status new => assigned
09.02.2023 14:52 AluminumHaste Assigned To => greebo
09.02.2023 14:54 AluminumHaste Note Added: 0015932
09.02.2023 16:57 greebo Assigned To greebo =>
09.02.2023 16:57 greebo Status assigned => acknowledged