Pain flash

OK, I will quote myself:
nedflandeurse said:
You can define an empty entity as the hitflash.

Create a new entity in your game, delare it in models list.
This entity is a type "none" and will display a short "empty" animation.
The animation take its frame from an empty/transparent picture in your directory.

nedflandeurse said:
Then spawn your blood spark in pain4 anim itself.

Create a new blood spark just like regular flash spark anim.
Delare it in models
use it by spawing it with any moethod you like.

Code:
subentity	flashblood
spawnframe	0 0 3 8 0#{frame} {x} {z} {a} {relative}

For more details, read the manual.
 
yeah that's how the attack is setup already, I want a specific enemy to have a different flash when hit by attack4 for ex instead of blood flash blood2 would play for this enemy but I don't know of a way outside script perhaps to do this the manual only list noatflash and flash in the header as a solution but that would play when hit by all attacks which is not the results I want so if anyone knows how to accomplish this I would appreciate the help
 
Back
Top Bottom