i want to make a shadow ghost thing

Advanced OpenGL source port fork from ZDoom, picking up where ZDoomGL left off.
[Home] [Download] [Git builds (Win)] [Git builds (Mac)] [Wiki] [Repo] [Bugs&Suggestions]

Moderator: Graf Zahl

Locked
MORBIDTWATT
Posts: 1
Joined: Tue Aug 28, 2007 12:27
Location: MURDALAND
Contact:

i want to make a shadow ghost thing

Post by MORBIDTWATT »

hellos, so i am messing around with gzdoom its a great port but i got many problems with it. Ill make new threads for that but for now i wanna know how come i cant tag a dynamic light to a set of monsters with the same tag?

my goal is small i wanna use subtractive lighting and apply it to say a demon. so that way it looks like a darkshadow is coming towards u.

this effect would also be useful for my map using dynamic lights that u can blow out and make the map completely dark. im not using sector lighting at all.
User avatar
Enjay
Developer
Developer
Posts: 4748
Joined: Tue Aug 30, 2005 23:19
Location: Scotland
Contact:

Post by Enjay »

Grab the light definitions from the DL page to see how to define and allocate dynamic lights to an actor. It's pretty easy to understand. Subtractive lights are certainly possible and (IIRC) the definitions use them for the Wraithverge ghosts.

As for "blowing out lights" again, easy. Either create a switchable decoration and allocate a light to the lit (active) frames (and not to the unlit frames) and activate/deactivate the item with a script or place a dynamic light object in your map and activate/deactivate it with a script.
Locked

Return to “GZDoom”