TheGreatCthulhu
Member
Posts: 213
Threads: 10
Joined: Oct 2010
Reputation:
32
|
Custom player damage visual feedback?
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.
|
|
08-19-2012, 06:36 PM |
|
Your Computer
SCAN ME!
Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation:
235
|
RE: Custom player damage visual feedback?
It's possible that it follows the following file name syntax: "damage_"+strtolower(asType)+n (assume an internal strtolower function exists).
|
|
08-19-2012, 08:46 PM |
|
TheGreatCthulhu
Member
Posts: 213
Threads: 10
Joined: Oct 2010
Reputation:
32
|
RE: Custom player damage visual feedback?
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.
|
|
08-19-2012, 10:42 PM |
|
Your Computer
SCAN ME!
Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation:
235
|
RE: Custom player damage visual feedback?
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.
|
|
08-20-2012, 12:28 AM |
|