Bloodsplats
Info
Dependencies:
- Floats
- View
- Random
- Anim8
Implementation:
Bloodsplats.d on GitHub
If this package is activated, red blood splatters will appear on the screen when the hero takes damage. For this, the damage perception for the hero is redirected to _B_HeroDamage()
. To use the Bloodsplats, the enclosed textures must be available. Also, the VFX "HERO_HURT" (also included) should be entered in the VfxInst.d
to create an even better hit effect. All textures used here are from CGTextures.com. If you use Bloodsplats in your modification, this site must be noted in the credits.
Tip
See user constants to edit behavior of this packet.
Initialization
Initialize with LeGo_Bloodsplats
flag.
Functions
Bloodsplat
Bloodsplat
Puts a blood splatter on the screen.
var int damage
The damage (affects the size of the splatter)
Bloodsplats_Rage
Bloodsplats_Rage
Pretty pointless feature that smears the entire screen.
Npc_GetPercFunc
Npc_GetPercFunc
oCNpc::GetPerceptionFunc
engine function wrapper
var C_NPC npc
NPC whose perception is checkedvar int type
Checked perception type (formConstant.d
)
Return value
The function returns the state of NPCs selected perception.