Projectile that generates translated decal on impact

These are not rejected - but are not considered highly important right now.

Moderator: GZDoom Developers

Projectile that generates translated decal on impact

Postby Nash » Tue Jun 24, 2014 4:41 am

I have a projectile that carries translation information, and I want it to generate the translated decal colour upon colliding with a wall. Can this be done?

(same as viewtopic.php?f=15&t=33273)
Last edited by Nash on Sun Jan 31, 2016 4:47 am, edited 1 time in total.
User avatar
Nash
Nash Muhandes
 
 
 
Joined: 27 Oct 2003
Location: Kuala Lumpur, Malaysia

Re: Projectile that generates translated decal on impact

Postby jpalomo » Tue Jun 24, 2014 2:13 pm

Decals already support translations, so I would assume yes. I'll take a look at it when I can. No guarantees though.
User avatar
jpalomo
 
Joined: 17 May 2010

Re: Projectile that generates translated decal on impact

Postby wildweasel » Wed Jun 25, 2014 2:09 am

Does translation also include blood color, by chance?
User avatar
wildweasel
「お前はもうトースト」[you are already toast.]
Moderator Team Lead
 
Joined: 15 Jul 2003

Re: Projectile that generates translated decal on impact

Postby Nash » Thu Jul 24, 2014 2:38 pm

I planned to use this for blood purposes actually. :) The "projectile" I speak of in my OP is actually spawned from Blood, which is already translated. The problem now, however, if this projectile collides with the wall, it spawns the default-coloured decal (which is red). I was hoping to be able to colourize the decal according to its current translation.
User avatar
Nash
Nash Muhandes
 
 
 
Joined: 27 Oct 2003
Location: Kuala Lumpur, Malaysia

Re: Projectile that generates translated decal on impact

Postby Graf Zahl » Sat Jul 26, 2014 1:59 am

Can you post an example of what precisely you want? There should be a way to pass translation information in some way but first I need to evaluate the required use case.
User avatar
Graf Zahl
Lead GZDoom Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: Projectile that generates translated decal on impact

Postby Nash » Sat Jul 26, 2014 10:48 am

https://dl.dropboxusercontent.com/u/47355875/test.pk3

Here's what I'm trying to do. Obviously in this example, everything is ultra exaggerated (the distance the projectiles fly, the decals that gets generated, etc) but it was done that way to better illustrate the effect. If you comment out the RenderStyle, you can see that the projectiles are already taking the colour of the Caco's blood, so I know that information is being carried by the projectiles.
User avatar
Nash
Nash Muhandes
 
 
 
Joined: 27 Oct 2003
Location: Kuala Lumpur, Malaysia

Re: Projectile that generates translated decal on impact

Postby Graf Zahl » Sat Jul 26, 2014 12:09 pm

Ok, this is going to be a bit complicated because the translations for blood sprites and decals are not the same thing. So this somehow needs to be able to transfer the blood color to the projectile, not just the translation.
User avatar
Graf Zahl
Lead GZDoom Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: Projectile that generates translated decal on impact

Postby Nash » Fri Jan 15, 2016 7:22 am

Sorry for the bump, but any chance of revisiting this? Would be great so that I can update my newly-released blood mod to support colourized blood...
User avatar
Nash
Nash Muhandes
 
 
 
Joined: 27 Oct 2003
Location: Kuala Lumpur, Malaysia

Re: Projectile that generates translated decal on impact

Postby StrikerMan780 » Mon Jan 18, 2016 12:45 am

Nash wrote:Sorry for the bump, but any chance of revisiting this? Would be great so that I can update my newly-released blood mod to support colourized blood...

Yes! This is the final thing that would complete the gibs in my mod as well.
StrikerMan780
 
Joined: 29 Nov 2005
Location: In a dead-end shithole.
Discord: StrikerTheHedgefox#6299

Re: Projectile that generates translated decal on impact

Postby D2JK » Wed Jan 20, 2016 11:12 am

I'd be interested in this too, though in my case it would just let me clean up some extra code as I've already gone ahead and done this manually (red/green/black blood, droplets and decals). :-)
D2JK
 
Joined: 30 Aug 2014

Re: Projectile that generates translated decal on impact

Postby Josh771 » Sun Nov 20, 2016 3:33 pm

Maybe if this gets bumped enough, it'll happen. As I've begun developing Droplets once again, this has become yet another painful gap in the translation feature set. The ability to pass translation information from projectile to decal would be invaluable for various blood mods, and I imagine it would have its use in monster replacers and weapon mods as well.

EDIT: I hope my tone doesn't come across as exasperated or anything like that. I understand the sorts of hard problems real development runs into and I'd like to express my patience with regards to new features and whatever unique difficulties they represent. Hopefully this is something that can eventually, if not soon, be implemented.
User avatar
Josh771
formerly known as SidDoyle
 
Joined: 03 Apr 2013
Location: Elsewhere.
Discord: josh771#7771

Re: Projectile that generates translated decal on impact

Postby Graf Zahl » Sun Feb 26, 2017 2:28 pm

SidDoyle wrote:Maybe if this gets bumped enough, it'll happen.


The far more likely result will be that it gets closed. If this was simple it would already be in.
User avatar
Graf Zahl
Lead GZDoom Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: Projectile that generates translated decal on impact

Postby Nash » Wed Nov 21, 2018 5:32 pm

This may be closed, as I've found a solution to my original use case.
User avatar
Nash
Nash Muhandes
 
 
 
Joined: 27 Oct 2003
Location: Kuala Lumpur, Malaysia

Re: Projectile that generates translated decal on impact

Postby Rachael » Wed Nov 21, 2018 5:36 pm

I'm going to leave the final decision to Graf on that, mostly because I have no idea if he has any plans for this or not and I am not the person who wants to be raining on his parade if he does.

Ultimately, tickets that appear in these development forums are here to serve a purpose for the greater good, not solely for the person who opened them. I really wish people realized that (and there's one person in particular I have in mind when I say this...). Basically that means everything that gets implemented, whether you did the work via PR for it or not, is not a favor for you, it's meant for everyone.
User avatar
Rachael
Webmaster
 
Joined: 13 Jan 2004
Discord: Rachael#3767
Twitch ID: madamerachelle
Github ID: madame-rachelle


Return to On Hold Suggestions

Who is online

Users browsing this forum: No registered users and 1 guest