[Duplicate] Transfer BloodColor through A_SpawnItemEx (and similar)

Moderator: GZDoom Developers

Transfer BloodColor through A_SpawnItemEx (and similar)

Postby Hellser » Thu Jun 28, 2012 10:51 pm

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.
User avatar
Hellser
Remember Citadel
 
Joined: 25 Jun 2006
Location: Citadel Station
Discord: Hellser#8156
Operating System: Windows 10/8.1/8 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

Re: Transfer BloodColor through A_SpawnItemEx (and similar)

Postby Nash » Sat Oct 22, 2016 9:17 am

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
User avatar
Nash
 
 
 
Joined: 27 Oct 2003
Location: Kuala Lumpur, Malaysia
Github ID: nashmuhandes

Re: Transfer BloodColor through A_SpawnItemEx (and similar)

Postby TheCamaleonMaligno » Sat Oct 29, 2016 9:53 pm

what about transfering bloodcolor to the spawned actor's stencilcolor? :cry:
User avatar
TheCamaleonMaligno
I eat little babies - Mathias Bossi
 
Joined: 28 Jun 2015
Location: Frozen igloo, IN MIDDLE OF THE DESERT!!

Re: Transfer BloodColor through A_SpawnItemEx (and similar)

Postby Major Cooke » Sat Oct 29, 2016 10:33 pm

Wait for zscript. Which actually isn't long now. :D
User avatar
Major Cooke
Do unto others as you would have unto you. Judge yourself first.
 
Joined: 28 Jan 2007


Return to Closed Feature Suggestions

Who is online

Users browsing this forum: No registered users and 1 guest