How to lower the weight of dead bodies? I mean, when you shoot an enemy with SMG1's grenade thrower, he flies. BUT when the enemy is dead, when you shoot him, he doesn't move much.
are you sure this doesn't have to do with the core physics of source, rather than a separate weight variable for corpses? I happen to love grenading, got a 30 clip for them as a matter of fact. Sometimes a dead soldier will get trapped with space underneath him, such as falling between two static brushes too narrow to let him fall through. Exerting force from the proper direction makes cadavers fly, though a live soldier is standing (small footprint) and a fallen one is sprawled on the ground with a large footprint. It makes good sense that with hl2's gravity & friction in place, the dead body wouldn't get 'picked up' to be thrown very far, whereas you can blast the live ones off their little boots.
I admit I didn't warm it up and test it, although I do recall the ragdoll effects being somewhat muted for dead bodies. unless you have a mod in mind,
I mean, why does the weight of an enemy grow when it dies?
Just try to shoot a dead body with a revolver. It moves sooo little. Then try to shoot a living target, it does a backflip.
Also, when I type in SV_GRAVITY 0 and spawn some enemies mid-air they stay mid-air, BUT when I kill them, they go down.
Is there a console command that reduces the weight of a dead body?
I didn't create any duplicatable results, but I did try to kill one in mid air, and it did fall. When you have an entity selected and it's showing the name, state, health, etc; when it goes down, the output text dissapears. My guess would be a body and an npc are two different entities which separate upon killing the npc, and bodies are scripted to be ragdoll dummies. Maybe they have slightly different parameters, such as making them heavier or take less damage from gordon's weapons.
Try spiking a soldier's head to a wall with the crossbow, then increasing your max shotgun pellets and shooting it from the side. Real carnage, it'll cut a flip with it's head as the axis. ...um, please tell me someone else has done this.. anybody? crap.