LightInverse ACS Function

Moderator: GZDoom Developers

Post Reply
LK873
Posts: 274
Joined: Mon Aug 30, 2004 10:54 am
Location: Ontario, Canada

LightInverse ACS Function

Post by LK873 »

Seeing as this is a codepointer, could we possibly make it into an ACS function so that it can be used outside of guns and items?
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49067
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Post by Graf Zahl »

It's directly tied to the weapon lighting effect code so probably not that easily.
LK873
Posts: 274
Joined: Mon Aug 30, 2004 10:54 am
Location: Ontario, Canada

Post by LK873 »

Not easily? Could it perhaps be implemented into the inofficial/unofficial build?
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49067
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Post by Graf Zahl »

No. IMO that's not worth it. All we could do right now is hacks and as I repeatedly said: No Hacks. What we do has to be clean and of general use because otherwise it will get dumped.
User avatar
Bio Hazard
Posts: 4019
Joined: Fri Aug 15, 2003 8:15 pm
Location: ferret ~/C/ZDL $
Contact:

Post by Bio Hazard »

Ooh, this would be useful for cutscenes. Like to emphasize a dramatic scene, like when a really important char gets shot down. or as a transfer between cameras.

Im sure this can be madde into a FateTo() option (like FadeTo(-1,-1,-1,-1); or something)
User avatar
The Ultimate DooMer
Posts: 2109
Joined: Tue Jul 15, 2003 5:29 pm
Location: Industrial Zone

Post by The Ultimate DooMer »

Hmm...what does this codepointer do? Does it light up the room for a brief moment when a weapon is fired?
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49067
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Post by Graf Zahl »

It just sets a player variable that gets added to the colormap index during rendering. You can't use it from anything but a weapon. A_LightInverse is just a special case of A_Light1, A_Light2 and A_Light0.
Post Reply

Return to “Closed Feature Suggestions [GZDoom]”