Duke4.net Forums: Switch lights on Sprite shadows? - Duke4.net Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Switch lights on Sprite shadows?

User is offline   Maisth 

#1

Can i make Switch lights on Sprite shadows like this?

Also thats the light and the switch.

Attached thumbnail(s)

  • Attached Image: duke0006.png
  • Attached Image: duke0007.png
  • Attached Image: duke0008.png

0

User is offline   Forge 

  • Speaker of the Outhouse

#2

N

^ sets sprite's flag to not take on sector shade
so it will do what you're attempting -
- except on certain 'character / named' sprites that have hard coded cstat values
2

User is offline   Micky C 

  • Honored Donor

#3

Isn't he wanting to have those shadows switch on and off with a light switch?

If so, the answer is no. Duke 3D doesn't allow for fine control over surface lighting like that.
0

User is offline   Maisth 

#4

The N Trick does work though thanks!
0

User is offline   Forge 

  • Speaker of the Outhouse

#5

View PostMicky C, on 12 August 2017 - 03:13 PM, said:

Isn't he wanting to have those shadows switch on and off with a light switch?

If so, the answer is no. Duke 3D doesn't allow for fine control over surface lighting like that.

dude.

think about it.

the (transparent) sprites' shade values are set to match the room when the lights are off.

then.

when the lights are turned on.

they stay 'dark' because they won't take on the shade properties of the newly lit sectors.

they now effectively look like shadows.

turns the lights back off & they match the shade of the room again.

smoke more weed, you're too smart for your own good.

This post has been edited by Forge: 12 August 2017 - 07:25 PM

3

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic


All copyrights and trademarks not owned by Voidpoint, LLC are the sole property of their respective owners. Play Ion Fury! ;) © Voidpoint, LLC

Enter your sign in name and password


Sign in options