Jump to content

All Activity

This stream auto-updates

  1. Today
  2. The MSAA and textureanisotropy setting doesn't apply correctly ether.
  3. Yesterday
  4. You also have camera->ClearPostEffects() only being called only if the posteffect array has a size greater than 0. This will allow the user to only set the effect on but turn it off. Change: // Post Effects auto peIt = videoSettings.find("posteffects"); if (videoSettings["posteffects"].is_array()) { auto& posteffects = videoSettings["posteffects"]; camera->ClearPostEffects(); for (int n = 0; n < posteffects.size(); ++n) { if (not posteffects[n].is_string()) continue; std::string path = posteffects[n]; auto fx = LoadPostEffect(path); if (fx) camera->AddPostEffect(fx); } } To: // Post Effects if (not videoSettings["posteffects"].is_null()) { camera->ClearPostEffects(); if (videoSettings["posteffects"].is_array()) { auto& posteffects = videoSettings["posteffects"]; for (int n = 0; n < posteffects.size(); ++n) { if (not posteffects[n].is_string()) continue; std::string path = posteffects[n]; auto fx = LoadPostEffect(path); if (fx) camera->AddPostEffect(fx); } } }
  5. It works very well if I don't link it to existing mdl files.
  6. PuertaHangar Prefab.zip
  7. Actually, there also seems to be a mismatch with SetShadowQuality. The default setting is high, but the menu reports the medium setting. There's no GetShadowQuality to start as a base value for the menu.
  8. I've been playing with the new Game.cpp / GameMenu.cpp code and I noticed some bugs with the code. First, this wrong, video isn't a boolean and there can be an error if window size vector is missing. On Line 33 of Game.cpp change: bool fullscreen = true; if (settings["video"].is_boolean() and settings["video"]["fullscreen"].is_boolean()) fullscreen = settings["video"]["fullscreen"]; if (settings["video"].is_boolean() and settings["video"]["windowsize"].size() >= 2) { w = settings["video"]["windowsize"][0]; h = settings["video"]["windowsize"][1]; } To: bool fullscreen = true; if (settings["video"].is_object() and settings["video"]["fullscreen"].is_boolean()) fullscreen = settings["video"]["fullscreen"]; if (settings["video"].is_object() and settings["video"]["windowsize"].is_array()) { if (settings["video"]["windowsize"].size() >= 2) { w = settings["video"]["windowsize"][0]; h = settings["video"]["windowsize"][1]; } } There's a bug with the window size values not carrying over from one save to another. This is because the window size values only get saved if a new window was created. Around Line 787 change: if (resolutionIndex > 0) { bool newFullscreenMode = (fullscreenbutton->GetState() == WIDGETSTATE_SELECTED); bool oldFullscreenMode = (Game::window->style & WINDOW_FULLSCREEN) != 0; auto& item = resolutionlist->items[resolutionIndex]; auto s = item.text; auto sarr = s.Split(" x "); auto w = std::stoi(sarr[0]); auto h = std::stoi(sarr[1]); if (w != Game::window->size.x || h != Game::window->size.y || newFullscreenMode != oldFullscreenMode) { auto style = WINDOW_CENTER | WINDOW_TITLEBAR; if (fullscreenbutton->GetState() == WIDGETSTATE_SELECTED) style |= WINDOW_FULLSCREEN; auto newWindow = CreateWindow(Game::window->text, Game::window->position.x, Game::window->position.y, w, h, Game::window->display, style); if (newWindow) { Game::window->SetHidden(true); Game::window = newWindow; Game::framebuffer = CreateFramebuffer(Game::window); ui->SetSize(Game::framebuffer->size); Game::settings["video"]["windowsize"] = {}; Game::settings["video"]["windowsize"][0] = Game::window->size.x; Game::settings["video"]["windowsize"][1] = Game::window->size.y; Game::settings["video"]["fullscreen"] = (Game::window->style & WINDOW_FULLSCREEN) != 0; } } } To: if (resolutionIndex > 0) { bool newFullscreenMode = (fullscreenbutton->GetState() == WIDGETSTATE_SELECTED); bool oldFullscreenMode = (Game::window->style & WINDOW_FULLSCREEN) != 0; auto& item = resolutionlist->items[resolutionIndex]; auto s = item.text; auto sarr = s.Split(" x "); auto w = std::stoi(sarr[0]); auto h = std::stoi(sarr[1]); if (w != Game::window->size.x || h != Game::window->size.y || newFullscreenMode != oldFullscreenMode) { auto style = WINDOW_CENTER | WINDOW_TITLEBAR; if (fullscreenbutton->GetState() == WIDGETSTATE_SELECTED) style |= WINDOW_FULLSCREEN; auto newWindow = CreateWindow(Game::window->text, Game::window->position.x, Game::window->position.y, w, h, Game::window->display, style); if (newWindow) { Game::window->SetHidden(true); Game::window = newWindow; Game::framebuffer = CreateFramebuffer(Game::window); ui->SetSize(Game::framebuffer->size); } } Game::settings["video"]["windowsize"] = {}; Game::settings["video"]["windowsize"][0] = Game::window->size.x; Game::settings["video"]["windowsize"][1] = Game::window->size.y; Game::settings["video"]["fullscreen"] = (Game::window->style & WINDOW_FULLSCREEN) != 0; } There's also a bug with Post Processing effects being applied when the map already has effects applied. Bonus: When the game un-pauses with the FPSPlayer, the camera will spin to where the mouse is currently is. This is because freelookstarted needs to be set back to false. I just added the function to have the listen to EVENT_WORLDPAUSE and added this to the ProcessEvent function case EVENT_WORLDPAUSE: freelookstarted = false; break;
  9. Last week
  10. The commands do not work. Edit: These commands may not work.
  11. It seems it reacted to SteamWrapper.exe, (see my screenshots)
  12. My anti virus software (Bitdefender) stopped the software SCP in no time after i tried to start the game. Bitdefender is telling me that it is virus software that can damage my computer and steal data. I won't deactivate my anti virus software for SCP (never had any troubles on other games)
  13. I was looking at the new menu code for C++ and I noticed that the code is calling the menulogo texture that only exists in the Lua template. std::string logopath = "menulogo.dds"; Probably should be moved to the Common template.
  14. 4- If you will add a 3-point clipping, I recommend adding a preview of the clipping in the 3D view, as knowing how to clip an object can be confusing; it's better to see what the clip will look like with a preview.
  15. 1- The clipped object cannot be undo with Ctrl Z. (BUG) 2- I think the clipping point should be increased to 3, so that more shapes can be obtained. 3- I recommend adding a button related to the clipping tool to the sidebar, as I don't think new users are familiar with the clipping tool.
  16. Josh

    SSAO Filter

    Revised SSAO filter brings details out of the flat wall, as if the material had a baked AO texture.
  17. Beta Added C++ game menu system to project template. CreateInterface() can now accept a world for the first parameter. -devmode command line parameter has been added in VS project template, for the debug configuration. This parameter will tell the game to ignore game settings and launch in windowed mode, which is easier for debugging. -devmode command line parameter has been added in VSCode launch.json file, for debug and fast debug runs.
  18. thank you for the answer
  19. Is your computer preventing the program from connecting to the Internet? If you are online it will skip the login screen.
  20. When I run this, I see
  21. Hi, you do not need to log into use Ultra App Kit.
  22. Does Leadwerks support this app? I bought this app sometime ago at Steam and it worked well. But now I can't login to this, I input a correct login data but error shows again and again.
  23. Beta SSAO post-processing effect has been brought back under control.
  24. Greetings Creatives! I have some brand new music tracks to share with you all...100% free to use with attribution. They are: On my Fantasy 13 page: "DRIFTING IN A HOT AIR BALLOON " https://soundimage.org/fantasy-13/ And on my Sci-Fi 14 page: "CYBER CITY FEVER DREAM" https://soundimage.org/sci-fi-14/ PLEASE READ If you can, please consider making small contribution to support my efforts. I honestly hate asking, but I do pay for everything myself including my gear which is very expensive, so contributions from the community really help me a lot. Here are some ways you can help: https://soundimage.org/donate/ https://soundimage.org/ogg-game-music-mega-pack/ https://soundimage.org/ogg-music-packs-2/ I sincerely hope some of my tracks are helpful in your projects. Please feel free to share your projects if you wish...I love to see how my fellow creatives are using my music! :-)
  25. If you have the heightmap, you can just load that into a terrain in Leadwerks. No need to create an OBJ file.
  26. Josh

    Native 4K

    I decided I really like playing at 4K in Leadwerks 5. The image is so clean and detailed.
  1. Load more activity
×
×
  • Create New...