Hello! I am currently trying to have a torch weapon that the player can carry in my mod. I am trying to have a dynamic light follow the player while the torch is equipped but I am having trouble getting the light to.... work. I have tried creating and binding a point light to an object then using A_SpawnItemEx in the torch decorate code to spawn the invisible object that the light is attached to (Using GLDEFS) with no luck. I have also tried using decorate directly using Light but it never seems to work.
No error. Just no dynamic light. I am sure I am simply doing something wrong and I have it enabled in the settings. Is there a mod that does something similar that I can look at? I have found a few but they also use ACS and do not contain the source. Only the binary object. Thanks!
[DECORATE] Dynamic Lighting Help
- ZZYZX
- Posts a lot
- Posts: 742
- Joined: Thu Jun 07, 2012 5:56 pm
- Location: Ukraine
- Clan: A3
- Clan Tag: [A3]
[DECORATE] Re: Dynamic Lighting Help
Do other dynamic lights work? Are they even enabled?
Does the dynamic light thing placed in the editor work?
What does your GLDEFS definition look like?
Does the dynamic light thing placed in the editor work?
What does your GLDEFS definition look like?
quality DoomExplorer hackeringFilystyn wrote:Do you know what windows.h is? It's D, DWORD.
overcomplicated ZDoom grenade
random Doom things
GZDoomBuilder-Bugfix
-
- Posts: 36
- Joined: Sat Aug 09, 2014 10:47 pm
[DECORATE] Re: Dynamic Lighting Help
Here is the source for the mod: https://github.com/falsechicken/SpellBinder
Ill try the editor stuff when I get home. Thanks. I have also tried in vanilla GZDoom and it doesn't work their either. I have tried a lot of stuff before it got to where it is now xD.
EDIT: Dynamic lights are working. I can see the glow under armor and turn it off.
Ill try the editor stuff when I get home. Thanks. I have also tried in vanilla GZDoom and it doesn't work their either. I have tried a lot of stuff before it got to where it is now xD.
EDIT: Dynamic lights are working. I can see the glow under armor and turn it off.