Jump to content

Ghost

Members
  • Posts

    51
  • Joined

  • Last visited

Everything posted by Ghost

  1. https://youtu.be/RWsnkH98EuA
  2. Gaining mass didn't help at all. There is a box collider on the door. So far I have made the doors zero mass, which increases when activated. This way objects do not affect the door.
  3. Hello. I encountered a problem that a closed door can be opened with a lifted object. Any ideas on how to fix this with minimal changes to the standard door script?
  4. Is it possible to somehow render an object on a specific camera?
  5. Hi. How can I make the material change only on one object? If I change the material through the code, then for some reason it changes on all the same models in the scene.
  6. Can someone explain how to use the Rick's saveload.lua script? The video that was attached to the script is not available. I would like to figure out how to save and load progress. Thanks.
  7. Hmm. Fixed it. It turned out the problem was in the line Script.textColor = Vec4(255,255,255,255) Changed to Script.textColor = Vec4(1,1,1,1)
  8. The text has become so strangely displayed. I didn't touch anything in the code. Everything was fine. What could be the reason?
  9. Partially helped, thanks. Alternatively, I can include this material directly after the character's death.
  10. If I change the specular map to completely black, the red color disappears, but the character stops responding to the lighting.
  11. I'm using a dissolve shader by Shadmar, but my character is completely glowing red. What am I doing wrong? Even when I change the color of the dissolving, the texture of the character remains red.
  12. What should I do if I just want to read the files and not change them?
  13. Hmm, it's strange, but then why does the script of notes in the style of Amnesia work without problems?
  14. Maybe there is some kind of analog, how to do the same thing, but without Lua IO?
  15. local file1 = io.open(self.text_en, "r") for line in file1:lines() do table.insert (self.monolog_en, line); end file1:close() During the test, everything works as it should, but after compilation, the map simply does not open and the game closes without any errors. Why is this happening, does anyone know?
  16. Ghost

    Untitled

  17. Hi, what about similar shaders? Is it possible to adapt this? https://www.shadertoy.com/view/tsfXWj
  18. Ghost

    untitled

  19. Ghost

    Lamp

×
×
  • Create New...