Jump to content
The Dark Mod Forums

External light gem for The Dark Mod


Goldwell
 Share

Recommended Posts

Saw this post on youtube and thought it was quite cool and clever!

 

http://www.youtube.com/watch?v=u6SHhPaSpCs

  • Like 2
Link to comment
Share on other sites

It's changing from green (player hidden) to red (player lit up). I'm not sure what it means when the light goes out. The creator mentions it's just a quick hack and doesn't work stably as the bit of memory he's using to track the light gem can change.

Link to comment
Share on other sites

What's changing? It seems to just flicker to me, though bear in mind I'm color blind. If it's just changing color, I think it'd be cooler if it just dimmed and intensified instead.

 

Aw :(

 

The bottle of wine on the right is changing color respective to the light gem in game. It goes from green to near black and when he moves closer to the light it turns red.

Link to comment
Share on other sites

Huh, cool. Impressive all the same ^_^ All it needs now is some miniature shaped charges to shatter the bottle when you get seen by a guard. I'm sure that'll make people more inclined to be sneaky about it.

Edited by Airship Ballet
Link to comment
Share on other sites

That is a extremely cool, GW!

 

I assume you have a photoresister based circuit and either 2x LEDs or a multi-coulour LED? You know a couple of these with RGB leds behind a TV changing colour based on whats on the screen would look very good - phillips does with with some of thier TVs.

Link to comment
Share on other sites

That is a extremely cool, GW!

 

I assume you have a photoresister based circuit and either 2x LEDs or a multi-coulour LED? You know a couple of these with RGB leds behind a TV changing colour based on whats on the screen would look very good - phillips does with with some of thier TVs.

 

Just to clarify this isn't mine, it was just a video I found whilst browsing YouTube :)

 

I don't know if this guy is a forum goer or not, I don't think so though.

Link to comment
Share on other sites

Interesting to think we have homebrew devs that aren't even on the forums.

Makes us seem more widespread and diverse.

  • Like 3

What do you see when you turn out the light? I can't tell you but I know that it's mine.

Link to comment
Share on other sites

That is cool. It's probably a first iteration. I would have minorly tweaked the cross fading code to be a little smother, i.e., keep the green on and fade to red, then turn the green off, rather than letting it get so black.

 

@Biker: I don't think there's a photodiode or other light sensor involved, I think he's reading the actual lightgem value and then sending it to the microcontroller that the LEDs are plugged into.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recent Status Updates

    • peter_spy

      Perhaps an unpopular opinion: TDM team might benefit from someone with actual QA experience; someone with naturally and professionally developed curiosity, who is interested in how and why things work, how they break At least to me it's kind of mind-boggling how untested some rather important features are (first the absence alert feature for items, now the rope +body carry behavior).
      · 4 replies
    • nbohr1more

      The Dark Mod is hosting an Ask Me Anything thread on the PC Gaming reddit forum:  https://www.reddit.com/r/pcgaming/comments/10nfcwj/hello_we_are_the_international_development_team/
      Feel free to join the discussion there
      · 2 replies
    • stgatilov

      Bumped into an interesting piece of wisdom called Hyrum's Law:
      With a sufficient number of users of an API, it does not matter what you promise in the contract: all observable behaviors of your system will be depended on by somebody.
      · 5 replies
    • The Black Arrow

      I love playing The Dark Mod when it's cold in my place. Bonus points when it's a bit (or even very) dark and it's raining, too.
      · 2 replies
    • The Black Arrow

      I've been having stutters in Vulkan, apparently it's Nvidia Drivers' fault, so I reverted to 512 according to this: https://www.nvidia.com/en-us/geforce/forums/geforce-graphics-cards/5/505679/regular-microstutter-in-vulkan-applications-after-/?topicPage=40

      And no, that did NOT fix it. What's going on? My GPU is an RTX 2070, by the way.
      · 4 replies
×
×
  • Create New...