[Duplicate] Transfer BloodColor through A_SpawnItemEx (and similar)

Moderator: GZDoom Developers

Transfer BloodColor through A_SpawnItemEx (and similar)

Postby Hellser » Thu Jun 28, 2012 11: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
Misdreavus used Psybeam!
 
Joined: 25 Jun 2006
Location: Mount Silver
Discord: Hellser#8156

Re: Transfer BloodColor through A_SpawnItemEx (and similar)

Postby Nash » Sat Oct 22, 2016 10: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
Operating System: Windows 10/8.1/8 64-bit
Graphics Processor: nVidia GTX or Quadro with Vulkan support

Re: Transfer BloodColor through A_SpawnItemEx (and similar)

Postby TheCamaleonMaligno » Sat Oct 29, 2016 10: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!!
Discord: Malingo#5381

Re: Transfer BloodColor through A_SpawnItemEx (and similar)

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

Wait for zscript. Which actually isn't long now. :D
User avatar
Major Cooke
The road to Hell is paved in the carrion she leaves behind.
 
Joined: 28 Jan 2007
Discord: Major Cooke#0846


Return to Closed Feature Suggestions

Who is online

Users browsing this forum: No registered users and 0 guests