Forgive my stupid question, but I'd like to know if there's a way to change a monster's blood color in real time by either using ACS or a DECORATE function.
I have this boss monster that I've coded, divided in 3 phases: each phase makes him change color of the sprites via translations, but I'd like to be able to change his blood color as well, along with the sprites.
Blood color change in real time
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
-
- Posts: 4949
- Joined: Sun Nov 14, 2010 12:59 am
- Remmirath
- Posts: 2561
- Joined: Sun Dec 23, 2007 3:53 am
- Graphics Processor: nVidia with Vulkan support
- Location: My house
- Contact:
Re: Blood color change in real time
Oh bummer. Thanks anyway
- Dark-Assassin
- Posts: 742
- Joined: Thu Mar 19, 2009 3:40 am
- Location: South Australia
Re: Blood color change in real time
The best you can do is just do a replacement spawn with a modified inherited actor when the criteria is met.
Re: Blood color change in real time
Instead of changing translations, can't you just make 3 different classes with those translations and have him morph between the classes, with each class having its own blood color, while saving his health in some variable in real-time?