OpenXcom Forum
OpenXcom Forks => OpenXcom Extended (OXCE) => OXCE Support => Topic started by: 0xEBJC on December 15, 2023, 08:20:58 pm
-
Experiments and hack for creations specific weapon
Yankes,
Wow, that's pretty cool! look forward to seeing it in my on game play :)
Do you by change have an recommendations on how to implement active animations on players or enemies in game play? A specific example is the purple fade in fade out glow of the aliens in X-Com Files?
-
What you mean "recommendations"? For example you can look for mod it self and its implementation of this effects.
Most cases this is done by shifting brightness of drawn pixel to simulate pulsating light, there is helper function that get
frame number and calculate square or saw wave shape and this value is used to bump each pixel light.
probably some where here on forums are my initial examples of this logic (but some cases in older version of script).