Page 1 of 1

Transfer BloodColor through A_SpawnItemEx (and similar)

PostPosted: Thu Jun 28, 2012 10:51 pm
by Hellser
In particular, this is a problem with A_SpawnItemEx and the actors spawned by it. When someone is using a gore system which has a monster spawning a 'GibGenerator', which then spawns gibs (again, A_SpawnItemEx) to spray all around.. the BloodColor seems to be lost somewhere in that mix and any decals that the gibs spawn will be the default blood red. Instead of Blue, Green, or whatever the coder typed in.

Also, I know everything is fine when I use my gore system, because gibs are using the Blue, Green and what not color. Just the decals aren't keeping BloodColor.

This could be a flag, or a default behavior.

Re: Transfer BloodColor through A_SpawnItemEx (and similar)

PostPosted: Sat Oct 22, 2016 9:17 am
by Nash
Translating the sprites is already possible with the SXF_USEBLOODCOLOR flag for A_SpawnItemEx

The decal issue is a duplicate of this thread: viewtopic.php?f=15&t=46146&hilit=translate+blood

Re: Transfer BloodColor through A_SpawnItemEx (and similar)

PostPosted: Sat Oct 29, 2016 9:53 pm
by TheCamaleonMaligno
what about transfering bloodcolor to the spawned actor's stencilcolor? :cry:

Re: Transfer BloodColor through A_SpawnItemEx (and similar)

PostPosted: Sat Oct 29, 2016 10:33 pm
by Major Cooke
Wait for zscript. Which actually isn't long now. :D