View Issue Details

IDProjectCategoryView StatusLast Update
0006254The Dark ModPhysicspublic05.12.2023 01:28
ReporterAluminumHaste Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status acknowledgedResolutionopen 
Product VersionTDM 2.11 
Target VersionTDM 2.12 
Summary0006254: AI ragdolls not sustaining any damage from any fall height
Descriptionhttps://forums.thedarkmod.com/index.php?/topic/21755-ai-ragdolls-fall-a-set-rate-no-fall-damage/

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: https://drive.google.com/file/d/1g5oEZuAwSuszEqN-JBnXXIYpY1RWd-HV/view?usp=sharing
TagsNo tags attached.

Activities

AluminumHaste

AluminumHaste

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.
https://bugs.thedarkmod.com/view.php?id=3699

And it worked,
https://youtu.be/ZH0J2EhLXkg

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

nbohr1more

05.12.2023 01:28

developer   ~0016212

Can you still reproduce this now that the fix for a number of uncapped FPS issues has been applied?

If so, can you bisect to a specific SVN revision after 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
05.12.2023 01:28 nbohr1more Note Added: 0016212