Frictional Games Forum (read-only)

Full Version: Custom player damage visual feedback?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
In the script functions wiki, it says that GivePlayerDamage() accepts "BloodSplat", "Claws" or "Slash" as the second argument - is it possible to create additional damage effects, or are these hard coded into Amnesia?
I was looking through the files, and found the damage effect textures, but couldn't find any other file that defines the effects themselves.
Tnx.
It's possible that it follows the following file name syntax: "damage_"+strtolower(asType)+n (assume an internal strtolower function exists).
Thank you again. That occurred to me too, but it doesn't work. The game also doesn't look for a custom story-specific version of the files, at least not by default. That's why I was hoping there was some kind of a XML file (or some other format) that defines the effects.
I did more research on it, and it would seem that the relative path to the file is hard coded into the Amnesia executable along with the damage types. So the only way to have your own is by overwriting the original files.