Player Death Scream Restored (SR2)

Rather interesting mod, i never knew those voicelines ever existed.
Wonder if it's possible to do something similar with SR1 too?
As it turns out, yes it is! And the code is pretty much the same. But, while the same persona situation does exist in SR1's person_situations.xtbl ("voice - death scream"), Playa has no audio for it. But I noticed SR1 Playa does make pain sounds when shot. So he uses "voice - pain shout" instead.

The only other differences in code are:
1. The function name "is_dead" in SR1 (defined in ug_lib.lua), which is "character_is_dead" in SR2 (not sure where it's defined in SR2, I copied it from a mission script).​
2. "#PLAYER#" isn't defined anywhere as a global variable, so is called directly.​
3. The lack of a Co-op check since SR1 has no Co-op.​

I'll upload it in the Saints Row (2006) section now... Uploaded!
 
Last edited:
Back
Top